Hi,
I got a discovery kit .(stm32l discovery kit) when i try to load some basic
blinky code to my processor - after the compiling - I got some error mesage ;
"No target connected " and "Error : Flash download failed target dll has been canceled "
after this message i did some actions for solving this problem (for example ;
I did ; Utilities --> Debug ---> Connect ---> Choose ,Reset after Connect) but
Nothing solved.
I am demanding your valuable suggestions...
Demand is a bit strong.
To stop your code running on the board, strap BOOT0 HIGH. If this allows connectivity, something wrong with your code, or settings/options.
The debugger cannot connect if power is removed from the debug circuitry (enters a low power mode, etc), or the pins used are reconfigured.
Check and update the firmware in the ST-LINK also, probably quite old.
thanks a lot. İ will try these. ;)
I had the same issue with my discovery board. Changing the cable solved the issue..
Bad USB cables or charging cables can be an issue. Typically the PC won't find the ST-LINK USB device at all in such circumstances.
The OP had a system where the USB device was found, but the Target MCU was unresponsive.