Hi ,Is there command line of the code warrior 10.3 to carry out auto-programming?

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Hi ,Is there command line of the code warrior 10.3 to carry out auto-programming?

Jump to solution
2,786 Views
hillzzhao
Contributor I

Any one,

       Do u know how to carry out auto-programmng with commnad line in code warrior 10.3 ?

Labels (1)
0 Kudos
Reply
1 Solution
2,306 Views
BlackNight
NXP Employee
NXP Employee

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

View solution in original post

0 Kudos
Reply
7 Replies
2,306 Views
hillzzhao
Contributor I

p2.pngp1.png

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?

0 Kudos
Reply
2,306 Views
BlackNight
NXP Employee
NXP Employee

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

0 Kudos
Reply
2,306 Views
daojinwang
Contributor I

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

0 Kudos
Reply
2,306 Views
BlackNight
NXP Employee
NXP Employee

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

0 Kudos
Reply
2,307 Views
BlackNight
NXP Employee
NXP Employee

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

0 Kudos
Reply
2,306 Views
hillzzhao
Contributor I

Hi Erich:

     I have try it from dos shell in code worrior 10.3.but it doesn't work.

0 Kudos
Reply