Installing NXP MCUXpresso In Linux

I read a blogpost on mcuoneclipse about MCUXpresso installation and I downloaded the installation files for MCUXpresso from NXP and headed for the terminal to install, only there was an error about some P&E probe udev permissions file failing to be overwritten during the installation process. I found the answer in the support forums and here are the steps to follow:

  1. Download the installation file from NXP’s IDE page
  2. press CTL+ALT+T to open a terminal, change to the directory where the file is and run the binary file with –keep option. It will fail but leave the extracted folder with files behind for the next step
    cd Downloads && sudo ./mcuxpressoide-10.0.0_344.x86_64.deb.bin  --keep
  3. Get into the install folder and open the install script in a text editor
    cd install && sudo gedit
  4. Add the –force-overwrite option to the dpkg command by editing line 35 in the file, save and close gedit
    dpkg -i --force-depends --force-overwrite mcuxpressoide-10.0.0_344.x86_64.deb
  5. Run the install script
    sudo ./install

You should be home and dry.

MCUXpresso IDE Welcome

MCUXpresso IDE Welcome

The mcuoneclipse post already has all the info on downloading the SDK and adding them to MCUXpresso, so just head there for that. No need to replicate everything… Just make sure you select Linux as your OS and MCUXpresso as your IDE when creating an SDK configuration.

Bluetooth not working in Ubuntu 16.04: blocked by rfkill 

I installed Ubuntu on my HP probook 6460b and everything apart from the fingerprint scanner (not really useful) worked out of the box. Lately I was shocked to see that Bluetooth wasn’t working. I tried to go to the settings GUI and click the connection toggle button, but it would toggle right back to the off position, meaning it was not possible to make a connection. Nothing the GUI can help with here. The HP computer was also not visible on my phone’s Bluetooth devices list.

rfkill list
0: hp-wifi: Wireless LAN
	Soft blocked: no
	Hard blocked: no
1: hp-bluetooth: Bluetooth
	Soft blocked: yes
	Hard blocked: no
2: phy0: Wireless LAN
	Soft blocked: no
	Hard blocked: no

So from the list Bluetooth is blocked by rfkill, no wonder I cannot connect in the GUI. Continue reading “Bluetooth not working in Ubuntu 16.04: blocked by rfkill “