Interrupt kills other thread MQX 4_0_1

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Interrupt kills other thread MQX 4_0_1

407 Views
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

0 Kudos
1 Reply

235 Views
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 Kudos