Getting Teensy2.0 to program ATtiny45

Status
Not open for further replies.
Teensy2.0, Arduino1.0.5, ATTiny45(10Mhz)
I have a very simple program that I would like to run on a ATtiny45. Obviously the I/O pins will need to be changed but it looks like this:
Code:
byte data;

void setup() {

}

void loop () {
data = analogRead(12) / 4;

analogWrite(9, data);
delay(5);
}

I have found quite a few articles, tutorials, pages written on how to get Arduino to do ISP. All with varying degrees of complexity and number of steps, from just dropping files into place, to modifying all sorts of things I have muddled my way though it to the point of getting the bootloader burned to the ATtiny45. I do have a heartbeat on pin9, but here is what I get back.


Code:
Arduino: 1.0.5 (Windows XP), Board: "ATtiny45 (w/ Arduino as ISP)"
avrdude: please define PAGEL and BS2 signals in the configuration file for part ATtiny45
avrdude: stk500_program_enable(): protocol error, expect=0x14, resp=0x50
avrdude: initialization failed, rc=-1
         Double check connections and try again, or use -F to override
         this check.

avrdude: stk500_disable(): protocol error, expect=0x14, resp=0x51

The "PAGEL" and "BS2" errors are said to be expected and to ignore them. But I don't know where to go from here. So I closed the IDE, dropped a different .zip file into the hardware folder, restarted, and went straight to upload the 'blink' sketch as a test. I got this:

Code:
Arduino: 1.0.5 (Windows XP), Board: "ATtiny45 (internal 1 MHz clock)"
C:\Documents and Settings\Greg\Desktop\Arduino-1.0.5\hardware\tools\avr\bin\avr-g++ -c -g -Os -Wall -fno-exceptions -ffunction-sections -fdata-sections -mmcu=attiny45 -DF_CPU=1000000L -MMD -DUSB_VID=null -DUSB_PID=null -DARDUINO=105 -IC:\Documents and Settings\Greg\Desktop\Arduino-1.0.5\hardware\arduino\cores\arduino -IC:\Documents and Settings\Greg\Desktop\Arduino-1.0.5\hardware\attiny\variants\tiny8 C:\DOCUME~1\Greg\LOCALS~1\Temp\build3814921862945245800.tmp\Blink.cpp -o C:\DOCUME~1\Greg\LOCALS~1\Temp\build3814921862945245800.tmp\Blink.cpp.o 

In file included from C:\Documents and Settings\Greg\Desktop\Arduino-1.0.5\hardware\arduino\cores\arduino/Stream.h:26,
                 from C:\Documents and Settings\Greg\Desktop\Arduino-1.0.5\hardware\arduino\cores\arduino/HardwareSerial.h:28,
                 from C:\Documents and Settings\Greg\Desktop\Arduino-1.0.5\hardware\arduino\cores\arduino/Arduino.h:193,
                 from Blink.pde:7:
C:\Documents and Settings\Greg\Desktop\Arduino-1.0.5\hardware\arduino\cores\arduino/Print.h:32:1: warning: "BIN" redefined
In file included from c:/documents and settings/greg/desktop/arduino-1.0.5/hardware/tools/avr/lib/gcc/../../avr/include/avr/iotn45.h:38,
                 from c:/documents and settings/greg/desktop/arduino-1.0.5/hardware/tools/avr/lib/gcc/../../avr/include/avr/io.h:282,
                 from c:/documents and settings/greg/desktop/arduino-1.0.5/hardware/tools/avr/lib/gcc/../../avr/include/avr/pgmspace.h:82,
                 from C:\Documents and Settings\Greg\Desktop\Arduino-1.0.5\hardware\arduino\cores\arduino/Arduino.h:8,
                 from Blink.pde:7:
c:/documents and settings/greg/desktop/arduino-1.0.5/hardware/tools/avr/lib/gcc/../../avr/include/avr/iotnx5.h:55:1: warning: this is the location of the previous definition
  Using previously compiled: C:\DOCUME~1\Greg\LOCALS~1\Temp\build3814921862945245800.tmp\malloc.c.o

  Using previously compiled: C:\DOCUME~1\Greg\LOCALS~1\Temp\build3814921862945245800.tmp\realloc.c.o

  Using previously compiled: C:\DOCUME~1\Greg\LOCALS~1\Temp\build3814921862945245800.tmp\WInterrupts.c.o

  Using previously compiled: C:\DOCUME~1\Greg\LOCALS~1\Temp\build3814921862945245800.tmp\wiring.c.o

  Using previously compiled: C:\DOCUME~1\Greg\LOCALS~1\Temp\build3814921862945245800.tmp\wiring_analog.c.o

  Using previously compiled: C:\DOCUME~1\Greg\LOCALS~1\Temp\build3814921862945245800.tmp\wiring_digital.c.o

  Using previously compiled: C:\DOCUME~1\Greg\LOCALS~1\Temp\build3814921862945245800.tmp\wiring_pulse.c.o

  Using previously compiled: C:\DOCUME~1\Greg\LOCALS~1\Temp\build3814921862945245800.tmp\wiring_shift.c.o

  Using previously compiled: C:\DOCUME~1\Greg\LOCALS~1\Temp\build3814921862945245800.tmp\CDC.cpp.o

  Using previously compiled: C:\DOCUME~1\Greg\LOCALS~1\Temp\build3814921862945245800.tmp\HardwareSerial.cpp.o

  Using previously compiled: C:\DOCUME~1\Greg\LOCALS~1\Temp\build3814921862945245800.tmp\HID.cpp.o

  Using previously compiled: C:\DOCUME~1\Greg\LOCALS~1\Temp\build3814921862945245800.tmp\IPAddress.cpp.o

  Using previously compiled: C:\DOCUME~1\Greg\LOCALS~1\Temp\build3814921862945245800.tmp\main.cpp.o

  Using previously compiled: C:\DOCUME~1\Greg\LOCALS~1\Temp\build3814921862945245800.tmp\new.cpp.o

  Using previously compiled: C:\DOCUME~1\Greg\LOCALS~1\Temp\build3814921862945245800.tmp\Print.cpp.o

  Using previously compiled: C:\DOCUME~1\Greg\LOCALS~1\Temp\build3814921862945245800.tmp\Stream.cpp.o

  Using previously compiled: C:\DOCUME~1\Greg\LOCALS~1\Temp\build3814921862945245800.tmp\Tone.cpp.o

  Using previously compiled: C:\DOCUME~1\Greg\LOCALS~1\Temp\build3814921862945245800.tmp\USBCore.cpp.o

  Using previously compiled: C:\DOCUME~1\Greg\LOCALS~1\Temp\build3814921862945245800.tmp\WMath.cpp.o

  Using previously compiled: C:\DOCUME~1\Greg\LOCALS~1\Temp\build3814921862945245800.tmp\WString.cpp.o

C:\Documents and Settings\Greg\Desktop\Arduino-1.0.5\hardware\tools\avr\bin\avr-ar rcs C:\DOCUME~1\Greg\LOCALS~1\Temp\build3814921862945245800.tmp\core.a C:\DOCUME~1\Greg\LOCALS~1\Temp\build3814921862945245800.tmp\malloc.c.o 

C:\Documents and Settings\Greg\Desktop\Arduino-1.0.5\hardware\tools\avr\bin\avr-ar rcs C:\DOCUME~1\Greg\LOCALS~1\Temp\build3814921862945245800.tmp\core.a C:\DOCUME~1\Greg\LOCALS~1\Temp\build3814921862945245800.tmp\realloc.c.o 

C:\Documents and Settings\Greg\Desktop\Arduino-1.0.5\hardware\tools\avr\bin\avr-ar rcs C:\DOCUME~1\Greg\LOCALS~1\Temp\build3814921862945245800.tmp\core.a C:\DOCUME~1\Greg\LOCALS~1\Temp\build3814921862945245800.tmp\WInterrupts.c.o 

C:\Documents and Settings\Greg\Desktop\Arduino-1.0.5\hardware\tools\avr\bin\avr-ar rcs C:\DOCUME~1\Greg\LOCALS~1\Temp\build3814921862945245800.tmp\core.a C:\DOCUME~1\Greg\LOCALS~1\Temp\build3814921862945245800.tmp\wiring.c.o 

C:\Documents and Settings\Greg\Desktop\Arduino-1.0.5\hardware\tools\avr\bin\avr-ar rcs C:\DOCUME~1\Greg\LOCALS~1\Temp\build3814921862945245800.tmp\core.a C:\DOCUME~1\Greg\LOCALS~1\Temp\build3814921862945245800.tmp\wiring_analog.c.o 

C:\Documents and Settings\Greg\Desktop\Arduino-1.0.5\hardware\tools\avr\bin\avr-ar rcs C:\DOCUME~1\Greg\LOCALS~1\Temp\build3814921862945245800.tmp\core.a C:\DOCUME~1\Greg\LOCALS~1\Temp\build3814921862945245800.tmp\wiring_digital.c.o 

