Купил плату и программатор в радиомагазине, скачал stlink с гитхаба, пытаюсь им опознать программатор но что то как то никак, теперь не знаю как все это дело подружить.
./st-flash --debug /dev/stlinkv2_1 erase
st-flash 1.5.1-30-g84f63d2
2019-06-07T22:19:08 WARN sg.c: Failed to find an stlink v1 by VID:PID
2019-06-07T22:19:08 ERROR sg.c: Could not open stlink device
./st-flash write blink.ihx 0x08000000
st-flash 1.5.1-30-g84f63d2
2019-06-07T22:34:11 INFO common.c: Loading device parameters....
2019-06-07T22:34:11 WARN common.c: Invalid flash type, please check device declaration
Bus 005 Device 002: ID 0483:3748 STMicroelectronics ST-LINK/V2
[ 8520.844184] usb 4-5: USB disconnect, device number 2
[ 8520.844423] pl2303 ttyUSB0: pl2303 converter now disconnected from ttyUSB0
[ 8520.844461] pl2303 4-5:1.0: device disconnected
[ 8527.964750] usb 4-5: new full-speed USB device number 3 using ohci-pci
[ 8528.174072] usb 4-5: New USB device found, idVendor=0483, idProduct=3748
[ 8528.174076] usb 4-5: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[ 8528.174078] usb 4-5: Product: STM32 STLink
[ 8528.174080] usb 4-5: Manufacturer: STMicroelectronics
[ 8528.174082] usb 4-5: SerialNumber: RÿkI\xc2\x84VVFU\xc2\x87
[ 8997.181946] usb 4-5: USB disconnect, device number 3
[ 8998.749279] usb 4-5: new full-speed USB device number 4 using ohci-pci
[ 8998.957316] usb 4-5: New USB device found, idVendor=0483, idProduct=3748