STM32F4 Discovery Board¶
Setup STLink for on circuit debugging¶
- Download stlink from this [git repository](https://github.com/texane/stlink)
- Follow “README” to build to tools and set up udev rules
- Connect the board to PC and check if the OS has detected stlink correct
$ lsusb
$ ..
$ Bus 001 Device 041: ID 0483:3748 SGS Thomson Microelectronics ST-LINK/V2
$ ..
If the tool shows permission restriction when starts, use this command:
$ sudo chmod 777 /dev/bus/usb/002/004