Home › Forums › TinyG › TinyG Support › Stuck in boot loader when doing firmware upgrade?
Tagged: firmware
- This topic has 1 reply, 1 voice, and was last updated 9 years, 3 months ago by rodwintle.
-
AuthorPosts
-
August 1, 2015 at 4:42 pm #8159rodwintleMember
Attempted to upgrade firmware on my tinyg. This is a new setup for an OX CNC I am building. Chilipeppr on first connect suggested the firmware upgrade. I downloaded the tinyg updater, but, received an “verification error”.
I then followed the tutorial to do the upgrade via command line on my MAC and received the following error:
./avrdude -p x192a3 -C ../etc/avrdude.conf -c avr109 -b 115200 -P /dev/cu.usbserial-DA00W2V6 -U flash:w:tinyg-master-440.17.hex
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: 0x7bavrdude: 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-master-440.17.hex”
avrdude: input file tinyg-master-440.17.hex auto detected as Intel Hex
avrdude: writing flash (118846 bytes):Writing | ################################################## | 100% 0.25s
avrdude: 118846 bytes of flash written
avrdude: verifying flash memory against tinyg-master-440.17.hex:
avrdude: load data flash data from input file tinyg-master-440.17.hex:
avrdude: input file tinyg-master-440.17.hex auto detected as Intel Hex
avrdude: input file tinyg-master-440.17.hex contains 118846 bytes
avrdude: reading on-chip flash data:Reading | ################################################## | 100% 17.91s
avrdude: verifying …
avrdude: verification error, first mismatch at byte 0x7e00
0xff != 0x36
avrdude: verification error; content mismatchavrdude done. Thank you.
Note that during the write, I had a endless amount of ” ***failed;” scroll by.
Now the board seems to be stuck in the boot loader mode. The spin led flashes red the entire time the board is powered on.
Any thoughts on how to proceed?
Thank you in advance!
–Rod
August 1, 2015 at 4:57 pm #8160rodwintleMemberFound it! Needed to add a “-e” after the serial port to cause an erase to happen. It appears the board is now back to normal!
-
AuthorPosts
- You must be logged in to reply to this topic.