Freescale Semiconductor
CodeWarrior General
Register  ·  Sign In  ·  Help
Jump to Page:   1
  Reply  

Download without debugging
Options    Options  
crane
Visitor
Posts: 8
Registered: 2008-11-20


crane

Message 1 of 5

Viewed 144 times


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 the Solution
Go to Solution
2009-11-06 10:18 AM
  Reply  

Re: Download without debugging
Options    Options  
Lundin
Super Contributor
Posts: 548
Registered: 2006-05-18


Lundin

Message 2 of 5

Viewed 133 times


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.

2009-11-06 01:12 PM
  Reply  

Re: Download without debugging
Options    Options  
crane
Visitor
Posts: 8
Registered: 2008-11-20


crane

Message 3 of 5

Viewed 131 times


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.
2009-11-06 01:23 PM
  Reply  

Re: Download without debugging
Options    Options  
Witztronics
Third Party
Posts: 55
Registered: 2007-07-27


Witztronics

Message 4 of 5

Viewed 84 times


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

low cost BDMs

www.witztronics.com
Accepted Solution
Accepted Solution
2009-11-09 06:13 PM
  Reply  

Re: Download without debugging
Options    Options  
crane
Visitor
Posts: 8
Registered: 2008-11-20


crane

Message 5 of 5

Viewed 73 times



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

2009-11-10 09:06 AM
Jump to Page:   1