When i use ml-universa ,after configuring Flexcan, the program runs to undefined_handler.
But when I tried Jlink, even though I configured Flexcan, the program wouldn't enter undefined_handler.
And I stepped into debugging and found that the program encountered an error while executing the initialization interrupt service function. IntCtrl_Ip_Init(&IntCtrlConfig_0 -------->
if (pIntCtrlCtrlConfig->aIrqConfig[irqIdx].bIrqEnabled)
{
IntCtrl_Ip_EnableIrq(pIntCtrlCtrlConfig->aIrqConfig[irqIdx].eIrqNumber);
}
else
{
IntCtrl_Ip_DisableIrq(pIntCtrlCtrlConfig->aIrqConfig[irqIdx].eIrqNumber);
}
Here is my code and interrupt configuration
Hi @zyc0211,
Could you clarify a bit more about the problem? When using Multilink, the IntCtrl_Ip_Init function does not return an error, but when using Jlink it does?
Could you confirm this happens with an example from the RTD package as well?
Best regards,
Julián