cancel
Showing results for 
Search instead for 
Did you mean: 

STM32F0 Discovery Flash Download Error!

Ufuk Varl?k
Associate II
Posted on August 10, 2017 at 10:39

Hello to everyone. I am using Stm32f0 discovery (ST-Link) for the programmer. I will load the to external processor (STM32L011D3P6). I edited the Flash settings in Keil IDE. I get this error:

'' Debugger - Cortex M Error , No target connected ''

'' Flash Download fail ,Target DLL has been cancelled ''

Is the problem can be sourced from flash settings?

Can you help me please ? Thank you.

0690X00000607l9QAA.png
5 REPLIES 5
Tilen MAJERLE
ST Employee
Posted on August 10, 2017 at 11:11

Hello

Varl_k.Ufuk

‌,

please check your wirings and make sure external MCU has power.

Verify that jumpers for ST-Link are removed on your discovery board.

Best regards,

Tilen

Nimit Vachhani
Associate III
Posted on August 10, 2017 at 12:48

Varl_k.Ufuk

‌ - Great. Your post helped me. I am also looking to program my STM32F030R8 with STM32F0 Discovery board. What are the connections required on my target mcu ?

Posted on August 10, 2017 at 15:10

I've check it and problem is solved.Due to the connection error, the target processor feed was 1.5V. Now I can feed 3V. Thank you Tilen

Majerle.Tilen

Posted on August 10, 2017 at 15:12

Minimally SWDIO, SWCLK, and GND, would strongly recommend NRST also.

Reading the manuals and reviewing the schematics is also strongly recommended, host of information in them.

Tips, Buy me a coffee, or three.. PayPal Venmo
Up vote any posts that you find helpful, it shows what's working..
Posted on August 10, 2017 at 15:15

You must make JP2 connector is short current, CN2 socket is open current. Also, CN3 pins must be connected to processor.