Over a million developers have joined DZone.

Adding Processor Expert to Atollic TrueSTUDIO

· Java Zone

Check out this 8-step guide to see how you can increase your productivity by skipping slow application redeploys and by implementing application profiling, as you code! Brought to you in partnership with ZeroTurnaround.

For me as an Eclipse and Processor Expert lover, a press release that Atollic supports Processor Expert caught my eye :-). So there is yet another way to use Processor Expert: with a commercial Eclipse IDE provided by Atollic (http://www.atollic.com/).

Atollic Splash Screen

Atollic Splash Screen

Time to check it out…

Atollic TrueSTUDIO

TrueSTUDIO is Eclipse based, and everything with Eclipse in it is of interest for me :-). It is based on Eclipse 4.3 (Kepler) with custom extensions. There is a free download for a 32 KByte (8 KByte on Cortex-M0+) code size limited version (Atollic TrueSTUDIO Lite) available from http://www.atollic.com/index.php/download/truestudio-for-arm

However, installing 3rd Party Eclipse plugins is NOT possible with the Lite version :-(. But I can download the Pro Edition and use it for 30 days (Evaluation Edition). Atollic provided a temporary license to me so I can evaluate it and try it out with Processor Expert. For this article I’m using Atollic TrueSTUDIO for ARM, V5.2.0 Pro.

Adding Processor Expert

Adding Processor Expert to Atollic is not different than for normal Eclipse (see “DIY Free Toolchain for Kinetis: Part 8 – Processor Expert, Eclipse and GNU ARM Eclipse Plugins“, just see the steps about Processor Expert). Here are the steps summarized:

  1. You need first install an Eclipse Updater. This allows the Processor Expert files outside of the Eclipse folder can be installed and updated.
  2. Then install the Processor Expert Driver Suite Eclipse Plugins
  3. Recommended: Install any Processor Expert updates (at the time of this writing this is the Update 10.4.2)

Offline or Online Installation Method

You can do Eclipse updates either offline (download the update, then install it from your local hard drive), or online (connect to the update repository, then do the update while connected to the internet). I prefer the offline update: I can download it once, and install it many times. Additionally, I avoid problems with my internet connection being reset, as the downloads can be easily > 100 MByte.

In any case, you need to install the Eclipse Updater and Microcontroller Driver Suite 10.4 offline.

The offline files are here:

  1. Processor Expert Driver Suite 10.4 (Microcontrollers Driver Suite v10.4 plug-in for existing Eclipse): http://www.freescale.com/webapp/sps/site/prod_summary.jsp?code=PE_DRIVER_SUITE&fpsp=1&tab=Design_Tools_Tab
  2. Processor Expert Update 10.4.2 (PExDrv v10.4 Update 2): http://www.freescale.com/webapp/sps/site/overview.jsp?code=PEXDRV_UPDATES_10_4

Download the two archives/zip files. The first archive (DriverSuite_10.4_Install_into_Eclipse_3.7_4.2.zip) needs to be unpacked first for installation. With this you should have three update archives:

  1. Eclipse updater: com.freescale.eclipse3.7-4.2.updater.custom.updatesite.zip
  2. Processor Expert Driver Suite 10.4: PExDriverSuite_v10.4_eclipse.zip
  3. Processor Expert Driver Suite 10.4.2 Update: com.freescale.pexdrv10.4.2.zip

Installing Offline Update Files

Install these three archives into TrueSTUDIO, in the above order. Use the menu File > Install new Software and use the ‘Archive’ way to point to the above zip files.

Tip: You can drag&drop the zip file into the updater dialog (menu Help > Install new Software):

Drag and Drop Eclipse Update Archives

Drag and Drop Eclipse Update Archives

First install the Eclipse Updater:

Installing Eclipse Updater in Atollic

Installing Eclipse Updater in Atollic

Go to the dialogs and restart Eclipse as necessary. Then install Driver Suite 10.4:

Installing DriverSuite

Installing DriverSuite

Again go through the installation process and restart Eclipse as requested.

Finally, install the 10.4.2 upate. This update could be installed offline too (see next section).

Installing 10.4.2 Update

Installing 10.4.2 Update

Again, go through the installation process and restart Eclipse as requested.

Congratulations, you have installed Processor Expert into Atollic TrueSTUDIO! :-)

Online Installation Method

Before you can use the online update method, you need anyway to install the Eclipse updater (com.freescale.eclipse3.7-4.2.updater.custom.updatesite.zip) and Driver Suite 10.4 (PExDriverSuite_v10.4_eclipse.zip) from the offline files (see above).

But from then on, If you prefer to install the updates online (and have a fast internet connection), then use the following Eclipse update site:

http://freescale.com/lgfiles/updates/Eclipse/PExDrv10_4/com.freescale.pexdrv.updatesite

Now I can install updates, including that 10.4.2 update online:

Installing Processor Expert Updates from Online Update Site

Installing Processor Expert Updates from Online Update Site

With the same updater I get now updates for new devices or Kinetis SDK updates (see above screenshot).

Summary

With this, I can create and use Processor Expert projects with TrueSTUDIO:

Atollic TrueSTUDIO with Processor Expert Project

Atollic TrueSTUDIO with Processor Expert Project

Now I can use Processor Expert as usual: creating Processor Expert projects, adding components, generating code, etc.

It is too bad that the Lite edition does not allow to install other Eclipse plugins. Having the ability to use Processor Expert in TrueSTUDIO is a big plus, and installation of Processor Expert is not different than to any other Eclipse based IDE’s. It is just that Processor Expert needs first an update installed to update the updater :-), but afterwards it can be updated online too. But for slow network connections I recommend to use the offline method.

I have started using TrueSTUDIO, and it looks really clean and polished, with nice features to explore. And it is good to know that there are commercial versions of Eclipse based products, as sometimes my university research partners ask for that. Now I can add TrueStudio to my list of commercial Eclipse IDE’s with Processor Expert support. I wish that the Lite edition would allow to install the Processor Expert plugins too: that would be nice and low entry point to the development for ARM microcontrollers, altough 8 KByte for Cortex-M0+ is a really low code limit. But anyway, that would be at least a starting point.

Happy Atolling :-)

 

The Java Zone is brought to you in partnership with ZeroTurnaround. Check out this 8-step guide to see how you can increase your productivity by skipping slow application redeploys and by implementing application profiling, as you code!

Topics:

Published at DZone with permission of Erich Styger, DZone MVB. See the original article here.

Opinions expressed by DZone contributors are their own.

The best of DZone straight to your inbox.

SEE AN EXAMPLE
Please provide a valid email address.

Thanks for subscribing!

Awesome! Check your inbox to verify your email so you can start receiving the latest in tech news and resources.
Subscribe

{{ parent.title || parent.header.title}}

{{ parent.tldr }}

{{ parent.urlSource.name }}