Texas Instruments MSP430 manual Command Line Options, General Definitions

Page 22

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)

 

 

 

2-10

Image 22
Contents User’s Guide Evaluation BOARD/KIT Important Notice EVM Warnings and Restrictions Page Read This First About This ManualFCC Warning Contents Figures TablesInstallation and Setup Installing the Software −1. ADT430 Program IconsInstalling the Hardware MSP−PRGS430Page Operation Software/Hardware Layers of the PRGS430 Environment Basic Procedure Programming MSP430 Devices With the GUIDescription of the MSP-PRGS430 GUI −1. MSP430 Function Buttons and DescriptionsOperation2-5 Error Messages −2. Communication Error Box−5. Data Error −2. Error Messages Content of PRGS430.ini File Use of a Project.ini FileCommand Line Options General DefinitionsExample Return Values/Error Codes in .ini File FN0002/ ReleaseCom PRGS430.DLL-DescriptionFN0001/ InitCom FN0003/ SetDeviceTypeFN0005/ ReleaseTarget FN0004/ InitTargetFN0006/ Erase FN0007/ EraseFile FN0008/ EraseCheckFN00010/ PatternCheck FN0009/ EraseCheckFileFN00011/ VerifyData FN00013/ VerifyFileRange FN00012/ VerifyFileFN0014/ ProgramData FN0015/ ProgramFile PgmwitherasecheckFN0017/ SetVcc FN0016/ BlowFuseFN0018/ ReadOutData FN0020/ Reset FN0019/ ReadOutFileFN0022/ SetNotificationWnd FN0023/ GetDeviceCfgInfoFN0024/ AccessSFR Return Values/Error Codes From PRGS430.DLL Status Return Value CommentPage Hardware Specifications Basic HintsProgramming Adapter Target Connector Signals −1 -Pin Sub-D at Programming Adapter−2. Target Connector Signal Functions MSP-PRGS430 Circuit Diagrams Location of Components − MSP-PRGS430Interconnection of MSP-PRGS430 to OTP/EPROM-Based Interconnection of MSP−PRGS430 to Flash-Based MSP430 Devices Page Hex Object Format Intel-Hex Object Format Figure A−1. Intel-Hex Object FormatTI-TXT File Format Page Schematics Page Schematics B-3 Page Important Notice
Related manuals
Manual 138 pages 30.24 Kb