AnsweredAssumed Answered

Instruction addressing with DSC MC5684763 processor. 

Question asked by Dale Lee on Jul 13, 2016

I want to be able to store 2 images into program flash. One image is active image stored in location X1 and the other is a  backup image stored at location X2. The bootloader would select check if the active image is valid with CRC checksum. If for some reason it got corrupted, it would execute the old image.

 

The question is, can i execute the same image at different section of flash. Is the jump to function and variable an offset address or static address? How would i achieve in getting the same image to run from 2 different section of program flash? Is there a compile option? I do notice the routines and variables are copied into flash.

Outcomes