This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

Keil uVision4 download code fails

I am downloading the code to STM32F103C8 through SWD using Keil uVision 4, however I always get an error "Cannot Load Flash Programming Algorithm!". In Keil, I set "Use ST-Link Debugger for Flash Programming" and the Programming Algorithm is chosen as "STM32F10x Med-density Flash".

If I use STM32 ST-Link Utility, the code is downloaded successfully.

Any idea why the Keil download fails? Thanks!

Parents
  • I already searched for the answer in the forum before posting it. I tried many settings, e.g., choose low-density or high-density flash, change the size of RAM for Algorithm,check "Download to Flash" box, none of them works. It always report the "Erase Failed" error.

    What is the correct settings for STM32F10x device?

Reply
  • I already searched for the answer in the forum before posting it. I tried many settings, e.g., choose low-density or high-density flash, change the size of RAM for Algorithm,check "Download to Flash" box, none of them works. It always report the "Erase Failed" error.

    What is the correct settings for STM32F10x device?

Children
No data