SourcePoint AMD Help

Table of Contents

msgclose

Complete the construction of a JTAG message.

Syntax

[result =] msgclose(msg-handle)

Where:

result

is a boolean variable that contains the return value of this command. TRUE indicates the JTAG message was successfully closed. FALSE indicates an error occurred, such as the JTAG message was not found.

msg-handle

is the name of a previously defined debug variable of type handle. This is the variable that was passed in to msgopen when the JTAG message was created.

Discussion

Use the msgclose command after all the scans have been added to the message. No more scans can be added to the JTAG message after msgclose executes. An error is returned if the JTAG message contains no scans.

Example

Command input:

// Create a JTAG message
define handle h
msgopen(h)
msgir(h, 7, 2)
msgdr(h, 20, 2)
msgclose(h)

Related Topics: