Hi. I'm trying to update my firmware. It's currently as reported by $sys:
[fb] firmware build 370.08
[fv] firmware version 0.95
[hv] hardware version 7.00
I'm using AVRDude on a Mac using the following command line:
avrdude -p x192a3 -c avr109 -b 115200 -P /dev/cu.usbserial-DA00E8PD -U tinyg.hex
Here's what I see on the console:
Connecting to programmer: .
Found programmer: Id = "XBoot++"; type = S
Software Version = 1.7; No Hardware Version given.
Programmer supports auto addr increment.
Programmer supports buffered memory access with buffersize=512 bytes.
Programmer supports the following devices:
Device code: 0x7b
avrdude: AVR device initialized and ready to accept instructions
Reading | ################################################## | 100% 0.01s
avrdude: Device signature = 0x1e9744
avrdude: NOTE: Programmer supports page erase for Xmega devices.
Each page will be erased before programming it, but no chip erase is performed.
To disable page erases, specify the -D option; for a chip-erase, use the -e option.
avrdude: reading input file "tinyg.hex"
avrdude: input file tinyg.hex auto detected as raw binary
avrdude: writing application (196608 bytes):
Writing | | 0% 0.00savrdude: butterfly_page_erase() called on memory type "application"
I then get pages and pages of ***failed; and then finally:
Writing | ################################################## | 100% 0.68s
avrdude: 196608 bytes of application written
avrdude: verifying application memory against tinyg.hex:
avrdude: load data application data from input file tinyg.hex:
avrdude: input file tinyg.hex auto detected as raw binary
avrdude: input file tinyg.hex contains 196608 bytes
avrdude: reading on-chip application data:
Reading | | 0% 0.00savr_read(): error reading address 0x0000
read operation not supported for memory "application"
avrdude: failed to read all of application memory, rc=-2
avrdude done. Thank you.
At least it thanks me at the end. Anyone have a clue what I might be doing wrong?
Thanks