Flash Programming using scripting with CodeWarrior 6.4

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

Flash Programming using scripting with CodeWarrior 6.4

796 Views
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

Labels (1)
0 Kudos
1 Reply

227 Views
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 Kudos