Skip to main content
Visitor II
April 25, 2021
Question

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

  • April 25, 2021
  • 6 replies
  • 1312 views

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 ?

    This topic has been closed for replies.

    6 replies

    Graduate II
    April 25, 2021

    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.

    NSOLT.1Author
    Visitor II
    April 25, 2021

    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.1Author
    Visitor II
    April 25, 2021

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

    NSOLT.1Author
    Visitor II
    April 25, 2021

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

    Graduate II
    April 25, 2021

    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?

    NSOLT.1Author
    Visitor II
    April 25, 2021

    -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