how to make flash programmer faster

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

how to make flash programmer faster

ソリューションへジャンプ
3,437件の閲覧回数
robert_zhang
Contributor I

hi,all,

when i use codewarrior to debug code,i always open flash programmer window , and then click erase tab to erase,click program tab to program,and at last click debug button to debug my project code.

are there some ways to click one button or one something to resolve this way,such as iar compiler plus jlink?

ラベル(1)
タグ(1)
0 件の賞賛
1 解決策
1,488件の閲覧回数
tkvenki
Contributor III

Flash programmer does not support that.

You can try writing a script using some softwares like Autohotkey/AutoIT..., to automate FLASH PROGRAMMER

 

We had written our own program for FLash programming...

We had a small EXE which used to convert S-record file contents into a C-Array.

We combined it with a .bat application to place the converted array into a file of our source code(flash burning software). We used to RUN this code to get the FLash programmed.

 

I guess this ws faster than the FLASH PROGRAMMER. 

 But when you want to DEBUG, this will be additional overhead...

 

 

 

 

元の投稿で解決策を見る

0 件の賞賛
10 返答(返信)
1,488件の閲覧回数
Matt_OES
Contributor I
This is simply the most annoying part about codewarrior. There's no single operation that happens more often than compile/erase/burn/debug, so why isn't there a button for it?
0 件の賞賛
1,489件の閲覧回数
tkvenki
Contributor III

Flash programmer does not support that.

You can try writing a script using some softwares like Autohotkey/AutoIT..., to automate FLASH PROGRAMMER

 

We had written our own program for FLash programming...

We had a small EXE which used to convert S-record file contents into a C-Array.

We combined it with a .bat application to place the converted array into a file of our source code(flash burning software). We used to RUN this code to get the FLash programmed.

 

I guess this ws faster than the FLASH PROGRAMMER. 

 But when you want to DEBUG, this will be additional overhead...

 

 

 

 

0 件の賞賛
1,488件の閲覧回数
robert_zhang
Contributor I

thanks your take care about it, i have already run it through press one key with TCL script.

by the way, i am interesting at your flash programmer code, i want to know,whether it is open-source on code?

0 件の賞賛
1,488件の閲覧回数
MCF52233
Contributor III

Hi Robert,

if u dont mind ,can u share the tcl script n how we can use it??

0 件の賞賛
1,488件の閲覧回数
robert_zhang
Contributor I

i make it in a file that called writeflash.tcl,and place it in your build directory;change CmdWinInit.tcl,

add a statement at last :source writeflash.tcl. then whenever you click view->command window menu, it will run and download your flash.

make
fl::disconnect
fl::load MCF52259_INTFLASH.xml
fl::erase all
fl::write
debug
exit

0 件の賞賛
1,488件の閲覧回数
MCF52233
Contributor III

Hi Robert,

 

Thanks for ur response.

I hv mcf52233 DEMO board  with ColdFire Lite project using Codewarrior CW7.1

I dont find CmdWinInit.tcl ,can u put more light on this.

0 件の賞賛
1,488件の閲覧回数
robert_zhang
Contributor I

search your codewarrior install directory,my cmdwininit.tcl is the following directory:

C:\Program Files\Freescale\CodeWarrior for ColdFire V7.1\bin\Plugins\Support\CommandWindow

0 件の賞賛
1,488件の閲覧回数
MCF52233
Contributor III

Thanks Robert.

 

I found d file . but can u mention where exactly placed writeflash.tcl.

COZ when i launch command window, message appears dat no such file

or directory

0 件の賞賛
1,488件の閲覧回数
robert_zhang
Contributor I
the writeflash.tcl is located in your build directory, my directory is C:\ColdFire_Lite_MCF5225x\build\cw\m52259_demokit,you also can obtain it with pressing pwd command in yoru tcl window.
0 件の賞賛
1,488件の閲覧回数
MCF52233
Contributor III

Thanks Robert ,

now i got Working here.

Thanks once again

:smileyhappy:

0 件の賞賛