Texas Instruments Serial Programming Adapter MSP430 User Manual

Page 23

Advertising
background image

Command Line Options

2-11

Operation

Table 2−3. Command Line Options (Continued)

Options for Program Command:

/PE:{0,1,2}

Option program with erase (flash only)
0:

Without erase

1:

Main and Info memory

2:

Main memory only

/PC:{0,1}

Option program with erase check
0:

Disable

1:

Enable

/PV:{0,1}

Option program with verify
0:

Disable

1:

Enable

/PB:{0,1}

Option program with blow fuse (only valid with verify successful)
0:

Disable

1:

Enable

Options for Erase/Erase Check and Verify Command

/E:{1,2,..}

Option erase/erasecheck/verify by file/device/range
1: File
2:

Device

3:

Range

/ERange:0xXXX,
0xYYYY

Option erase/erasecheck/verify range (start: 0xXXXX, length: 0xYYYY)

Options for Read Out Command:

/RO:{1,2}

Option read out by device/range
1: Device
2:

Range

/RRange:0xXXXX,
0xYYYY

Option read out range (start: 0xXXXX, length: 0xYYYY)

/Rfile:file-
name,{1,2}

Specifies read out file name
1: TI-TXT
2: Intel-hex
(Default directory should be the last object file directory)

Log Options:

/Log:filename

Specifies Log file name
(Default directory should be the PRGS430.exe directory)

/ALog:{0,1}

Option accumulative Log file
0: Disable
1:

Enable

Example:

PRGS430.exe ”C:\adt430\test\test.txt” /Dev:MSP430F1121

/cmd:PRG /PE:1 /PC:0 /PV:1 /COM:2

This command programs the file test.txt, located in the directory C:adt430\test,
into a MSP430F149 device. The device is erased before programming. The
erase check is disabled. The code is verified after programming. The
programming adapter is connected to ComPort 2. The baud rate is not passed
with the command line, so the setting in the PRGS430.ini file is used.

Advertising