Skip to content

Instantly share code, notes, and snippets.

@neomantra
Created January 14, 2014 04:30
Show Gist options
  • Star 2 You must be signed in to star a gist
  • Fork 1 You must be signed in to fork a gist
  • Save neomantra/8413042 to your computer and use it in GitHub Desktop.
Save neomantra/8413042 to your computer and use it in GitHub Desktop.
Thing-o-matic Firmware Upgrade from command-line. Using the ReplicatorG and MakerWare I was getting errors like "upload failed".... and endlessly pressing reset and upload. This worked without any tricky timing. I did this on OSX, but I don't know why it wouldn't work similarly on another OS...

After spending two hours fucking with pushing my reset-button and clicking upload in both ReplicatorG and Makerware, I figured out how to do it from the command line. The command line was determined from running ReplicatorG on the console and trying to upgrade the firmware.

Install ReplicatorG

Download and install it from http://www.makerbot.com/sailfish/install/

Get the 4.4 firmware from Makerbot

wget http://firmware.makerbot.com/firmware/MB-mb24-2560-Sailfish-v4.4-r1029.hex

Flash it! After you run this, just press the reset button on the Thing-o-matic

/Applications/ReplicatorG.app/Contents/Resources/tools/avrdude -C/Applications/ReplicatorG.app/Contents/Resources/tools/avrdude.conf -c stk500v2 -P /dev/tty.usbmodem1421 -b115200 -D -Uflash:w:MB-mb24-2560-Sailfish-v4.4-r1029.hex:i -pm2560

Here's what the output said:

avrdude: stk500v2_ReceiveMessage(): timeout

<< then i pushed reset >>

avrdude: AVR device initialized and ready to accept instructions

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

avrdude: Device signature = 0x1e9801
avrdude: reading input file "MB-mb24-2560-Sailfish-v4.4-r1029.hex"
avrdude: writing flash (132694 bytes):

Writing | ################################################## | 100% 19.12s

avrdude: 132694 bytes of flash written
avrdude: verifying flash memory against MB-mb24-2560-Sailfish-v4.4-r1029.hex:
avrdude: load data flash data from input file MB-mb24-2560-Sailfish-v4.4-r1029.hex:
avrdude: input file MB-mb24-2560-Sailfish-v4.4-r1029.hex contains 132694 bytes
avrdude: reading on-chip flash data:

Reading | ################################################## | 100% 14.68s

avrdude: verifying ...
avrdude: 132694 bytes of flash verified

avrdude: safemode: Fuses OK

avrdude done.  Thank you.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment