FreeRTOS Support Archive
The FreeRTOS support forum is used to obtain active support directly from Real
Time Engineers Ltd. In return for using our top quality software and services for
free, we request you play fair and do your bit to help others too! Sign up
to receive notifications of new support topics then help where you can.
This is a read only archive of threads posted to the FreeRTOS support forum.
The archive is updated every week, so will not always contain the very latest posts.
Use these archive pages to search previous posts. Use the Live FreeRTOS Forum
link to reply to a post, or start a new support thread.
[FreeRTOS Home] [Live FreeRTOS Forum] [FAQ] [Archive Top] [November 2007 Threads] Porting Code to dsPIC30F2010Posted 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 dsPIC30F2010Posted 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 dsPIC30F2010Posted by Ruben_saz on November 9, 2007 Thank you for your reply.
I'll give it a try ASAP.
Any other ideas or considerations?
Copyright (C) Amazon Web Services, Inc. or its affiliates. All rights reserved.
|