Unused interrupts.

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 
1,173件の閲覧回数
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 件の賞賛
返信
1 解決策
861件の閲覧回数
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 件の賞賛
返信
1 返信
862件の閲覧回数
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 件の賞賛
返信