Question about MPC5746C z4204n3_scst

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Question about MPC5746C z4204n3_scst

251 Views
JayceYang
NXP Employee
NXP Employee

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.

Labels (1)
Tags (1)
0 Kudos
2 Replies

245 Views
martinkaspar-r3
NXP Employee
NXP Employee

Hello,

please, if you use the Lauterbach debugger, try 

SYStem.Option NOTRAP ON

command to deactivate "trap"

0 Kudos

242 Views
JayceYang
NXP Employee
NXP Employee
It works. Thanks.
0 Kudos