C:\Documents and Settings\Greg\Desktop\Arduino-1.0.5\hardware\tools\avr\bin\avr-ar rcs C:\DOCUME~1\Greg\LOCALS~1\Temp\build3814921862945245800.tmp\core.a C:\DOCUME~1\Greg\LOCALS~1\Temp\build3814921862945245800.tmp\wiring_pulse.c.o 

C:\Documents and Settings\Greg\Desktop\Arduino-1.0.5\hardware\tools\avr\bin\avr-ar rcs C:\DOCUME~1\Greg\LOCALS~1\Temp\build3814921862945245800.tmp\core.a C:\DOCUME~1\Greg\LOCALS~1\Temp\build3814921862945245800.tmp\wiring_shift.c.o 

C:\Documents and Settings\Greg\Desktop\Arduino-1.0.5\hardware\tools\avr\bin\avr-ar rcs C:\DOCUME~1\Greg\LOCALS~1\Temp\build3814921862945245800.tmp\core.a C:\DOCUME~1\Greg\LOCALS~1\Temp\build3814921862945245800.tmp\CDC.cpp.o 

C:\Documents and Settings\Greg\Desktop\Arduino-1.0.5\hardware\tools\avr\bin\avr-ar rcs C:\DOCUME~1\Greg\LOCALS~1\Temp\build3814921862945245800.tmp\core.a C:\DOCUME~1\Greg\LOCALS~1\Temp\build3814921862945245800.tmp\HardwareSerial.cpp.o 

C:\Documents and Settings\Greg\Desktop\Arduino-1.0.5\hardware\tools\avr\bin\avr-ar rcs C:\DOCUME~1\Greg\LOCALS~1\Temp\build3814921862945245800.tmp\core.a C:\DOCUME~1\Greg\LOCALS~1\Temp\build3814921862945245800.tmp\HID.cpp.o 

C:\Documents and Settings\Greg\Desktop\Arduino-1.0.5\hardware\tools\avr\bin\avr-ar rcs C:\DOCUME~1\Greg\LOCALS~1\Temp\build3814921862945245800.tmp\core.a C:\DOCUME~1\Greg\LOCALS~1\Temp\build3814921862945245800.tmp\IPAddress.cpp.o 

C:\Documents and Settings\Greg\Desktop\Arduino-1.0.5\hardware\tools\avr\bin\avr-ar rcs C:\DOCUME~1\Greg\LOCALS~1\Temp\build3814921862945245800.tmp\core.a C:\DOCUME~1\Greg\LOCALS~1\Temp\build3814921862945245800.tmp\main.cpp.o 

C:\Documents and Settings\Greg\Desktop\Arduino-1.0.5\hardware\tools\avr\bin\avr-ar rcs C:\DOCUME~1\Greg\LOCALS~1\Temp\build3814921862945245800.tmp\core.a C:\DOCUME~1\Greg\LOCALS~1\Temp\build3814921862945245800.tmp\new.cpp.o 

C:\Documents and Settings\Greg\Desktop\Arduino-1.0.5\hardware\tools\avr\bin\avr-ar rcs C:\DOCUME~1\Greg\LOCALS~1\Temp\build3814921862945245800.tmp\core.a C:\DOCUME~1\Greg\LOCALS~1\Temp\build3814921862945245800.tmp\Print.cpp.o 

C:\Documents and Settings\Greg\Desktop\Arduino-1.0.5\hardware\tools\avr\bin\avr-ar rcs C:\DOCUME~1\Greg\LOCALS~1\Temp\build3814921862945245800.tmp\core.a C:\DOCUME~1\Greg\LOCALS~1\Temp\build3814921862945245800.tmp\Stream.cpp.o 

C:\Documents and Settings\Greg\Desktop\Arduino-1.0.5\hardware\tools\avr\bin\avr-ar rcs C:\DOCUME~1\Greg\LOCALS~1\Temp\build3814921862945245800.tmp\core.a C:\DOCUME~1\Greg\LOCALS~1\Temp\build3814921862945245800.tmp\Tone.cpp.o 

C:\Documents and Settings\Greg\Desktop\Arduino-1.0.5\hardware\tools\avr\bin\avr-ar rcs C:\DOCUME~1\Greg\LOCALS~1\Temp\build3814921862945245800.tmp\core.a C:\DOCUME~1\Greg\LOCALS~1\Temp\build3814921862945245800.tmp\USBCore.cpp.o 

C:\Documents and Settings\Greg\Desktop\Arduino-1.0.5\hardware\tools\avr\bin\avr-ar rcs C:\DOCUME~1\Greg\LOCALS~1\Temp\build3814921862945245800.tmp\core.a C:\DOCUME~1\Greg\LOCALS~1\Temp\build3814921862945245800.tmp\WMath.cpp.o 

C:\Documents and Settings\Greg\Desktop\Arduino-1.0.5\hardware\tools\avr\bin\avr-ar rcs C:\DOCUME~1\Greg\LOCALS~1\Temp\build3814921862945245800.tmp\core.a C:\DOCUME~1\Greg\LOCALS~1\Temp\build3814921862945245800.tmp\WString.cpp.o 

C:\Documents and Settings\Greg\Desktop\Arduino-1.0.5\hardware\tools\avr\bin\avr-gcc -Os -Wl,--gc-sections -mmcu=attiny45 -o C:\DOCUME~1\Greg\LOCALS~1\Temp\build3814921862945245800.tmp\Blink.cpp.elf C:\DOCUME~1\Greg\LOCALS~1\Temp\build3814921862945245800.tmp\Blink.cpp.o C:\DOCUME~1\Greg\LOCALS~1\Temp\build3814921862945245800.tmp\core.a -LC:\DOCUME~1\Greg\LOCALS~1\Temp\build3814921862945245800.tmp -lm 

C:\Documents and Settings\Greg\Desktop\Arduino-1.0.5\hardware\tools\avr\bin\avr-objcopy -O ihex -j .eeprom --set-section-flags=.eeprom=alloc,load --no-change-warnings --change-section-lma .eeprom=0 C:\DOCUME~1\Greg\LOCALS~1\Temp\build3814921862945245800.tmp\Blink.cpp.elf C:\DOCUME~1\Greg\LOCALS~1\Temp\build3814921862945245800.tmp\Blink.cpp.eep 

C:\Documents and Settings\Greg\Desktop\Arduino-1.0.5\hardware\tools\avr\bin\avr-objcopy -O ihex -R .eeprom C:\DOCUME~1\Greg\LOCALS~1\Temp\build3814921862945245800.tmp\Blink.cpp.elf C:\DOCUME~1\Greg\LOCALS~1\Temp\build3814921862945245800.tmp\Blink.cpp.hex 

Binary sketch size: 830 bytes (of a 4,096 byte maximum)

avrdude: please define PAGEL and BS2 signals in the configuration file for part ATtiny45
avrdude: stk500_program_enable(): protocol error, expect=0x14, resp=0x50
avrdude: initialization failed, rc=-1
         Double check connections and try again, or use -F to override
         this check.

avrdude: stk500_disable(): protocol error, expect=0x14, resp=0x51

I don't quite get why those are listed as being in a 'temp' folder, but oh well.

I guess the bottom line is has anyone got a Teensy as ISP for ATtiny45 to work? And would mind sharing details?

Thanks.
Greg
 
Last edited:
OK, I got a little farther on this. I got it the ISP to upload, and it looks like I got the Blink to upload but I get no blink, and this is the returned error message:

Code:
Arduino: 1.0.5 (Windows XP), Board: "ATtiny45 (internal 1 MHz clock)"
C:\Documents and Settings\Greg\Desktop\Arduino-1.0.5\hardware\tools\avr\bin\avr-g++ -c -g -Os -Wall -fno-exceptions -ffunction-sections -fdata-sections -mmcu=attiny45 -DF_CPU=1000000L -MMD -DUSB_VID=null -DUSB_PID=null -DARDUINO=105 -IC:\Documents and Settings\Greg\Desktop\Arduino-1.0.5\hardware\arduino\cores\arduino -IC:\Documents and Settings\Greg\Desktop\Arduino-1.0.5\hardware\attiny\variants\tiny8 C:\DOCUME~1\Greg\LOCALS~1\Temp\build6375945095028760987.tmp\Blink.cpp -o C:\DOCUME~1\Greg\LOCALS~1\Temp\build6375945095028760987.tmp\Blink.cpp.o 

In file included from C:\Documents and Settings\Greg\Desktop\Arduino-1.0.5\hardware\arduino\cores\arduino/Stream.h:26,
                 from C:\Documents and Settings\Greg\Desktop\Arduino-1.0.5\hardware\arduino\cores\arduino/HardwareSerial.h:28,
                 from C:\Documents and Settings\Greg\Desktop\Arduino-1.0.5\hardware\arduino\cores\arduino/Arduino.h:193,
                 from Blink.pde:7:
