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
Umesh Lokhande6mo ago
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
accur4te6mo 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
Enthernet Code6mo ago
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