- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
I have been working on a project using PSoC 5 LP. I am currently using EEPROM to store a few variables. Does any one have any idea as to how to store a variable at a particular address in flash on PSoC 5LP? We are trying to do this for a particular reason. Any pointers are appreciated.
Thanks in advance!
Solved! Go to Solution.
- Labels:
-
PSOC5 LP MCU
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Dear ShKr-san,
> 1. How do I declare a fixed address?
This is described in the Em_EEPROM Component Datasheet.
You can access the Datasheet from the Config window of Em_EEPROM component.
Click the left - bottom [Datasheet] button.
In the page 3 of the Datasheet is "Placing EEPROM Storage at Fixed Address" and in the steps of this chapter, there is a process of copying original linker control file "cm3gcc.ld" to "custom_cm3gcc.ld".
Just in case, I zipped and attached my "custom_cm3gcc.ld" to my original response.
And for making things sure, I attach the "Datasheet" of Em_EEPROM, too.
Best Regards,
14-Jul-2021
Motoo Tanaka