Hi
I am using STMF429I Discovery Board. I am Using Keil V5. I have downloaded and installed Pack for STM32F429ZITx 2.7.0(2015-12-08_ DFP) and added ST- Link Utility also updated ST-Link firmware to V2J24S0.. I did all the setting for option for Target 'STM32F429-Discovery' setting following STM company videos.. And once programmed successfully but from next I am getting error as "Internal Command Error" then " Error: Flash Download Failed -Target DLL has been cancelled". So can you pl help me?
Thanking You.
Hi Nikhil
It looks like that you have not selected the proper "Flash Algorithm"
Go to "Options for target" -> "Debug" -> select ST-Link Debugger -> click "Settings" -> change tab to "Flash Download" -> and "Add" the flash algo "STM32F4xx Flash 1M" and remove any other Flash algo (if there is any already present)
Then you should be able to flash.
Hello Sankalp
Yeah my board has 1M flash but in flash algo table it is not there so I have selected STM32F4xx 2MB Flash but then also not working.. Is there other solution like adding STM32F4xx Flash 1M or other way?
Hey
Generally these algos are in the DFPs
So it should be somewhere in : \Keil_v5\ARM\Pack\Keil\STM32F4xx_DFP\2.7.0\CMSIS\Flash\
Just copy the correct flash algo from different pack to the correct pack and afterwards you should be able select the algo corresponding to this disco board.