Texas Instruments MSP430 manual Description of the MSP-PRGS430 GUI

Page 16

Programming MSP430 Devices With the GUI

2.2.2Description of the MSP-PRGS430 GUI

An MSP430 device is commonly programmed as follows:

1)Select the file that contains the data to program from the MSP430 programmer dialog box (see Figure 2−1).

2)Select the device. An error message appears on the screen if the device selected is different or not connected.

3)Set the required supply voltage, communication port COMx, and baud rate. The device configuration and memory type are selected automatically according to the selected device.

4)Use the program button to start the programming operation (see Note 1 at the end of Table 2−1).

Table 2−1 describes the function of the buttons for different options and combinations for the MSP430 programmer dialog box.

Table 2−1. MSP430 Function Buttons and Descriptions

Button Name

Sub-Functions

Description

 

 

 

File Name

 

Selects the name of the file to program (Intel-hex or TI-TXT format)

 

 

 

Device Select

 

Selects the MSP430 device type to program via pulldown menu

 

 

 

 

 

Selects the supply voltage for the MSP430

Supply Voltage

 

 

VCC switch off

If selected (default), the supply voltage is switched off after each MSP430

 

 

access; otherwise, the supply voltage remains connected.

 

 

 

 

 

An object code is programmed to the on-chip memory using the select

 

 

options.

 

 

 

 

With Erase Flash

Memory is erased before programming (only with flash devices).

 

 

The following options are possible:

 

 

− Main and information memory

 

 

− Main memory only

 

 

 

Program

With Erase Check

Erase check is performed before programming operation is executed.

 

 

 

 

With Verify

Each section is verified after it is programmed, or an error message is

 

 

displayed if verification fails.

 

 

 

 

With Blow Fuse

The code-protection fuse is blown after the entire object code, with verify, is

 

 

programmed. This action is irreversible and disables future on-chip memory

 

 

access (reading or programming). This step is not performed if verify is

 

 

disabled or verify fails. A warning is displayed.

 

 

 

 

 

Erase operation can be done only with flash devices, according to the

 

 

selected option.

 

 

 

Erase Flash

By file

Only the memory locations corresponding to the selected object file are

 

erased. All other memory locations keep their old data (smart erase).

 

 

 

 

By device

The entire flash memory of the device is erased.

 

 

 

 

By range

An erase is performed depending on the values entered in the range fields.

 

 

 

 

 

Checks if memory locations are erased.

 

 

 

 

By file

Checks only the memory locations used by the selected object file.

 

 

 

Erase Check

By device

Checks the entire programmable memory of the device. (No RAM is

 

checked.)

 

 

 

 

 

 

By range

An erase check is performed according to the range of memory locations in

 

 

the range for Erase Check/Readout field.

 

 

 

2-4

Image 16
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 PRGS430.DLL-Description FN0001/ InitComFN0002/ ReleaseCom 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