Hi.
I'm trying to write a hex file into a at90s1200, but avrdude fails to write:
avrdude -p 1200 -c dapa -E reset -U flash:w:avrisp.hex:i
avrdude: AVR device initialized and ready to accept instructions
Reading | ################################################## | 100% 0.00s
avrdude: Device signature = 0x1e9001
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 "avrisp.hex"
avrdude: writing flash (1010 bytes):
Writing | | 0%
0.00s ***failed;
***failed;
***failed;
***failed;
which repeats until the bar reaches 100%:
Writing | ################################################## | 100% 29.13s
avrdude: 1010 bytes of flash written
avrdude: verifying flash memory against avrisp.hex:
avrdude: load data flash data from input file avrisp.hex:
avrdude: input file avrisp.hex contains 1010 bytes
avrdude: reading on-chip flash data:
Reading | ################################################## | 100% 0.32s
avrdude: verifying ...
avrdude: verification error, first mismatch at byte 0x0001
0xc0 != 0x80
avrdude: verification error; content mismatch
avrdude done. Thank you.
I've also tried to read both the fuse bits and the lock bits, but it
returns the following in both cases:
avrdude -p 1200 -c dapa -E reset -U lock:r:cmd:m (fuse:r:cmd:m)
avrdude: AVR device initialized and ready to accept instructions
Reading | ################################################## | 100% 0.00s
avrdude: Device signature = 0x1e9001
avrdude: reading lock memory:
Reading | | 0%
0.00savr_read(): error reading address 0x0000
read operation not supported for memory "lock" (fuse)
avrdude: failed to read all of lock memory, rc=-2
avrdude done. Thank you.
Could someone please help me?
Thanks,
Pedro
_______________________________________________
AVR-chat mailing list
[email protected]
http://lists.nongnu.org/mailman/listinfo/avr-chat