Thanks for Reply!
I fought through some issues but still do not have running board. I was finally able to debug and seen my code gets stuck in a while loop in cpu.c due to incorrect clock settings. I do not have external osc on custom board, so I change clock config to use FEI and problem seem to go away. Now, I debug and get stuck in mqx.c line 386. Comments on mqx_exit functions say:
It is important to ensure that the environment (boot call stack) the
* MQX is returning to is in the consistent state. This is not provided by
* distributed MQX BSPs, because the boot stack is reused (rewritten) by MQX
* Kernel data. Set the boot stack outside of Kernel data section to support
* correct _mqx_exit() functionality.
How do I set the boot stack outside of the Kernal data???
#if MQX_EXIT_ENABLED || MQX_CRIPPLED_EVALUATION
kernel_data->USERS_ERROR = error;
if (kernel_data->EXIT_HANDLER) {
(*kernel_data->EXIT_HANDLER)();
}/* Endif */
MQX_LONGJMP( _mqx_exit_jump_buffer_internal, 1 );
#else
while (TRUE) { <-----line 386
} /* Endwhile */
#endif
} /* Endbody */