Debugger halts in dummy function :-(

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

Debugger halts in dummy function :-(

1,481 次查看
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 回复数

855 次查看
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 项奖励
回复

855 次查看
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 项奖励
回复