MQX 4.0.1 with Codewarrior 10.4

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

MQX 4.0.1 with Codewarrior 10.4

Jump to solution
4,616 Views
tusharm
Contributor III

Hello,

        I m using Codewarrior 10.4 with MQX 4.0.1, whenever i try to compile a basic application i m getting an error. But before it was working fine and i was debugging successfully but suddenly i m getting an error. I re installed both Codewarrior10.4 as well as MQX 4.0.1 but still i m getting the same error. Please help me to get out of this problem.

THE ERROR IS:

DescriptionResourcePathLocationType
mingw32-make: *** [abc.afx] Error 1abcC/C++ Problem
No library file found matching 'libbsp.a{.dylib|.a}' or 'bsp.a'abcC/C++ Problem

Thank you,

Tushar M

1 Solution
3,802 Views
cavebiker
Contributor V

Try doing a clean & build on your PSP followed by a build of your project.

View solution in original post

0 Kudos
Reply
10 Replies
3,802 Views
vladcarpiuc
Contributor I

Hello everyone!

I have a K70 tower board with a Cortex M4. I have installed CodeWarrior 10.4 and MQX 4.0.2. I tried to configure my CodeWarrior to work with MQX but I cannot get it working.

This is what I have done:

1. Installed CW 10.4.

2. Installed MQX 4.0.2.

3. Updated CW with Kernel Awareness SDK package.

4. Update CW with MQX plugin 4.0.x and MQX plugin 4.0.x for ARM.

5. Ran install_cw10.2_plugin.bat "path to Freescale CW installation folder" in cmd.

The problem is that the bat gives some errors regarding the version of the eclipse suite.

Here is the entire log:

**** Installing plug-ins for MQX 4.0 ****
Installing com.freescale.mqx.v4.0.feature.group 1.0.1.201211131041.
Installation failed.
Cannot complete the install because one or more required items could not be foun
d.
Software being installed: CodeWarrior MQX 4.0 Plug-ins 1.0.1.201211131041 (com.
freescale.mqx.v4.0.feature.group 1.0.1.201211131041)
Missing requirement: CodeWarrior MQX 4.0 Plug-ins 1.0.1.201211131041 (com.frees
cale.mqx.v4.0.feature.group 1.0.1.201211131041) requires 'org.eclipse.core.runti
me [3.6.0,3.7.0)' but it could not be found
Application failed, log file location: C:\Freescale\CW MCU v10.3\eclipse\configu
ration\1379691608438.log
**** Uninstalling old plug-ins for MQX - all versions ****
Installation failed.
The installable unit com.freescale.mqx.common.feature.group has not been found.
Application failed, log file location: C:\Freescale\CW MCU v10.3\eclipse\configu
ration\1379691612416.log
**** Installing plug-ins for MQX - all versions ****
Installing com.freescale.mqx.common.feature.group 1.1.9.201211131041.
Installation failed.
Cannot complete the install because one or more required items could not be foun
d.
Software being installed: CodeWarrior MQX Plug-ins 1.1.9.201211131041 (com.free
scale.mqx.common.feature.group 1.1.9.201211131041)
Missing requirement: MQX TAD Plug-in 1.1.13.201211131041 (com.freescale.debugge
r.kernel.aware.mqx 1.1.13.201211131041) requires 'bundle org.eclipse.core.runtim
e [3.6.0,3.7.0)' but it could not be found
Cannot satisfy dependency:
  From: CodeWarrior MQX Plug-ins 1.1.9.201211131041 (com.freescale.mqx.common.fe
ature.group 1.1.9.201211131041)
  To: com.freescale.debugger.kernel.aware.mqx [1.1.13.201211131041]
Application failed, log file location: C:\Freescale\CW MCU v10.3\eclipse\configu
ration\1379691614308.log
**** Installing CW10.2 Processor Expert MQX RTOS Adapter update ****
17 File(s) copied
**** Done ****

So, what is wrong here?

Thank you very much, in a

0 Kudos
Reply
3,802 Views
Martin_
NXP Employee
NXP Employee

The batch file that you run in step 5 is required only for CodeWarrior for MCU version 10.2. For CW 10.4, all MQX plugins are alredy in the installer, morover, new versions of MQX plugins will be installed and updated via CodeWarrior update site. (Install new software .../ Check for updates). 

0 Kudos
Reply
3,802 Views
milosandjelkovi
Contributor I

I have the similar problem with the K60N512 board but cleaning and building the psp doesn't help.

Does anybody have an idea what could it be?

Exact message that I am getting is :

No library file found matching 'libpsp_twrk60n512_d.a{.dylib|.a}' or

>'psp_twrk60n512_d.a'

0 Kudos
Reply
3,802 Views
LuisCasado
NXP Employee
NXP Employee

Hi,

MQX 4.0.x uses different library and path names.

For example, in MQX 3.8 BSP lib is : C:\Freescale\Freescale MQX 3.8\lib\twrk60n512.cw10\bsp\bsp_twrk60n512_d.a

But for MQX 4.0.x is : C:\Freescale\Freescale_MQX_4_0\lib\twrk60n512.cw10\debug\bsp\bsp.a

If you are testing a 3.8 project, you need to update the paths and the lib's name.

Best Regards

Luis

0 Kudos
Reply
3,802 Views
tusharm
Contributor III

Hello,

              Thank you very much..There was a problem with PSP's once after rebuilding its working fine...

Best Regards,

Tushar M

3,802 Views
frankvanhooft
Contributor III

Here's the dumb question...

What's a PSP?

0 Kudos
Reply
3,802 Views
travis_l
Contributor III

Just like BSP is a 'Board Support Package', PSP is a 'Processor Support Package'

3,802 Views
Monica
Senior Contributor III

Great, thanks for sharing! :smileyhappy:

Best,

Monica

0 Kudos
Reply
3,802 Views
Monica
Senior Contributor III

Hello Tushar,

was that suggestion helpful? Please let us know :smileywink:

Best regards,

Monica.

0 Kudos
Reply
3,803 Views
cavebiker
Contributor V

Try doing a clean & build on your PSP followed by a build of your project.

0 Kudos
Reply