I get the following error message when trying to program the eeprom of
an at90can128:

stk500v2_paged_write: loadpage instruction not defined for part "AT90CAN128"

I'm using avrdude 5.0. The full output is at the end of this message.
According to avrdude.conf, avrdude shouldn't even be trying to used paged
writes for eeprom. I remember having to change read->read_lo and write->write_lo
in 5.0-BETA but this error seems to be slightly different.

-- Daniel


avrdude -c avrispv2 -p at90can128 -P /dev/tts/1 -e -U flash:w:avrforth.hex:i -U 
eeprom:w:avrforth.eep.hex:i

avrdude: AVR device initialized and ready to accept instructions

Reading | ################################################## | 100% 0.01s

avrdude: Device signature = 0x1e9781
avrdude: erasing chip
avrdude: reading input file "avrforth.hex"
avrdude: writing flash (130528 bytes):

Writing | ################################################## | 100% 1.07s

avrdude: 130528 bytes of flash written
avrdude: verifying flash memory against avrforth.hex:
avrdude: load data flash data from input file avrforth.hex:
avrdude: input file avrforth.hex contains 130528 bytes
avrdude: reading on-chip flash data:

Reading | ################################################## | 100% 28.07s

avrdude: verifying ...
avrdude: 130528 bytes of flash verified
avrdude: reading input file "avrforth.eep.hex"
avrdude: writing eeprom (10 bytes):

Writing | avrdude: stk500v2_paged_write: loadpage instruction not defined for 
part "AT90CAN128"
################################################## | 100% 0.00s

avrdude: failed to write eeprom memory, rc=-1

avrdude: safemode: Fuses OK

avrdude done.  Thank you.



_______________________________________________
avrdude-dev mailing list
[email protected]
http://lists.nongnu.org/mailman/listinfo/avrdude-dev

Reply via email to