Download without debugging

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

Download without debugging

ソリューションへジャンプ
2,220件の閲覧回数
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 解決策
945件の閲覧回数
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 返答(返信)
945件の閲覧回数
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 件の賞賛
返信
946件の閲覧回数
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 件の賞賛
返信
945件の閲覧回数
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 件の賞賛
返信
945件の閲覧回数
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 件の賞賛
返信