C:\Documents and Settings\Greg\Desktop\Arduino-1.0.5\hardware\arduino\cores\arduino/Print.h:32:1: warning: "BIN" redefined
In file included from c:/documents and settings/greg/desktop/arduino-1.0.5/hardware/tools/avr/lib/gcc/../../avr/include/avr/iotn45.h:38,
                 from c:/documents and settings/greg/desktop/arduino-1.0.5/hardware/tools/avr/lib/gcc/../../avr/include/avr/io.h:282,
                 from c:/documents and settings/greg/desktop/arduino-1.0.5/hardware/tools/avr/lib/gcc/../../avr/include/avr/pgmspace.h:82,
                 from C:\Documents and Settings\Greg\Desktop\Arduino-1.0.5\hardware\arduino\cores\arduino/Arduino.h:8,
                 from Blink.pde:7:
c:/documents and settings/greg/desktop/arduino-1.0.5/hardware/tools/avr/lib/gcc/../../avr/include/avr/iotnx5.h:55:1: warning: this is the location of the previous definition
C:\Documents and Settings\Greg\Desktop\Arduino-1.0.5\hardware\tools\avr\bin\avr-gcc -c -g -Os -Wall -ffunction-sections -fdata-sections -mmcu=attiny45 -DF_CPU=1000000L -MMD -DUSB_VID=null -DUSB_PID=null -DARDUINO=105 -IC:\Documents and Settings\Greg\Desktop\Arduino-1.0.5\hardware\arduino\cores\arduino -IC:\Documents and Settings\Greg\Desktop\Arduino-1.0.5\hardware\attiny\variants\tiny8 C:\Documents and Settings\Greg\Desktop\Arduino-1.0.5\hardware\arduino\cores\arduino\avr-libc\malloc.c -o C:\DOCUME~1\Greg\LOCALS~1\Temp\build6375945095028760987.tmp\malloc.c.o 

C:\Documents and Settings\Greg\Desktop\Arduino-1.0.5\hardware\tools\avr\bin\avr-gcc -c -g -Os -Wall -ffunction-sections -fdata-sections -mmcu=attiny45 -DF_CPU=1000000L -MMD -DUSB_VID=null -DUSB_PID=null -DARDUINO=105 -IC:\Documents and Settings\Greg\Desktop\Arduino-1.0.5\hardware\arduino\cores\arduino -IC:\Documents and Settings\Greg\Desktop\Arduino-1.0.5\hardware\attiny\variants\tiny8 C:\Documents and Settings\Greg\Desktop\Arduino-1.0.5\hardware\arduino\cores\arduino\avr-libc\realloc.c -o C:\DOCUME~1\Greg\LOCALS~1\Temp\build6375945095028760987.tmp\realloc.c.o 

C:\Documents and Settings\Greg\Desktop\Arduino-1.0.5\hardware\tools\avr\bin\avr-gcc -c -g -Os -Wall -ffunction-sections -fdata-sections -mmcu=attiny45 -DF_CPU=1000000L -MMD -DUSB_VID=null -DUSB_PID=null -DARDUINO=105 -IC:\Documents and Settings\Greg\Desktop\Arduino-1.0.5\hardware\arduino\cores\arduino -IC:\Documents and Settings\Greg\Desktop\Arduino-1.0.5\hardware\attiny\variants\tiny8 C:\Documents and Settings\Greg\Desktop\Arduino-1.0.5\hardware\arduino\cores\arduino\WInterrupts.c -o C:\DOCUME~1\Greg\LOCALS~1\Temp\build6375945095028760987.tmp\WInterrupts.c.o 

C:\Documents and Settings\Greg\Desktop\Arduino-1.0.5\hardware\arduino\cores\arduino\WInterrupts.c:134:8: warning: #warning attachInterrupt may need some more work for this cpu (case 1)
C:\Documents and Settings\Greg\Desktop\Arduino-1.0.5\hardware\arduino\cores\arduino\WInterrupts.c:223:8: warning: #warning detachInterrupt may need some more work for this cpu (case 1)
C:\Documents and Settings\Greg\Desktop\Arduino-1.0.5\hardware\arduino\cores\arduino\WInterrupts.c:314: warning: 'INT1_vect' appears to be a misspelled signal handler
C:\Documents and Settings\Greg\Desktop\Arduino-1.0.5\hardware\tools\avr\bin\avr-gcc -c -g -Os -Wall -ffunction-sections -fdata-sections -mmcu=attiny45 -DF_CPU=1000000L -MMD -DUSB_VID=null -DUSB_PID=null -DARDUINO=105 -IC:\Documents and Settings\Greg\Desktop\Arduino-1.0.5\hardware\arduino\cores\arduino -IC:\Documents and Settings\Greg\Desktop\Arduino-1.0.5\hardware\attiny\variants\tiny8 C:\Documents and Settings\Greg\Desktop\Arduino-1.0.5\hardware\arduino\cores\arduino\wiring.c -o C:\DOCUME~1\Greg\LOCALS~1\Temp\build6375945095028760987.tmp\wiring.c.o 

C:\Documents and Settings\Greg\Desktop\Arduino-1.0.5\hardware\arduino\cores\arduino\wiring.c:255:3: warning: #warning this needs to be finished
C:\Documents and Settings\Greg\Desktop\Arduino-1.0.5\hardware\arduino\cores\arduino\wiring.c:264:3: warning: #warning Timer 2 not finished (may not be present on this CPU)
C:\Documents and Settings\Greg\Desktop\Arduino-1.0.5\hardware\arduino\cores\arduino\wiring.c:273:3: warning: #warning Timer 2 not finished (may not be present on this CPU)
C:\Documents and Settings\Greg\Desktop\Arduino-1.0.5\hardware\tools\avr\bin\avr-gcc -c -g -Os -Wall -ffunction-sections -fdata-sections -mmcu=attiny45 -DF_CPU=1000000L -MMD -DUSB_VID=null -DUSB_PID=null -DARDUINO=105 -IC:\Documents and Settings\Greg\Desktop\Arduino-1.0.5\hardware\arduino\cores\arduino -IC:\Documents and Settings\Greg\Desktop\Arduino-1.0.5\hardware\attiny\variants\tiny8 C:\Documents and Settings\Greg\Desktop\Arduino-1.0.5\hardware\arduino\cores\arduino\wiring_analog.c -o C:\DOCUME~1\Greg\LOCALS~1\Temp\build6375945095028760987.tmp\wiring_analog.c.o 

C:\Documents and Settings\Greg\Desktop\Arduino-1.0.5\hardware\tools\avr\bin\avr-gcc -c -g -Os -Wall -ffunction-sections -fdata-sections -mmcu=attiny45 -DF_CPU=1000000L -MMD -DUSB_VID=null -DUSB_PID=null -DARDUINO=105 -IC:\Documents and Settings\Greg\Desktop\Arduino-1.0.5\hardware\arduino\cores\arduino -IC:\Documents and Settings\Greg\Desktop\Arduino-1.0.5\hardware\attiny\variants\tiny8 C:\Documents and Settings\Greg\Desktop\Arduino-1.0.5\hardware\arduino\cores\arduino\wiring_digital.c -o C:\DOCUME~1\Greg\LOCALS~1\Temp\build6375945095028760987.tmp\wiring_digital.c.o 

C:\Documents and Settings\Greg\Desktop\Arduino-1.0.5\hardware\tools\avr\bin\avr-gcc -c -g -Os -Wall -ffunction-sections -fdata-sections -mmcu=attiny45 -DF_CPU=1000000L -MMD -DUSB_VID=null -DUSB_PID=null -DARDUINO=105 -IC:\Documents and Settings\Greg\Desktop\Arduino-1.0.5\hardware\arduino\cores\arduino -IC:\Documents and Settings\Greg\Desktop\Arduino-1.0.5\hardware\attiny\variants\tiny8 C:\Documents and Settings\Greg\Desktop\Arduino-1.0.5\hardware\arduino\cores\arduino\wiring_pulse.c -o C:\DOCUME~1\Greg\LOCALS~1\Temp\build6375945095028760987.tmp\wiring_pulse.c.o 

C:\Documents and Settings\Greg\Desktop\Arduino-1.0.5\hardware\tools\avr\bin\avr-gcc -c -g -Os -Wall -ffunction-sections -fdata-sections -mmcu=attiny45 -DF_CPU=1000000L -MMD -DUSB_VID=null -DUSB_PID=null -DARDUINO=105 -IC:\Documents and Settings\Greg\Desktop\Arduino-1.0.5\hardware\arduino\cores\arduino -IC:\Documents and Settings\Greg\Desktop\Arduino-1.0.5\hardware\attiny\variants\tiny8 C:\Documents and Settings\Greg\Desktop\Arduino-1.0.5\hardware\arduino\cores\arduino\wiring_shift.c -o C:\DOCUME~1\Greg\LOCALS~1\Temp\build6375945095028760987.tmp\wiring_shift.c.o 

