MCU10.2 on Ubuntu 12.04 64bit

In my class a student wanted to run CodeWarrior MCU10.2 (announced here) with Ubuntu 12.04 (Precise Pangolin) on a 64bit notebook. According to the Freescale Website, that version of Ubuntu is not supported. And indeed, if you install CodeWarrior and launch it, it does not work. The splash screen comes up, but then it aborts. Claiming in the workspace/.metadata/.log file that it cannot find the libswt-gtk-java and libxtst6 packages.

So there is hope, and indeed there is a solution:

  1. Install ia32-libs (you find them in synaptic package manager)
  2. Go to http://www.ubuntuupdates.org/package_metas
  3. Search for libxtst6_1.2.0 and download the 32-bit deb
  4. Search for libswt-gtk-3-jni_3.7.1 and download the 32-bit deb
  5. Search for libswt-gtk-3-java_3.7.1 and download the 32-bit deb
  6. Install the packages with sudo dpkg – i ‘path of the pkg’ in the same order as you downloaded it. (has to do with dependencies).
  7. Open CW with ./cwide, and now everything should be fine 🙂

Kudos to David Reber providing above solution!

As an additional hint: there is a README.txt present in the installation CD/archive which has additional detailed steps for troubleshooting installation on Linux (thanks to Teo for providing that hint!)

Happy Ubunting 🙂

Advertisements

2 thoughts on “MCU10.2 on Ubuntu 12.04 64bit

  1. Did the student using Ubuntu 12.04 have any issues with getting the “FRDM-KL25Z” or “BOOTLOADER” storage devices to enumerate when plugging the board into their system? With a brand new board, I originally got the “FRDM-KL25Z” partition, but when plugging in holding the reset button down, the “BOOTLOADER” drive does not appear. Using a Windows 7 machine at work, both devices appeared as expected. I then upgraded the Debug and MSD apps to the latest from PEMicro (1.02 and 1.05 respectively), verified they work under windows, but now none of the drives appear under linux.

    I did notice that there are Linux drivers provided by PEMicro, but they seem to be bound to a 2.6 kernel, and don’t compile against 3.2.

    Any suggestions?

    Like

What do you think?

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s