mqx based code got stuck in ivortrap

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

mqx based code got stuck in ivortrap

1,843 Views
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 Kudos
2 Replies

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

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