Quantcast
Channel: MCS Electronics Forum
Viewing all articles
Browse latest Browse all 20562

AVR-DOS : Update Program from Card : REPLY

$
0
0
what i did for a project with m2560 that did not use all the space(uses only halve the space) : i add the binary file to image file at a higher location. at the push of a button the user can then copy the code back from the loaded backup. but i made a remark for myself : it is better to use an external eeprom and store the received file to that location. you could also store multiple versions. and when the checksum matches, the data is programmed from the eeprom. bottom line is that you only start theactual programming, once you have a known good image. and that during this programming, the process is not interrupted. as was remarked before : you should always run the bootloader first thing. i have it checked a flag in eeprom at a shared location. so i can determine if an update is needed, or in process.

Viewing all articles
Browse latest Browse all 20562

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>