cancel
Showing results for 
Search instead for 
Did you mean: 

No ST-LINK detected

dirktijsen
Associate
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
2 REPLIES 2
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 Up vote any posts that you find helpful, it shows what's working..
dirktijsen
Associate
Posted on June 26, 2016 at 17:48