IAP when Flash RDP?
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
2014-02-26 8:46 AM
Posted on February 26, 2014 at 17:46
Hi!
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);
Jump_To_Application();
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?
Thanks!
#iap-rdp
Labels:
- Labels:
-
RDP
This discussion is locked. Please start a new topic to ask your question.
1 REPLY 1
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
2014-02-26 9:00 AM
Posted on February 26, 2014 at 18:00
Read-out protection does not preclude code running in Flash from reading data in Flash.
Tips, Buy me a coffee, or three.. PayPal Venmo
Up vote any posts that you find helpful, it shows what's working..
Up vote any posts that you find helpful, it shows what's working..
