|
40 | 40 | * The mapping between the J-Link USB Protocol reference manual commands and the new Black Magic Debug commands is listed at the start of each command group below. |
41 | 41 | */ |
42 | 42 |
|
43 | | -/* System information commands |
| 43 | +/* |
| 44 | + * System information commands |
44 | 45 | * |
45 | 46 | * ┌────────────────────────────────────────────────┬──────────────────────────────────┐ |
46 | 47 | * │ BMDA J-Link command │ RM08001 J-Link USB Protocol RM │ |
|
58 | 59 | #define JLINK_CMD_INFO_GET_PROBE_EXTENDED_CAPABILITIES 0xedU /* Get probe extended capabilities */ |
59 | 60 | #define JLINK_CMD_INFO_GET_MAX_MEM_BLOCK 0xd4U /* Get the maximum memory blocksize */ |
60 | 61 |
|
61 | | -/* Interface commands |
| 62 | +/* |
| 63 | + * Interface commands |
62 | 64 | * |
63 | 65 | * ┌────────────────────────────────────────┬────────────────────────────────┐ |
64 | 66 | * │ BMDA J-Link command │ RM08001 J-Link USB Protocol RM │ |
|
74 | 76 | #define JLINK_CMD_INTERFACE_SET_SELECTED 0xc7U /* Select the probe interface */ |
75 | 77 | #define JLINK_CMD_INTERFACE_GET 0xc7U /* Get current selected interface or available interfaces */ |
76 | 78 |
|
77 | | -/* Target power commands |
| 79 | +/* |
| 80 | + * Target power commands |
78 | 81 | * |
79 | 82 | * ┌───────────────────────────────┬────────────────────────────────┐ |
80 | 83 | * │ BMDA J-Link command │ RM08001 J-Link USB Protocol RM │ |
|
86 | 89 | #define JLINK_CMD_POWER_SET_KICKSTART 0x08U /* Set KickStart power state on pin 19 (J-Link 20 pin connector) */ |
87 | 90 | #define JLINK_CMD_POWER_GET_STATE 0xc1U /* Get Kickstart power state and overcurrent timers */ |
88 | 91 |
|
89 | | -/* Low level hardware commands |
| 92 | +/* |
| 93 | + * Low level hardware commands |
90 | 94 | * |
91 | 95 | * ┌──────────────────────────────┬────────────────────────────────┐ |
92 | 96 | * │ BMDA J-Link command │ RM08001 J-Link USB Protocol RM │ |
|
116 | 120 | #define JLINK_CMD_SIGNAL_CLEAR_TDI 0xcbU /* Clear TDI pin */ |
117 | 121 | #define JLINK_CMD_SIGNAL_SET_TDI 0xccU /* Set TDI pin */ |
118 | 122 |
|
119 | | -/* Low level IO commands |
| 123 | +/* |
| 124 | + * Low level IO commands |
120 | 125 | * |
121 | 126 | * ┌────────────────────────────────────┬────────────────────────────────────┐ |
122 | 127 | * │ BMDA J-Link command │ RM08001 J-Link USB Protocol RM │ |
|
138 | 143 | #define JLINK_CMD_IO_TRANSACTION_OBSOLETE1 0xcdU /* Obsolete: Send data on TDI and TMS and return TDO */ |
139 | 144 | #define JLINK_CMD_IO_TRANSACTION_OBSOLETE2 0xceU /* Obsolete: Send data on TDI and TMS and return TDO */ |
140 | 145 |
|
141 | | -/* High level target commands |
| 146 | +/* |
| 147 | + * High level target commands |
142 | 148 | * |
143 | 149 | * ┌─────────────────────────────────────────────┬────────────────────────────────────────────┐ |
144 | 150 | * │ BMDA J-Link command │ RM08001 J-Link USB Protocol RM │ |
|
166 | 172 | #define JLINK_CMD_TARGET_MEASURE_RTCK_REACTION_TIME 0xf6U /* Measure RTCK reaction time of the target device */ |
167 | 173 | #define JLINK_CMD_TARGET_GET_CONNECTION_STATE 0xc2U /* Get target connection timer counters */ |
168 | 174 |
|
169 | | -/* Configuration commands |
| 175 | +/* |
| 176 | + * Configuration commands |
170 | 177 | * |
171 | 178 | * ┌────────────────────────┬────────────────────────────────┐ |
172 | 179 | * │ BMDA J-Link command │ RM08001 J-Link USB Protocol RM │ |
|
201 | 208 | #define JLINK_HARDWARE_VERSION_TYPE_JLINKPRO 3U |
202 | 209 | #define JLINK_HARDWARE_VERSION_TYPE_LPCLINK2 18U |
203 | 210 |
|
204 | | -/* J-Link capabilities - JLINK_CMD_INFO_GET_PROBE_CAPABILITIES |
| 211 | +/* |
| 212 | + * J-Link capabilities - JLINK_CMD_INFO_GET_PROBE_CAPABILITIES |
205 | 213 | * |
206 | 214 | * ┌─────┬──────────────────────────────────────────┬────────────────────────────┐ |
207 | 215 | * │ Bit │ BMDA J-Link capability │ §5.3.4 EMU_CMD_GET_CAPS │ |
|
0 commit comments