Quality RTOS & Embedded Software

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




Loading

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

Posted by lifebook2 on February 3, 2017

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

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 ]    [ Sitemap ]    [ ]




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

Latest News

FreeRTOS kernel V10 is available for immediate download. Now MIT licensed.


FreeRTOS Partners

ARM Connected RTOS partner for all ARM microcontroller cores

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