cheali-charger icon indicating copy to clipboard operation
cheali-charger copied to clipboard

How to reflash original firmware

Open 3xtr3m3d opened this issue 5 years ago • 1 comments

Hi

I have backuped my imax b6 original firmware with the command provided

avrdude.exe -patmega32 -cusbasp -Uflash:r:flash.bin:r -Ulfuse:r:lfuse.bin:r -Uhfuse:r:hfuse.bin:r -Ueeprom:r:eeprom.bin:r
avrdude.exe -patmega32 -cusbasp -Uflash:r:flash.hex:i -Ulfuse:r:lfuse.hex:i -Uhfuse:r:hfuse.hex:i -Ueeprom:r:eeprom.hex:i

i have these files available from above backup command.

eeprom.bin
eeprom.hex flash.bin flash.hex hfuse.bin hfuse.hex lfuse.bin lfuse.hex

how can i restore these files back to the imax b6?

also how to get old caliberation values.

Regards

3xtr3m3d avatar Jul 30 '19 13:07 3xtr3m3d

avrdude -pm32 -cusbasp -Uflash:w:flash.hex:i will write the backup back to flash memory. avrdude -pm32 -cusbasp -Ueeprom:w:eeprom.hex:i will write the EEPROM backup back.

fiechr avatar Aug 04 '19 19:08 fiechr