
Command Line Options
2.3 Command Line Options
2.3.1General Definitions
0: Off | 1: First selectable option |
1: On | 2: Second selectable option |
| 3: Third selectable option |
The PRGS430.ini file options are used if they are not specified in the command line. The command line option overwrites the .ini file options.
The program exits automatically if a command is passed via the command line and the command was executed. There is only a small status window opened during the execution.
Only one command identifier (/cmd:) is allowed within the command line. Otherwise, the execution is canceled and an error is returned.
If an error in the command line parameter is detected, the program exits with an error message.
The filename may also contain a path. If special characters are used, the string has to be inside quotes (for example, \\server\adt430\PRG files\test.txt).
If an error is detected within the filename, the operation is canceled and an error is returned.
Table 2−3. Command Line Options
Commands:
/cmd:PRG | Program command | |
|
| |
/cmd:VFY | Verify command | |
|
| |
/cmd:ERS | Erase command | |
|
| |
/cmd:CHK | Erase check command | |
|
| |
/cmd:READ | Read out command | |
|
| |
/cmd:RST | Reset command | |
|
| |
/cmd:BLOW | Blow fuse command | |
|
|
|
Options: |
|
|
|
| |
/COM:x | Specifies the serial port: /COM:1, /COM:2, /COM:3, or /COM:4 | |
|
| |
/BR:xxxxxx | Sets baud rate to be used: 9600/19200/38400/57600/115200, e.g., /BR:57600 | |
|
| |
/Dev: | Selects the device according to the name in the device.cfg file, e.g., /Dev:MSP430F1121 | |
|
| |
/SVolt:x.x | Selects supply voltage MSP_VCC of the programming adapter. The voltage is supplied | |
| between GND and MSP VCC, e.g., /Svolt: 3.0. | |
|
| |
/SVoff:{0,1} | Switches off supply voltage MSP_VCC after execution | |
| 0: | Disable (do not switch off) |
| 1: | Enable (switch off) |
|
| |
filename | Specifies name of the object file to be programmed or verified | |
|
| |
/FILE filename | (Second way to define the filename − space separated) | |
|
|
|