2020-01-15 12:20 AM
I am trying to program write ST32L051 boards with stlink utility and stlink / v3 in auto mode, but the v3 probe does not recognize the board's SWD port. Of course, firmware updates and drivers are up to date.
Is it related to the firmware version of stlink/v3?
2020-01-15 01:58 AM
It is probably related to the firmware running, or better sleeping in the L051. Did you try to connect under reset?
2020-01-15 04:00 AM
Drop the connection speed to a couple of MHz. Not 24
2020-01-15 03:38 PM
Thanks for the answer.
I did that but it doesn't work.
2020-01-15 03:40 PM
Thanks for the answer.
I did with 4MHz.
2020-01-15 06:33 PM
Perhaps you're going to need to focus on the connectivity, and if an ST-LINK/V2 or J-LINK behave similarly.
If NRST isn't connected it limits the ability to "connect under reset"
Check also that PA13/PA14 aren't reconfigured, or the core placed in a low power mode.
Try with BOOT0=HIGH to see if it is your code in FLASH giving you headaches.
2020-01-15 10:13 PM
Thanks for the answer.
I tried to keep on following. If I do st-link / v2 the automatic mode works fine. If I set it to st-link / v3, the first one is used and the second pin contact is not recognized, and the LED is green. Also, if I unplug and recombine the st-link / v3 USB cable, only the first one is recognized. The same is true if I try changing the f / w version to j2, j3, j4. Which part is relevant?