This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

st-link problem

hi guys,

I have a problem!
I am tryin' to program a STM32F407VGT microcontroller, but when I connect the programmer the
st-link debugger keeps sayin' "no st-link detected" . I have installed the st-link usb driver
over and over but didn't help. usin' the utility doesn't change anything as well.
please help...
(I'm using keil u vision 5 by the way)

Parents Reply Children
  • So if ST's own utility also can't detect the STLink, that clearly shows that it is a fundamental problem with the STLink and has nothing to do with Keil

    So you need to contact ST support to resolve this.

    Have you tried the ST forums?

  • Ok, so perhaps you haven't built this one properly?

    Check for obvious electrical issues like shorts, opens, lack of power, etc. that might interfere with connectivity, or cause the ST-LINK to malfunction.

    Do you have other interfaces you could try? Say USART or USB in boot mode?

  • Good point!

    So, another thing to check: Is the STLink detected OK when it's not connected to your board?

    I think it would have to be quite a gross error to actually stop the STLink working!

    Note that the error "STLink not detected" is distinct from "Cannot connect to target" errors (in the ST Utility, at least):

    * "STLink not detected" means that the PC cannot see the STLink at all - check in Device Manager;

    * "Cannot connect to target" errors mean that the STLink can be seen, but then there's a problem connecting to the target.

    Is it a genuine, standalone STLink - from ST?

    Is it a genuine, embedded STLink - on a Discovery or Nucleo board?

    Or is it a cheap knock-off from ebay, etc?

    If it's a cheap ebay knock-off, check the target connector pinout carefully - there are some identical-looking units which have different pinouts!!