AnsweredAssumed Answered

IAP when Flash RDP?

Question asked by l.tsong on Feb 26, 2014
Latest reply on Feb 26, 2014 by Clive One
I'm coding for a IAP program using standard procedures as follows:
//normal startup
JumpAddress = *(__IO uint32_t*) (ApplicationAddress + 4);
Jump_To_Application = (pFunction) JumpAddress;
__set_MSP(*(__IO uint32_t*) ApplicationAddress);

For firmware update, I can save JumpAddress and stack pointer to SRAM variables before programming to flash memory, but for normal startup with RDP activated, I cann't read it from flash.

My question is how can I implement it when Flash Read out Protection is active? (It is OK when RDP is inactive) Do I have to use external memory to save JumpAddress and stack pointer?