Texas Instruments MSP430 manual Content of PRGS430.ini File, Use of a Project.ini File

Page 21

Content of PRGS430.ini File

2.2.4Content of PRGS430.ini File

The last settings of the PRGS430 graphical user interface (GUI) are stored in the .ini file before exiting the program. This information is stored under the Program Device System section.

Additionally, the following parameters are in the [Options] section and may be modified:

[Options]

\BlowFuse = 1 The blow fuse button in the GUI is disabled to prevent accidental blow of the irreversible fuse.

LastResult = 0 If the program is called with command-line parameter, the error code which is returned to the system when exiting the program is also stored here.

2.2.5Use of a [Project].ini File

Some default options could be changed within a [Project].ini file. This file has to be in the same directory as the object code file. The following variables could be defined or redefined there.

The name of the file should have the same name as the object file with the extension .ini.

[ProgramDevice] UserMemProtect = Start, Size UserMemProtect2 = Start, Size UserMemProtect3 = Start, Size UserMemProtectn = Start, Size DisableTIMemProtect = 0

Memory ranges defined in the UserMemProtect and UserMemProtect [n] option are read out and reprogrammed after erase (flash device only). [n] could be a number 2 and be in ascending order.

If a memory protection is activated in the device definition file from Texas Instruments, it could be switched off with the DisableTIMemProtect = 1 option.

Operation2-9

Image 21
Contents User’s Guide Evaluation BOARD/KIT Important Notice EVM Warnings and Restrictions Page About This Manual Read This FirstFCC Warning Contents Tables FiguresInstallation and Setup −1. ADT430 Program Icons Installing the SoftwareMSP−PRGS430 Installing the HardwarePage Operation Software/Hardware Layers of the PRGS430 Environment Programming MSP430 Devices With the GUI Basic Procedure−1. MSP430 Function Buttons and Descriptions Description of the MSP-PRGS430 GUIOperation2-5 −2. Communication Error Box Error Messages−5. Data Error −2. Error Messages Use of a Project.ini File Content of PRGS430.ini FileGeneral Definitions Command Line OptionsExample Return Values/Error Codes in .ini File FN0001/ InitCom PRGS430.DLL-DescriptionFN0002/ ReleaseCom FN0003/ SetDeviceTypeFN0004/ InitTarget FN0005/ ReleaseTargetFN0006/ Erase FN0008/ EraseCheck FN0007/ EraseFileFN0009/ EraseCheckFile FN00010/ PatternCheckFN00011/ VerifyData FN00012/ VerifyFile FN00013/ VerifyFileRangeFN0014/ ProgramData Pgmwitherasecheck FN0015/ ProgramFileFN0016/ BlowFuse FN0017/ SetVccFN0018/ ReadOutData FN0019/ ReadOutFile FN0020/ ResetFN0023/ GetDeviceCfgInfo FN0022/ SetNotificationWndFN0024/ AccessSFR Status Return Value Comment Return Values/Error Codes From PRGS430.DLLPage Hardware Basic Hints Specifications−1 -Pin Sub-D at Programming Adapter Programming Adapter Target Connector Signals−2. Target Connector Signal Functions Location of Components − MSP-PRGS430 MSP-PRGS430 Circuit DiagramsInterconnection of MSP-PRGS430 to OTP/EPROM-Based Interconnection of MSP−PRGS430 to Flash-Based MSP430 Devices Page Hex Object Format Figure A−1. Intel-Hex Object Format Intel-Hex Object FormatTI-TXT File Format Page Schematics Page Schematics B-3 Page Important Notice
Related manuals
Manual 138 pages 30.24 Kb