mqx based code got stuck in ivortrap

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

mqx based code got stuck in ivortrap

3,601件の閲覧回数
karanpatel
Contributor I

I develop one mqx based application for mpc5668g .during production on few controller while debug code reach to

int main(void)

{

   extern const MQX_INITIALIZATION_STRUCT MQX_init_struct;

   /* Start MQX */

   _mqx( (MQX_INITIALIZATION_STRUCT_PTR) &MQX_init_struct );

   return 0;

}

but ten stuck in ivor trap and code not executed here i attach some snap shot what is reason while same code working other card????

0 件の賞賛
返信
2 返答(返信)

2,134件の閲覧回数
karanpatel
Contributor I

but it is stuck in initialization code some where generated by mqx before reach to main....before my application get controllel

0 件の賞賛
返信

2,134件の閲覧回数
soledad
NXP Employee
NXP Employee

Hello,

Which MQX version are you using?

We usually recommend to handle all interrupts and exceptions even if they are not used by application for better software robustness. I would recommend to handle all interrupts and exceptions using some trap function.


Have a great day,
Sol

-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------

0 件の賞賛
返信