Any one,
Do u know how to carry out auto-programmng with commnad line in code warrior 10.3 ?
Solved! Go to Solution.
I have posted an article how to program the Kinetis KL25Z with CodeWarrior from the DOS shell:
Programming Kinetis with CodeWarrior from the DOS Shell | MCU on Eclipse
I hope this helps,
Erich
Hello,
have a look here:
Scripting: The Debugger Shell, Getting started… | MCU on Eclipse
Debugger Shell: Test Automation | MCU on Eclipse
CodeWarrior Flash Programming from a DOS Shell | MCU on Eclipse
I hope this helps,
Erich
I have a try it from dos shell.But it doesn't work.Could u tell me why,Please see embeded pictures.
Does it need to specify connected programmer?
It says 'connection list is empty' in your screenshot.
I recommend that you do the steps one by one in the debugger TCL shell first, before running it as a script.
I hope this helps,
Erich
Dear erich,
I have encountered same problem, I try to do it steps one by one in the debugger TCL shell. but it doesn't work. and appear "connection is empty" too. can you show us your scrrenshot that how do you do it?
fl::disconnect
fl::target -lc "LC for Simple Flash"
fl::target -b 0x80 0x1000
fl::target -v off -l off
cmdwin::fl::device -d "MC9S08DZ60_FLASH_EEPROM" -o "60kx16x1" -a 0x1080 0xffff
cmdwin::fl::image -f "C:\\tmp\\wsp_StandaloneFlsh\\Project.abs.s19" -t "Auto Detect" -re on -r 0x1080 0xffff -oe off
cmdwin::fl::erase image
cmdwin::fl::write
fl::disconnect
quitIDE
I think you do not have correctly setup the launch configuration. I see if I can come up with a quick article with an example for the Kinetis FRDM-KL25Z board.
Erich
I have posted an article how to program the Kinetis KL25Z with CodeWarrior from the DOS shell:
Programming Kinetis with CodeWarrior from the DOS Shell | MCU on Eclipse
I hope this helps,
Erich
Hi Erich:
I have try it from dos shell in code worrior 10.3.but it doesn't work.