Flash Programming using scripting with CodeWarrior 6.4

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

Flash Programming using scripting with CodeWarrior 6.4

1,362件の閲覧回数
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 返信

793件の閲覧回数
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 件の賞賛
返信