Linker for using EEPROM blockset

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

Linker for using EEPROM blockset

2,607 次查看
Amruta
Contributor I

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.

标记 (1)
0 项奖励
回复
5 回复数

2,558 次查看
Amruta
Contributor I

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

 

0 项奖励
回复

2,550 次查看
danielmartynek
NXP TechSupport
NXP TechSupport

Hi @Amruta,

I don't know what "flashing the board using EEPROM blocks" actually means.

Can you please eleborate?

The RED LED is the reset_b signal.

 

BR, Daniel

0 项奖励
回复

2,544 次查看
Amruta
Contributor I

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

0 项奖励
回复

2,541 次查看
danielmartynek
NXP TechSupport
NXP TechSupport

Hi @Amruta,

I'm sorry, we don't support Simulink in the S32K community.

I going to move the thread to MBDT community.

 

BR, Daniel

 

0 项奖励
回复

2,586 次查看
danielmartynek
NXP TechSupport
NXP TechSupport

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.

https://community.nxp.com/t5/S32-Design-Studio-Knowledge-Base/EXAMPLE-S32K144-EEEPROM-usage-No-SDK/t...

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

0 项奖励
回复