Error Flash Driver Function Execute Timeout Program Download Failed


Hi everyone I am Using STM32L-discovery Board but I can not access Flash C: CooCox CoIDE>'C:/CooCox/CoIDE/bin coflash.exe' program STM32L152RB 'C:/CooCox/CoIDE/workspace/blinking/blinking/Debug/bin/blinking.elf' --adapter-name=ST-Link --port=SWD --adapter-clk=1000000 --erase=all --reset=HW --driver='C:/CooCox/CoIDE/flash/stm32l1xx_128.elf' Error: Flash driver function execute timeout Erase: [ 0%] Program Download Failed! How do I solve this problem. Hello Mfatih55, I experienced this exact problem myself. It appears that the Coflash program integrated into the current CoIDE is causing problems with stm32f407VG (which I have). However, if you use the CoFlash version installed via CoCenter, it works fine.
The only problem is that you cannot point CoIDE to use the correct one (it should be configurable via global properties). What I did is: I copied the coflash.exe program + all accompanying files from the correct version of CoFlash (it installs in C: Program Files (x86)) into the CoIDE's bin folder (where coflash.exe resides).
DLL 4.91.2.0 (DLL for using J-Link / J-Trace with third-party programs JTAG driver) - TCL Toolchain including tclsh can be downloaded from the following URL. Fix NAND FLASH erase all script hangs issue - fix Error with custom board using custom lowlevel init - fix 'EraseBlocks wrong block calculation' - fix 'Start. System Error Codes (1000-1299). The programmatic and the run-time context in which these. State was vetoed by another application or driver. Fix most file download errors If you try to download a. Get help with a specific error message 'Network failed'. Check your virus-scanning software for details. Right click the Removable drive, Go to Properties >Tools. I have a 1GB Kingmax Flash drive which has failed to. And Format USB Flash Drives and.
Now I can flash stm32F4 Discovery directly from the IDE. Probably it was not the coflash.exe program itself which had caused the timeout problem but some of the other files (dll's for example). At first I only copied coflash.exe and it did not work either. Only after I copied all the files. To find out which particular ones are responsible for the timeout would require quite some work:-).
For some reason built-in debugger sometimes gives an error: 'Flash driver function execute timeout'. Fujitsu Siemens Esprimo Mobile V6535 Drivers Windows 7 Wireless here. Sometimes 'erase' is OK, and it is starts to write program but then failed, because after error I saw flash in ST-LINK Utility - it was a little bit 'flashed'. Sometimes everything is OK. Sometimes erase is failed. (coide 2.0.3 beta, not official st-link v2 ('Baite'-functional analog st-link v2, V2.J23.S4 firmware), win7 and win8.1), stm32f103cbt6 (maple-mini board)) I tried different frequency and reset modes.
If using ST-LINK Utility 3.6.0 this problem doesn't observe.



