I am having trouble transferring a program to my ATmega168 using avrdude.
Usually it freezes in the middle of the write. I posted below an example of
what might happen. It then just freezes before the program is fully
transferred. Can someone offer some suggestions on how to troubleshoot this?
I am using
Windows XP pro SP3. Thanks for any help.
avrdude -c avr109 -p m168 -b 115200 -P COM7 -U flash:w:trafficlight.hex:a
Connecting to programmer: .
Found programmer: Id = "FDL v02"; type = S
Software Version = 0.2; No Hardware Version given.
Programmer supports auto addr increment.
Programmer supports buffered memory access with buffersize=128 bytes.
Programmer supports the following devices:
Device code: 0x35
avrdude: AVR device initialized and ready to accept instructions
Reading | ################################################## | 100% 0.02s
avrdude: Device signature = 0x1e9406
avrdude: NOTE: FLASH memory has been specified, an erase cycle will be
performed
To disable this feature, specify the -D option.
avrdude: erasing chip
avrdude: reading input file "trafficlight.hex"
avrdude: input file trafficlight.hex auto detected as Intel Hex
avrdude: writing flash (8562 bytes):
Writing | ############################ | 55% 0.75s