AnsweredAssumed Answered

STM32F4 discovery board on Linux

Question asked by simox on Jul 27, 2013
Latest reply on Aug 2, 2013 by fm
Hi all,

I am writing here because I am experiencing problems running the STM32F4 discovery board on a Linux distribution (Slackware 14.0).

Precisely, it seems there is some problem with the communication between the operating system & the onboard ST Link/V2.

After plugging the device the output of the the dmesg is as follow
[ 1069.103049] usb 7-1: new full-speed USB device number 4 using uhci_hcd
[ 1069.263099] usb 7-1: New USB device found, idVendor=0483, idProduct=3748
[ 1069.263103] usb 7-1: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[ 1069.263106] usb 7-1: Product: STM32 STLink
[ 1069.263109] usb 7-1: Manufacturer: STMicroelectronics
[ 1069.263111] usb 7-1: SerialNumber: VÿkIpST4‡

and lsusb
. . .
Bus 007 Device 004: ID 0483:3748 SGS Thomson Microelectronics ST-LINK/V2
. . .

The kernel I am using is the 3.2.45.

So, I tried two programs in order to programming the flash of the onboard STM32F407 microcontroller.

qstlink2 and the texane stutil.

Both don't work. On a friend's laptop the qstlinkv2 program works with no problems using a Ubuntu 12.1 distro. With my laptop and same distribution it doesn't work...

Running the qstlinkv2 program, the ST Link/V2 is recognized and then the communication falls.

In the hours I will can post the output of the execution of the both programs, also through strace debugging.

I hope someone can help me with this issue, maybe I am doing something wrong.

Thanks in advance.