2019-03-22 03:51 AM
I ordered one of these xnucleo-f103rb boards, but I cannot get the included STLink-V2 mini dongle to connect to it. TrueStudio prompted me to upgrade the programmer firmware when I connected it, which I did. I'm running Ubuntu and have installed the stlink drivers, and it won't flash anything:
$ st-flash --format ihex write blinky.hex
st-flash 1.5.1-21-gc6836b4
2019-03-22T11:17:14 INFO common.c: Loading device parameters....
2019-03-22T11:17:14 WARN common.c: unknown chip id! 0x5fa0004
I've verified that program works on a blue pill (when I change the compilation target MCU from F103RB to F103C8, of course).
Neither TrueStudio nor the STLink GUI program will connect to the board either.
Error in initializing ST-LINK device.
Reason: No device found on target.
I can, however, see the board and programmer via lsusb:
Bus 001 Device 032: ID 10c4:ea60 Cygnal Integrated Products, Inc. CP210x UART Bridge / myAVR mySmartUSB light
Bus 001 Device 030: ID 0483:3748 STMicroelectronics ST-LINK/V2
So what's stopping me from connecting to the board?
2019-03-22 05:06 AM
This seems a custom non-ST board... Ask waveshare?