Hello,
Customer use MPC5746C and lately added Z4204N3_SCST_RTM_1.0.3 into their project.
Found test[56](z4204n3_scst_trap_exception_test ) fails if a debugger is connected and the code stuck there in their project due to this failure. If disconnect debugger, the test will pass, so app runs normally. But that means they can't use debugger to debug.
Noticed that if connected debugger, the register DBCR0[TRAP] will set to 1, not sure if it is the reason test[56] fails.
Could you please help explain why test[56] fail if a debugger is connected? And is there any workaround that customer can keep using debugger with SCST added?
Thank you.
Hello,
please, if you use the Lauterbach debugger, try
SYStem.Option NOTRAP ON
command to deactivate "trap"