Hi, Teams,
We are using BIST in the s32k project, Since bist will cause functional reset after test done. And
1. we wonder how to use debug tool(e.g. trace32) to trace the software when s32k is performed a functional reset.
2. and, how to reinit s32k after functional reset .because I notice the ram is become "???" after the functional reset:
Thanks.
Hi @Higgs_Boson
You can use sys.attach command after any reset or after power-on to re-establish debug session without reset (copied from debugger_arm.pdf):
After functional/destructive reset, the device boots from normal reset vector as usual. Startup files then contains code which initializes the RAM.
Regards,
Lukas
Hi,
A Functional Reset will cause RAM content loss? How does "Self Test Done Functional Reset" / "Functional Reset" means.
Thanks.
Hi @Higgs_Boson
generally, functional resets will keep SRAM data unchanged by hardware mechanism.
Destructive resets cannot guarantee the SRAM data integrity.
However, SRAM self test cannot keep the SRAM content. It's destructive operation.
Regards,
Lukas