Adding Processor Expert to Atollic TrueSTUDIO
Adding Processor Expert to Atollic TrueSTUDIO
Join the DZone community and get the full member experience.Join For Free
Microservices. Streaming data. Event Sourcing and CQRS. Concurrency, routing, self-healing, persistence, clustering...learn how Akka enables Java developers to do all this out of the box! Brought to you in partnership with Lightbend.
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/).
Time to check it out…
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:
- You need first install an Eclipse Updater. This allows the Processor Expert files outside of the Eclipse folder can be installed and updated.
- Then install the Processor Expert Driver Suite Eclipse Plugins
- 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:
- 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
- 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:
- Eclipse updater: com.freescale.eclipse3.7-4.2.updater.custom.updatesite.zip
- Processor Expert Driver Suite 10.4: PExDriverSuite_v10.4_eclipse.zip
- 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):
First install the Eclipse Updater:
Go to the dialogs and restart Eclipse as necessary. Then install Driver Suite 10.4:
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).
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:
Now I can install updates, including that 10.4.2 update online:
With the same updater I get now updates for new devices or Kinetis SDK updates (see above screenshot).
With this, I can create and use Processor Expert projects with TrueSTUDIO:
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 :-)
Published at DZone with permission of Erich Styger , DZone MVB. See the original article here.
Opinions expressed by DZone contributors are their own.