C:\Documents and Settings\Greg\Desktop\Arduino-1.0.5\hardware\tools\avr\bin\avr-g++ -c -g -Os -Wall -fno-exceptions -ffunction-sections -fdata-sections -mmcu=attiny45 -DF_CPU=1000000L -MMD -DUSB_VID=null -DUSB_PID=null -DARDUINO=105 -IC:\Documents and Settings\Greg\Desktop\Arduino-1.0.5\hardware\arduino\cores\arduino -IC:\Documents and Settings\Greg\Desktop\Arduino-1.0.5\hardware\attiny\variants\tiny8 C:\Documents and Settings\Greg\Desktop\Arduino-1.0.5\hardware\arduino\cores\arduino\CDC.cpp -o C:\DOCUME~1\Greg\LOCALS~1\Temp\build6375945095028760987.tmp\CDC.cpp.o 

In file included from C:\Documents and Settings\Greg\Desktop\Arduino-1.0.5\hardware\arduino\cores\arduino\/Stream.h:26,
                 from C:\Documents and Settings\Greg\Desktop\Arduino-1.0.5\hardware\arduino\cores\arduino\/HardwareSerial.h:28,
                 from C:\Documents and Settings\Greg\Desktop\Arduino-1.0.5\hardware\arduino\cores\arduino\/Arduino.h:193,
                 from C:\Documents and Settings\Greg\Desktop\Arduino-1.0.5\hardware\arduino\cores\arduino\/Platform.h:15,
                 from C:\Documents and Settings\Greg\Desktop\Arduino-1.0.5\hardware\arduino\cores\arduino\CDC.cpp:19:
C:\Documents and Settings\Greg\Desktop\Arduino-1.0.5\hardware\arduino\cores\arduino\/Print.h:32:1: warning: "BIN" redefined
In file included from c:/documents and settings/greg/desktop/arduino-1.0.5/hardware/tools/avr/lib/gcc/../../avr/include/avr/iotn45.h:38,
                 from c:/documents and settings/greg/desktop/arduino-1.0.5/hardware/tools/avr/lib/gcc/../../avr/include/avr/io.h:282,
                 from c:/documents and settings/greg/desktop/arduino-1.0.5/hardware/tools/avr/lib/gcc/../../avr/include/avr/pgmspace.h:82,
                 from C:\Documents and Settings\Greg\Desktop\Arduino-1.0.5\hardware\arduino\cores\arduino\/Platform.h:6,
                 from C:\Documents and Settings\Greg\Desktop\Arduino-1.0.5\hardware\arduino\cores\arduino\CDC.cpp:19:
c:/documents and settings/greg/desktop/arduino-1.0.5/hardware/tools/avr/lib/gcc/../../avr/include/avr/iotnx5.h:55:1: warning: this is the location of the previous definition
C:\Documents and Settings\Greg\Desktop\Arduino-1.0.5\hardware\tools\avr\bin\avr-g++ -c -g -Os -Wall -fno-exceptions -ffunction-sections -fdata-sections -mmcu=attiny45 -DF_CPU=1000000L -MMD -DUSB_VID=null -DUSB_PID=null -DARDUINO=105 -IC:\Documents and Settings\Greg\Desktop\Arduino-1.0.5\hardware\arduino\cores\arduino -IC:\Documents and Settings\Greg\Desktop\Arduino-1.0.5\hardware\attiny\variants\tiny8 C:\Documents and Settings\Greg\Desktop\Arduino-1.0.5\hardware\arduino\cores\arduino\HardwareSerial.cpp -o C:\DOCUME~1\Greg\LOCALS~1\Temp\build6375945095028760987.tmp\HardwareSerial.cpp.o 

In file included from C:\Documents and Settings\Greg\Desktop\Arduino-1.0.5\hardware\arduino\cores\arduino\/Stream.h:26,
                 from C:\Documents and Settings\Greg\Desktop\Arduino-1.0.5\hardware\arduino\cores\arduino\/HardwareSerial.h:28,
                 from C:\Documents and Settings\Greg\Desktop\Arduino-1.0.5\hardware\arduino\cores\arduino\/Arduino.h:193,
                 from C:\Documents and Settings\Greg\Desktop\Arduino-1.0.5\hardware\arduino\cores\arduino\HardwareSerial.cpp:28:
C:\Documents and Settings\Greg\Desktop\Arduino-1.0.5\hardware\arduino\cores\arduino\/Print.h:32:1: warning: "BIN" redefined
In file included from c:/documents and settings/greg/desktop/arduino-1.0.5/hardware/tools/avr/lib/gcc/../../avr/include/avr/iotn45.h:38,
                 from c:/documents and settings/greg/desktop/arduino-1.0.5/hardware/tools/avr/lib/gcc/../../avr/include/avr/io.h:282,
                 from c:/documents and settings/greg/desktop/arduino-1.0.5/hardware/tools/avr/lib/gcc/../../avr/include/avr/pgmspace.h:82,
                 from C:\Documents and Settings\Greg\Desktop\Arduino-1.0.5\hardware\arduino\cores\arduino\/Arduino.h:8,
                 from C:\Documents and Settings\Greg\Desktop\Arduino-1.0.5\hardware\arduino\cores\arduino\HardwareSerial.cpp:28:
c:/documents and settings/greg/desktop/arduino-1.0.5/hardware/tools/avr/lib/gcc/../../avr/include/avr/iotnx5.h:55:1: warning: this is the location of the previous definition
C:\Documents and Settings\Greg\Desktop\Arduino-1.0.5\hardware\tools\avr\bin\avr-g++ -c -g -Os -Wall -fno-exceptions -ffunction-sections -fdata-sections -mmcu=attiny45 -DF_CPU=1000000L -MMD -DUSB_VID=null -DUSB_PID=null -DARDUINO=105 -IC:\Documents and Settings\Greg\Desktop\Arduino-1.0.5\hardware\arduino\cores\arduino -IC:\Documents and Settings\Greg\Desktop\Arduino-1.0.5\hardware\attiny\variants\tiny8 C:\Documents and Settings\Greg\Desktop\Arduino-1.0.5\hardware\arduino\cores\arduino\HID.cpp -o C:\DOCUME~1\Greg\LOCALS~1\Temp\build6375945095028760987.tmp\HID.cpp.o 

In file included from C:\Documents and Settings\Greg\Desktop\Arduino-1.0.5\hardware\arduino\cores\arduino\/Stream.h:26,
                 from C:\Documents and Settings\Greg\Desktop\Arduino-1.0.5\hardware\arduino\cores\arduino\/HardwareSerial.h:28,
                 from C:\Documents and Settings\Greg\Desktop\Arduino-1.0.5\hardware\arduino\cores\arduino\/Arduino.h:193,
                 from C:\Documents and Settings\Greg\Desktop\Arduino-1.0.5\hardware\arduino\cores\arduino\/Platform.h:15,
                 from C:\Documents and Settings\Greg\Desktop\Arduino-1.0.5\hardware\arduino\cores\arduino\HID.cpp:19:
C:\Documents and Settings\Greg\Desktop\Arduino-1.0.5\hardware\arduino\cores\arduino\/Print.h:32:1: warning: "BIN" redefined
In file included from c:/documents and settings/greg/desktop/arduino-1.0.5/hardware/tools/avr/lib/gcc/../../avr/include/avr/iotn45.h:38,
                 from c:/documents and settings/greg/desktop/arduino-1.0.5/hardware/tools/avr/lib/gcc/../../avr/include/avr/io.h:282,
                 from c:/documents and settings/greg/desktop/arduino-1.0.5/hardware/tools/avr/lib/gcc/../../avr/include/avr/pgmspace.h:82,
                 from C:\Documents and Settings\Greg\Desktop\Arduino-1.0.5\hardware\arduino\cores\arduino\/Platform.h:6,
                 from C:\Documents and Settings\Greg\Desktop\Arduino-1.0.5\hardware\arduino\cores\arduino\HID.cpp:19:
c:/documents and settings/greg/desktop/arduino-1.0.5/hardware/tools/avr/lib/gcc/../../avr/include/avr/iotnx5.h:55:1: warning: this is the location of the previous definition
C:\Documents and Settings\Greg\Desktop\Arduino-1.0.5\hardware\tools\avr\bin\avr-g++ -c -g -Os -Wall -fno-exceptions -ffunction-sections -fdata-sections -mmcu=attiny45 -DF_CPU=1000000L -MMD -DUSB_VID=null -DUSB_PID=null -DARDUINO=105 -IC:\Documents and Settings\Greg\Desktop\Arduino-1.0.5\hardware\arduino\cores\arduino -IC:\Documents and Settings\Greg\Desktop\Arduino-1.0.5\hardware\attiny\variants\tiny8 C:\Documents and Settings\Greg\Desktop\Arduino-1.0.5\hardware\arduino\cores\arduino\IPAddress.cpp -o C:\DOCUME~1\Greg\LOCALS~1\Temp\build6375945095028760987.tmp\IPAddress.cpp.o 

