trying to code a stm32 board and receiving this error how to fix it - Target no device found

i am trying to code a stm32 board and receiving this error how to fix it - Target no device found Error in initializing ST-LINK device. Reason: No device found on target.
Solution:
This is usually caused by issue with the ST-LINK debugger connection try troubleshooting, if everything is okay, then its a hardware fault
Jump to solution
3 Replies
Umesh Lokhande
Looks like your STLink is not detected properly by the computer. Try once with the ST-Link firmware upgrade. Please share connection details between the STlink Programmer and the target STM32 board. I suggest to share a picture of your hardware setup
accur4te
accur4te2w ago
i try to update the firmware using stm32cude programmer software - but its telling , stlink device lost the connection while exiting upgrade mode
Solution
Enthernet Code
This is usually caused by issue with the ST-LINK debugger connection try troubleshooting, if everything is okay, then its a hardware fault
Want results from more Discord servers?
Add your server
More Posts
Is it safe to cast the osThreadId pointer to a 32-bit integer for a unique thread ID across platformHey friends, Porting a product to a CMSIS RTOS. We need a 32-bit integer representing the thread IDWhy is power consumption higher in standby mode than stop mode on an STM32F411CEU6?Hey, anyone who might have a clue what's going on? Currently doing some energy-measurements on an STohk then , i will ask my dad to help weohk then , i will ask my dad to help we with few internshipsDIY ESP32-Based Smartwatch with LiDAR and Wi-Fi ScanningThis project features the ESP32 microcontroller, integrating advanced environmental monitoring and ITrying to establish SPI communication between two ArduinosI'm trying to establish SPI communication between two Arduinos. When I directly wire pins 10, 11, 12How can we strike a balance between security and performance in IoT devices?How can we strike a balance between security and performance in IoT devices, especially low-power onManaging Priorities in a CAN Bus Network with Arduino Uno and MCP2515 Moduleshello everyone, i have a project of realizing CAN bus, to achieve it i use two Arduinos uno and two How do I set and manage interrupt priorities in FreeRTOS?@Middleware & OS How do I set and manage interrupt priorities in FreeRTOS? My higher priority interIf I write a Python program with a GUI, can I launch it from the Linux CLI and still get the GUI?I'm expecting the answer to be no, but I want to confirm. If I write a Python program with a GUI, caSeeking open-source project without ST HAL for learning low-level drivers & best practices.@Middleware & OS I'm a Newbie in STM32 dev for few months now. Seeking open-source project without