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

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

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

2,569 次查看
zbxggs
Contributor II

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 ?

0 项奖励
回复
7 回复数

2,466 次查看
yipingwang
NXP TechSupport
NXP TechSupport

Would you please provide your MPC8323E.xml ?

0 项奖励
回复

2,465 次查看
zbxggs
Contributor II

pleace check the file.

0 项奖励
回复

2,465 次查看
yipingwang
NXP TechSupport
NXP TechSupport

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.

0 项奖励
回复

2,465 次查看
zbxggs
Contributor II

the attached is the log ,please check it .

These are some tests. I wonder if they will help you

%>fl::load C:\Users\zz\Desktop\MPC8323\MPC8323E.xml
%>fl::device
Device: IN28F128J3
Organization: 8Mx16x1
Starts at: 0xfe000000
Ends at: 0xfeffffff

0 项奖励
回复

2,465 次查看
yipingwang
NXP TechSupport
NXP TechSupport

In Flash Programmer panel in CodeWarrior IDE, please click  "Save Settings" to export the xml template file, then use it in fl::load command.

0 项奖励
回复

2,465 次查看
zbxggs
Contributor II

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??

pastedImage_2.png

0 项奖励
回复

2,465 次查看
zbxggs
Contributor II

please check the file.

0 项奖励
回复