Unused interrupts.

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

Unused interrupts.

Jump to solution
857 Views
barbercolman
Contributor III

I have a new to using MQX version 3.7  and CW 10.1, I have a working project using a mcf51jm and I have not found documentation on how MQX handles unused interrupts. In smaller project, with out a RTOS I either wrote a handler that rerecorded an exception in a error log or forced a watchdog.

 

Any suggestion on how to handle, assuming MQX does not handle unused interrupts?

0 Kudos
Reply
1 Solution
545 Views
Ed_EmbeddedAcce
Contributor II

By default MQX will block the task that was running when an unused interrupt occurs.  If you want to display details of the interrupt call _int_install_unexpected_isr(); right at the beginning of your application this will display the vector of the unused interrupt on the console.

View solution in original post

0 Kudos
Reply
1 Reply
546 Views
Ed_EmbeddedAcce
Contributor II

By default MQX will block the task that was running when an unused interrupt occurs.  If you want to display details of the interrupt call _int_install_unexpected_isr(); right at the beginning of your application this will display the vector of the unused interrupt on the console.

0 Kudos
Reply