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


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