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:Jump to solution
This is usually caused by issue with the ST-LINK debugger connection try troubleshooting, if everything is okay, then its a hardware fault
3 Replies
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
i try to update the firmware using stm32cude programmer software - but its telling , stlink device lost the connection while exiting upgrade mode
Solution
This is usually caused by issue with the ST-LINK debugger connection try troubleshooting, if everything is okay, then its a hardware fault