2026-01-16 12:56 AM
Hello,
I have an STLINK-V3MINIE that I've connected to a B-WB1M-WPAN1 board with a 10 lead cable. I'm trying to flash firmware/my code onto the board, but am running into some errors.
First, I tried uploading my code using STM32CubeIDE, but am hitting a "No ST-LINK detected! Please connect ST-LINK and restart the debug session". Sometimes there is also a GDB server error.
Then, I tried connecting and flashing firmware using STM32CubeProgrammer. When I first refresh, the ST LINK is detected and I tried updating it through the "Firmware upgrade" button. In the STLinkUpgrade tool (v3.16.8), I get an "Upgrade canceled, corrupted firmware data", then "Upgrade successful" (sometimes I see "Failure exiting upgrade mode (Error 33)" instead of success). When I refresh the device list and open in update mode again, the version of the ST LINK hadn't successfully updated or changed.
When I try connecting through CubeProgrammer, the connection fails and I see "UR connection mode is defined with the HWrst reset mode". After refreshing the serial number, the ST LINK is no longer detected, and does not become detected again until I unplug and replug the ST LINK.
Throughout the entire process, the LED on the ST LINK is red and the LED on the WB1M is green. I've verified that I'm using USB-C cables capable of data transfer. I've also tried fixes that other people have posted, like restarting my Mac, switching the USB-C cables out, ensuring that Programmer is updated, and switching out both the ST LINK and the dev board.
Any help would be appreciated, thanks in advance!