Difference between revisions of "MakerBot Replicator 1 Firmware Upgrade"

From ivc wiki
Jump to navigationJump to search
Line 45: Line 45:
Replicator 1 serial/usb (ATmega8U2):  
Replicator 1 serial/usb (ATmega8U2):  


  avrdude -F -p at90usb82 -P usb -c avrispmkii -U flash:w:Makerbot-usbserial.hex -U lfuse:w:0xFF:m -U hfuse:w:0xD9:m -U efuse:w:0xF4:m -U lock:w:0x0F:m
  avrdude -F -p at90usb82 -P /dev/ttyACM0 -c avrispmkii -U flash:w:Makerbot-usbserial.hex -U lfuse:w:0xFF:m -U hfuse:w:0xD9:m -U efuse:w:0xF4:m -U lock:w:0x0F:m


Replicator 1 main (ATmega1280):  
Replicator 1 main (ATmega1280):  


  avrdude -F -p m1280 -P usb -c avrispmkii -U flash:w:ATmegaBOOT_168_atmega1280.hex -U lfuse:w:0xFF:m -U hfuse:w:0xDA:m -U efuse:w:0xF4:m -U lock:w:0x0F:m
  avrdude -F -p m1280 -P /dev/ttyACM0 -c avrispmkii -U flash:w:ATmegaBOOT_168_atmega1280.hex -U lfuse:w:0xFF:m -U hfuse:w:0xDA:m -U efuse:w:0xF4:m -U lock:w:0x0F:m


== Firmwares ==
== Firmwares ==

Revision as of 20:36, 3 June 2016

Updating the MakerBot Replicator 1 firmware requires a bit of patient to get right. It requires exact resetting and uploading timing for the process to start.

MakerWare firmware upload

One way, and the easiest, is to update the firmware via MakerWare (as of writing 3.5.0.39). Select Device and Update Firwmare, and follow the instructions.

Makerbot firmware makerwave.png

I could not get the timing right, so I decided to reverse the uploading process and do the update manual using avrdude. See the following section.

Manual avrdude update

Getting the timing right is quite finicy and time consiming. Getting down to the command-line and perform the update manually can save you a bit of time and head banging.

Should work equally well on Windows and OS X, Windows 7 64-bit shown below.

  1. Open a command-line window, Start, type cmd and enter
  2. Change directory to MakerWare and avrdude, cd "\Program Files\MakerBot\MakerWare"
  3. Power on the Replicator and find the COM-port used, Start, type Device Manage and enter, under Ports find the port Makerbot firmware device manager.png
  4. Get the firmware binary by either
    1. Starting the MakerWave upload process once and failing (to get the firmware downloaded), then going to \Windows\Temp and searching for *.hex
    2. Download the firmware version from the links below
  5. Copy the firmware (*.hex) to "\Program Files\MakerBot\MakerWare"
  6. For Replicator 1/2/2X, execute the upload command, avrdude.exe -Cavrdude.conf -pm1280 -b57600 -cstk500v1 -P \\.\COM6 -Uflash:w:mighty_one_v7.5.0.hex:i -v -v
    1. Where you change COM6 to your COM-port and firmware file name to your desired one
  7. Move the keyboard and Replicator to arms reach
  8. Simultaneously press the Reset button on the back of the Replicator and the enter key on the computer to start the process, if you get "access is denied", it is working, try again
    1. Vary the time between until you see avrdude detecting and uploading the new firmware, this can take 1 to 30 tries but it will work eventually, use arrow up and enter to re-try Makerbot firmware avrdude cmd1.png Makerbot firmware avrdude cmd2.png

Bootloader

The bootloader provide extra USB flashing and MOSFET pre-boot safety functionality.

All the avrdude fuses can be found in the 'dist' directory in the MakerBot MightyBoardFirmware repository or local backup from 2014-08-26.

To set the fuses (configuration) and flash the bootloader and main firmware, connect a AVR ISP flasher to the right header (1280/8U2), change "avrispmkii" to your programmer:

Replicator 1 serial/usb (ATmega8U2):

avrdude -F -p at90usb82 -P /dev/ttyACM0 -c avrispmkii -U flash:w:Makerbot-usbserial.hex -U lfuse:w:0xFF:m -U hfuse:w:0xD9:m -U efuse:w:0xF4:m -U lock:w:0x0F:m

Replicator 1 main (ATmega1280):

avrdude -F -p m1280 -P /dev/ttyACM0 -c avrispmkii -U flash:w:ATmegaBOOT_168_atmega1280.hex -U lfuse:w:0xFF:m -U hfuse:w:0xDA:m -U efuse:w:0xF4:m -U lock:w:0x0F:m

Firmwares

To flash the main firmware on ATmega1280 boards:

avrdude -F -p m1280 -P /dev/ttyACM0 -c stk500v1 -b 57600 -U flash:w:mighty_one_v7.5.5.hex

Replicator 1 Firmwares

Replicator 2 Firmwares

Every file is also available as a local backup, just put http://ivc.no/makerbot/firmware/ before the file name.

Replicator 2X Firmwares

Every file is also available as a local backup, just put http://ivc.no/makerbot/firmware/ before the file name.

Thing-O-Matic Firmwares

Note: Requires Extruder Controller firmware 3.1 or newer.

Every file is also available as a local backup, just put http://ivc.no/makerbot/firmware/ before the file name.