In my class a student wanted to run CodeWarrior MCU10.2 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:
- Install ia32-libs (you find them in synaptic package manager)
- Go to http://www.ubuntuupdates.org/package_metas
- Search for libxtst6_1.2.0 and download the 32-bit deb
- Search for libswt-gtk-3-jni_3.7.1 and download the 32-bit deb
- Search for libswt-gtk-3-java_3.7.1 and download the 32-bit deb
- Install the packages with sudo dpkg – i ‘path of the pkg’ in the same order as you downloaded it. (has to do with dependencies).
- 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 🙂
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.
No, it was for MCU10.2. There is no Linux host available for CodeWarrior and the Freedom board, so we are using it on Windows.