Quality RTOS & Embedded Software

 Real time embedded FreeRTOS RSS feed 
Quick Start Supported MCUs PDF Books Trace Tools Ecosystem


PIC32 & Harmony & FreeRTOS: no CAN receive IRQ -> crash

Posted by lifebook2 on February 3, 2017


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.


PIC32 & Harmony & FreeRTOS: no CAN receive IRQ -> crash

Posted by rtel on February 3, 2017

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.

[ Back to the top ]    [ About FreeRTOS ]    [ Privacy ]    [ Sitemap ]    [ ]

Copyright (C) Amazon Web Services, Inc. or its affiliates. All rights reserved.

Latest News

Version 10.1.0 of the FreeRTOS kernel is available for immediate download. MIT licensed.

View a recording of the "OTA Update Security and Reliability" webinar, presented by TI and AWS.


FreeRTOS and other embedded software careers at AWS.

FreeRTOS Partners

ARM Connected RTOS partner for all ARM microcontroller cores

Espressif ESP32

IAR Partner

Microchip Premier RTOS Partner

RTOS partner of NXP for all NXP ARM microcontrollers


STMicro RTOS partner supporting ARM7, ARM Cortex-M3, ARM Cortex-M4 and ARM Cortex-M0

Texas Instruments MCU Developer Network RTOS partner for ARM and MSP430 microcontrollers

OpenRTOS and SafeRTOS

Xilinx Microblaze and Zynq partner