Debugger/programming device ST-LINK/V2-1 with SWD connector.Additional connectivity: Arduino™ Uno Revision 3 connectivity and STMicroelectronics Morpho connection.STM32 Nucleo developer board with STM32F401RE MCU, 512-KB flash memory.The mbed-enabled ARM® board has an integrated ST-LINK/V2 circuit debugger/programming device (SWIM/SWD) to connect to the on-board STM32F401RE or to an appropriate STM32 MCU in your application. The Nucleo ST Morpho pin bases increase the functions of the Open Development Platform (ODP). The Nucleo development board connects to the Arduino™ and supports most shields. Easy-to-use development platform, offering a fast solution for evaluation and development with any Arm Cortex™ M4 processor-STM32 F4 32-bit flash microcontrollers in the LQFP64 package. Since the ST-Link part is independent it will still be detected by the STM32 ST-Link Utility (but you will have to put the jumpers back if you want to actually program your microcontroller).The STMicroelectronics STM32F401RE Nucleo board allows you to create and evaluate your own prototypes with the STM32 F4 family of high-performance microcontrollers in an integrated application. You can also try to remove the SWD jumpers (connector CN2) on your board to detach the ST-Link from the built-in microcontroller part. Reinstall only STM32 ST-Link utility (if you did uninstall the drivers correctly, it should ask you the permission to install the drivers during set up) and try to connect your board. Try to uninstall everything (and I mean everything) related to the STM32 (openocd, STM32 ST-Link Utility and its driver through Device Manager). And since you did say that it worked before you install openocd, I would suggest the driver part in W10 that may be the root of your problems. My point is that if you have the "No ST-Link detected", the issue, I am quite sure, doesn't come from the microcontroller part but comes from the ST-Link part. The STM32 ST-Link Utility uses the ST-Link part of your board to flash it. The ST-Link part is used to flash the microcontroller and can be used to flash any other STM32F4 device through SWD. The rest with the actual microcontroller.You can now click on the preferred driver in this list and have it replace whatever driver was assigned to the device before.įrom what I have learned and understood (but everyone can correct me :)), your board is divided in two parts : If you do not see those, try installing the ST-Link utility again (no need to uninstall anything) or download just the driver from the STM website. The ST-Link utility, however, wants a dedicated driver, developed by STM - those are the two entries below on my picture. The first two are generic libusb drivers, not specific to the dongle (OpenOCD is happy to use either of those, if I remember correctly). You see that in this example at least four different drivers available on the system are happy to service the device. Then click "Update Driver", then "Browse my computer for driver software", then "Let me pick from a list of available drivers on my computer", and you should see something like that: Instead, open Device Manager, find your STM32 STLink device, double-click to open the Properties dialog. Moreover, the reinstallation procedure most probably won't help, because the uninstallers usually do not uninstall the drivers anywa, and Windows will keep prefering the same wrong driver. ![]() However, you do not need to "uninstall and reinstall everything" to select the correct driver, assuming that you have already installed it once before. Thank you very much.Īs mentioned in other answers, the problem is almost certainly due to a competing driver (something like libusb) taking control of the device. ![]() I have not been able to find a solution for this anywhere, so I hope you guys can help! If you need any further relevant information, just let me know. exe app, I just get the following error messages: No ST-Link device detected When attempting this, I either do not have the option to select my device (when using the. I have also tried to update the firmware on my board using the ST-Link upgrade, but without luck. Here you find an image of my Windows Device Manager. So far, none of this has worked for me unfortunately. ![]() 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. Every time I try to connect to my board, I simply get the following error message: No ST-LINK detected 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.Īfter attempting to get OpenOCD to work though, this is no longer possible. Here recently, I followed a tutorial in the book And it has been working fine for the most part.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |