Hi!
Is there a utility in Codewarrior for downloading the code to the target without running the debugger. Preferrably command line style, for production programming.
We use the P&E_ML-12 USB multilink device and obviosly the IDE supports it. I know it is possible to buy the sw from P&E, either freestanding or dll's. But I thought that since we've already have the codewarrior licences which utilize these dll's there might be a way of calling them that way.
Thanks,
Håkan
Solved! Go to Solution.
This isn't exactly what you want, but you can launch the debugger and program the target by a command line and avoid the Codewarrior IDE.
You will need to modify this according to your install location, file name and the BDM that you are using. This statement will launch the debugger and program myfile.s19 using the HCS08OpenSourceBDM tool.
C:\Program Files\Freescale\CodeWarrior for Microcontrollers V6.2\prog\hiwave.exe" C:\
myfile.s19 -Target=HCS08OpenSourceBDM
This isn't exactly what you want, but you can launch the debugger and program the target by a command line and avoid the Codewarrior IDE.
You will need to modify this according to your install location, file name and the BDM that you are using. This statement will launch the debugger and program myfile.s19 using the HCS08OpenSourceBDM tool.
C:\Program Files\Freescale\CodeWarrior for Microcontrollers V6.2\prog\hiwave.exe" C:\
myfile.s19 -Target=HCS08OpenSourceBDM
Witztronics wrote:This isn't exactly what you want, but you can launch the debugger and program the target by a command line and avoid the Codewarrior IDE.
You will need to modify this according to your install location, file name and the BDM that you are using. This statement will launch the debugger and program myfile.s19 using the HCS08OpenSourceBDM tool.
C:\Program Files\Freescale\CodeWarrior for Microcontrollers V6.2\prog\hiwave.exe" C:\
myfile.s19 -Target=HCS08OpenSourceBDM
I tried this. By tweaking the project.ini file the debugger can run minimized. By giving the command "exit" in the preload.cmd file, the debugger is closed again as soon as the programming is done. This way almost only CPROG08Sz is run through the debugger. I also feels quicker than running CPROG08Sz with scriptfile separately, although I haven't measured.
Thanks,
Håkan