Saturday, 1 April 2017

Original Prusa i3 MK2 upgrade kit to full printer - electronics, firmware and LCD testing

I’ve tested out my Mini rambo with Prusa's latest firmware binary.



The first "got you" is the Mini rambo needs external power to power the atmega2560. So although when you plug the USB cable in this will power the usb/serial chip so your computer will see it. Without the 2560 you can't upload firmware.

I used the avrdude method to upload the binaries, the binary was downloaded from the normal place, at this time 3_0_10 is the current version  http://prusa3d.com/downloads/firmware/prusa3d_fw_3_0_10.zip

After numerous attempts avrdude eventually worked.  Best way I got it to work was power off the rambo and remove USB cable.. Power it back on, plug in the USB, as soon as you computer sets up a serial port give the avrdude command.

Second "got you" when the MK2 firmware first turns on the printer hasn’t been configured, you can not talk to it with pronterface or any control program.
 
Press the LCD knob button a few times till the following display is shown. After this point you can use pronterface. This wont be an issue after its been calibrated.

  


The avrdude command I used to upload the MK2 firmware binary and full log of output. On Ubuntu linux 16.04:

(your paths will probably differ) 

~/arduino-1.6.13/hardware/tools/avr/bin$ ./avrdude -C ~/arduino-1.6.13/hardware/tools/avr/etc/avrdude.conf -c stk500v2 -b 115200 -p Atmega2560 -v -P /dev/ttyACM0 -D -Uflash:w:/tmp/1_75mm_MK2-RAMBo13a-E3Dv6full.hex:i

avrdude: Version 6.3, compiled on Sep 12 2016 at 15:21:49
Copyright (c) 2000-2005 Brian Dean, http://www.bdmicro.com/
Copyright (c) 2007-2014 Joerg Wunsch

System wide configuration file is "~/arduino-1.6.13/hardware/tools/avr/etc/avrdude.conf"
User configuration file is "~/.avrduderc"
User configuration file does not exist or is not a regular file, skipping

Using Port : /dev/ttyACM0
Using Programmer : stk500v2
Overriding Baud Rate : 115200
AVR Part : ATmega2560
Chip Erase delay : 9000 us
PAGEL : PD7
BS2 : PA0
RESET disposition : dedicated
RETRY pulse : SCK
serial program mode : yes
parallel program mode : yes
Timeout : 200
StabDelay : 100
CmdexeDelay : 25
SyncLoops : 32
ByteDelay : 0
PollIndex : 3
PollValue : 0x53
Memory Detail :

Block Poll Page Polled
Memory Type Mode Delay Size Indx Paged Size Size #Pages MinW MaxW ReadBack
----------- ---- ----- ----- ---- ------ ------ ---- ------ ----- ----- ---------
eeprom 65 10 8 0 no 4096 8 0 9000 9000 0x00 0x00
flash 65 10 256 0 yes 262144 256 1024 4500 4500 0x00 0x00
lfuse 0 0 0 0 no 1 0 0 9000 9000 0x00 0x00
hfuse 0 0 0 0 no 1 0 0 9000 9000 0x00 0x00
efuse 0 0 0 0 no 1 0 0 9000 9000 0x00 0x00
lock 0 0 0 0 no 1 0 0 9000 9000 0x00 0x00
calibration 0 0 0 0 no 1 0 0 0 0 0x00 0x00
signature 0 0 0 0 no 3 0 0 0 0 0x00 0x00

Programmer Type : STK500V2
Description : Atmel STK500 Version 2.x firmware
Programmer Model: AVRISP
Hardware Version: 15
Firmware Version Master : 2.10
Vtarget : 0.0 V
SCK period : 0.1 us

avrdude: AVR device initialized and ready to accept instructions

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

avrdude: Device signature = 0x1e9801 (probably m2560)
avrdude: safemode: hfuse reads as D0
avrdude: safemode: efuse reads as FD
avrdude: reading input file "/tmp/1_75mm_MK2-RAMBo13a-E3Dv6full.hex"
avrdude: writing flash (201814 bytes):

Writing | ################################################## | 100% 32.32s

avrdude: 201814 bytes of flash written
avrdude: verifying flash memory against /tmp/1_75mm_MK2-RAMBo13a-E3Dv6full.hex:
avrdude: load data flash data from input file /tmp/1_75mm_MK2-RAMBo13a-E3Dv6full.hex:
avrdude: input file /tmp/1_75mm_MK2-RAMBo13a-E3Dv6full.hex contains 201814 bytes
avrdude: reading on-chip flash data:

Reading | ################################################## | 100% 25.85s

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

avrdude: safemode: hfuse reads as D0
avrdude: safemode: efuse reads as FD
avrdude: safemode: Fuses OK (E:FD, H:D0, L:FF)

avrdude done. Thank you.
  
 


 

No comments:

Post a Comment