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

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

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

跳至解决方案
2,791 次查看
hillzzhao
Contributor I

Any one,

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

标签 (1)
0 项奖励
回复
1 解答
2,311 次查看
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 项奖励
回复
7 回复数
2,311 次查看
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 项奖励
回复
2,311 次查看
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 项奖励
回复
2,311 次查看
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 项奖励
回复
2,311 次查看
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 项奖励
回复
2,312 次查看
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 项奖励
回复
2,311 次查看
hillzzhao
Contributor I

Hi Erich:

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

0 项奖励
回复