When flashing via TRACE32 scripts, memory cannot be accessed. What could be the root cause?
As shown in the attached script, Lauterbach occasionally fails to access RAM. This issue can be resolved by re‑flashing the software via PE.
Hello @代码织梦师,
Could you share which device you are using?
Also verify the flash algorithm path in the .cmm script matches the device derivative.
From the image, I assume you are reading SRAM in S32K3, which does need ECC initialization, can you confirm you, or the startup file is correctly initializing SRAM ECC after POR?
Best regards,
Julián
Hello @代码织梦师,
It could be SRAM ECC initialization, although both the debugger as well as the startup code should initialize the SRAM ECC, if enabled.
You can try the init_sram.cmm from demo scripts in T32:
Best regards,
Julián