Is it possible to flash a target MCU from the command-line?

It is possible to flash the target using a .tcl file. When you pass it to cwide.exe, the CodeWarrior opens and execute the commands. If the last command closes the CodeWarrior, the interface becomes transparent.

This can be done with the following parameters:

-data{workspace} defines the workspace used

-vmargs-Dcw.script={script} defines the script that must be run

It is important to note that, when we use -vmargs argument to cwide.exe it overrides the parameters defined in cwide.ini. Hence, you must pass all parameters to the command-line.