Skip to main content
dirktijsen
Associate
June 26, 2016
Question

No ST-LINK detected

  • June 26, 2016
  • 2 replies
  • 929 views
Posted on June 26, 2016 at 16:49

Hello,

I have a prototype board with:

CP2102 USB - UART port

STM32F103RB

(BOOT0 pin is configured high

BOOT1 pin is configured low)

Now I try to download some code to the board with Keil uVision.

If I try to do it, the program says:

1. No ST-LINK detected

2. Flash download failed - Target DLL has been cancelled.

I have tried to re-install the CP2102 driver, but it doesn't work.

Does anyone know how to solve this issue?

Thanks in advance,

Best Regards,

Dirk

#you-don't-have-one
    This topic has been closed for replies.

    2 replies

    Tesla DeLorean
    Guru
    June 26, 2016
    Posted on June 26, 2016 at 17:29

    The ST-LINK is an STM32F103 performing JTAG/SWD connectivity, it is not a USB Serial Port. The CP2102 is irrelevant.

    If you want to program the device via the serial port (USART1 PA9/PA10) in the System Loader, you're going to need to use the Flash Loader Demonstrator to deliver a .HEX file generated by Keil. It is not going to be integrated into the IDE. If you need that, you'll want to buy an ST-LINK

    Tips, Buy me a coffee, or three.. PayPal Venmo (See Profile) Up vote any posts that you find helpful, it shows what's working..
    dirktijsen
    Associate
    June 26, 2016
    Posted on June 26, 2016 at 17:48