mcuinit

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

mcuinit

1,462 次查看
ronaldpatton
Contributor I

!

Hello,

 

I am working on a project that I inherited.  The project was originally developed with a much older version of Code Warrior.  Since the older versions will not function on windows 7 (64), I needed to installed Code Warrior 10.6 (which has now down graded itself to the free special edition version).

 

Since there is no project import function, I created a new project specifying the correct chip (MC9S08QG8CPBE).  Then via  "add files" I added the source and header files.   The original project included mcuinit.c and mcuinit.h.   If I include these the build fails.  Examining the contents of the orginal mcuinit.c file, the comments indicate the file is built by "the tool".

THIS MODULE IS GENERATED BY THE TOOL. DO NOT MODIFY IT.

**     Project   : QG8_IIC

**     Processor : MC9S08QG8CPB

**     Version   : Bean 01.216, Driver 01.00, CPU db: 2.87.068

**     Datasheet : MC9S08QG8 Rev. 0.09 09/9/2005

**     Date/Time : 10/23/2005, 10:24 PM

**     Abstract  :

**         This module contains device initialization code

**         for selected on-chip peripherals.

**     Contents  :

**         Function "MCU_init" initializes selected peripherals

**

**     (c) Copyright UNIS, spol. s r.o. 1997-2005

**     UNIS, spol s r.o.

**     Jundrovska 33

**     624 00 Brno

**     Czech Republic

**     http      : www.processorexpert.com

**     mail      : info@processorexpert.com

 

Honestly, I don't have a clue how to go about generating the mcuinit file or even if it necessary.

If it helps I have attached the project.

 

Thanks,

Ron Patton

 

Message was edited by: Ronald Patton

Original Attachment has been moved to: project.zip

标签 (1)
0 项奖励
回复
3 回复数

1,217 次查看
trytohelp
NXP Employee
NXP Employee

Hi Ronald,

It's not always sample to move a project created with classic version to Eclipse.

Most part of Processor Expert code are generated by Processor Expert.

If your new project contains Processor Expert, you can not use the old files.

Before to provide you more information, let me know exactly the which older version was used.

Most of the time we've solution to run the older version under Win 7.

So the question is:

    - do you want to use older tool on Win 7 ?

    - do you want to move the project on new version ?

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

0 项奖励
回复

1,217 次查看
ronaldpatton
Contributor I

I want to use the supported current version of Code Warrior.  Customers should not be tasked with finding methods for supporting their work with tricks and kludges to have existing projects work with new versions of software.  This is like asking my customers to fix problems with my products sold to them. Sorry, but upgrade paths should always be provided so that existing software (projects) will continue to function with new versions of supplied by a vendor.  If Freescale does not want to provide straight forward and easy to implement upgrade paths for existing projects, then it should continue support the versions of tools that do.  In other words, Freescale should fix Code Warrior 6.x so that it installs and functions properly on Windows 7 (64 bit) and continue to support it.

So to answer your question " do you want to move the project on new version ?". Yes, I want my project to build and function properly using the latest supported version of Code Warrior.  I do not want to be "stuck" on a version of the tools that are not supported.

0 项奖励
回复

1,217 次查看
trytohelp
NXP Employee
NXP Employee

Hi,

CW for MCU v6.3 is running under Win 7 64 bit too.

This is the configuration I'm using on my side and I can build and debug an application without problem.

However the MCU V6.3 was released in 2009 and the tool was not tested on Win 7 but we still have lot of customers using MCU V6.3 on Win 7.

On community you will find several posts explaining how to install the tool on Win 7.

An interesting one is   Install CodeWarrior 6.3 (Classic) directly under Windows 7 x64 or Windows 10 x64

By default the installer is checking the OS version and doesn't allow installation under 64bit OS.

Why ?

Some drivers included in the installation were not compatible for 64bit OS (P&E interfaces for instance).

However we can install new drivers without problem.

How to install MCU v6.3 under Win 7 64bit or other 64bit OSs ?

  - use the customer solution explained above,

  - install the tool on 32bit OS (Win 7 too) and copy the installation folder in Win 7 64bit.

    Execute \bin\regserver.bat

    Download and install new P&E driver (11.1)

                      P&E Microcomputer Systems

Since 2010 we started to move all our development tools under Eclipse.

Today all our new versions are based on Eclipse.

Only some processors are always under Classic.

This is the case for HC12, MGT and PA5xx.

The first versions MCU V10.0, V10.1 and 10.2 included an classic project converter feature.

This was useful for no complex project.

The MCU V10.2 is always available and can be downloaded on our web site.

    CodeWarrior Legacy Downloads|Freescale

Another way to convert your classic project to Eclipse is to follow the AN4727:

      Import project from CW classic to CW MCU v10 4 CodeWarrior for Microcontrollers v10.4

  http://cache.freescale.com/files/soft_dev_tools/doc/app_note/AN4727.pdf

What 's about project using Processor Expert ?

By default on MCU V10.6.4 you must create a project including Processor Expert.

When the project is created to import PEx settings you just need to copy the .pe file to MCU project.

Then rename it as MCU one.

Now when the MCU project is re-opened, the classic PEx settings will be used

Now you can choose if you want to keep the MCU V6.3 or move to MCU V10.6.4.

We've working solution for 2 cases.

If you need more info let me know, Don't hesitate to contact us.


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

0 项奖励
回复