In file included from C:\Documents and Settings\Greg\Desktop\Arduino-1.0.5\hardware\arduino\cores\arduino/Stream.h:26,
                 from C:\Documents and Settings\Greg\Desktop\Arduino-1.0.5\hardware\arduino\cores\arduino/HardwareSerial.h:28,
                 from C:\Documents and Settings\Greg\Desktop\Arduino-1.0.5\hardware\arduino\cores\arduino/Arduino.h:193,
                 from C:\Documents and Settings\Greg\Desktop\Arduino-1.0.5\hardware\arduino\cores\arduino\IPAddress.cpp:2:
C:\Documents and Settings\Greg\Desktop\Arduino-1.0.5\hardware\arduino\cores\arduino/Print.h:32:1: warning: "BIN" redefined
In file included from c:/documents and settings/greg/desktop/arduino-1.0.5/hardware/tools/avr/lib/gcc/../../avr/include/avr/iotn45.h:38,
                 from c:/documents and settings/greg/desktop/arduino-1.0.5/hardware/tools/avr/lib/gcc/../../avr/include/avr/io.h:282,
                 from c:/documents and settings/greg/desktop/arduino-1.0.5/hardware/tools/avr/lib/gcc/../../avr/include/avr/pgmspace.h:82,
                 from C:\Documents and Settings\Greg\Desktop\Arduino-1.0.5\hardware\arduino\cores\arduino/Arduino.h:8,
                 from C:\Documents and Settings\Greg\Desktop\Arduino-1.0.5\hardware\arduino\cores\arduino\IPAddress.cpp:2:
c:/documents and settings/greg/desktop/arduino-1.0.5/hardware/tools/avr/lib/gcc/../../avr/include/avr/iotnx5.h:55:1: warning: this is the location of the previous definition
C:\Documents and Settings\Greg\Desktop\Arduino-1.0.5\hardware\tools\avr\bin\avr-g++ -c -g -Os -Wall -fno-exceptions -ffunction-sections -fdata-sections -mmcu=attiny45 -DF_CPU=1000000L -MMD -DUSB_VID=null -DUSB_PID=null -DARDUINO=105 -IC:\Documents and Settings\Greg\Desktop\Arduino-1.0.5\hardware\arduino\cores\arduino -IC:\Documents and Settings\Greg\Desktop\Arduino-1.0.5\hardware\attiny\variants\tiny8 C:\Documents and Settings\Greg\Desktop\Arduino-1.0.5\hardware\arduino\cores\arduino\main.cpp -o C:\DOCUME~1\Greg\LOCALS~1\Temp\build6375945095028760987.tmp\main.cpp.o 

In file included from C:\Documents and Settings\Greg\Desktop\Arduino-1.0.5\hardware\arduino\cores\arduino/Stream.h:26,
                 from C:\Documents and Settings\Greg\Desktop\Arduino-1.0.5\hardware\arduino\cores\arduino/HardwareSerial.h:28,
                 from C:\Documents and Settings\Greg\Desktop\Arduino-1.0.5\hardware\arduino\cores\arduino/Arduino.h:193,
                 from C:\Documents and Settings\Greg\Desktop\Arduino-1.0.5\hardware\arduino\cores\arduino\main.cpp:1:
C:\Documents and Settings\Greg\Desktop\Arduino-1.0.5\hardware\arduino\cores\arduino/Print.h:32:1: warning: "BIN" redefined
In file included from c:/documents and settings/greg/desktop/arduino-1.0.5/hardware/tools/avr/lib/gcc/../../avr/include/avr/iotn45.h:38,
                 from c:/documents and settings/greg/desktop/arduino-1.0.5/hardware/tools/avr/lib/gcc/../../avr/include/avr/io.h:282,
                 from c:/documents and settings/greg/desktop/arduino-1.0.5/hardware/tools/avr/lib/gcc/../../avr/include/avr/pgmspace.h:82,
                 from C:\Documents and Settings\Greg\Desktop\Arduino-1.0.5\hardware\arduino\cores\arduino/Arduino.h:8,
                 from C:\Documents and Settings\Greg\Desktop\Arduino-1.0.5\hardware\arduino\cores\arduino\main.cpp:1:
c:/documents and settings/greg/desktop/arduino-1.0.5/hardware/tools/avr/lib/gcc/../../avr/include/avr/iotnx5.h:55:1: warning: this is the location of the previous definition
C:\Documents and Settings\Greg\Desktop\Arduino-1.0.5\hardware\tools\avr\bin\avr-g++ -c -g -Os -Wall -fno-exceptions -ffunction-sections -fdata-sections -mmcu=attiny45 -DF_CPU=1000000L -MMD -DUSB_VID=null -DUSB_PID=null -DARDUINO=105 -IC:\Documents and Settings\Greg\Desktop\Arduino-1.0.5\hardware\arduino\cores\arduino -IC:\Documents and Settings\Greg\Desktop\Arduino-1.0.5\hardware\attiny\variants\tiny8 C:\Documents and Settings\Greg\Desktop\Arduino-1.0.5\hardware\arduino\cores\arduino\new.cpp -o C:\DOCUME~1\Greg\LOCALS~1\Temp\build6375945095028760987.tmp\new.cpp.o 

C:\Documents and Settings\Greg\Desktop\Arduino-1.0.5\hardware\tools\avr\bin\avr-g++ -c -g -Os -Wall -fno-exceptions -ffunction-sections -fdata-sections -mmcu=attiny45 -DF_CPU=1000000L -MMD -DUSB_VID=null -DUSB_PID=null -DARDUINO=105 -IC:\Documents and Settings\Greg\Desktop\Arduino-1.0.5\hardware\arduino\cores\arduino -IC:\Documents and Settings\Greg\Desktop\Arduino-1.0.5\hardware\attiny\variants\tiny8 C:\Documents and Settings\Greg\Desktop\Arduino-1.0.5\hardware\arduino\cores\arduino\Print.cpp -o C:\DOCUME~1\Greg\LOCALS~1\Temp\build6375945095028760987.tmp\Print.cpp.o 

In file included from C:\Documents and Settings\Greg\Desktop\Arduino-1.0.5\hardware\arduino\cores\arduino\/Stream.h:26,
                 from C:\Documents and Settings\Greg\Desktop\Arduino-1.0.5\hardware\arduino\cores\arduino\/HardwareSerial.h:28,
                 from C:\Documents and Settings\Greg\Desktop\Arduino-1.0.5\hardware\arduino\cores\arduino\/Arduino.h:193,
                 from C:\Documents and Settings\Greg\Desktop\Arduino-1.0.5\hardware\arduino\cores\arduino\Print.cpp:26:
C:\Documents and Settings\Greg\Desktop\Arduino-1.0.5\hardware\arduino\cores\arduino\/Print.h:32:1: warning: "BIN" redefined
In file included from c:/documents and settings/greg/desktop/arduino-1.0.5/hardware/tools/avr/lib/gcc/../../avr/include/avr/iotn45.h:38,
                 from c:/documents and settings/greg/desktop/arduino-1.0.5/hardware/tools/avr/lib/gcc/../../avr/include/avr/io.h:282,
                 from c:/documents and settings/greg/desktop/arduino-1.0.5/hardware/tools/avr/lib/gcc/../../avr/include/avr/pgmspace.h:82,
                 from C:\Documents and Settings\Greg\Desktop\Arduino-1.0.5\hardware\arduino\cores\arduino\/Arduino.h:8,
                 from C:\Documents and Settings\Greg\Desktop\Arduino-1.0.5\hardware\arduino\cores\arduino\Print.cpp:26:
c:/documents and settings/greg/desktop/arduino-1.0.5/hardware/tools/avr/lib/gcc/../../avr/include/avr/iotnx5.h:55:1: warning: this is the location of the previous definition
C:\Documents and Settings\Greg\Desktop\Arduino-1.0.5\hardware\arduino\cores\arduino\Print.cpp: In member function 'size_t Print::print(const __FlashStringHelper*)':
C:\Documents and Settings\Greg\Desktop\Arduino-1.0.5\hardware\arduino\cores\arduino\Print.cpp:44: warning: '__progmem__' attribute ignored
C:\Documents and Settings\Greg\Desktop\Arduino-1.0.5\hardware\tools\avr\bin\avr-g++ -c -g -Os -Wall -fno-exceptions -ffunction-sections -fdata-sections -mmcu=attiny45 -DF_CPU=1000000L -MMD -DUSB_VID=null -DUSB_PID=null -DARDUINO=105 -IC:\Documents and Settings\Greg\Desktop\Arduino-1.0.5\hardware\arduino\cores\arduino -IC:\Documents and Settings\Greg\Desktop\Arduino-1.0.5\hardware\attiny\variants\tiny8 C:\Documents and Settings\Greg\Desktop\Arduino-1.0.5\hardware\arduino\cores\arduino\Stream.cpp -o C:\DOCUME~1\Greg\LOCALS~1\Temp\build6375945095028760987.tmp\Stream.cpp.o 

