SourcePoint AMD Help

Table of Contents

emulatorstate

Return an integer representing the emulator connection state.

Syntax

[result =] emulatorstate

Discussion

The emulatorstate control variable returns an integer representing the emulator connection state.

0

Not configured. ย The disconnect command changes emulatorstate to this value.

1

JTAG chain(s) configured and ready for device configuration ย The jtagconfigure command changes emulatorstate to this value.

2

Devices configured and ready for debug session. ย The deviceconfigure command changes emulatorstate from 1 to 2. ย The reconnect command changes emulator state from 0 or 1 to 2.

Example

Command Input:

printf("Emulator state is %d", emulatorstate)

Result:

00000002H // fully connected

Related Topics