Wed 07 Dec 2005 08:52:19 AM UTC, original submission:
Hi,
I updated from version avrdude 4.3 to version 5.0 and I use the butterfly programmer.
In version 4.3 the flashing works fine. See output:
$ avrdude -P /dev/ttyUSB0 -p m169 -c butterfly -U f:w:test.bin:a
Found programmer: Id = "AVRBOOT"; type = S
Software Version = 1.4; 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: 0x75
avrdude: AVR device initialized and ready to accept instructions
Reading | ################################################## | 100% 0.00s
avrdude: Device signature = 0x05941e
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 "test.bin"
avrdude: input file test.bin auto detected as Intel Hex
avrdude: writing f (168 bytes):
Writing | ################################################## | 100% 0.11s
avrdude: 168 bytes of f written
avrdude: verifying f memory against test.bin:
avrdude: load data f data from input file test.bin:
avrdude: input file test.bin auto detected as Intel Hex
avrdude: input file test.bin contains 168 bytes
avrdude: reading on-chip f data:
Reading | ################################################## | 100% 0.11s
avrdude: verifying ...
avrdude: 168 bytes of f verified
avrdude done. Thank you.
After the update to version 5.0, it goes wrong and I can't flash my board like in the past. Avrdude shows the following output:
$ /usr/local/avr/bin/avrdude -P /dev/ttyUSB0 -p m169 -c butterfly -U f:w:test.bin:a
Connecting to programmer: .
Found programmer: Id = "AVRBOOT"; type = S
Software Version = 1.4; 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: 0x75
avrdude: AVR device initialized and ready to accept instructions
Reading | ################################################## | 100% 0.01s
avrdude: Device signature = 0x1e9405
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 "test.bin"
avrdude: input file test.bin auto detected as Intel Hex
avrdude: writing f (168 bytes):
Writing | ################################################## | 100% 0.00s
avrdude: failed to write flash memory, rc=-1
avrdude: safemode: Fuses OK
avrdude done. Thank you.
I don't know where the problem is. I hope the informations are enough and useful.
Thanks and greets
Michael Schulze
|