SourcePoint Intel 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