s32k312 init sram ecc from jlink?

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

s32k312 init sram ecc from jlink?

1,757 次查看
victory
Contributor V

Hi Nxp,

    i'm working on a ramcode application using jlink. currently i found a problem on in virgin chip. after jlink connect to chip,  sram in some area is '----' unaccessible,  it probably a ecc sram not initialized,  and i cant write ramcode to sram.

   so my question is how to init these sram on jlink at begining, is there a mininum reference code, or which code is MUST do in startup_cm7.s before lable "RamInit" , thanks.

0 项奖励
回复
3 回复数

1,717 次查看
petervlna
NXP TechSupport
NXP TechSupport

Hello,

I am not familiar with Jlink, but seems that user can execute debugger scripts.

https://wiki.segger.com/J-Link_script_files

petervlna_1-1731401543430.png

 

I know that Lauterbach offers possibilities to fully control RAM init in statup scripts.

This is rather question for Segger then NXP.

Best regards,

Peter

 

0 项奖励
回复

1,713 次查看
victory
Contributor V

i found s32ds have a jlinkscript to use eDMA to init ecc ram, copy it and works.

0 项奖励
回复

1,730 次查看
victory
Contributor V

append:

i've found segger wiki https://wiki.segger.com/NXP_S32K3xx#ECC_RAM,  is it possible for me to use jlink initial the reset region of sram, currently i just use jlink write memory api(32bit /64bit)  will fail to write.

victory_0-1731388042535.png

 

0 项奖励
回复