Question about MPC5746C z4204n3_scst

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

Question about MPC5746C z4204n3_scst

1,099 次查看
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.

标签 (1)
标记 (1)
0 项奖励
2 回复数

1,093 次查看
martinkaspar-r3
NXP Employee
NXP Employee

Hello,

please, if you use the Lauterbach debugger, try 

SYStem.Option NOTRAP ON

command to deactivate "trap"

0 项奖励

1,090 次查看
JayceYang
NXP Employee
NXP Employee
It works. Thanks.
0 项奖励