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 ?
Would you please provide your MPC8323E.xml ?
It seems that your xml file cannot be loaded in flash programmer in CodeWarrior IDE.
Would you please import the xml file in flash programmer in CodeWarrior IDE, then click "Show log", and perform flash programming? Then please provide Flash Programmer console log.
In Flash Programmer panel in CodeWarrior IDE, please click "Save Settings" to export the xml template file, then use it in fl::load command.
thanks ,it success!
but there still some problem about the codewarrior.when i double click the IDE.exe or use windows cmd execute the CmdIDE.exe .it report error like the picture. and it appear very ofen .can you tell me how to solve this problem??