In file included from C:\Documents and Settings\Greg\Desktop\Arduino-1.0.5\hardware\arduino\cores\arduino\/Stream.h:26,
                 from C:\Documents and Settings\Greg\Desktop\Arduino-1.0.5\hardware\arduino\cores\arduino\/HardwareSerial.h:28,
                 from C:\Documents and Settings\Greg\Desktop\Arduino-1.0.5\hardware\arduino\cores\arduino\/Arduino.h:193,
                 from C:\Documents and Settings\Greg\Desktop\Arduino-1.0.5\hardware\arduino\cores\arduino\Stream.cpp:23:
C:\Documents and Settings\Greg\Desktop\Arduino-1.0.5\hardware\arduino\cores\arduino\/Print.h:32:1: warning: "BIN" redefined
In file included from c:/documents and settings/greg/desktop/arduino-1.0.5/hardware/tools/avr/lib/gcc/../../avr/include/avr/iotn45.h:38,
                 from c:/documents and settings/greg/desktop/arduino-1.0.5/hardware/tools/avr/lib/gcc/../../avr/include/avr/io.h:282,
                 from c:/documents and settings/greg/desktop/arduino-1.0.5/hardware/tools/avr/lib/gcc/../../avr/include/avr/pgmspace.h:82,
                 from C:\Documents and Settings\Greg\Desktop\Arduino-1.0.5\hardware\arduino\cores\arduino\/Arduino.h:8,
                 from C:\Documents and Settings\Greg\Desktop\Arduino-1.0.5\hardware\arduino\cores\arduino\Stream.cpp:23:
c:/documents and settings/greg/desktop/arduino-1.0.5/hardware/tools/avr/lib/gcc/../../avr/include/avr/iotnx5.h:55:1: warning: this is the location of the previous definition
C:\Documents and Settings\Greg\Desktop\Arduino-1.0.5\hardware\tools\avr\bin\avr-g++ -c -g -Os -Wall -fno-exceptions -ffunction-sections -fdata-sections -mmcu=attiny45 -DF_CPU=1000000L -MMD -DUSB_VID=null -DUSB_PID=null -DARDUINO=105 -IC:\Documents and Settings\Greg\Desktop\Arduino-1.0.5\hardware\arduino\cores\arduino -IC:\Documents and Settings\Greg\Desktop\Arduino-1.0.5\hardware\attiny\variants\tiny8 C:\Documents and Settings\Greg\Desktop\Arduino-1.0.5\hardware\arduino\cores\arduino\Tone.cpp -o C:\DOCUME~1\Greg\LOCALS~1\Temp\build6375945095028760987.tmp\Tone.cpp.o 

In file included from C:\Documents and Settings\Greg\Desktop\Arduino-1.0.5\hardware\arduino\cores\arduino\/Stream.h:26,
                 from C:\Documents and Settings\Greg\Desktop\Arduino-1.0.5\hardware\arduino\cores\arduino\/HardwareSerial.h:28,
                 from C:\Documents and Settings\Greg\Desktop\Arduino-1.0.5\hardware\arduino\cores\arduino\/Arduino.h:193,
                 from C:\Documents and Settings\Greg\Desktop\Arduino-1.0.5\hardware\arduino\cores\arduino\Tone.cpp:37:
C:\Documents and Settings\Greg\Desktop\Arduino-1.0.5\hardware\arduino\cores\arduino\/Print.h:32:1: warning: "BIN" redefined
In file included from c:/documents and settings/greg/desktop/arduino-1.0.5/hardware/tools/avr/lib/gcc/../../avr/include/avr/iotn45.h:38,
                 from c:/documents and settings/greg/desktop/arduino-1.0.5/hardware/tools/avr/lib/gcc/../../avr/include/avr/io.h:282,
                 from c:/documents and settings/greg/desktop/arduino-1.0.5/hardware/tools/avr/lib/gcc/../../avr/include/avr/interrupt.h:38,
                 from C:\Documents and Settings\Greg\Desktop\Arduino-1.0.5\hardware\arduino\cores\arduino\Tone.cpp:35:
c:/documents and settings/greg/desktop/arduino-1.0.5/hardware/tools/avr/lib/gcc/../../avr/include/avr/iotnx5.h:55:1: warning: this is the location of the previous definition
C:\Documents and Settings\Greg\Desktop\Arduino-1.0.5\hardware\arduino\cores\arduino\Tone.cpp:119: warning: only initialized variables can be placed into program memory area
C:\Documents and Settings\Greg\Desktop\Arduino-1.0.5\hardware\arduino\cores\arduino\Tone.cpp:535: warning: 'TIMER2_COMPA_vect' appears to be a misspelled signal handler
C:\Documents and Settings\Greg\Desktop\Arduino-1.0.5\hardware\tools\avr\bin\avr-g++ -c -g -Os -Wall -fno-exceptions -ffunction-sections -fdata-sections -mmcu=attiny45 -DF_CPU=1000000L -MMD -DUSB_VID=null -DUSB_PID=null -DARDUINO=105 -IC:\Documents and Settings\Greg\Desktop\Arduino-1.0.5\hardware\arduino\cores\arduino -IC:\Documents and Settings\Greg\Desktop\Arduino-1.0.5\hardware\attiny\variants\tiny8 C:\Documents and Settings\Greg\Desktop\Arduino-1.0.5\hardware\arduino\cores\arduino\USBCore.cpp -o C:\DOCUME~1\Greg\LOCALS~1\Temp\build6375945095028760987.tmp\USBCore.cpp.o 

In file included from C:\Documents and Settings\Greg\Desktop\Arduino-1.0.5\hardware\arduino\cores\arduino\/Stream.h:26,
                 from C:\Documents and Settings\Greg\Desktop\Arduino-1.0.5\hardware\arduino\cores\arduino\/HardwareSerial.h:28,
                 from C:\Documents and Settings\Greg\Desktop\Arduino-1.0.5\hardware\arduino\cores\arduino\/Arduino.h:193,
                 from C:\Documents and Settings\Greg\Desktop\Arduino-1.0.5\hardware\arduino\cores\arduino\/Platform.h:15,
                 from C:\Documents and Settings\Greg\Desktop\Arduino-1.0.5\hardware\arduino\cores\arduino\USBCore.cpp:19:
C:\Documents and Settings\Greg\Desktop\Arduino-1.0.5\hardware\arduino\cores\arduino\/Print.h:32:1: warning: "BIN" redefined
In file included from c:/documents and settings/greg/desktop/arduino-1.0.5/hardware/tools/avr/lib/gcc/../../avr/include/avr/iotn45.h:38,
                 from c:/documents and settings/greg/desktop/arduino-1.0.5/hardware/tools/avr/lib/gcc/../../avr/include/avr/io.h:282,
                 from c:/documents and settings/greg/desktop/arduino-1.0.5/hardware/tools/avr/lib/gcc/../../avr/include/avr/pgmspace.h:82,
                 from C:\Documents and Settings\Greg\Desktop\Arduino-1.0.5\hardware\arduino\cores\arduino\/Platform.h:6,
                 from C:\Documents and Settings\Greg\Desktop\Arduino-1.0.5\hardware\arduino\cores\arduino\USBCore.cpp:19:
c:/documents and settings/greg/desktop/arduino-1.0.5/hardware/tools/avr/lib/gcc/../../avr/include/avr/iotnx5.h:55:1: warning: this is the location of the previous definition
C:\Documents and Settings\Greg\Desktop\Arduino-1.0.5\hardware\tools\avr\bin\avr-g++ -c -g -Os -Wall -fno-exceptions -ffunction-sections -fdata-sections -mmcu=attiny45 -DF_CPU=1000000L -MMD -DUSB_VID=null -DUSB_PID=null -DARDUINO=105 -IC:\Documents and Settings\Greg\Desktop\Arduino-1.0.5\hardware\arduino\cores\arduino -IC:\Documents and Settings\Greg\Desktop\Arduino-1.0.5\hardware\attiny\variants\tiny8 C:\Documents and Settings\Greg\Desktop\Arduino-1.0.5\hardware\arduino\cores\arduino\WMath.cpp -o C:\DOCUME~1\Greg\LOCALS~1\Temp\build6375945095028760987.tmp\WMath.cpp.o 

