Quality RTOS & Embedded Software

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




Loading

Errors in HCSC12 Codewarrior Banked and Small memory demo projects

Posted by srikanth56 on May 4, 2015

Hi!

I have downloaded FreeRTOS V8.2.1. I want to use the RTOS for Freescale MC9S12G240. I was trying to build the demo codes available for S12 family of microcontrollers i.e., MC9S12C32 and MC9S12DP256B with Code Warrior IDE . But it failed. I got plenty of errors though I have followed the exact same steps as mentioned in the demo page for the microcontroller. Are there are any Processor Expert settings that need to be changed? Please let me know what needs to be done in order to eliminate the errors and ensure proper working of the RTOS.


Errors in HCSC12 Codewarrior Banked and Small memory demo projects

Posted by rtel on May 4, 2015

Unfortunately you don't say what the errors are - but as that is a rather old demo I suspect they will be a result of changes in the tools (compiler, IDE, etc.) since the demo was created. I am aware of people using that port, but it might be that they created their build project themselves, rather than taking the project in the download.

Regards.


Errors in HCSC12 Codewarrior Banked and Small memory demo projects

Posted by srikanth56 on May 5, 2015

I am attaching the errors for the banked memory demo. Please let me know what are the changes that need to be made in order to run the demo in the present version of Code Warrior.

Attachments


Errors in HCSC12 Codewarrior Banked and Small memory demo projects

Posted by srikanth56 on May 5, 2015

Please let me know which version of Code Warrior supports the demo provided.


Errors in HCSC12 Codewarrior Banked and Small memory demo projects

Posted by rtel on May 5, 2015

I'm afraid I can't/won't open Word documents from the Internet. Can you post the errors into the forum directly?

I'm not sure which version of Code Warrior was used, but it was an old one, I may be able to tell you when I have access to my other computer, but that won't be until the weekend.

Regards.


Errors in HCSC12 Codewarrior Banked and Small memory demo projects

Posted by srikanth56 on May 6, 2015

There 66 errors in the banked memory demo. I am posting just a few of those.

Errors: Error : C52: Error in command line '-BfaGapLimitBits0 -Cf -DHCS12 -DHCS12CODEWARRIOR -D__NOFLOAT__ -I. -I....SourceportableCodeWarriorHCS12 -I..Commoninclude -I....Sourceinclude -Mb -Os -Ou -Of -Oi -OiLib=a -OnB=abl -OnCstVar -OnPMNC -Or -TD4LD4LLD4 -WmsgSd1420 -WmsgSd4001 -WmsgSd4002 -WmsgSd4301 -WmsgSd5703 -WmsgSd5904 -WmsgSd5905 -WmsgSd5909 -WmsgSd5917 -WmsgSd12053 -WmsgSd12056 -env"GENPATH=D:FreeRTOSV8.2.1FreeRTOSDemoHCS12CodeWarriorbanked;D:FreeRTOSV8.2.1FreeRTOSDemoHCS12CodeWarriorbankedbin;D:FreeRTOSV8.2.1FreeRTOSDemoHCS12CodeWarriorbankedprm;D:FreeRTOSV8.2.1FreeRTOSDemoHCS12CodeWarriorbankedcmd;D:FreeRTOSV8.2.1FreeRTOSDemoHCS12CodeWarriorbankedSources;C:Program Files (x86)FreescaleCWS12v5.1libHC12clib;C:Program Files (x86)FreescaleCWS12v5.1libHC12csrc;D:FreeRTOSV8.2.1FreeRTOSDemoHCS12CodeWarriorbankedCode;D:FreeRTOSV8.2.1FreeRTOSDemoHCS12CodeWarriorbankeddoc;C:Program Files (x86)FreescaleCWS12v5.1libhc12cinclude;D:FreeRTOSV8.2.1FreeRTOSDemoHCS12CodeWarriorbankedParTest;D:FreeRTOSV8.2.1FreeRTOSDemoHCS12CodeWarriorbankedserial;D:FreeRTOSV8.2.1FreeRTOSSource;D:FreeRTOSV8.2.1FreeRTOSSourceportableMemMang;D:FreeRTOSV8.2.1FreeRTOSDemoCommonMinimal;D:FreeRTOSV8.2.1FreeRTOSSourceportableCodeWarriorHCS12;D:FreeRTOSV8.2.1FreeRTOSDemoHCS12CodeWarriorbankedCODE;D:FreeRTOSV8.2.1FreeRTOSDemoHCS12CodeWarriorbankedDOC;C:Program Files (x86)FreescaleCWS12v5.1libHC12cinclude" -env"LIBPATH=C:Program Files (x86)FreescaleCWS12v5.1libHC12cinclude" -env"OBJPATH=D:FreeRTOSV8.2.1FreeRTOSDemoHCS12CodeWarriorbankedbin" -env"TEXTPATH=D:FreeRTOSV8.2.1FreeRTOSDemoHCS12CodeWarriorbankedbin" -objn="D:FreeRTOSV8.2.1FreeRTOSDemoHCS12CodeWarriorbankedRTOSDemoDataP&EICDObjectCodeCpu.C.o" '

Error : Error in command line!

Error : C4202: Invalid pragma OPTION, Invalid Options

IO_Map.h line 40

Error : Compile failed


Errors in HCSC12 Codewarrior Banked and Small memory demo projects

Posted by edwards3 on May 6, 2015

If the command line is wrong then the compiler has changed either completely or substantially. Were you able to open the project right away or did you have to go through some kind of update wizard in order to get it open? Have you looked in the manual to see what the command line needs?


Errors in HCSC12 Codewarrior Banked and Small memory demo projects

Posted by srikanth56 on May 7, 2015

I was able to open the project right away. I've referred to the manual but I didn't find a solution.


[ 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