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,
I have had similar problem with STM32F407 MCU. I was using ST Link 2 for programming/debbugging and solved the issue by downloading latest version of ST Link utility. The cause of my problem was accidentally reconfiguration of jtag ports in software. You can try to erase flash memory by st link utilty first. If it does not help you should install the latest version of it and try to erase flash memory of the device. I wish it helps.
I have been trying this, but every action is responded by the same message ''Internal Command Error'', whether erasing the chip, connecting it again to ST-Link. Only disconnecting works fine. If the chip was damaged, I wonder how the board it working, as it still executes the latest program stored in.