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

Codewarrior version

Posted by Nobody/Anonymous on June 22, 2005
"CodeWarrior™ Development Studio for HC(S)12 Release 3.1".Is this the metrowerks version you are using?
If not what is the version you are using

RE: Codewarrior version

Posted by Richard on June 22, 2005
According to help->about I am using:

"CodeWarrior Development Studio for Motorola HC12 3.1, build 4047. Upgrade Pack V1.3 for ICD12 (V6.1.12.5023) USB 2.0 and Full Chip Simulation, build 43..."


I don't know why it says "build 43..." at the end as there is plenty of screen room to print the rest of the number.

Are you having problems?

RE: Codewarrior version

Posted by Nobody/Anonymous on June 22, 2005
Is it evaluation version?

RE: Codewarrior version

Posted by Richard on June 22, 2005
It is the version that came with the dev kit. I have a full license for it but have not got the full license installed successfully yet.

What is your issue?

RE: Codewarrior version

Posted by Nobody/Anonymous on June 23, 2005
I am using metrowerks version 1.2 and I am not able to get the demo code compiled on this version.
Do you have any idea of what might be the reason for this

RE: Codewarrior version

Posted by Richard on June 23, 2005
I know when I opened an old project in my version it did an automatic update to the 'new' project format. Maybe this is your problem.

Is it that you cannot open the project, or that once the project is open it will not compiler. If the latter then what error do you get?

RE: Codewarrior version

Posted by Nobody/Anonymous on June 23, 2005
"#define __asm__(x) __asm(x)"
At this step it is giving an error identifier expected

RE: Codewarrior version

Posted by Richard on June 23, 2005
It would have been helpful if your first post had given this information. Also, which file is this in? I cannot find this line anywhere in the FreeRTOS download or in my CodeWarrior installation.

RE: Codewarrior version

Posted by Nobody/Anonymous on June 23, 2005
It was in portmacro.h of the unsupported version of demo app for MC9S12DP256B

RE: Codewarrior version

Posted by Richard on June 23, 2005
I have not tried that version with WIWIRE defined. Can you build the new supported version?

RE: Codewarrior version

Posted by Nobody/Anonymous on June 23, 2005
I compiled the supported version with metrowerks code warrior 1.2 and have encounterd the following errors.
Can you comment on this errors.
Error : Error in command line: -OnCstVar -OnPMNC -Or -TD4LD4LLD4 -WmsgSd1420 -WmsgSd4001 -WmsgSd4002 -WmsgSd4301 -WmsgSd5703 -WmsgSd5904 -WmsgSd5905 -WmsgSd5909 -WmsgSd5917 -WmsgSd12053 -WmsgSd12056 "C:\Documents and Settings\test\Desktop\muralidhar\V3.1.1\FreeRTOS\Demo\HCS12_CodeWarrior_banked\Sources\datapage.c" -objn="C:\Documents and Settings\test\Desktop\muralidhar\V3.1.1\FreeRTOS\Demo\HCS12_CodeWarrior_banked\RTOSDemo_Data\P&E_ICD\ObjectCode\datapage.c.o"


Error : Error in command line!

Error : Error in command line: -OnCstVar -OnPMNC -Or -TD4LD4LLD4 -WmsgSd1420 -WmsgSd4001 -WmsgSd4002 -WmsgSd4301 -WmsgSd5703 -WmsgSd5904 -WmsgSd5905 -WmsgSd5909 -WmsgSd5917 -WmsgSd12053 -WmsgSd12056 "C:\Documents and Settings\test\Desktop\muralidhar\V3.1.1\FreeRTOS\Demo\HCS12_CodeWarrior_banked\Sources\Start12.c" -objn="C:\Documents and Settings\test\Desktop\muralidhar\V3.1.1\FreeRTOS\Demo\HCS12_CodeWarrior_banked\RTOSDemo_Data\P&E_ICD\ObjectCode\Start12.c.o"


Error : Error in command line!

Could not find or load the file "ansibi.lib" for target "P&E ICD" for project "RTOSDemo.mcp".


RE: Codewarrior version

Posted by Richard on June 23, 2005
I tried compiling here with spaces in the path and it worked fine, so that is not the problem.

Unfortunately the error message does not say which compiler option it is objecting to. I cannot find a version change history from a quick scan of the Metroworks WEB site to see which may have been introduced between the verisons. Maybe you could contact their technical support?

The version of CodeWarrior I had did not seem to include support for the P&E USB BDM interface as supplied. To support it I had to install a service pack which came on a separate CD. The service pack is also available for download from the Metroworks site.

RE: Codewarrior version

Posted by Nobody/Anonymous on June 27, 2005
For compiling the supported version of HCS12, I changed the command line arguments of the compiler target settings.
Will this affect the functionality of the application?

RE: Codewarrior version

Posted by Richard on June 27, 2005
Any clues as to what you changed?

RE: Codewarrior version

Posted by Nobody/Anonymous on June 27, 2005
-BfaGapLimitBits0 -Cf -D_HCS12 -DHCS12_CODE_WARRIOR -D__NO_FLOAT__ -I. -I..\..\Source\portable\CodeWarrior\HCS12 -I..\Common\include -I..\..\Source\include -Mb -Os -Ou -Of -Oi -OiLib=a -OnB=abl -OnCstVar -OnPMNC -Or -TD4LD4LLD4 -WmsgSd1420 -WmsgSd4001 -WmsgSd4002 -WmsgSd4301 -WmsgSd5703 -WmsgSd5904 -WmsgSd5905 -WmsgSd5909 -WmsgSd5917 -WmsgSd12053 -WmsgSd12056

The above are the compiler settings for the build ver3.1.1
I changed the above settings with the below one

-BfaGapLimitBits0 -DXTAL_FREQ=16000000UL -Lasm=.lst -Lasmc= -Mb -WmsgSd1420 -WmsgSd4002 -WmsgSd12056

RE: Codewarrior version

Posted by Richard on June 27, 2005
You need the -DHCS12_CODE_WARRIOR and the include paths. Not sure what the -DXTAL_FREQ is doing - presumably this is required for your code.

Other than this it is probably ok - you might get some warning messages that can be ignored..


[ 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