Debugger: Running just after watchpoint stop

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

Debugger: Running just after watchpoint stop

1,266件の閲覧回数
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,191件の閲覧回数
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,191件の閲覧回数
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 件の賞賛
返信