I Cant recompile demo code provided with flexray demo boards

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

I Cant recompile demo code provided with flexray demo boards

905 Views
bobgardner
Contributor I

I dled HC12 CW and tried to make a project and add demo c and h files... crap.... processor not in h files. Not good. Cant compile and modify demo. How soon can I expect you to take to make this right? Time is money.

Labels (1)
0 Kudos
3 Replies

414 Views
trytohelp
NXP Employee
NXP Employee

Dear Mr. Gardner,

It's difficult to answer your question.

Please can you provide us more information about the Software you're using.

It seems you can not re-build a project so it's not linked to the hardware (board and interface used).

What is the tool version you're using ?

To do that you must:

  Under CodeWarrior IDE (classic)

                Start the IDE and click on Help | About Freescale CodeWarrior.

                Click on Installed Products

                Provide us all info displayed.

                Or you can save them in a txt file.

If the Installed Products is not available for older version you should find information in the welcome.txt

under the installation folder.

If you're using a specific example which one is it ?

Is it available on the web, cd, etc ... ?

What are the errors provided by the tool ?

Compiler error or linker error or ... ?


Have a great day,
Pascal
NXP Technical Support
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------

0 Kudos

414 Views
bobgardner
Contributor I

I have the freescale flexray demo boards NCV73830V1GEVB. They have a

MC9S12XF512MLM processor. I want to compile the example that comes with

the boards to validate that the CW development system can be used to

modify the demo program. I Created a project, added the example files,

went to Device and Connection to select processor type, selected HCS12X

family, and observed that the S12XF512 was not in the list. I selected

S12XS256 and the compiler complained that it couldnt find the

MC9S12XF512 h file. So I can't use the eval version of the compiler.

Guess this is a trick to make me buy the compiler so I can compile the

freescale demo version of the boards I already paid $600 for? Great

customer relations. CW Dev Studio IDE ver 5.9,.0 build 5294 (c freescale

2008?!? shouldnt it say nxp? Or is it an orphaned unsupported product?)

Installedproducts.txt attached

0 Kudos

414 Views
trytohelp
NXP Employee
NXP Employee

Dear Bob,

The new NXP was launched the last December 7th.

The new company merges NXP and Freescale.

Unfortunately there still have lot of references to Freescale and sometimes to Metrowerks (for older CodeWarrior products) but all products are still alive even if they're not named NXP.

I don't know/have the demoboard you're using but if it's based on MC9S12XF device, you must use CW for HC12 v5.1.

According to the IDE version (V5.9.0 build 5294) and the installed plugins attached file, you are using CW for HC12 V5.2.

In the installation folder you should have a Welcome_CWHC12.txt file.

you will find some information about the tool version installed.

Extract of HC12 v5.2:

(2) This release includes support for the following derivatives:

    - MC9S12C128, MC9S12C32, MC9S12C64, MC9S12C96

    - MC9S12G128, MC9S12G96

    - MC9S12GC128, MC9S12GC16, MC9S12GC32, MC9S12GC64

    - MC9S12GN16, MC9S12GN32

    - MC9S12P32, MC9S12P64, MC9S12P96, MC9S12P128

    - MC9S12XEP100, MC9S12XEP768

    - MC9S12XEQ384, MC9S12XEQ512

    - MC9S12XET256

    - MC9S12XS128, MC9S12XS256, MC9S12XS64

    - MC9S12VR16, MC9S12VR32, MC9S12VR48, MC9S12VR64

As you can see the MC9S12XF family is not listed here.

You need to install the V5.1 and not the V5.2.

You can keep the V5.2 if you want but you need to download and install the V5.1.

How to get - have a look to:

    https://community.freescale.com/docs/DOC-104292

Check the point: 2- For last/current development tools

Attached you will find a new video explaining how to access CodeWarrior for HC12 V5.1.

Have a great day,
Pascal
NXP Technical Support
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------

0 Kudos