Quality RTOS & Embedded Software

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




Loading

MPLAB SIM Error with FreeRTOS PIC24 Port

Posted by Wayne Richardson on December 4, 2008
Hi all,

I am having a problem with the port for the PIC24 running under MPLAB. I have got the FreeRTOS downloaded and expanded. I then go to the PIC24_MPLAB directory and bring up the RTOSDemo_PIC24 project and build it. The build goes fine. When I set a breakpoint at the vTaskStartScheduler(); I can run to this line, but when I try to step over or run, I get the following error:
CORE-E0004: Trap due to unimplemented FLASH memory access, occurred from instruction at 0x001d08

Any clues as to what I need to do?
I have also verified this in the dsPIC demo.
I am running the free version of the C30 compiler.

Thanks in advance.
Wayne

RE: MPLAB SIM Error with FreeRTOS PIC24 Port

Posted by PICmeup on December 5, 2008
This just in simulator or on Explorer 16?

RE: MPLAB SIM Error with FreeRTOS PIC24 Port

Posted by Wayne Richardson on December 5, 2008
This occurs in the simulator. I don't have an Explorer 16 board. I have developed my own prototype board, and am trying to establish a base port that work in the simulator and then modify this to accommodate my prototype board. However, I can't get the base port "right out of the box" to run in the simulator. I am not sure if I am missing a setting, or if it is the free C30 compiler that is causing me problems.

Thanks in advance,


[ 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