Download without debugging

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 
已解决

Download without debugging

跳至解决方案
2,723 次查看
crane
Contributor III

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

标签 (1)
0 项奖励
回复
1 解答
1,448 次查看
Witztronics
Contributor IV

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

在原帖中查看解决方案

0 项奖励
回复
4 回复数
1,448 次查看
crane
Contributor III
Thanks for the advice, but if it is not possible to download via Codewarrior, we'll probably buy the dll package and wrap it in our testrig software. We have used the CPROG12z program before, but it is a bit annoying to execute a freestanding sw that opens a status window and it is slow.
0 项奖励
回复
1,449 次查看
Witztronics
Contributor IV

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

0 项奖励
回复
1,448 次查看
crane
Contributor III

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

0 项奖励
回复
1,448 次查看
Lundin
Senior Contributor IV
Easiest soluton is to buy a "Cyclone Pro" from P&E. This is basically a Multilink with additional production download possibilities. Once the programs are stored in it, you can use it without a PC attached.

I'm using this myself and it is a very good solution, especially since I don't want to give the production the possibilities to fiddle around with download software, or god forbid: download the program straight from the source code.

0 项奖励
回复