Install STM32 Cube Programmer on Ubuntu 18.04


export PATH=/home/yourusername/STMicroelectronics/STM32Cube/STM32CubeProgrammer/bin 
  • Run source ~/.bashrc
  • install open jdk sudo apt install openjdk-8-jre-headless
  • choose open jdk 8 sudo update-alternatives --config java
  • install open jfk
apt purge openjfx
apt install openjfx=8u161-b12-1ubuntu2 libopenjfx-jni=8u161 b12-1ubuntu2 libopenjfx-java=8u161-b12-1ubuntu2
apt-mark hold openjfx libopenjfx-jni libopenjfx-java
  • For activate serial flashing sudo apt-get install libusb-1.0-0
  • cd to installation STM32Cube installation directory
cd /home/yourusername/STMicroelectronics/STM32Cube/STM32CubeProgrammer/Drivers/rules

sudo cp *.* /etc/udev/rules.d/

  • Done

Happy Coding Salam Ngoprek …

Ditunggu komennya ...

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 )

Google photo

You are commenting using your Google 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 )

Connecting to %s

This site uses Akismet to reduce spam. Learn how your comment data is processed.