Debugger: Running just after watchpoint stop

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

Debugger: Running just after watchpoint stop

1,265 次查看
chrzesm
Contributor I

Hello Everyone,

I am new here and new to the Code Warrior. I have been trying to debug S12XDT384 setting watchpoint at a certain RAM address. The debugger halts the code at watchpoint for half of second and immediately runs again the code. I also noticed that after manual HALT (F6) the debugger behave exactly the same way, ie stops for a while and runs automatically. I was trying to find any thread explaining this, however could not find any tips.

Any suggestions much appreciated.

Thank you,

Maciej

0 项奖励
回复
2 回复数

1,190 次查看
kef2
Senior Contributor V

Hi,

sounds like you have COP reset enabled and COP fires each 0.5s past watchpoint or halt. For debugging purposes either disable COP at all or make COPCTL RSBCK bit set.

Edward

1,190 次查看
chrzesm
Contributor I

Edward,

Thank you so much. You are prefectly right. Now all is working like a charm. How stupid of me I missed that.

0 项奖励
回复