Quality RTOS & Embedded Software

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


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.

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) 2004-2010 Richard Barry. Copyright (C) 2010-2016 Real Time Engineers Ltd.
Any and all data, files, source code, html content and documentation included in the FreeRTOSTM distribution or available on this site are the exclusive property of Real Time Engineers Ltd.. See the files license.txt (included in the distribution) and this copyright notice for more information. FreeRTOSTM and FreeRTOS.orgTM are trade marks of Real Time Engineers Ltd.

Latest News:

FreeRTOS V9.0.0 is now available for download.

Free TCP/IP and file system demos for the RTOS

Sponsored Links

⇓ Now With No Code Size Limit! ⇓
⇑ Free Download Without Registering ⇑

FreeRTOS Partners

ARM Connected RTOS partner for all ARM microcontroller cores

Renesas Electronics Gold Alliance RTOS Partner.jpg

Microchip Premier RTOS Partner

RTOS partner of NXP for all NXP ARM microcontrollers

Atmel RTOS partner supporting ARM Cortex-M3 and AVR32 microcontrollers

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

Xilinx Microblaze and Zynq partner

Silicon Labs low power RTOS partner

Altera RTOS partner for Nios II and Cortex-A9 SoC

Freescale Alliance RTOS Member supporting ARM and ColdFire microcontrollers

Infineon ARM Cortex-M microcontrollers

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

Cypress RTOS partner supporting ARM Cortex-M3

Fujitsu RTOS partner supporting ARM Cortex-M3 and FM3

Microsemi (previously Actel) RTOS partner supporting ARM Cortex-M3

Atollic Partner

IAR Partner

Keil ARM Partner

Embedded Artists