AnsweredAssumed Answered

MQX with IAR and MK66

Question asked by ararat adamian on Oct 17, 2018
Latest reply on Oct 24, 2018 by Daniel Chen

Hi, I'm having some trouble getting any of the MQX examples working for the FRDM-K66 board (i.e. i2c_rtos or power_manager_rtos_demo in KSDK_1.3.0\examples\frdmk66f\demo_apps\).

 

Have any of these examples been tested with IAR/MQX? There is an immediate error when: "OSA_InstallIntHandler(BSP_SYSTIMER_INTERRUPT_VECTOR, HWTIMER_SYS_SystickIsrAction))"

 

is called from init_bsp.c, because BSP_SYSTIMER_INTERRUPT_VECTOR is -1, and OSA_InstallIntHandler (in int.c) does bounds checking to make sure the vector passed in is between kernel_data->FIRST_USER_ISR_VECTO (which is 0) and kernel_data->LAST_USER_ISR_VECTOR (which is something in the 100s).

 

I'm trying to work around this issue but am having trouble getting any isr to work... I just end up in the default handler. Does nxp have any working MQX example for IAR I can use for the FRDM-K66 board?

Outcomes