PIC32 & Harmony & FreeRTOS: no CAN receive IRQ -> crash
Hello,
I am running FreeRTOS 9 and Harmony 1.10. I want to get an IRQ when a CAN message is received, but everyting crashes and I am not able to debug in the IRQ. My Device is a PIC32MX795.
~~~
void IntHandlerDrvCANInstance0(void)
{
message = (CANRXMSGBUFFER *)PLIBCANReceivedMessageGet(CANID1, CANCHANNEL0);
PLIBCANChannelUpdate(CANID1, CANCHANNEL0);
PLIBINTSourceFlagClear(INTID0, INTSOURCECAN1);
}
~~~
Any ideas? I am a litte bit lost…
Without FreeRTOS everything works fine.
Thanks!
PIC32 & Harmony & FreeRTOS: no CAN receive IRQ -> crash
Sorry, I’m not familiar with the library functions you are using, and
can’t see how the interrupt handler is installed, so I can’t suggest
anything.