Flash Programming using scripting with CodeWarrior 6.4

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

Flash Programming using scripting with CodeWarrior 6.4

1,386 次查看
RValls
Contributor III

Hi all!

I am trying to do a script to program de flash of the MCF52233 devices, so I have not need to go to Flash Programmer ->Erase all, Program.

 

I have found this on the forum:

https://community.freescale.com/message/60844#60844

 

but the "fl" namespace is not available, so all the commands related (f::disconnect, etc) are not working.

 

Despite the problem, I continued with the instructions given on that thread, and tried modifying the "CmdwinInit.tcl" file under CodeWarrior\bin\Plugins\Support\CommandWindow. It does not work anyway, but I have realised that this file says:

"

# Hidden namespaces.

#....

#namespace eval fl namespace import ::cmdwin::fl::*

#....

"

so I suppose that the namespace exists, but I have not been able to import it, so I can't use it.

 

Anyone knows how to enable it  in CodeWarrior 6.4? Or how to manage the flash programer via scripting or automation?Automation with COM objects is also welcomed (in fact preferred, but I have not found any documentation that tells that it is possible).

 

Thanks in advance,

Rubén

标签 (1)
标记 (1)
0 项奖励
回复
1 回复

817 次查看
CrasyCat
Specialist III

Hello

 

I do not have CodeWarrior for coldfire V6.4 installed right now, so I cannot try it by myself.

 

Did you try

        cmdwin::setvisible on cmdwin::fl

 

CrasyCat

0 项奖励
回复