Quality RTOS & Embedded Software

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




Loading

Freertos for dspic30f family microchip

Posted by desireddy on October 27, 2016

Hi this is the first time i am posting, i am trying to port freertos to dspic30f family microchip controller. My concern is it has only 2 kb of RAM memory. Is it possible for me to port. I will write only a very small application of glowing LED. Please help.


Freertos for dspic30f family microchip

Posted by rtel on October 27, 2016

Have a look at the code for the demo documented on http://www.freertos.org/portpic24_dspic.html - which targets a dsPIC33FJ256GP710 - to get an idea of the number of tasks you can create in however much RAM the dsPIC33FJ256GP710 has (the demo will have created as many tasks as possible), then extrapolate for the 2K you have available.


Freertos for dspic30f family microchip

Posted by desireddy on October 31, 2016

Thank you very much for the reply. I was able to compile with the following changes, the linker file changed to dspic30f gld and the header file changed to dspic30f. Now my only doubt is 30f prescaler setting is different from 33f which is variable, then how the code is executing. I am unable to understand the exact timings. Can i go ahead with my changes and implement. What other changes i need to make? Please help. I am putting my efforts to understand thoroughly.


Freertos for dspic30f family microchip

Posted by rtel on October 31, 2016

Yes, if you are building for a dsPIC30F you need to use the dsPIC30F's header and linker files, and any other files that are specific to the chip in use.


[ 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