2021-01-19 11:58 PM
I have been struggled for several days. I have to plug in the board very quick and open the firmware update page on stm32 cubeIDE and update. After update, I can debug and can only last for 5 to 10 seconds. After that, I have to unplug and replug again and update the firmware again to be able to debug. Otherwise, keep showing: ST-Link firmware verification - No ST-LINK detected
2021-01-20 12:24 AM
Hello,
To put you post in the right forum topics, could you please give more information on the product you are using (STM32 part number, nucleo/disco/etc.. board reference, ST-Link standalone, version, etc...).
Regards.
2021-01-20 12:33 AM
2021-01-20 12:56 AM
Hi,
For STLink firmware upgrade, you can use directly the menu Help => STLink upgrade.
You only need to do it once normally.
Did you install STM32CubeIde or update the version ?
You must install STM32CubeIde (v1.5.1 is the latest) with the installer to have STLink server installed.
Rgds,
Laurent
2021-01-20 01:05 AM
2021-01-20 01:15 AM
Try to use the installer to install the STM32CubeIde (v1.5.1).
It will install the STLink usb driver (though you have them already with v1.3.0 install) and the latest STLink server tool and then you should be able to debug.
Check the usb cable and also the usb connector, maybe there is an issue on the USB connector of nucleo board ?
In Windows Device Manager, If you can see the STLink debug in USB devices, it should be ok.
What you could do also is to install STM32CubeProgrammer and mass erase the device to be sure you don't have an application code messing with the board.
Rgds,
Laurent
2021-01-20 02:08 AM
Hi,
I did used the installer to install the STM32CubeIde (v1.5.1). And I have to used the above process to debug otherwise it always shows No ST-LINK detected.
I checked and I know it has latest STLink server tool but I think on my laptop is not working. I changed several usb cables and I just bought a new nucleo board and still not work.
In Windows Device Manager, I can see the STLink debug in USB devices, but still not work.
I tried to manually search for the driver in ST folder and it cannot be changed.
In STM programmer, I have to do the same thing to be able to find the board: quickly install the usb and click "firmware update" and it can be detected for just several seconds. Btw, How do I mass erase the device?
2021-01-20 02:11 AM
2021-01-20 02:35 AM
Mass erasing the device can be done with the eraser (bottom left button).
I suggest you to connect with hardware reset and connect under reset.
But you must solve your stlink issue first I suppose.
2021-01-20 02:47 AM