Texas Instruments MSP430 Return Values/Error Codes From PRGS430.DLL, Status Return Value Comment

Page 35

PRGS430.DLL—Description

2.4.1Return Values/Error Codes From PRGS430.DLL

Status

Return Value

Comment

OK

0

 

 

 

 

SUCCESS

−1

Operation OK

 

 

 

ERR_COMMUNICATION

−2

Communication error (SSP)

 

 

 

ERR_TARGET_NOT_CONNECTED

−3

No target connected

 

 

 

ERR_SPA430_NOT_CONNECTED

−4

No SPA430 connected

 

 

 

ERR_WRONG_JTAG_VERSION

−5

JTAG version above 3

 

 

 

ERR_PUC_FAILED

−6

PUC did not succeed

 

 

 

ERR_SPA430_SYNC_FAILED

−7

Could not sync SPA430

 

 

 

ERR_NO_SPA430

−8

Adapter is not SPA430

 

 

 

ERR_UNKNOWN_TARGET

−9

Target type unknown

 

 

 

ERR_WRONG_TARGET

−10

Target type does not match

 

 

 

ERR_NO_TARGET_SELECTED

−11

No target selected (missing SetDeviceType() call)

 

 

 

ERR_TARGET_FUSE_BLOWN

−12

No target access because of blown fuse

 

 

 

ERR_BLOW_FUSE_FAILED

−13

Blown-fuse command failed

 

 

 

ERR_VCC_NOT_SET

−14

No VCC selected (missing SetVolt() call)

ERR_WRONG_VCC

−15

VCC out of allowed range

ERR_WRONG_BAUDRATE

−16

Invalid baud rate

 

 

 

ERR_COMPORT

−17

Error accessing the communications port

 

 

 

ERR_DEVICE_CFG

−18

Device.cfg corrupted

 

 

 

ERR_GENERAL

−19

General error (should not occur!)

 

 

 

ERR_RANGE

−20

Wrong range specified

 

 

 

ERR_ARGUMENT

−21

Wrong argument

 

 

 

ERR_FILE_IO

−22

Error during file I/O

 

 

 

ERR_FILE_DETECT

−23

File type could not be detected

 

 

 

ERR_FILE_END

−24

Unexpected end of file

 

 

 

ERR_PROJECT_INI

−25

Error reading {project}.ini

 

 

 

ERR_VCC_BELOW_VCCMINPROG

−26

VCC to low for selected function

ERR_FUSE_NOT_RELEASED

−27

Fuse not release for this device

 

 

 

STATUS_CONNECTSPA

1

Connecting to SPA430

 

 

 

STATUS_CONNECTTARGET

3

Connecting to target

 

 

 

STATUS_RELEASETARGET

5

Releasing target

 

 

 

STATUS_RELEASESPA

7

Releasing SPA430

 

 

 

STATUS_RESETTARGET

9

Resetting target

 

 

 

STATUS_ERASE

11

Erasing target

 

 

 

STATUS_ERASECHECK

13

Erase checking target

 

 

 

STATUS_PATTERNCHECK

15

Pattern checking target

 

 

 

STATUS_VERIFY

17

Verifying target

 

 

 

STATUS_PROGRAM

19

Programming target

 

 

 

STATUS_READOUT

21

Reading out target

 

 

 

STATUS_BLOWFUSE

23

Blowing fuse

 

 

 

ERR_READOUT_LOCKED

−28

Read out prohibited

Operation 2-23

Image 35
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 FN0003/ SetDeviceType PRGS430.DLL-DescriptionFN0001/ InitCom FN0002/ ReleaseComFN0006/ Erase FN0004/ InitTargetFN0005/ ReleaseTarget FN0008/ EraseCheck FN0007/ EraseFileFN00011/ VerifyData FN0009/ EraseCheckFileFN00010/ PatternCheck FN0014/ ProgramData FN00012/ VerifyFileFN00013/ VerifyFileRange Pgmwitherasecheck FN0015/ ProgramFileFN0018/ ReadOutData FN0016/ BlowFuseFN0017/ SetVcc 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