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????
but it is stuck in initialization code some where generated by mqx before reach to main....before my application get controllel
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!
-----------------------------------------------------------------------------------------------------------------------