Trel725 / chavrprog

AVR programmer based on Chinese ch341a
GNU General Public License v3.0
58 stars 19 forks source link

Cant write the backup i made back into the chip #7

Closed vvnmvvso closed 4 years ago

vvnmvvso commented 5 years ago

The chavprog tool have a backup functionality: -r f FILE read whole flash memory to specified file

I used it. The hex file i flashed later did not work. Thats why i liked to put back the backup i made before but that does not work. The tool simply crashes because of a try to access some memory parts of the OS.

Now i am kind of lost. I think when i make a backup i should be able to install this backup later.

To my understanding its the same on the EEPROM backup i made. I have probably made (raw?) backups that are not HEX. But the tool can only flash HEX files. Or am i missing something here?

Trel725 commented 5 years ago

Hello, please try to use following command: avr-objcopy -I binary -O ihex