backup firmware
backup firmware
I assambled my printer. (pro B)
The stock firmware seems to work, beside the XAxis moving in the wrong direction.
Before I aplpy the new firmware I would like to backup the stock firmware. Is there a way to do this?
The stock firmware seems to work, beside the XAxis moving in the wrong direction.
Before I aplpy the new firmware I would like to backup the stock firmware. Is there a way to do this?
Re: backup firmware
Nope, just install the new firmware. You can change the motor direction as follows:
http://www.geeetech.com/forum/viewtopic ... 17&t=17037
http://www.geeetech.com/forum/viewtopic ... 17&t=17037
Re: backup firmware
Really!! No way to backup stock Fw!?!
Had a 3-4 week diagsnosis to find that my m/board was bad, after it working with stock fw, and then had problems when upgraded to latest Marlin.
Got new board sent out, and all good.
So really REALLY want to save Fw before any changes.
Std Fw says marlin 1.0.1, and tried the pro B fw from here after doing a 're-burn bootloader', and that wasn't a cure.
Baffled that there is no way to save current config!
How about a copy atmega 2650 contents via arduino uno, or something?
Had a 3-4 week diagsnosis to find that my m/board was bad, after it working with stock fw, and then had problems when upgraded to latest Marlin.
Got new board sent out, and all good.
So really REALLY want to save Fw before any changes.
Std Fw says marlin 1.0.1, and tried the pro B fw from here after doing a 're-burn bootloader', and that wasn't a cure.
Baffled that there is no way to save current config!
How about a copy atmega 2650 contents via arduino uno, or something?
Re: backup firmware
Each development environment for µC AVR allows reading the code from μC.
But only if μC is not protected against such activities. (configuration of fuse bits)
I think that you can backup flash memory and eeprom on your own. ;-)
kaktus
But only if μC is not protected against such activities. (configuration of fuse bits)
I think that you can backup flash memory and eeprom on your own. ;-)
kaktus
Re: backup firmware
In which case here are default setting as taken from fresh replacement board, for my CTC i3 pro B Reprap:
Note: All standard, with MK3B Dual power Heatbed, direct drive extruder, and plywood frame, also GT2560 Rev A (not A+).
Acc: 1400
Vxy Jerk: 13
Vz Jerk: 0.30
Ve Jerk: 5
Vmax x: 400
Vmax y: 400
Vmax z: 2
Vmax e: 45
Vmin: 0
VTrav min: 0
A max x: 1400
A max y: 1400
A max z: 100
A max e: 80000 (80K)
A-Retract: 5000
X Step/mm: 78.74
Y Step/mm: 78.74
Z Step/mm: 2560.0
E Step/mm: 105.0
Autotemp: Off
Temp Min: 210
Temp Max: 250
Temp fact: 0.10
PID-P: 19.86
PID-I: 1.00
PID-D: 98.93
PID-C: 1
PLA
Fan: 255
Nozzle: 180
Bed: 70
ABS
Fan 255
Nozzle: 240
Bed: 100
Note: All standard, with MK3B Dual power Heatbed, direct drive extruder, and plywood frame, also GT2560 Rev A (not A+).
Acc: 1400
Vxy Jerk: 13
Vz Jerk: 0.30
Ve Jerk: 5
Vmax x: 400
Vmax y: 400
Vmax z: 2
Vmax e: 45
Vmin: 0
VTrav min: 0
A max x: 1400
A max y: 1400
A max z: 100
A max e: 80000 (80K)
A-Retract: 5000
X Step/mm: 78.74
Y Step/mm: 78.74
Z Step/mm: 2560.0
E Step/mm: 105.0
Autotemp: Off
Temp Min: 210
Temp Max: 250
Temp fact: 0.10
PID-P: 19.86
PID-I: 1.00
PID-D: 98.93
PID-C: 1
PLA
Fan: 255
Nozzle: 180
Bed: 70
ABS
Fan 255
Nozzle: 240
Bed: 100
Re: backup firmware
[quote=_kaktus_ post_id=82981 time=1520263333 user_id=62475]
Each development environment for µC AVR allows reading the code from μC.
But only if μC is not protected against such activities. (configuration of fuse bits)
I think that you can backup flash memory and eeprom on your own. ;-)
kaktus
[/quote]
So it is possible? or not?
Not too great with ins and outs of micro controllers.
Each development environment for µC AVR allows reading the code from μC.
But only if μC is not protected against such activities. (configuration of fuse bits)
I think that you can backup flash memory and eeprom on your own. ;-)
kaktus
[/quote]
So it is possible? or not?
Not too great with ins and outs of micro controllers.
Re: backup firmware
Definitely yes.
But unfortunately you need to have the right knowledge and programmer eg USBASP.
On the controller board, you need to find the right outputs.
I do not know your controller board, but I assume that the manufacturer provided such a possibility.
kaktus
But unfortunately you need to have the right knowledge and programmer eg USBASP.
On the controller board, you need to find the right outputs.
I do not know your controller board, but I assume that the manufacturer provided such a possibility.
kaktus
-
- Posts: 1
- Joined: Fri Dec 07, 2018 4:02 pm
Re: backup firmware
In case anyone misses it - I managed to download the firmware and conf with following command lines:
and
where com is your virtual serial port and existing...hex is the file name to be written. To run avrdude you need to navigate to C:\Program Files (x86)\Arduino\hardware\tools\avr\bin and make sure avrdude.conf is in the same directory.
Under windows it wrote on some really weird hidden directory under my user and took a while to actually find it.
Disclaimer: Files look legit but I have not tried to actually restore the conf using them.
Code: Select all
avrdude -p atmega2560 -c wiring -P com5 -b 115200 -F -U flash:r:existingMarlin_fw.hex:i
Code: Select all
avrdude -p atmega2560 -c wiring -P com5 -b 115200 -F -U eeprom:r:existingMarlin_eeprom.hex:i
Under windows it wrote on some really weird hidden directory under my user and took a while to actually find it.
Disclaimer: Files look legit but I have not tried to actually restore the conf using them.
Re: backup firmware
Hi.
Note that this is most likely not the way to make a copy of the entire program from FLASH memory.
The FLASH space in this project is divided into bootloader and user application.
You also don't have FuseBits configuration.
After loading the copy made this way into the new µC, the controller will not work.
In my opinion, this is a good method to make a copy of the current application and its configuration.
Note that this is most likely not the way to make a copy of the entire program from FLASH memory.
The FLASH space in this project is divided into bootloader and user application.
You also don't have FuseBits configuration.
After loading the copy made this way into the new µC, the controller will not work.
In my opinion, this is a good method to make a copy of the current application and its configuration.
On the forum I help to use the rod, I don't give fish.
Geeetech Prusa I3 M201 Dual extruder Mixcolor 3D printer, bought 2017-12-19, already built, in the cognitive and improvement phase
Geeetech filament, ABS only
Geeetech 3D WiFi Module for 3D Printer, bought 2018-04-15, He got a new life, and still lies in a drawer.
Positively frenzied customer of Getech Technology.
Geeetech Prusa I3 M201 Dual extruder Mixcolor 3D printer, bought 2017-12-19, already built, in the cognitive and improvement phase
Geeetech filament, ABS only
Geeetech 3D WiFi Module for 3D Printer, bought 2018-04-15, He got a new life, and still lies in a drawer.
Positively frenzied customer of Getech Technology.