2007-01-16 08:06 PM
2011-05-17 12:35 AM
Bit more info needed - Device, Toolchain, OS, own hardware ?
Regards sjo2011-05-17 12:35 AM
Dear all,
while dumping the code into flash we are encountering an error as ERROR:Flash download failed - Target DLL has cancelled. this is happening quite frequently,why? what is the solution for it. thanks in advance. anuradha.2011-05-17 12:35 AM
Dear Sjo,
we are using MCBSTR9 Evaluation Board(Keil) with ULINK(JTAG Debugger). STR912FW44 is the microcontroler. IDE: Keil's uvision 3.03 OS is Win2000 NT. we are facing a problem while downloading program into flash, everytime the program is changed.. various error messages that are comming are: 1.JTAG Communication failed 2. Cannot enter Debug Mode Erase Failed 3. Cannot enter flash downloading algorithm Erase Failed 4. Flash download failed - Target DLL has cancelled. to rectify this we are following these steps. 1- Power-down the board. 2- Power-on the board while keeping the board RESET button pressed. 3- start a program erase (keeping the RESET button pressed). ( full chip erase) which is not advisable to be done frequently. please suggest us a solution as early as possible. with regards, HBL team.2011-05-17 12:35 AM
Dear anuradha;
This behavior is known, in fact, when you’re in low power mode or sleep mode, etc you can face this kind of problem. Is it your case? Can you give us more details about the code ;) Nevertheless, it is possible to prevent the JTAG connection's lost by software. In fact, try to do not enter in these particular modes before the debugger get a connection with the target, using an interruption (push a button to enter in these modes). >Flash download failed - Target DLL has cancelled. For erasing try to use CAPS it could be better Goodluck :D