9 years, 1 month ago.

Where can I find ST Link Driver for linux (fedora)?

Question relating to:

Affordable and flexible platform to ease prototyping using a STM32F411RET6 microcontroller.

1 Answer

9 years, 1 month ago.

https://github.com/texane/stlink

STLink setup isnt too bad, but good luck with the whole arm-none-eabi-gcc-cs setup and compiling code. I literally just gave up on trying to use arm and fedora. Back to windows

Remember to add ATTRS{idVendor}=="0483", ATTRS{idProduct}=="3748", MODE="0666" to /etc/udev/rules.d/stlinkv2.rules

Accepted Answer

hi, I install stlink, and can use st-util to detect devices as below.

2016-03-07T21:48:52 INFO src/stlink-common.c: Loading device parameters....

2016-03-07T21:48:52 INFO src/stlink-common.c: Device connected is: F4 device (Dynamic Efficency), id 0x10006433

2016-03-07T21:48:52 INFO src/stlink-common.c: SRAM size: 0x18000 bytes (96 KiB), Flash: 0x80000 bytes (512 KiB) in pages of 16384 bytes

2016-03-07T21:48:52 INFO gdbserver/gdb-server.c: Chip ID is 00000433, Core ID is 2ba01477.

2016-03-07T21:48:52 INFO gdbserver/gdb-server.c: Target voltage is 3261 mV.

2016-03-07T21:48:52 INFO gdbserver/gdb-server.c: Listening at *:4242...

but I still can't find /dev/ttyUSB0. And I can't use USB serial to debug my program. But in Windows, if I install stlink driver, I can use USB VPC(printf) to debug my program.

Do I miss something others???

posted by Ted Lin 07 Mar 2016