[ubuntu stm32]SEGGER Jlink
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
sudo dpkg -i JLink_Linux_V640_x86_64.deb
ERROR:
jlink depends on libncurses5 (>= 5.5), so isn't installed, so install it with command:
sudo apt install libncurses5-dev
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.
r
g
erase
loadfile *.hex
loadfile *.bin 0x08000000
loadbin *.bin 0x08000000
Sugest: STM32 also can simulator in qemu.
(end)
浙公网安备 33010602011771号