cheali-charger
cheali-charger copied to clipboard
How to reflash original firmware
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
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.