Quality RTOS & Embedded Software

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


Porting Code to dsPIC30F2010

Posted by Ruben_saz on November 7, 2007
Hi everyone.

Fist of all let me say that I'm very new to this, but I can't find anything about freeRTOS in my natal language. I wish to port the dsPIC code to use it on a 28/40 pin PDIP device. Anyone can tell me if this is possible? which files should I check or modify to get this running?

I've successfully build the demo code for the dsPIC family, however I don't have the explorer16 board nor the dsPIC chip. The only hardware I have is a dsPICDEM 1.1 Plus development board with a dsPIC30F6014A.

I would appreciate any help/sample code you could provide.

Best Regards.
Ruben Santa Anna.

RE: Porting Code to dsPIC30F2010

Posted by sotd on November 8, 2007
Basically, I dont know know MPLAB specifics, but I would guess that if the core is the same all you have to do is select the device you are using from the MPLAB menus then check the heap fits within the RAM available on your device.

Does your dsPIC have more or less RAM than the dsPIC on which the port was created? If it is less you might have to lower the value of configTOTAL_HEAP_SPACE within FreeRTOSConfig.h, then remove some of the demo tasks to make sure it fits in your device.

The only other thing that might need doing is checking that the timer used to create the RTOS tick in the demo is also available on your dsPIC.

RE: Porting Code to dsPIC30F2010

Posted by Ruben_saz on November 9, 2007
Thank you for your reply.

I'll give it a try ASAP.

Any other ideas or considerations?

[ 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