Hello Team,
I'm using EEPROM blocks for checking EEPROM functionality. I have few questions regarding it:
1.Do i need to modify the default linker file for adding EEPROM memory section?
2.I want to use the 4K Flexram memory for EEPROM implementation, do i need to partition flash memory as well in the linker file(if modified for the adding memory section for the flexram)?
It would be great if you could share any example for using eeprom blockset.
Thanks.
Hi Daniel,
Thank you for your response.
I have flashed the board using EEPROM blocks without modifying linker. And now the red LED on the board is getting flashed continuously and nothing is getting executed on it. Please guide me with it.
Thanks,
Amruta
Hi Daniel,
Please find the attached EEPROM model which I build with Simulink and I flashed it on S32K144 EVB using SDA. After flashing this program, the RED LED(reset_b signal) got ON . And it is continuously ON. Even if I'm flashing other models it never goes off. I think the board went into error mode and it is not executing anything even if other models are flashed in the board using OpenSDA.
If I want to use EEPROM blocks in the model, do i need to partition memory in this case as well?
Please suggest me the steps for using EEPROM blocks.
Thanks,
Amruta
Hello @Amruta,
A2.
It must be partitioned.
https://www.nxp.com/docs/en/application-note/AN11983.pdf
AN11983, Section 9 Appendix A EEPROM examples
A1.
You can add a new section to the linker file for the FlexRAM.
But this is not a must, the FlexRAM can be read / written using pointers.
AN11983, Section 3.6.1 EEE writes
AN11983, Section 3.6.2 EEE reads
Regards,
Daniel