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
Hi @zyc0211,
Does this issue happen as well with an example? Such as the S32K344 FlexCAN_IP example?
Best regards,
Julián
Hi @zyc0211
Is there any chance you could share your project or the configuration for it? As this issue is not reproduced in our side.
Best regards,
Julián
Hi @zyc0211 ,
Did you solve the issue?
I am experiencing same thing when enabling only FlexCAN error IRQ like below
IntCtrl_Ip_EnableIrq(FlexCAN1_0_IRQn)