cancel
Showing results for 
Search instead for 
Did you mean: 

Hello, I am new to STM32 and keil µvison5.I have a STM32F407VGT6 I wrote a code and it's build successfully . But when I try to load ,it says "NO ST-LINK detected "Cannot enter debug mode" and "Error:flash Download Failed-Target DLL has been canceled"

NSOLT.1
Associate II

I reinstalled everything from keil to the st-link utility. I reinstalled the driver en.stsw-link009 . But still the same problem. Also it's not detected by the st-link utility.

So, any solutions ?

6 REPLIES 6

And you have an ST-LINK or board with one on it?

Do you see it in Device Manager?

Try a different cable, USB charging cables that don't have data wires won't work.

Tips, Buy me a coffee, or three.. PayPal Venmo
Up vote any posts that you find helpful, it shows what's working..
NSOLT.1
Associate II

Do you mean the jumpers? Yes they're there.

Well, it was under the "Universal Serial bus devices" but since I deleted it, I couldn't return it back even though I reinstalled the driver.

I will try to buy another cable tomorrow.

NSOLT.1
Associate II

It's an usb 2.0 . So it transfer data isn't it ?

NSOLT.1
Associate II

Also when I plug in the board, there's some LEDs that turn on, but the pc makes no sound

What board are we talking about? STM32F407G-DISCO or DISC1

What version of Windows?

Using a USB Hub or Docking Station?

DELL laptop? AV Software?

Corporate machine with limits on USB Mass Storage devices?

Tips, Buy me a coffee, or three.. PayPal Venmo
Up vote any posts that you find helpful, it shows what's working..
NSOLT.1
Associate II

-How to know DISC0 or DISC1 ?

-Windows 10

-I am using the computer port

-Yes I am using Dell vostro 15.I don't have any AV software except windows defender

-I didn't understand your last question.

-And thank you for your time