SourcePoint AMD Help

Table of Contents

msgopen

Create a new JTAG message.

Syntax

[result =] msgopen(msg-handle)

Where:

result

is a boolean variable that contains the return value of this command. TRUE indicates the command was successful. FALSE indicates an error occurred.

msg-handle

is the name of a previously defined debug variable of type handle. This is a reference parameter that is modified by msgopen. After msgopen completes, msg-handle contains a unique value that identifies this JTAG message.

Discussion

Use the msgopen command to create an empty JTAG message and assign a unique identifier to msg-handle. The specified msg-handle must exist or an error is reported. If the msg-handle points to a JTAG message that has already been opened (even if it has been closed), an error is reported.

Example

Command input:

define handle h
msgopen(h)

msgir(h, 4, 2)

msgclose(h)

msgdelete(h)

Related Topics: