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] [June 2011 Threads] FreeRTOS and MSPFG4618Posted by Anne Thomas on June 12, 2011 Dear FreeRTOS Forum:
I am using IAR Workbench and got the FreeRTOS demo "msp430_IAR" to build. However, this demo's architecture is for SoftBaugh's ES449 prototyping board.
I followed the instructions on p. 161 (steps 1 - 6) of the FreeRTOS tutorial book for adapting one of the supplied demo projects. I removed all demo source files except heap_1.c and main.c and got the project to compile.
However, I want to port to the MSP430FG4618 (instead ES449). So I changed the header file in FreeRTOSConfig.h from "#include " to "#include ". Now the project will not compile. How can I get project to work on FG4618? Here are the error messages:
Building configuration: RTOSDemo - Debug Updating build tree... 15 file(s) deleted. Updating build tree... croutine.c heap_1.c list.c main.c Warning[Pe111]: statement is unreachable C:\MSP430\Agamatrix project\FreeRTOS\Demo\msp430_IAR\main.c 177 port.c portext.s43 Error[40]: Bad instruction C:\Program Files\IAR Systems\Embedded Workbench 6.0 Evaluation\430\INC\msp430xG46x.h 925 Error[40]: Bad instruction C:\Program Files\IAR Systems\Embedded Workbench 6.0 Evaluation\430\INC\msp430xG46x.h 941 Error[42]: Duplicate label:'sfrl' C:\Program Files\IAR Systems\Embedded Workbench 6.0 Evaluation\430\INC\msp430xG46x.h 959 Error[40]: Bad instruction C:\Program Files\IAR Systems\Embedded Workbench 6.0 Evaluation\430\INC\msp430xG46x.h 959 Error[42]: Duplicate label:'sfrl' C:\Program Files\IAR Systems\Embedded Workbench 6.0 Evaluation\430\INC\msp430xG46x.h 975 Error[40]: Bad instruction C:\Program Files\IAR Systems\Embedded Workbench 6.0 Evaluation\430\INC\msp430xG46x.h 975 Error[42]: Duplicate label:'sfrl' C:\Program Files\IAR Systems\Embedded Workbench 6.0 Evaluation\430\INC\msp430xG46x.h 993 Error[40]: Bad instruction C:\Program Files\IAR Systems\Embedded Workbench 6.0 Evaluation\430\INC\msp430xG46x.h 993 Error[42]: Duplicate label:'sfrl' C:\Program Files\IAR Systems\Embedded Workbench 6.0 Evaluation\430\INC\msp430xG46x.h 1009 Error[40]: Bad instruction C:\Program Files\IAR Systems\Embedded Workbench 6.0 Evaluation\430\INC\msp430xG46x.h 1009 Error[66]: Segment too long (max is ffff) C:\Program Files\IAR Systems\Embedded Workbench 6.0 Evaluation\430\INC\msp430xG46x.h 925 Error while running Assembler queue.c tasks.c Warning[Pe1053]: conversion from integer to smaller pointer C:\MSP430\Agamatrix project\FreeRTOS\Source\tasks.c 470 Total number of errors: 22 Total number of warnings: 4
RE: FreeRTOS and MSPFG4618Posted by Richard on June 13, 2011 The MSP430F449 uses an MSP430 core. The MSP430FG4618 uses an MSP430X core. The FreeRTOS download contains 2 demos for the MSP430X in the FreeRTOS/Demo/MSP430X_MSP430F5438_CCS4 and FreeRTOS/Demo/MSP430X_MSP430F5438_IAR directories respectively. Each demo uses 3 different memory models. There is a lot of code behind it.
The ports for these demos are found in the FreeRTOS/Source/portable/CCS4/MSP430X and FreeRTOS/Source/portable/IAR/MSP430X directories respectively.
I suggest you look at one of these demos as a starting point.
Regards.
RE: FreeRTOS and MSPFG4618Posted by enridl on June 13, 2011 So I changed the header file in FreeRTOSConfig.h from "#include " to "#include ". I think this might be the first error: check if it the right to get included "
then check any error above, and try to edit the right folder/file which gets an error. I'll send you more notes later.
Regards, Enri.
RE: FreeRTOS and MSPFG4618Posted by Anne Thomas on June 13, 2011 Hi Enrid:
Thank you for your help. If you are able to send me your code, that would be great. I am using IAR Workbench IDE, but as you said, I can make the necessary changes.
The reason for needing this port is that I am trying to adapt FreeRTOS for use on the MSP430fg4618/MSP430f2013 experimenter's board. It's not for a specific project at this time. However, I want to be able to add FreeRTOS experience to my resume, as some companies I'm looking at are interested in this.
Thank you again.
Regards, Anne
Copyright (C) Amazon Web Services, Inc. or its affiliates. All rights reserved.
|