OpenOCD
|
Definition of the commands supported by the ANGIE firmware. More...
Go to the source code of this file.
Macros | |
#define | CMD_CLOCK_TCK 0x22 |
#define | CMD_CLOCK_TMS 0x20 |
#define | CMD_CONFIGURE_TCK_FREQ 0x28 |
#define | CMD_GET_SIGNALS 0x26 |
#define | CMD_ID_MASK 0x3F |
#define | CMD_SCAN_IN 0x00 |
#define | CMD_SCAN_IO 0x04 |
#define | CMD_SCAN_OUT 0x02 |
#define | CMD_SET_LEDS 0x29 |
#define | CMD_SET_SIGNALS 0x27 |
#define | CMD_SLEEP_MS 0x25 |
#define | CMD_SLEEP_US 0x24 |
#define | CMD_SLOW_CLOCK_TCK 0x23 |
#define | CMD_SLOW_CLOCK_TMS 0x21 |
#define | CMD_SLOW_SCAN_IN 0x01 |
#define | CMD_SLOW_SCAN_IO 0x05 |
#define | CMD_SLOW_SCAN_OUT 0x03 |
#define | CMD_TEST 0x2A |
#define | SIGNAL_SRST 32 |
#define | SIGNAL_TCK 4 |
#define | SIGNAL_TDI 8 |
#define | SIGNAL_TDO 1 |
#define | SIGNAL_TMS 2 |
#define | SIGNAL_TRST 1 |
Definition of the commands supported by the ANGIE firmware.
Basically, two types of commands can be distinguished:
SCAN commands (in all variations) carry payloads of variable size, all other commands carry payloads of fixed size.
In the case of SCAN commands, the payload size (n) is calculated by dividing the scan_size_bits variable by 8, rounding up the result.
Offset zero always contains the command ID.
CMD_SCAN_IN, CMD_SLOW_SCAN_IN: *
CMD_SCAN_OUT, CMD_SLOW_SCAN_OUT: *
CMD_SCAN_IO, CMD_SLOW_SCAN_IO: *
CMD_CLOCK_TMS, CMD_SLOW_CLOCK_TMS: *
CMD_CLOCK_TCK, CMD_SLOW_CLOCK_TCK: *
CMD_CLOCK_SLEEP_US: *
CMD_CLOCK_SLEEP_MS: *
CMD_GET_SIGNALS: *
CMD_SET_SIGNALS: *
CMD_CONFIGURE_TCK_FREQ: *
CMD_SET_LEDS: *
CMD_TEST: *
Definition in file angie/include/msgtypes.h.
#define CMD_CLOCK_TCK 0x22 |
Definition at line 152 of file angie/include/msgtypes.h.
#define CMD_CLOCK_TMS 0x20 |
Definition at line 150 of file angie/include/msgtypes.h.
#define CMD_CONFIGURE_TCK_FREQ 0x28 |
Definition at line 158 of file angie/include/msgtypes.h.
#define CMD_GET_SIGNALS 0x26 |
Definition at line 156 of file angie/include/msgtypes.h.
#define CMD_ID_MASK 0x3F |
Definition at line 139 of file angie/include/msgtypes.h.
#define CMD_SCAN_IN 0x00 |
Definition at line 142 of file angie/include/msgtypes.h.
#define CMD_SCAN_IO 0x04 |
Definition at line 146 of file angie/include/msgtypes.h.
#define CMD_SCAN_OUT 0x02 |
Definition at line 144 of file angie/include/msgtypes.h.
#define CMD_SET_LEDS 0x29 |
Definition at line 159 of file angie/include/msgtypes.h.
#define CMD_SET_SIGNALS 0x27 |
Definition at line 157 of file angie/include/msgtypes.h.
#define CMD_SLEEP_MS 0x25 |
Definition at line 155 of file angie/include/msgtypes.h.
#define CMD_SLEEP_US 0x24 |
Definition at line 154 of file angie/include/msgtypes.h.
#define CMD_SLOW_CLOCK_TCK 0x23 |
Definition at line 153 of file angie/include/msgtypes.h.
#define CMD_SLOW_CLOCK_TMS 0x21 |
Definition at line 151 of file angie/include/msgtypes.h.
#define CMD_SLOW_SCAN_IN 0x01 |
Definition at line 143 of file angie/include/msgtypes.h.
#define CMD_SLOW_SCAN_IO 0x05 |
Definition at line 147 of file angie/include/msgtypes.h.
#define CMD_SLOW_SCAN_OUT 0x03 |
Definition at line 145 of file angie/include/msgtypes.h.
#define CMD_TEST 0x2A |
Definition at line 160 of file angie/include/msgtypes.h.
#define SIGNAL_SRST 32 |
Definition at line 170 of file angie/include/msgtypes.h.
#define SIGNAL_TCK 4 |
Definition at line 168 of file angie/include/msgtypes.h.
#define SIGNAL_TDI 8 |
Definition at line 166 of file angie/include/msgtypes.h.
#define SIGNAL_TDO 1 |
Definition at line 163 of file angie/include/msgtypes.h.
#define SIGNAL_TMS 2 |
Definition at line 167 of file angie/include/msgtypes.h.
#define SIGNAL_TRST 1 |
Definition at line 169 of file angie/include/msgtypes.h.