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




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) 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