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

STM32 flash download failed - Target dll has been cancelled

Hello, I am using Keil uvision 4 (arm-mdk453 package) for STM32VL discovery board. It used to be working properly, but now I'm having a problem when I try to download to flash or to debug. I receive popup messages like ''Internal command error'', ''Flash download failed: target dll has been cancelled''. I did upgrade to (mdk454 package) but still have the same problem. Any help will be highly appreciated.

Best Regards,

Parents
  • Hello.
    Try to use "STVP" from ST (you can find it at whttp://www.st.com, STVP - ST Visual Programmer for programming ST7, STM8, STM8T and STM32, "ST Toolset including ST Visual Develop (STVD)and ST Visual Programmer (STVP)").
    I had the same problem with ST Discovery board(messages like ''Internal command error'', ''Flash download failed: target dll has been cancelled''). I chose "Erase Active sectors" in stvp's menu, and then Keil worked without problems.

Reply
  • Hello.
    Try to use "STVP" from ST (you can find it at whttp://www.st.com, STVP - ST Visual Programmer for programming ST7, STM8, STM8T and STM32, "ST Toolset including ST Visual Develop (STVD)and ST Visual Programmer (STVP)").
    I had the same problem with ST Discovery board(messages like ''Internal command error'', ''Flash download failed: target dll has been cancelled''). I chose "Erase Active sectors" in stvp's menu, and then Keil worked without problems.

Children