AnsweredAssumed Answered

codewarrior v8.8 command window problem(mpc8323+in28f128j3flash)

Question asked by zbxggs@163.com on Jun 2, 2020
Latest reply on Jun 5, 2020 by Yiping Wang

hello,I want to use commands to program .bin file into flash in command window.

before this,i use flash programmer to do this. it success. i can erase flash ,program flash and verify .

when i use command winow to do this,the same .xml ,same .cfg and same .bin file.but 

When I erase flash, the command window always returns an error:connect Failed.

the red font below is pasted from the command window,can you  help me check it and solve it ??

%>cmdwin::setvisible on cmdwin::fl
Error: commands are already in requested state
%>config page off
%>cmdwin::fl::load C:\Users\zz\Desktop\MPC8323\MPC8323E.xml
%>cmdwin::fl::device -se 127
%>cmdwin::fl::erase list
Beginning Operation ...
-------------------------
log: Using Algorithm: intel16x1j3.elf
log:
Error: Connect Failed.
log: Timestamp: Wed Jun 3 11:53:25 2020
Error: command failed
%>cmdwin::fl::device -se all
%>cmdwin::fl::erase all
Beginning Operation ...
-------------------------
log: Using Algorithm: intel16x1j3.elf
log:
Error: Connect Failed.
log: Timestamp: Wed Jun 3 11:54:32 2020
Error: command failed

 

 

another question:

when i test, i creat a .tcl file which contains commands and use CmdIDE.exe /d ./flash.tcl

in windows cmd window to execute it ,if there have an error when codewarrior execute a command it will not execute the command after.and the command window and codewarrior won't auto exit .but the windows cmd window is waiting for the return result ,the windows program  will not continue execute. do you have method to solve it ?

Outcomes