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?
Solved! Go to Solution.
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...
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...
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?
Hi Robert,
if u dont mind ,can u share the tcl script n how we can use it??
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
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.
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
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
Thanks Robert ,
now i got Working here.
Thanks once again