With the new MCUXpresso versions out, and because it has been a while I showed how to install Processor Expert into Eclipse, here is an update how to do this.
Overview
Processor Expert is a graphical tool around the concept of software components, which can be configured and used like ‘Lego’ bricks to build up smaller and larger embedded applications. NXP has discontinued Processor Expert in their general purpose MCU line and replaced it with the ‘Configuration Tools’, while on the automotive MCU side it is still integrated in their S32DS IDE.
In this article I’m using the version 11.5.1, but the same applies to the version 11.5.0 of the IDE.
Installation
The installation takes about 15 minutes and enables the IDE to use Processor Expert. Because there is a conflict with the configuration tools installed by default in the IDE, they have to uninstalled first.
The plugins to be installed are available on the NXP web site (https://www.nxp.com/design/software/development-software/processor-expert-software:PEX_DEV_TOOLS): make sure you unzip the downloaded files first, then install them into Eclipse.
The video below shows all the steps, up to debugging a Processor Expert component based project on a board:
Be aware that the combination of Processor Expert with the NXP MCUXpresso IDE is not officially supported. For new projects I recommend to use the SDK with the configuration tools, but if you have (as I have) many Processor Expert projects to maintain over the next years, having the ability to use the latest Eclipse and GNU tools is for sure a good thing.
Happy Experting 🙂
Links
- MCUXpresso IDE 11.5.1
- Porting Processor Expert Projects to MCUXpresso IDE
- MCUXpresso IDE: Installing Processor Expert into Eclipse Neon
- McuOnEclipse GitHub: https://github.com/ErichStyger/mcuoneclipse
- Processor Expert: https://www.nxp.com/design/software/development-software/processor-expert-software:PEX_DEV_TOOLS
Hi Erich.
I have watched your video and followed all the steps to uninstall and install all components.
after importing a PEx project that was built success in KDS3.0 and “Generate Processor Expert Code” create a “Generated_Code” folder, and place all necessary files, but when I click the ‘hammer ‘ to build the project, the build log shows:
**** Build of configuration Debug for project MyTest_Project ****
Nothing to build for project MyTest_Project
Thanks.
Cai.
LikeLiked by 1 person
Hi Cai,
I believe your build tools are not set up correctly. Can you check the project build tools (Project > Properties > C/C++ Build)?
LikeLike
Thank you Erich, this just made my day!
LikeLiked by 1 person
Hi James,
glad to hear it was helpful for you. Just curious: what device family are you using? Are you using my PEx components as well?
LikeLike
Hi Erich,
I’m using devices from all across the Kinetis line…KE02, K64, KL25, KL36, K22, KV31, etc.
I most definitely use your PEx components and I’m so glad you continue to provide updates!
I’ve been using KDS with PEx for several years and when NXP stopped supporting KDS I started to migrate to MCUXpresso, but eventually reverted back to KDS for most of my projects. In my mind, using the config tools is much more time consuming a lot less user friendly than PEx. Now that you’ve posted this, I’m excited to give MCUXpresso another shot!
LikeLiked by 1 person
Hi James,
thank you so much for the details. I agree: PEx has been in many ways easier to use and better than the config tools as of today, for me too.
LikeLike
Hi Erich,
Thank you for another important tutorial!
I did everything you mentioned in the video, but unfortunately I received an error when trying to create a new PEx project:
ERROR: Not possible to run: Drivers/Common/ComponentSettings.js. Java scripting engine not initialized.
I’m using 11.8.1 version and I wasn’t facing this issue with 11.7.1 version : (
Can you please help me on this? In the latter case I use the previous version but I prefer to stay with the most current one.
Best regards,
Márcio.
LikeLike
Currently I’m using as well 11.7.1 for my PEx based projects, I have not moved to 11.8.x for this, did not try it. But it would not be a surprise that things in the Java engine might break Processor Expert in recent versions, because this is not what NXP is supporting anyway, so they do not test it. 11.7.x with PEx works fine for me, so I try to keep it as this if possible.
LikeLike
Hi Erich,
I’ve decided to use 11.7.x version and the installation was ok, but right now I’m facing new issues here:
-When I try to switch the workspace from the default directory to any other directory it allways craches on start up;
-In the default workspace directory I can create a new PEx project, but I can’t built it and got this message at the console (TRx_Git is the name of my project):
“**** Build of configuration Debug for project TRx_Git ****
Nothing to build for project TRx_Git”
-When I import an working project that I’ve developed in my other pc I’ve got this other message at the console:
“Cannot run program “make”: Launching failed
Error: Program “make” not found in PATH
PATH=[C:/nxp/MCUXpressoIDE_11.7.1_9221/ide//jre/bin/server;C:/nxp/MCUXpressoIDE_11.7.1_9221/ide//jre/bin;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0\;C:\Windows\System32\OpenSSH\;C:\Program Files\Git\cmd;C:\Users\lucas\AppData\Local\Microsoft\WindowsApps;C:\Users\lucas\AppData\Local\GitHubDesktop\bin;C:\Users\lucas\AppData\Local\Programs\Microsoft VS Code\bin;C:\nxp\MCUXpressoIDE_11.7.1_9221\ide]”
LikeLike
I assume ‘make’ is found on your system? Can you check if the project is configured to use the ‘internal make of the external one? Check project properties > C/C++ build > Builder Settings
LikeLike
My project properties > C/C++ build > Settings tabs is all blank, nothing is appearing here : (
LikeLike
So it means that the Eclipse plugin for dealing with the project is missing? I have the ‘Eclipse Embedded C/C++’ (formerly GNU MCU/ARM Eclipse) by Liviu Ionescu installed. The same plugins are part of KDS, and you can install it through the Eclipse Marketplace (menu Help > Eclipse marketplace). I usually have it installed on all my Eclipse versions. Can you try this?
LikeLike
Yes, I did this (Eclipse Embedded C/C++ installed) but it continues all blank : (
LikeLike
I’ve managed to solve the problem: followed the instructions you mencioned here
installed MinGW, Java, configured Java, etc… I had a lot of work here, but finally it worked!
LikeLike
Congratulations!
I’m wondering why you need MinGW. Anway, you have it working now.
LikeLike