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 2005 Threads] Codewarrior versionPosted 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 versionPosted 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 versionPosted by Nobody/Anonymous on June 22, 2005 Is it evaluation version?
RE: Codewarrior versionPosted 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 versionPosted 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 versionPosted 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 versionPosted by Nobody/Anonymous on June 23, 2005 "#define __asm__(x) __asm(x)" At this step it is giving an error identifier expected
RE: Codewarrior versionPosted 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 versionPosted by Nobody/Anonymous on June 23, 2005 It was in portmacro.h of the unsupported version of demo app for MC9S12DP256B
RE: Codewarrior versionPosted by Richard on June 23, 2005 I have not tried that version with WIWIRE defined. Can you build the new supported version?
RE: Codewarrior versionPosted 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 versionPosted 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 versionPosted 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 versionPosted by Richard on June 27, 2005 Any clues as to what you changed?
RE: Codewarrior versionPosted 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 versionPosted 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..
Copyright (C) Amazon Web Services, Inc. or its affiliates. All rights reserved.
|