Trouble uploading firmware

Home Forums TinyG TinyG Support Trouble uploading firmware

Tagged: ,

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #7548
    Rural
    Member

    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?

    #7549
    Rural
    Member

    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.

Viewing 2 posts - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.