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.
Hello,
I am not familiar with Jlink, but seems that user can execute debugger scripts.
https://wiki.segger.com/J-Link_script_files
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
i found s32ds have a jlinkscript to use eDMA to init ecc ram, copy it and works.
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.