Backup the firmware from K8200 to PC

Hi,

I have another question about firmware.

I bought a K8200 which is already extensively modified by the previous owner.
It runs well, I’m currently trying and tweaking with the settings to see the difference in results.

I would like to program it with new firmware too, but I cannot see which version is already installed (they all read V1).

Is there a way to backup the firmware that is presently on the board, not needing an ISP tool?

It’s always handy to have a good functioning backup. :wink:

Backing up the firmware is quite fiddly.
Look here for more information : forum.mendel-parts.com/viewtopic.php?f=10&t=448

But normally you won’t need to backup.
It should run with firmware v2 from velleman with or ithout installed LCD controller.

What settings do you want to change?
Most can be done via EEprom through repetier.

cheers,

Christian

Yes I noticed it was quite fiddly…, the arduino environment seems to be made for PC to controller only.

I currently do not see the EEProm option in repetier host 1.0.6. Ik think that is because in the software you need to define an EEProm line first. I do not know is the previous owner has done so, but offcourse I want that so settings can be changed in EEprom.

Therefore, I want to try the new V2.1.1 firmware, to enable the EEProm line to see is that also enables repetier EEprom settings, and to have a general better understanding of the printer’s firmware.

But I also want the backup of the current firmware, because I do not quite trust myself to get this first-time right, and can restore the firmware to present state if I make a mistake.

(I was thinking maybe it is easier to get the atmel IDE, and an ISP programmer.)

[quote=“RayVe”]
(I was thinking maybe it is easier to get the atmel IDE, and an ISP programmer.)[/quote]

Might be, but i think that is overkill.
There are only 2 (and a half) firmware versions out there.
The V2.2.1 is basically 2.0 just with an edites steps/mm seting for the z axis. (because it’s made for the K8204 upgrade.
So if you try that version, remember to set the corrext Z steps/mm if you don’t have the leadscrew mounted.
Any other should be just the same.

cheers,

Christian

Thanks for the info christian, the link was very helpfull.

I bought an USBASP progrmmer and got a full backup of flash, eeprom and Fuses. Just to be sure…

So now, time to flash it with a modified 2.1.1 firmware.

Fingers crossed! :wink:

[quote=“RayVe”]Thanks for the info christian, the link was very helpfull.

I bought an USBASP progrmmer and got a full backup of flash, eeprom and Fuses. Just to be sure…

So now, time to flash it with a modified 2.1.1 firmware.

Fingers crossed! ;-)[/quote]

let us know …

btw. which programmer and software did you use in the end?

cheers,

Christian

The programmer was the USBASP. http://www.fischl.de/usbasp/

The commands I used using the Windows7 command prompt in the Arduino directory that has the file avrdude.exe in it:

avrdude -c usbasp -p m2560 -U flash:r:K8200-flash.hex:i
avrdude -c usbasp -p m2560 -U eeprom:r:K8200-eeprom.hex:i
avrdude -c usbasp -p m2560 -U hfuse:r:K8200-hfuse.hex:i
avrdude -c usbasp -p m2560 -U lfuse:r:K8200-lfuse.hex:i
avrdude -c usbasp -p m2560 -U efuse:r:K8200-efuse.hex:i

These 5 files should be a full backup.

Flased it with my modified 2.1.1 version, using the standard procedure on http://www.K8200.eu.
Modified because I have the bulldog extruder, E3D V5 hotend, and 0.9deg/step X and Y motor some step sizes are different (K8404 upgrade was already in the firmware offcourse, my printer has dual motor Z axis with dual K8404).
Made sense to put it in the firmware by default. Also enabled EEPROM chitchat.

And now I can read EEPROM data in repetier. Happy with that!

1 Like

[quote=“RayVe”]The programmer was the USBASP. http://www.fischl.de/usbasp/

The commands I used using the Windows7 command prompt in the Arduino directory that has the file avrdude.exe in it:

avrdude -c usbasp -p m2560 -U flash:r:K8200-flash.hex:i
avrdude -c usbasp -p m2560 -U eeprom:r:K8200-eeprom.hex:i
avrdude -c usbasp -p m2560 -U hfuse:r:K8200-hfuse.hex:i
avrdude -c usbasp -p m2560 -U lfuse:r:K8200-lfuse.hex:i
avrdude -c usbasp -p m2560 -U efuse:r:K8200-efuse.hex:i

These 5 files should be a full backup.

Flased it with my modified 2.1.1 version, using the standard procedure on http://www.K8200.eu.
Modified because I have the bulldog extruder, E3D V5 hotend, and 0.9deg/step X and Y motor some step sizes are different (K8404 upgrade was already in the firmware offcourse, my printer has dual motor Z axis with dual K8404).
Made sense to put it in the firmware by default. Also enabled EEPROM chitchat.

And now I can read EEPROM data in repetier. Happy with that![/quote]

Nice!
Would you be so kind and put the backup procedure in our WIKI? k8xxx-3dprinters.crimed.be/w … =Main_Page

cheers,

Christian

1 Like