C:\Documents and Settings\Greg\Desktop\Arduino-1.0.5\hardware\tools\avr\bin\avr-g++ -c -g -Os -Wall -fno-exceptions -ffunction-sections -fdata-sections -mmcu=attiny45 -DF_CPU=1000000L -MMD -DUSB_VID=null -DUSB_PID=null -DARDUINO=105 -IC:\Documents and Settings\Greg\Desktop\Arduino-1.0.5\hardware\arduino\cores\arduino -IC:\Documents and Settings\Greg\Desktop\Arduino-1.0.5\hardware\attiny\variants\tiny8 C:\Documents and Settings\Greg\Desktop\Arduino-1.0.5\hardware\arduino\cores\arduino\WString.cpp -o C:\DOCUME~1\Greg\LOCALS~1\Temp\build6375945095028760987.tmp\WString.cpp.o 

C:\Documents and Settings\Greg\Desktop\Arduino-1.0.5\hardware\tools\avr\bin\avr-ar rcs C:\DOCUME~1\Greg\LOCALS~1\Temp\build6375945095028760987.tmp\core.a C:\DOCUME~1\Greg\LOCALS~1\Temp\build6375945095028760987.tmp\malloc.c.o 

C:\Documents and Settings\Greg\Desktop\Arduino-1.0.5\hardware\tools\avr\bin\avr-ar rcs C:\DOCUME~1\Greg\LOCALS~1\Temp\build6375945095028760987.tmp\core.a C:\DOCUME~1\Greg\LOCALS~1\Temp\build6375945095028760987.tmp\realloc.c.o 

C:\Documents and Settings\Greg\Desktop\Arduino-1.0.5\hardware\tools\avr\bin\avr-ar rcs C:\DOCUME~1\Greg\LOCALS~1\Temp\build6375945095028760987.tmp\core.a C:\DOCUME~1\Greg\LOCALS~1\Temp\build6375945095028760987.tmp\WInterrupts.c.o 

C:\Documents and Settings\Greg\Desktop\Arduino-1.0.5\hardware\tools\avr\bin\avr-ar rcs C:\DOCUME~1\Greg\LOCALS~1\Temp\build6375945095028760987.tmp\core.a C:\DOCUME~1\Greg\LOCALS~1\Temp\build6375945095028760987.tmp\wiring.c.o 

C:\Documents and Settings\Greg\Desktop\Arduino-1.0.5\hardware\tools\avr\bin\avr-ar rcs C:\DOCUME~1\Greg\LOCALS~1\Temp\build6375945095028760987.tmp\core.a C:\DOCUME~1\Greg\LOCALS~1\Temp\build6375945095028760987.tmp\wiring_analog.c.o 

C:\Documents and Settings\Greg\Desktop\Arduino-1.0.5\hardware\tools\avr\bin\avr-ar rcs C:\DOCUME~1\Greg\LOCALS~1\Temp\build6375945095028760987.tmp\core.a C:\DOCUME~1\Greg\LOCALS~1\Temp\build6375945095028760987.tmp\wiring_digital.c.o 

C:\Documents and Settings\Greg\Desktop\Arduino-1.0.5\hardware\tools\avr\bin\avr-ar rcs C:\DOCUME~1\Greg\LOCALS~1\Temp\build6375945095028760987.tmp\core.a C:\DOCUME~1\Greg\LOCALS~1\Temp\build6375945095028760987.tmp\wiring_pulse.c.o 

C:\Documents and Settings\Greg\Desktop\Arduino-1.0.5\hardware\tools\avr\bin\avr-ar rcs C:\DOCUME~1\Greg\LOCALS~1\Temp\build6375945095028760987.tmp\core.a C:\DOCUME~1\Greg\LOCALS~1\Temp\build6375945095028760987.tmp\wiring_shift.c.o 

C:\Documents and Settings\Greg\Desktop\Arduino-1.0.5\hardware\tools\avr\bin\avr-ar rcs C:\DOCUME~1\Greg\LOCALS~1\Temp\build6375945095028760987.tmp\core.a C:\DOCUME~1\Greg\LOCALS~1\Temp\build6375945095028760987.tmp\CDC.cpp.o 

C:\Documents and Settings\Greg\Desktop\Arduino-1.0.5\hardware\tools\avr\bin\avr-ar rcs C:\DOCUME~1\Greg\LOCALS~1\Temp\build6375945095028760987.tmp\core.a C:\DOCUME~1\Greg\LOCALS~1\Temp\build6375945095028760987.tmp\HardwareSerial.cpp.o 

C:\Documents and Settings\Greg\Desktop\Arduino-1.0.5\hardware\tools\avr\bin\avr-ar rcs C:\DOCUME~1\Greg\LOCALS~1\Temp\build6375945095028760987.tmp\core.a C:\DOCUME~1\Greg\LOCALS~1\Temp\build6375945095028760987.tmp\HID.cpp.o 

C:\Documents and Settings\Greg\Desktop\Arduino-1.0.5\hardware\tools\avr\bin\avr-ar rcs C:\DOCUME~1\Greg\LOCALS~1\Temp\build6375945095028760987.tmp\core.a C:\DOCUME~1\Greg\LOCALS~1\Temp\build6375945095028760987.tmp\IPAddress.cpp.o 

C:\Documents and Settings\Greg\Desktop\Arduino-1.0.5\hardware\tools\avr\bin\avr-ar rcs C:\DOCUME~1\Greg\LOCALS~1\Temp\build6375945095028760987.tmp\core.a C:\DOCUME~1\Greg\LOCALS~1\Temp\build6375945095028760987.tmp\main.cpp.o 

C:\Documents and Settings\Greg\Desktop\Arduino-1.0.5\hardware\tools\avr\bin\avr-ar rcs C:\DOCUME~1\Greg\LOCALS~1\Temp\build6375945095028760987.tmp\core.a C:\DOCUME~1\Greg\LOCALS~1\Temp\build6375945095028760987.tmp\new.cpp.o 

C:\Documents and Settings\Greg\Desktop\Arduino-1.0.5\hardware\tools\avr\bin\avr-ar rcs C:\DOCUME~1\Greg\LOCALS~1\Temp\build6375945095028760987.tmp\core.a C:\DOCUME~1\Greg\LOCALS~1\Temp\build6375945095028760987.tmp\Print.cpp.o 

C:\Documents and Settings\Greg\Desktop\Arduino-1.0.5\hardware\tools\avr\bin\avr-ar rcs C:\DOCUME~1\Greg\LOCALS~1\Temp\build6375945095028760987.tmp\core.a C:\DOCUME~1\Greg\LOCALS~1\Temp\build6375945095028760987.tmp\Stream.cpp.o 

C:\Documents and Settings\Greg\Desktop\Arduino-1.0.5\hardware\tools\avr\bin\avr-ar rcs C:\DOCUME~1\Greg\LOCALS~1\Temp\build6375945095028760987.tmp\core.a C:\DOCUME~1\Greg\LOCALS~1\Temp\build6375945095028760987.tmp\Tone.cpp.o 

C:\Documents and Settings\Greg\Desktop\Arduino-1.0.5\hardware\tools\avr\bin\avr-ar rcs C:\DOCUME~1\Greg\LOCALS~1\Temp\build6375945095028760987.tmp\core.a C:\DOCUME~1\Greg\LOCALS~1\Temp\build6375945095028760987.tmp\USBCore.cpp.o 

C:\Documents and Settings\Greg\Desktop\Arduino-1.0.5\hardware\tools\avr\bin\avr-ar rcs C:\DOCUME~1\Greg\LOCALS~1\Temp\build6375945095028760987.tmp\core.a C:\DOCUME~1\Greg\LOCALS~1\Temp\build6375945095028760987.tmp\WMath.cpp.o 

C:\Documents and Settings\Greg\Desktop\Arduino-1.0.5\hardware\tools\avr\bin\avr-ar rcs C:\DOCUME~1\Greg\LOCALS~1\Temp\build6375945095028760987.tmp\core.a C:\DOCUME~1\Greg\LOCALS~1\Temp\build6375945095028760987.tmp\WString.cpp.o 

C:\Documents and Settings\Greg\Desktop\Arduino-1.0.5\hardware\tools\avr\bin\avr-gcc -Os -Wl,--gc-sections -mmcu=attiny45 -o C:\DOCUME~1\Greg\LOCALS~1\Temp\build6375945095028760987.tmp\Blink.cpp.elf C:\DOCUME~1\Greg\LOCALS~1\Temp\build6375945095028760987.tmp\Blink.cpp.o C:\DOCUME~1\Greg\LOCALS~1\Temp\build6375945095028760987.tmp\core.a -LC:\DOCUME~1\Greg\LOCALS~1\Temp\build6375945095028760987.tmp -lm 

C:\Documents and Settings\Greg\Desktop\Arduino-1.0.5\hardware\tools\avr\bin\avr-objcopy -O ihex -j .eeprom --set-section-flags=.eeprom=alloc,load --no-change-warnings --change-section-lma .eeprom=0 C:\DOCUME~1\Greg\LOCALS~1\Temp\build6375945095028760987.tmp\Blink.cpp.elf C:\DOCUME~1\Greg\LOCALS~1\Temp\build6375945095028760987.tmp\Blink.cpp.eep 

