Enquiry on Codewarrior mobileGT software installation

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

Enquiry on Codewarrior mobileGT software installation

Jump to solution
857 Views
evanlim
Contributor I

Hi, I had just installed CodeWarrior for mobileGT Linux Application Edition (Windows Hosted) v9.2. During installation, there's a message showing "unable to retrieve the Cygwin tools location from the registry. you have to manually copy the usr folder to your cygwin installation and set up the path environment variable". May I know what is the problem? Thanks!

Labels (1)
0 Kudos
1 Solution
680 Views
TICS_Fiona
NXP Employee
NXP Employee

Hello Evan

If user does not use AXE/PXE gcc build tools, please ignore the message “Unable to retrieve the Cygwin tools …….”, just continue the installation.

If he will use AXE/PXE gcc build tools, please install Cygwin tools before install the CodeWarrior software. The Cygwin file version should be 1005.21.0.0 or newer.

Below is the information extracted from CW9.2 release note, it explains your question for PATH system variable and folder copy.

* The AXE/PXE gcc build tools were built under the Cygwin environment and therefore require that Cygwin be installed before you can use these tools. Please visit http://www.cygwin.com  to obtain and install the basic Cygwin environment.

* The CodeWarrior software must be installed on the same disk as Cygwin.

 

* Before building Linux Application stationary projects, in the GNU Tools panel, add the "powerpc-e300c3-linux-gnu-" prefix for every command.

  For example: powerpc-e300c3-linux-gnu-gcc or powerpc-e300c3-linux-gnu-ar. If the project still fails to compile you should update Cygwin to the latest version due to incompatibilities with older versions.

 

* If a pre-release versions of CodeWarrior for MobileGT v9.2 has been installed, an earlier version of the AXE/PXE cross tools may remain after uninstalling the pre-release CodeWarrior software. Before installing the new CodeWarrior release, please remove  the old AXE/PXE tools by deleting the /usr/crossgcc/PXE-4.1.1 directory tree.

 

* Building an AXE project for MPC 5121:

            - Add the path to the cygwin installation (default path is C:\cygwin\bin) to the PATH system variable (environmental variables)

            - Overwrite the <usr/> folder from the <CodeWarrior for MobileGT V9.2> path over the <usr/> folder from cygwin

            - Copy the cygwin1.dll file from cygwin (it is the <bin> folder) to <Freescale\CodeWarrior for MobileGT V9.2\Cross_Tools\binary\metrowerks\pxe\bareboard\bin>

            - run regservers.bat from the <Freescale\CodeWarrior for MobileGT V9.2\bin>

Best Regards

Fiona Kuang

Technical Information & Commercial Support

-----------------------------------------------------------------------------------------------------------------------

Note: If this post answers your question, please click the Correct Answer button. Thank you!

-----------------------------------------------------------------------------------------------------------------------

View solution in original post

0 Kudos
3 Replies
681 Views
TICS_Fiona
NXP Employee
NXP Employee

Hello Evan

If user does not use AXE/PXE gcc build tools, please ignore the message “Unable to retrieve the Cygwin tools …….”, just continue the installation.

If he will use AXE/PXE gcc build tools, please install Cygwin tools before install the CodeWarrior software. The Cygwin file version should be 1005.21.0.0 or newer.

Below is the information extracted from CW9.2 release note, it explains your question for PATH system variable and folder copy.

* The AXE/PXE gcc build tools were built under the Cygwin environment and therefore require that Cygwin be installed before you can use these tools. Please visit http://www.cygwin.com  to obtain and install the basic Cygwin environment.

* The CodeWarrior software must be installed on the same disk as Cygwin.

 

* Before building Linux Application stationary projects, in the GNU Tools panel, add the "powerpc-e300c3-linux-gnu-" prefix for every command.

  For example: powerpc-e300c3-linux-gnu-gcc or powerpc-e300c3-linux-gnu-ar. If the project still fails to compile you should update Cygwin to the latest version due to incompatibilities with older versions.

 

* If a pre-release versions of CodeWarrior for MobileGT v9.2 has been installed, an earlier version of the AXE/PXE cross tools may remain after uninstalling the pre-release CodeWarrior software. Before installing the new CodeWarrior release, please remove  the old AXE/PXE tools by deleting the /usr/crossgcc/PXE-4.1.1 directory tree.

 

* Building an AXE project for MPC 5121:

            - Add the path to the cygwin installation (default path is C:\cygwin\bin) to the PATH system variable (environmental variables)

            - Overwrite the <usr/> folder from the <CodeWarrior for MobileGT V9.2> path over the <usr/> folder from cygwin

            - Copy the cygwin1.dll file from cygwin (it is the <bin> folder) to <Freescale\CodeWarrior for MobileGT V9.2\Cross_Tools\binary\metrowerks\pxe\bareboard\bin>

            - run regservers.bat from the <Freescale\CodeWarrior for MobileGT V9.2\bin>

Best Regards

Fiona Kuang

Technical Information & Commercial Support

-----------------------------------------------------------------------------------------------------------------------

Note: If this post answers your question, please click the Correct Answer button. Thank you!

-----------------------------------------------------------------------------------------------------------------------

0 Kudos
680 Views
evanlim
Contributor I

Hi,

Another question.

After downloading CodeWarrior for mobileGT Linux Application Edition (Windows Hosted) v9.2, do we have to download a license for the codewarrior flash programmer?

I tried using the software and I encounter the following:

Thank you.

Best Regards,

Evan Lim

Advanced Electronics Centre

ST Electronics (Satcom & Sensor Systems) Pte Ltd

0 Kudos
680 Views
TICS_Fiona
NXP Employee
NXP Employee

Hello Evan

The Integrated flash programmer is only supported in Processional Edition. 

For the difference of CodeWarrior Edition, please refer to:

http://www.nxp.com/files/soft_dev_tools/doc/fact_sheet/950-00437.pdf

To get an evaluation license, please submit a request online by following below steps:

1) Go to http://www.nxp.com/support/sales-and-support:SUPPORTHOME.

2) On the bottom of the page under Submit New Issues, click Hardware & Software.

3) Register with your business email to access NXP technical online support.

4) A verification email will be sent to your account. Click the link embedded in that email to verify your access.

5) On the NXP online support page, select Contact Support from the top menu and click “submit a new case” to start the process.

Best Regards

Fiona Kuang

Technical Information & Commercial Support

0 Kudos