1.In fact, Jlink driver-program is a normal USB driver-program, so it's already inexit in ubuntu.
If you insert the Jlink fhrouht USB interface, you will fought that /dev/ttyACM0 is added to there.
So you can use Jlink now without insalled anything.
2.Goto official site https://www.segger.com/ to download Jlink software.
3.Install
ERROR:
jlink depends on libncurses5 (>= 5.5), so isn't installed, so install it with command:
Installed files lacation:
(1)So the J-Link executables are installed in /usr/bin
. and /opt/SEGGER/JLink/
(2)The install procedure automatically adds /etc/udev/rules.d/99-jlink.rules to define the USB IDs of the J-Link devices. No other drivers are required.
4.Debug STM32.
NOTE: Maybe need to re-insert the USB port.
(1)Connet the device.
(2)Operaton command.
Sugest: STM32 also can simulator in qemu.
(end)