2016-06-26 07:49 AM
Hello,
I have a prototype board with:CP2102 USB - UART portSTM32F103RB(BOOT0 pin is configured highBOOT1 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 detected2. 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-one2016-06-26 08:29 AM
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-LINK2016-06-26 08:48 AM