Hi,
I also use a Lauterbach to download/debug our developments, as an external command (not directly from CodeWarrior, but from Rational TestRT), though you can use Voxan's idea.
In my case, for a Coldfire, I use the following command (I use Trace32):
t32m68 -c C:\PROGRA~1\Rational\TESTRE~1\targets\CWARRI~3\Trace32\Config.t32 .\cwarrior_coldfire_t32_common\Test.cmm
As a remark:
- In config.t32 you must specify whether you want to access via ethernet, USB or to use the simulator.
- Test.cmm contains your target initializations as usual.
- Also, Test.cmm is generated in a way that it automatically loads my .elf file.
If your configuration is the same as the one I have, this trick should be enough for you.
Regards,
Javier