Interrupt kills other thread MQX 4_0_1

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

Interrupt kills other thread MQX 4_0_1

684 次查看
derekdrost
Contributor III

Hi,

     I am running MQX 4_0_1. It is multi-threaded and uses mqx style interrupts.

     However, when I pause the program while debugging. Then try to step the thread I am in, in the debug window next to the thread I am in it says (Stepping), and it never gets out of this.

     If I pause the debug again, the thread turns into my spi_in_isr. (the interrupt function for a different thread).

     Any ideas why this would be happening? After this if I press resume, my thread is gone and never gets ran again.

Thanks,

Derek

标记 (4)
0 项奖励
回复
1 回复

512 次查看
DavidS
NXP Employee
NXP Employee

Hi Derek,

Some of the Kinetis peripherals are ok to use debug with (i.e. Hit breakpoint and stop processing) but some peripherals do not allow that.  I know for sure ADC doesn't' like it.  Not sure about SPI.

regards,

David

0 项奖励
回复