Sep 11, 2020
08:23 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Sep 11, 2020
08:23 AM
Hi all,
I am planning to use the E_EEPROM_XMC4 App to store a non volatile variable in FLASH memory. The variable will be written once in the product lifetime (it is a license key)
Is it possible to protect the variable from being over-written while updating the firmware via flash programming when using a a programming tool like XMC-Link / XMCFlasher or Mini-Wiggler / DAVE IDE
In other words how do I locate the variable in a location that flash programming won't reach.
Thank you in advance
PHAB
I am planning to use the E_EEPROM_XMC4 App to store a non volatile variable in FLASH memory. The variable will be written once in the product lifetime (it is a license key)
Is it possible to protect the variable from being over-written while updating the firmware via flash programming when using a a programming tool like XMC-Link / XMCFlasher or Mini-Wiggler / DAVE IDE
In other words how do I locate the variable in a location that flash programming won't reach.
Thank you in advance
PHAB
- Tags:
- IFX
1 Reply
Sep 17, 2020
01:56 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Sep 17, 2020
01:56 AM
Hi,
You can use the write protection feature of the FLASH sectors.
See Flash Protection in the reference manual and the related XMCLib functions in xmc4_flash.h
Regards,
Jesus
You can use the write protection feature of the FLASH sectors.
See Flash Protection in the reference manual and the related XMCLib functions in xmc4_flash.h
Regards,
Jesus