Important changes to forums and questions
All forums and questions are now archived. To start a new conversation or read the latest updates go to forums.mbed.com.
7 years, 4 months ago.
"No ST-LINK detected" error message, when trying to connect with ST-LINK Utility
I have a nucleo stm32f401RE board and it has been working fine for the most part. Here recently, I followed a tutorial in the book "mastering stm32", where it said to install openocd. I had been following along before this as well, and I had been able to connect to my board and flashing it with no problem. After attempting to get openocd to work though, this is no longer possible. Every time i try to connect to my board, I simply get the following error message:
I have tried updating the drivers multiple times, rebooting the board, reinstalling the ST-LINK Utility, switching the USB-Cable, resetting the board and reinstalling everything and I have also tried the trick where you hold down the reset button and try to erase the chip. So far, none of this has worked for me unfortunately. The link below is a picture of my board:
I am using Windows 10 as my OS on my desktop and I am using FreeRTOS on my board. Below is a link to an image of my device manager:
I have also tried to update the firmware on my board using the ST-Link upgrade, but without luck. I simply get the following when attempting to upgrade the ST-Link:
(In the second image in the album in the link above, I simply don't get the option to choose another device).
I have not been able to find a solution for this anywhere, so I hope you guys can help! If there is anymore relevant information needed, just let me know. Thank you very much.