We are running a survey to help us improve the experience for all of our members. If you see the survey appear, please take the time to tell us about your experience if you can.
I can download the hex file through J-Flash. However, when I click download button in Keil, there is a Cortex-M Error: "No ULINK Device Found", following "Error: Flash Download failed - Target DLL has been cancelled". I config Keil in that way: Options->Utilities->Use Target Device Driver for Flash Programming->settings->Erase Sections\STM32F10 High-density Flash
So do you have a JLINK or a ULINK, and is that configured properly/consistently in the debug and download panes?
Check drivers, and presence/status in Device Manager.
I am using a J-link and I set Option->Debug->Use "U-link2" a moment ago. Now it works. Thank you very much :-)