s32k312 init sram ecc from jlink?

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

s32k312 init sram ecc from jlink?

1,736件の閲覧回数
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,696件の閲覧回数
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,692件の閲覧回数
victory
Contributor V

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

0 件の賞賛
返信

1,709件の閲覧回数
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 件の賞賛
返信