Linker for using EEPROM blockset

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

Linker for using EEPROM blockset

2,610件の閲覧回数
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,561件の閲覧回数
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,553件の閲覧回数
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,547件の閲覧回数
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,544件の閲覧回数
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,589件の閲覧回数
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 件の賞賛
返信