[LINUX] St-link V2 does not work after installing IDE 1.4 (BUG?)
- August 13, 2020
- 3 replies
- 2865 views
After installing Linux Ubuntu, I installed STM32CubeIDE 1.4 and this message appeared when trying to access the firmware update:
"Access to ST-Link was denied by the system..."
Then I found this post:
Installing ST-Link v2 to flash STM32 targets on Linux
https://freeelectron.ro/installing-st-link-v2-to-flash-stm32-targets-on-linux/
When trying to execute the first statement,
sudo apt-get install git make cmake libusb-1.0-0-dev
an error occurred:
st-stm32cubeide-1.4.0 : Depends: ca-certificates-java but it is not going to be installed
E: Unmet dependencies. Try 'apt --fix-broken install' with no packages (or specify a solution).
That has been fixed with the suggested command (apt --fix-broken install):
done.
done.
Setting up st-stm32cubeide-1.4.0 (1.4.0-7511-20200720-0928-1) ...
After performing all commands correctly in the post about driver installation, ST-Link was recognized correctly by the IDE.
*** Tip for those who want to try to make this IDE work ***
