2015-06-26 02:14 AM
Dear
I tried to upload build output(.axf) into flash of STM32F411, but it failed.- Internal command error - Error: Flash Download failed - Target DLL has been cancelled.I used STM32F411 Nucleo board pulled out two jumpers for ST-link not Nucleo. Target board is my own board before it succeed on loading. The target board is consists of STM32F411. I started to develop from Nucleo, then moved to target board.Loading .axf process is succeed on Nucleo, but when I used it as ST-link with the other target board it failed.Wiring is same as before.Is there any suspicious things?Regards,Jiwon #st-link-stm32f4112015-06-26 08:39 AM
The usual things to worry about are having a common ground, and using NRST, that the onboard target is completely disconnected, and not interfering with the SWO/NRST pins in addition to the SWDIO/SWCLK pins.
If the target part isn't starting/functional, then an SWD connection isn't going to be any more functional.Address the basics first, make sure your digital and analogue supplies are present. The BOOTx pins are in the state you need. That 1.25V volts can be seen at the VCAP pins. That NRST isn't stuck in a low state.If you have USART1/USART3 connectivity, check you can enter the System Loader, and that it is responsive.