OpenOCD
|
Definition of the commands supported by the OpenULINK 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 | COM_LED_OFF (1<<2) |
#define | COM_LED_ON (1<<0) |
#define | RUN_LED_OFF (1<<3) |
#define | RUN_LED_ON (1<<1) |
#define | SIGNAL_BRKIN (1<<4) |
#define | SIGNAL_BRKOUT (1<<1) |
#define | SIGNAL_OCDSE (1<<6) |
#define | SIGNAL_RESET (1<<5) |
#define | SIGNAL_RTCK (1<<3) |
#define | SIGNAL_TCK (1<<2) |
#define | SIGNAL_TDI (1<<0) |
#define | SIGNAL_TDO (1<<0) |
#define | SIGNAL_TMS (1<<1) |
#define | SIGNAL_TRAP (1<<2) |
#define | SIGNAL_TRST (1<<3) |
Definition of the commands supported by the OpenULINK 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 OpenULINK/include/msgtypes.h.
#define CMD_CLOCK_TCK 0x22 |
Definition at line 147 of file OpenULINK/include/msgtypes.h.
#define CMD_CLOCK_TMS 0x20 |
Definition at line 145 of file OpenULINK/include/msgtypes.h.
#define CMD_CONFIGURE_TCK_FREQ 0x28 |
Definition at line 153 of file OpenULINK/include/msgtypes.h.
#define CMD_GET_SIGNALS 0x26 |
Definition at line 151 of file OpenULINK/include/msgtypes.h.
#define CMD_ID_MASK 0x3F |
Definition at line 134 of file OpenULINK/include/msgtypes.h.
#define CMD_SCAN_IN 0x00 |
Definition at line 137 of file OpenULINK/include/msgtypes.h.
#define CMD_SCAN_IO 0x04 |
Definition at line 141 of file OpenULINK/include/msgtypes.h.
#define CMD_SCAN_OUT 0x02 |
Definition at line 139 of file OpenULINK/include/msgtypes.h.
#define CMD_SET_LEDS 0x29 |
Definition at line 154 of file OpenULINK/include/msgtypes.h.
#define CMD_SET_SIGNALS 0x27 |
Definition at line 152 of file OpenULINK/include/msgtypes.h.
#define CMD_SLEEP_MS 0x25 |
Definition at line 150 of file OpenULINK/include/msgtypes.h.
#define CMD_SLEEP_US 0x24 |
Definition at line 149 of file OpenULINK/include/msgtypes.h.
#define CMD_SLOW_CLOCK_TCK 0x23 |
Definition at line 148 of file OpenULINK/include/msgtypes.h.
#define CMD_SLOW_CLOCK_TMS 0x21 |
Definition at line 146 of file OpenULINK/include/msgtypes.h.
#define CMD_SLOW_SCAN_IN 0x01 |
Definition at line 138 of file OpenULINK/include/msgtypes.h.
#define CMD_SLOW_SCAN_IO 0x05 |
Definition at line 142 of file OpenULINK/include/msgtypes.h.
#define CMD_SLOW_SCAN_OUT 0x03 |
Definition at line 140 of file OpenULINK/include/msgtypes.h.
#define CMD_TEST 0x2A |
Definition at line 155 of file OpenULINK/include/msgtypes.h.
#define COM_LED_OFF (1<<2) |
Definition at line 175 of file OpenULINK/include/msgtypes.h.
#define COM_LED_ON (1<<0) |
Definition at line 173 of file OpenULINK/include/msgtypes.h.
#define RUN_LED_OFF (1<<3) |
Definition at line 176 of file OpenULINK/include/msgtypes.h.
#define RUN_LED_ON (1<<1) |
Definition at line 174 of file OpenULINK/include/msgtypes.h.
#define SIGNAL_BRKIN (1<<4) |
Definition at line 168 of file OpenULINK/include/msgtypes.h.
#define SIGNAL_BRKOUT (1<<1) |
Definition at line 159 of file OpenULINK/include/msgtypes.h.
#define SIGNAL_OCDSE (1<<6) |
Definition at line 170 of file OpenULINK/include/msgtypes.h.
#define SIGNAL_RESET (1<<5) |
Definition at line 169 of file OpenULINK/include/msgtypes.h.
#define SIGNAL_RTCK (1<<3) |
Definition at line 161 of file OpenULINK/include/msgtypes.h.
#define SIGNAL_TCK (1<<2) |
Definition at line 166 of file OpenULINK/include/msgtypes.h.
#define SIGNAL_TDI (1<<0) |
Definition at line 164 of file OpenULINK/include/msgtypes.h.
#define SIGNAL_TDO (1<<0) |
Definition at line 158 of file OpenULINK/include/msgtypes.h.
#define SIGNAL_TMS (1<<1) |
Definition at line 165 of file OpenULINK/include/msgtypes.h.
#define SIGNAL_TRAP (1<<2) |
Definition at line 160 of file OpenULINK/include/msgtypes.h.
#define SIGNAL_TRST (1<<3) |
Definition at line 167 of file OpenULINK/include/msgtypes.h.