Quantcast
Channel: Microcontrollers
Viewing all articles
Browse latest Browse all 228743

Forum Post: RE: Boot Loader question: overwriting the existing bootloader?

$
0
0

Markel,

Thanks for your input.  I actually did make some progress.  I was able to compile the boot_serial into a raw-binary file, which I was able to link to the beginning of the flash section in my application, and the main application began at 0x1800.  This gives me a way to program my application just once, from a production point of view.  However, it also means that I need a separate build which does not include the bootloader for field updates.  Hmmm.... but I guess there is no other way?   I do have a quick question about the ROM serial updater.  Is my understanding correct that the ROM updater does not check the flash address to which it is programming?   I know the serial bootloader in flash can check the flash address sent from the programmer (LM Flash Programmer, for example) and reject any attempt to overwrite the flash bootloader, but I was thinking that the ROM updater probably doesn't have this ability.  Does that mean that it will be able to overwrite any flash bootloader if the user is not careful with the offset address? 

B


Viewing all articles
Browse latest Browse all 228743

Latest Images

Trending Articles



Latest Images

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