Enquiry on Codewarrior mobileGT software installation

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

Enquiry on Codewarrior mobileGT software installation

跳至解决方案
1,584 次查看
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!

标签 (1)
0 项奖励
回复
1 解答
1,407 次查看
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 项奖励
回复
3 回复数
1,408 次查看
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 项奖励
回复
1,407 次查看
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 项奖励
回复
1,407 次查看
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 项奖励
回复