Debugger halts in dummy function :-(

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

Debugger halts in dummy function :-(

1,486件の閲覧回数
saibhargavi
Contributor II

Hi,

 

I have written a piece of code using MQX where i scan the analog input samples every 125ms. I take total of ten samples and every one second i convert the sample monitored. When i run this code the debugger halts in some dummy function as shown the screen  and it stays there for ever

 

Best Regards

 

Sai Bhargavi

 

error.JPG

Message Edited by t.dowe on 2009-12-09 03:07 PM
0 件の賞賛
返信
2 返答(返信)

860件の閲覧回数
Jairo
Contributor III
i've seen this too running the debugger, but in my case this happens because there aren't a ready task, for example: i was using two tasks but each one has a "big" delay  and  while the delay is happening MQX send the ProgrmaCounter to some DummyFunction written in asm. After the delay is happened returns to the first ready task.
0 件の賞賛
返信

860件の閲覧回数
J2MEJediMaster
Specialist I

It sounds like you have a spurious interrupt occuring. Usually, for debugging purposes most interrupt routines in the default vector table catch an unexpected interrupt and trap the thread of execution in a spin forever loop so that you can realize the bogus interrupt happened and you can look for it.

 

---Tom

 

0 件の賞賛
返信