C:\Documents and Settings\Greg\Desktop\Arduino-1.0.5\hardware\tools\avr\bin\avr-objcopy -O ihex -R .eeprom C:\DOCUME~1\Greg\LOCALS~1\Temp\build6375945095028760987.tmp\Blink.cpp.elf C:\DOCUME~1\Greg\LOCALS~1\Temp\build6375945095028760987.tmp\Blink.cpp.hex 

Binary sketch size: 830 bytes (of a 4,096 byte maximum)

C:\Documents and Settings\Greg\Desktop\Arduino-1.0.5\hardware/tools/avr/bin/avrdude -CC:\Documents and Settings\Greg\Desktop\Arduino-1.0.5\hardware/tools/avr/etc/avrdude.conf -v -v -v -v -pattiny45 -cstk500v1 -P\\.\COM7 -b9600 -Uflash:w:C:\DOCUME~1\Greg\LOCALS~1\Temp\build6375945095028760987.tmp\Blink.cpp.hex:i 


avrdude: Version 5.11, compiled on Sep  2 2011 at 19:38:36
         Copyright (c) 2000-2005 Brian Dean, http://www.bdmicro.com/
         Copyright (c) 2007-2009 Joerg Wunsch

         System wide configuration file is "C:\Documents and Settings\Greg\Desktop\Arduino-1.0.5\hardware/tools/avr/etc/avrdude.conf"

         Using Port                    : \\.\COM7
         Using Programmer              : stk500v1
         Overriding Baud Rate          : 9600
avrdude: Send: 0 [30]   [20] 
avrdude: Send: 0 [30]   [20] 
avrdude: Send: 0 [30]   [20] 
avrdude: Recv: . [14] 
avrdude: Recv: . [10] 
         AVR Part                      : ATtiny45
         Chip Erase delay              : 4500 us
         PAGEL                         : P00
         BS2                           : P00
         RESET disposition             : possible i/o
         RETRY pulse                   : SCK
         serial program mode           : yes
         parallel program mode         : yes
         Timeout                       : 200
         StabDelay                     : 100
         CmdexeDelay                   : 25
         SyncLoops                     : 32
         ByteDelay                     : 0
         PollIndex                     : 3
         PollValue                     : 0x53
         Memory Detail                 :

                                  Block Poll               Page                       Polled
           Memory Type Mode Delay Size  Indx Paged  Size   Size #Pages MinW  MaxW   ReadBack
           ----------- ---- ----- ----- ---- ------ ------ ---- ------ ----- ----- ---------
           eeprom        65     6     4    0 no        256    4      0  4000  4500 0xff 0xff
                                  Block Poll               Page                       Polled
           Memory Type Mode Delay Size  Indx Paged  Size   Size #Pages MinW  MaxW   ReadBack
           ----------- ---- ----- ----- ---- ------ ------ ---- ------ ----- ----- ---------
           flash         65     6    32    0 yes      4096   64     64  4500  4500 0xff 0xff
                                  Block Poll               Page                       Polled
           Memory Type Mode Delay Size  Indx Paged  Size   Size #Pages MinW  MaxW   ReadBack
           ----------- ---- ----- ----- ---- ------ ------ ---- ------ ----- ----- ---------
           signature      0     0     0    0 no          3    0      0     0     0 0x00 0x00
                                  Block Poll               Page                       Polled
           Memory Type Mode Delay Size  Indx Paged  Size   Size #Pages MinW  MaxW   ReadBack
           ----------- ---- ----- ----- ---- ------ ------ ---- ------ ----- ----- ---------
           lock           0     0     0    0 no          1    0      0  9000  9000 0x00 0x00
                                  Block Poll               Page                       Polled
           Memory Type Mode Delay Size  Indx Paged  Size   Size #Pages MinW  MaxW   ReadBack
           ----------- ---- ----- ----- ---- ------ ------ ---- ------ ----- ----- ---------
           lfuse          0     0     0    0 no          1    0      0  9000  9000 0x00 0x00
                                  Block Poll               Page                       Polled
           Memory Type Mode Delay Size  Indx Paged  Size   Size #Pages MinW  MaxW   ReadBack
           ----------- ---- ----- ----- ---- ------ ------ ---- ------ ----- ----- ---------
           hfuse          0     0     0    0 no          1    0      0  9000  9000 0x00 0x00
                                  Block Poll               Page                       Polled
           Memory Type Mode Delay Size  Indx Paged  Size   Size #Pages MinW  MaxW   ReadBack
           ----------- ---- ----- ----- ---- ------ ------ ---- ------ ----- ----- ---------
           efuse          0     0     0    0 no          1    0      0  9000  9000 0x00 0x00
                                  Block Poll               Page                       Polled
           Memory Type Mode Delay Size  Indx Paged  Size   Size #Pages MinW  MaxW   ReadBack
           ----------- ---- ----- ----- ---- ------ ------ ---- ------ ----- ----- ---------
           calibration    0     0     0    0 no          2    0      0     0     0 0x00 0x00

         Programmer Type : STK500
         Description     : Atmel STK500 Version 1.x firmware
avrdude: Send: A [41] . [80]   [20] 
avrdude: Recv: . [14] 
avrdude: Recv: . [02] 
avrdude: Recv: . [10] 
avrdude: Send: A [41] . [81]   [20] 
avrdude: Recv: . [14] 
avrdude: Recv: . [01] 
avrdude: Recv: . [10] 
avrdude: Send: A [41] . [82]   [20] 
avrdude: Recv: . [14] 
avrdude: Recv: . [12] 
avrdude: Recv: . [10] 
avrdude: Send: A [41] . [98]   [20] 
avrdude: Recv: . [14] 
avrdude: Recv: . [00] 
avrdude: Recv: . [10] 
         Hardware Version: 2
         Firmware Version: 1.18
         Topcard         : Unknown
avrdude: Send: A [41] . [84]   [20] 
avrdude: Recv: . [14] 
avrdude: Recv: . [00] 
avrdude: Recv: . [10] 
avrdude: Send: A [41] . [85]   [20] 
avrdude: Recv: . [14] 
avrdude: Recv: . [00] 
avrdude: Recv: . [10] 
avrdude: Send: A [41] . [86]   [20] 
avrdude: Recv: . [14] 
avrdude: Recv: . [00] 
avrdude: Recv: . [10] 
avrdude: Send: A [41] . [87]   [20] 
avrdude: Recv: . [14] 
avrdude: Recv: . [00] 
avrdude: Recv: . [10] 
avrdude: Send: A [41] . [89]   [20] 
avrdude: Recv: . [14] 
avrdude: Recv: . [00] 
avrdude: Recv: . [10] 
         Vtarget         : 0.0 V
         Varef           : 0.0 V
         Oscillator      : Off
         SCK period      : 0.1 us

avrdude: Send: A [41] . [81]   [20] 
avrdude: Recv: . [14] 
avrdude: Recv: . [01] 
avrdude: Recv: . [10] 
avrdude: Send: A [41] . [82]   [20] 
avrdude: Recv: . [14] 
avrdude: Recv: . [12] 
avrdude: Recv: . [10] 
avrdude: Send: B [42] . [14] . [00] . [00] . [01] . [01] . [01] . [01] . [03] . [ff] . [ff] . [ff] . [ff] . [00] @ [40] . [01] . [00] . [00] . [00] . [10] . [00]   [20] 
avrdude: Recv: . [14] 
avrdude: Recv: . [10] 
avrdude: please define PAGEL and BS2 signals in the configuration file for part ATtiny45
avrdude: Send: P [50]   [20] 
avrdude: Recv: 
avrdude: stk500_program_enable(): protocol error, expect=0x14, resp=0x50
avrdude: initialization failed, rc=-1
         Double check connections and try again, or use -F to override
         this check.

avrdude: Send: Q [51]   [20] 
avrdude: Recv: 
avrdude: stk500_disable(): protocol error, expect=0x14, resp=0x51

avrdude done.  Thank you.

If I connect the 10uF capacitor from ground to pin 1, and retry, it all looks the same except near the end(highlighted):
Code:
avrdude: Recv: . [14] 
avrdude: Recv: . [10] 
avrdude: please define PAGEL and BS2 signals in the configuration file for part ATtiny45
avrdude: Send: P [50]   [20] 
avrdude: Recv: 
avrdude: stk500_program_enable(): protocol error, expect=0x14, resp=0x50
avrdude: initialization failed, rc=-1
         Double check connections and try again, or use -F to override
         this check.

avrdude: Send: Q [51]   [20] 
[COLOR="#FF0000"]avrdude: Recv: . [14] 
avrdude: Recv: . [10] 
[/COLOR]

avrdude done.  Thank you.
 
OK, so I need to not work on this stuff with little sleep. It turns out I was forgetting to hook up the reset connection. Somehow I missed it. It works fine now.
 
Status
Not open for further replies.
Back
Top