hi Miss/Sir:
I have two questions about TCL Script for auto-programming.Could u help? thanks in advanced.
1) How to handle the exception in following tcl code ,when running tcl in codewarrior.
When error occurs, the execution will stop. How to go end,if error occurs
fl::disconnect
fl::target -lc "LC
for Simple Flash"
fl::target -b 0xf400
0xc00
fl::target -v off -l off
cmdwin::fl::device -d
"MC56F82748_P_FLASH" -o "32kx16x1" -a 0x0 0x7fff
cmdwin::fl::image -f “c:\\FW.s" -t "Auto Detect" -re on -r 0x0 0x7fff -oe off
cmdwin::fl::erase all
cmdwin::fl::write
cmdwin::fl::device -d "MC56F82748_X_FLASH" -o "32kx16x1" -a 0x4000 0xbfff
cmdwin::fl::image -f “c:\\FW.s" -t "Auto Detect" -re on -r 0x4000 0xbfff -oe off
cmdwin::fl::erase all
cmdwin::fl::write
fl::disconnect
#End:
log s c:\\resultlog.txt
quitIDE
2) Could I replace “f1:erase image” with “f1::erase all?
“f1::erase all” takes less time than "f1::erase image".