Trouble uploading firmware

From the original Synthetos forum (2011–2025)

Started by Rural on in TinyG Support. 1 reply, last activity Mar 18, 2015.

#

Me again. So I ran a couple of air jobs several times with no problems through Chilipeppr (with the newest version of the serial-port-json-server). That got my confidence up, so I attempted to upgrade the firmware on the TinyG.

Under Windows, the TinyG-Updater failed right away with a "verification failed" error in the progress bar (which was red).

Switched to Linux (Ubuntu 14.04), grabbed both edge and master copies of the firmware, downloaded version 1.6.1 of the Arduino IDE to get avrdude, then did this:

./arduino-1.6.1/hardware/tools/avr/bin/avrdude -p x192a3 -c avr109 -b 115200 -P /dev/ttyUSB0 -C ./arduino-1.6.1/hardware/tools/avr/etc/avrdude.conf -U flash:w:tinyg-edge-440.14.hex

Which resulted in this:

-----------------------------
[ many lines of "***failed;" deleted ]
***failed;
***failed;
***failed;
***failed;
***failed;
***failed;
***failed;
***failed;
***failed;
***failed;
***failed;
***failed;
***failed;
***failed;
***failed;
***failed;
Writing | ################################################## | 100% 4.30s

avrdude: 118214 bytes of flash written
avrdude: verifying flash memory against tinyg-edge-440.14.hex:
avrdude: load data flash data from input file tinyg-edge-440.14.hex:
avrdude: input file tinyg-edge-440.14.hex auto detected as Intel Hex
avrdude: input file tinyg-edge-440.14.hex contains 118214 bytes
avrdude: reading on-chip flash data:

Reading | | 0% 0.00savrdude: error: programmer did not respond to command: set addr
--------------------

This doesn't seem like the Firmware Verification failures as documented in the wiki. Any suggestions?

#

And if I had just read a bit farther on the firmware update page, I would have noticed that my problem was covered. Nice.

Added the -e option to avrdude. That seems to have worked. Blushing a bit here.

This topic is from the original forum (March 2015). Your reply starts a new discussion linked to it.

Reply

Different problem? Ask a new question

Back to TinyG Support or latest activity.