jtag/drivers/cmsis-dap: Restructure commands
[openocd.git] / src / jtag / drivers / cmsis_dap.c
index c2f01f33d7837625d4b5a9adb03ada21f2fdc785..52e4fadeb90748bb4c36dd4e584142e38bbd9f3e 100644 (file)
@@ -160,6 +160,11 @@ static bool swd_mode;
 #define CMD_DAP_TFER_BLOCK        0x06
 #define CMD_DAP_TFER_ABORT        0x07
 
+/* DAP_TransferBlock increases the sum of command/response sizes
+ * (due to 16-bit Transfer Count) if used in a small packet.
+ * Prevent using it until we have at least r/w operations. */
+#define CMD_DAP_TFER_BLOCK_MIN_OPS 4
+
 /* DAP Status Code */
 #define DAP_OK                    0
 #define DAP_ERROR                 0xFF
@@ -211,17 +216,19 @@ static const char * const info_caps_str[INFO_CAPS__NUM_CAPS] = {
 
 struct pending_scan_result {
        /** Offset in bytes in the CMD_DAP_JTAG_SEQ response buffer. */
-       unsigned first;
+       unsigned int first;
        /** Number of bits to read. */
-       unsigned length;
+       unsigned int length;
        /** Location to store the result */
        uint8_t *buffer;
        /** Offset in the destination buffer */
-       unsigned buffer_offset;
+       unsigned int buffer_offset;
 };
 
 /* Each block in FIFO can contain up to pending_queue_len transfers */
-static int pending_queue_len;
+static unsigned int pending_queue_len;
+static unsigned int tfer_max_command_size;
+static unsigned int tfer_max_response_size;
 
 /* pointers to buffers that will receive jtag scan results on the next flush */
 #define MAX_PENDING_SCAN_RESULTS 256
@@ -229,7 +236,7 @@ static int pending_scan_result_count;
 static struct pending_scan_result pending_scan_results[MAX_PENDING_SCAN_RESULTS];
 
 /* queued JTAG sequences that will be executed on the next flush */
-#define QUEUED_SEQ_BUF_LEN (cmsis_dap_handle->packet_size - 3)
+#define QUEUED_SEQ_BUF_LEN (cmsis_dap_handle->packet_usable_size - 3)
 static int queued_seq_count;
 static int queued_seq_buf_end;
 static int queued_seq_tdo_ptr;
@@ -290,14 +297,15 @@ static void cmsis_dap_close(struct cmsis_dap *dap)
                dap->backend = NULL;
        }
 
-       free(cmsis_dap_handle->packet_buffer);
-       free(cmsis_dap_handle);
-       cmsis_dap_handle = NULL;
+       free(dap->packet_buffer);
 
-       for (int i = 0; i < MAX_PENDING_REQUESTS; i++) {
+       for (unsigned int i = 0; i < MAX_PENDING_REQUESTS; i++) {
                free(dap->pending_fifo[i].transfers);
                dap->pending_fifo[i].transfers = NULL;
        }
+
+       free(cmsis_dap_handle);
+       cmsis_dap_handle = NULL;
 }
 
 static void cmsis_dap_flush_read(struct cmsis_dap *dap)
@@ -328,7 +336,7 @@ static int cmsis_dap_xfer(struct cmsis_dap *dap, int txlen)
                dap->pending_fifo_get_idx = 0;
        }
 
-       uint8_t current_cmd = cmsis_dap_handle->command[0];
+       uint8_t current_cmd = dap->command[0];
        int retval = dap->backend->write(dap, txlen, LIBUSB_TIMEOUT_MS);
        if (retval < 0)
                return retval;
@@ -338,7 +346,7 @@ static int cmsis_dap_xfer(struct cmsis_dap *dap, int txlen)
        if (retval < 0)
                return retval;
 
-       uint8_t *resp = cmsis_dap_handle->response;
+       uint8_t *resp = dap->response;
        if (resp[0] == DAP_ERROR) {
                LOG_ERROR("CMSIS-DAP command 0x%" PRIx8 " not implemented", current_cmd);
                return ERROR_NOT_IMPLEMENTED;
@@ -402,7 +410,7 @@ static int cmsis_dap_cmd_dap_swj_sequence(uint8_t s_len, const uint8_t *sequence
 
 #ifdef CMSIS_DAP_JTAG_DEBUG
        LOG_DEBUG("cmsis-dap TMS sequence: len=%d", s_len);
-       for (int i = 0; i < DIV_ROUND_UP(s_len, 8); ++i)
+       for (unsigned int i = 0; i < DIV_ROUND_UP(s_len, 8); ++i)
                printf("%02X ", sequence[i]);
 
        printf("\n");
@@ -741,13 +749,21 @@ static int cmsis_dap_cmd_dap_swo_data(
        return ERROR_OK;
 }
 
+
 static void cmsis_dap_swd_write_from_queue(struct cmsis_dap *dap)
 {
-       uint8_t *command = cmsis_dap_handle->command;
+       uint8_t *command = dap->command;
        struct pending_request_block *block = &dap->pending_fifo[dap->pending_fifo_put_idx];
 
-       LOG_DEBUG_IO("Executing %d queued transactions from FIFO index %u",
-                         block->transfer_count, dap->pending_fifo_put_idx);
+       assert(dap->write_count + dap->read_count == block->transfer_count);
+
+       /* Reset packet size check counters for the next packet */
+       dap->write_count = 0;
+       dap->read_count = 0;
+
+       LOG_DEBUG_IO("Executing %d queued transactions from FIFO index %u%s",
+                                block->transfer_count, dap->pending_fifo_put_idx,
+                                cmsis_dap_handle->swd_cmds_differ ? "" : ", same swd ops");
 
        if (queued_retval != ERROR_OK) {
                LOG_DEBUG("Skipping due to previous errors: %d", queued_retval);
@@ -757,12 +773,23 @@ static void cmsis_dap_swd_write_from_queue(struct cmsis_dap *dap)
        if (block->transfer_count == 0)
                goto skip;
 
-       command[0] = CMD_DAP_TFER;
+       bool block_cmd = !cmsis_dap_handle->swd_cmds_differ
+                                        && block->transfer_count >= CMD_DAP_TFER_BLOCK_MIN_OPS;
+       block->command = block_cmd ? CMD_DAP_TFER_BLOCK : CMD_DAP_TFER;
+
+       command[0] = block->command;
        command[1] = 0x00;      /* DAP Index */
-       command[2] = block->transfer_count;
-       size_t idx = 3;
 
-       for (int i = 0; i < block->transfer_count; i++) {
+       unsigned int idx;
+       if (block_cmd) {
+               h_u16_to_le(&command[2], block->transfer_count);
+               idx = 4;        /* The first transfer will store the common DAP register */
+       } else {
+               command[2] = block->transfer_count;
+               idx = 3;
+       }
+
+       for (unsigned int i = 0; i < block->transfer_count; i++) {
                struct pending_transfer_result *transfer = &(block->transfers[i]);
                uint8_t cmd = transfer->cmd;
                uint32_t data = transfer->data;
@@ -791,7 +818,9 @@ static void cmsis_dap_swd_write_from_queue(struct cmsis_dap *dap)
                        data &= ~CORUNDETECT;
                }
 
-               command[idx++] = (cmd >> 1) & 0x0f;
+               if (!block_cmd || i == 0)
+                       command[idx++] = (cmd >> 1) & 0x0f;
+
                if (!(cmd & SWD_CMD_RNW)) {
                        h_u32_to_le(&command[idx], data);
                        idx += 4;
@@ -836,20 +865,28 @@ static void cmsis_dap_swd_read_process(struct cmsis_dap *dap, int timeout_ms)
        }
 
        uint8_t *resp = dap->response;
-       if (resp[0] != CMD_DAP_TFER) {
+       if (resp[0] != block->command) {
                LOG_ERROR("CMSIS-DAP command mismatch. Expected 0x%x received 0x%" PRIx8,
-                       CMD_DAP_TFER, resp[0]);
+                       block->command, resp[0]);
                queued_retval = ERROR_FAIL;
                goto skip;
        }
 
-       uint8_t transfer_count = resp[1];
-       uint8_t ack = resp[2] & 0x07;
-       if (resp[2] & 0x08) {
+       unsigned int transfer_count;
+       unsigned int idx;
+       if (block->command == CMD_DAP_TFER_BLOCK) {
+               transfer_count = le_to_h_u16(&resp[1]);
+               idx = 3;
+       } else {
+               transfer_count = resp[1];
+               idx = 2;
+       }
+       if (resp[idx] & 0x08) {
                LOG_DEBUG("CMSIS-DAP Protocol Error @ %d (wrong parity)", transfer_count);
                queued_retval = ERROR_FAIL;
                goto skip;
        }
+       uint8_t ack = resp[idx++] & 0x07;
        if (ack != SWD_ACK_OK) {
                LOG_DEBUG("SWD ack not OK @ %d %s", transfer_count,
                          ack == SWD_ACK_WAIT ? "WAIT" : ack == SWD_ACK_FAULT ? "FAULT" : "JUNK");
@@ -864,8 +901,8 @@ static void cmsis_dap_swd_read_process(struct cmsis_dap *dap, int timeout_ms)
 
        LOG_DEBUG_IO("Received results of %d queued transactions FIFO index %u timeout %i",
                 transfer_count, dap->pending_fifo_get_idx, timeout_ms);
-       size_t idx = 3;
-       for (int i = 0; i < transfer_count; i++) {
+
+       for (unsigned int i = 0; i < transfer_count; i++) {
                struct pending_transfer_result *transfer = &(block->transfers[i]);
                if (transfer->cmd & SWD_CMD_RNW) {
                        static uint32_t last_read;
@@ -912,12 +949,66 @@ static int cmsis_dap_swd_run_queue(void)
        return retval;
 }
 
+static unsigned int cmsis_dap_tfer_cmd_size(unsigned int write_count,
+                                                       unsigned int read_count, bool block_tfer)
+{
+       unsigned int size;
+       if (block_tfer) {
+               size = 5;                                               /* DAP_TransferBlock header */
+               size += write_count * 4;                /* data */
+       } else {
+               size = 3;                                               /* DAP_Transfer header */
+               size += write_count * (1 + 4);  /* DAP register + data */
+               size += read_count;                             /* DAP register */
+       }
+       return size;
+}
+
+static unsigned int cmsis_dap_tfer_resp_size(unsigned int write_count,
+                                                       unsigned int read_count, bool block_tfer)
+{
+       unsigned int size;
+       if (block_tfer)
+               size = 4;                                               /* DAP_TransferBlock response header */
+       else
+               size = 3;                                               /* DAP_Transfer response header */
+
+       size += read_count * 4;                         /* data */
+       return size;
+}
+
 static void cmsis_dap_swd_queue_cmd(uint8_t cmd, uint32_t *dst, uint32_t data)
 {
+       /* Compute sizes of the DAP Transfer command and the expected response
+        * for all queued and this operation */
        bool targetsel_cmd = swd_cmd(false, false, DP_TARGETSEL) == cmd;
 
-       if (cmsis_dap_handle->pending_fifo[cmsis_dap_handle->pending_fifo_put_idx].transfer_count == pending_queue_len
-                       || targetsel_cmd) {
+       unsigned int write_count = cmsis_dap_handle->write_count;
+       unsigned int read_count = cmsis_dap_handle->read_count;
+       bool block_cmd;
+       if (write_count + read_count < CMD_DAP_TFER_BLOCK_MIN_OPS)
+               block_cmd = false;
+       else
+               block_cmd = !cmsis_dap_handle->swd_cmds_differ
+                                       && cmd == cmsis_dap_handle->common_swd_cmd;
+
+       if (cmd & SWD_CMD_RNW)
+               read_count++;
+       else
+               write_count++;
+
+       unsigned int cmd_size = cmsis_dap_tfer_cmd_size(write_count, read_count,
+                                                                                                       block_cmd);
+       unsigned int resp_size = cmsis_dap_tfer_resp_size(write_count, read_count,
+                                                                                                       block_cmd);
+       unsigned int max_transfer_count = block_cmd ? 65535 : 255;
+
+       /* Does the DAP Transfer command and the expected response fit into one packet?
+        * Run the queue also before a targetsel - it cannot be queued */
+       if (cmd_size > tfer_max_command_size
+                       || resp_size > tfer_max_response_size
+                       || targetsel_cmd
+                       || write_count + read_count > max_transfer_count) {
                if (cmsis_dap_handle->pending_fifo_block_count)
                        cmsis_dap_swd_read_process(cmsis_dap_handle, 0);
 
@@ -928,6 +1019,8 @@ static void cmsis_dap_swd_queue_cmd(uint8_t cmd, uint32_t *dst, uint32_t data)
                        cmsis_dap_swd_read_process(cmsis_dap_handle, LIBUSB_TIMEOUT_MS);
        }
 
+       assert(cmsis_dap_handle->pending_fifo[cmsis_dap_handle->pending_fifo_put_idx].transfer_count < pending_queue_len);
+
        if (queued_retval != ERROR_OK)
                return;
 
@@ -940,9 +1033,19 @@ static void cmsis_dap_swd_queue_cmd(uint8_t cmd, uint32_t *dst, uint32_t data)
        struct pending_transfer_result *transfer = &(block->transfers[block->transfer_count]);
        transfer->data = data;
        transfer->cmd = cmd;
+       if (block->transfer_count == 0) {
+               cmsis_dap_handle->swd_cmds_differ = false;
+               cmsis_dap_handle->common_swd_cmd = cmd;
+       } else if (cmd != cmsis_dap_handle->common_swd_cmd) {
+               cmsis_dap_handle->swd_cmds_differ = true;
+       }
+
        if (cmd & SWD_CMD_RNW) {
                /* Queue a read transaction */
                transfer->buffer = dst;
+               cmsis_dap_handle->read_count++;
+       } else {
+               cmsis_dap_handle->write_count++;
        }
        block->transfer_count++;
 }
@@ -1004,7 +1107,7 @@ static int cmsis_dap_get_caps_info(void)
 
                cmsis_dap_handle->caps = caps;
 
-               for (int i = 0; i < INFO_CAPS__NUM_CAPS; ++i) {
+               for (unsigned int i = 0; i < INFO_CAPS__NUM_CAPS; ++i) {
                        if (caps & BIT(i))
                                LOG_INFO("CMSIS-DAP: %s", info_caps_str[i]);
                }
@@ -1057,7 +1160,9 @@ static int cmsis_dap_swd_switch_seq(enum swd_special_seq seq)
        unsigned int s_len;
        int retval;
 
-       if ((output_pins & (SWJ_PIN_SRST | SWJ_PIN_TRST)) == (SWJ_PIN_SRST | SWJ_PIN_TRST)) {
+       if (seq != LINE_RESET &&
+                       (output_pins & (SWJ_PIN_SRST | SWJ_PIN_TRST))
+                               == (SWJ_PIN_SRST | SWJ_PIN_TRST)) {
                /* Following workaround deasserts reset on most adapters.
                 * Do not reconnect if a reset line is active!
                 * Reconnecting would break connecting under reset. */
@@ -1182,7 +1287,6 @@ static int cmsis_dap_init(void)
        /* Be conservative and suppress submitting multiple HID requests
         * until we get packet count info from the adaptor */
        cmsis_dap_handle->packet_count = 1;
-       pending_queue_len = 12;
 
        /* INFO_ID_PKT_SZ - short */
        retval = cmsis_dap_cmd_dap_info(INFO_ID_PKT_SZ, &data);
@@ -1192,12 +1296,6 @@ static int cmsis_dap_init(void)
        if (data[0] == 2) {  /* short */
                uint16_t pkt_sz = data[1] + (data[2] << 8);
                if (pkt_sz != cmsis_dap_handle->packet_size) {
-
-                       /* 4 bytes of command header + 5 bytes per register
-                        * write. For bulk read sequences just 4 bytes are
-                        * needed per transfer, so this is suboptimal. */
-                       pending_queue_len = (pkt_sz - 4) / 5;
-
                        free(cmsis_dap_handle->packet_buffer);
                        retval = cmsis_dap_handle->backend->packet_buffer_alloc(cmsis_dap_handle, pkt_sz);
                        if (retval != ERROR_OK)
@@ -1207,6 +1305,16 @@ static int cmsis_dap_init(void)
                }
        }
 
+       /* Maximal number of transfers which fit to one packet:
+        * Limited by response size: 3 bytes of response header + 4 per read
+        * Plus writes to full command size: 3 bytes cmd header + 1 per read + 5 per write */
+       tfer_max_command_size = cmsis_dap_handle->packet_usable_size;
+       tfer_max_response_size = cmsis_dap_handle->packet_usable_size;
+       unsigned int max_reads = tfer_max_response_size / 4;
+       pending_queue_len = max_reads + (tfer_max_command_size - max_reads) / 5;
+       cmsis_dap_handle->write_count = 0;
+       cmsis_dap_handle->read_count = 0;
+
        /* INFO_ID_PKT_CNT - byte */
        retval = cmsis_dap_cmd_dap_info(INFO_ID_PKT_CNT, &data);
        if (retval != ERROR_OK)
@@ -1350,7 +1458,7 @@ static void cmsis_dap_end_state(tap_state_t state)
 }
 
 #ifdef SPRINT_BINARY
-static void sprint_binary(char *s, const uint8_t *buf, int offset, int len)
+static void sprint_binary(char *s, const uint8_t *buf, unsigned int offset, unsigned int len)
 {
        if (!len)
                return;
@@ -1361,7 +1469,7 @@ static void sprint_binary(char *s, const uint8_t *buf, int offset, int len)
        buf = { 0xc0 0x18 } offset=3 len=10 should result in: 11000 11000
                i=3 there means i/8 = 0 so c = 0xFF, and
        */
-       for (int i = offset; i < offset + len; ++i) {
+       for (unsigned int i = offset; i < offset + len; ++i) {
                uint8_t c = buf[i / 8], mask = 1 << (i % 8);
                if ((i != offset) && !(i % 8))
                        putchar(' ');
@@ -1475,10 +1583,11 @@ static void cmsis_dap_flush(void)
  * sequence=NULL means clock out zeros on TDI
  * tdo_buffer=NULL means don't capture TDO
  */
-static void cmsis_dap_add_jtag_sequence(int s_len, const uint8_t *sequence, int s_offset,
-                                       bool tms, uint8_t *tdo_buffer, int tdo_buffer_offset)
+static void cmsis_dap_add_jtag_sequence(unsigned int s_len, const uint8_t *sequence,
+                                       unsigned int s_offset, bool tms,
+                                       uint8_t *tdo_buffer, unsigned int tdo_buffer_offset)
 {
-       LOG_DEBUG_IO("[at %d] %d bits, tms %s, seq offset %d, tdo buf %p, tdo offset %d",
+       LOG_DEBUG_IO("[at %d] %u bits, tms %s, seq offset %u, tdo buf %p, tdo offset %u",
                queued_seq_buf_end,
                s_len, tms ? "HIGH" : "LOW", s_offset, tdo_buffer, tdo_buffer_offset);
 
@@ -1487,11 +1596,11 @@ static void cmsis_dap_add_jtag_sequence(int s_len, const uint8_t *sequence, int
 
        if (s_len > 64) {
                LOG_DEBUG_IO("START JTAG SEQ SPLIT");
-               for (int offset = 0; offset < s_len; offset += 64) {
-                       int len = s_len - offset;
+               for (unsigned int offset = 0; offset < s_len; offset += 64) {
+                       unsigned int len = s_len - offset;
                        if (len > 64)
                                len = 64;
-                       LOG_DEBUG_IO("Splitting long jtag sequence: %d-bit chunk starting at offset %d", len, offset);
+                       LOG_DEBUG_IO("Splitting long jtag sequence: %u-bit chunk starting at offset %u", len, offset);
                        cmsis_dap_add_jtag_sequence(
                                len,
                                sequence,
@@ -1505,7 +1614,7 @@ static void cmsis_dap_add_jtag_sequence(int s_len, const uint8_t *sequence, int
                return;
        }
 
-       int cmd_len = 1 + DIV_ROUND_UP(s_len, 8);
+       unsigned int cmd_len = 1 + DIV_ROUND_UP(s_len, 8);
        if (queued_seq_count >= 255 || queued_seq_buf_end + cmd_len > QUEUED_SEQ_BUF_LEN)
                /* empty out the buffer */
                cmsis_dap_flush();
@@ -1999,12 +2108,12 @@ COMMAND_HANDLER(cmsis_dap_handle_cmd_command)
 COMMAND_HANDLER(cmsis_dap_handle_vid_pid_command)
 {
        if (CMD_ARGC > MAX_USB_IDS * 2) {
-               LOG_WARNING("ignoring extra IDs in cmsis_dap_vid_pid "
+               LOG_WARNING("ignoring extra IDs in cmsis-dap vid_pid "
                        "(maximum is %d pairs)", MAX_USB_IDS);
                CMD_ARGC = MAX_USB_IDS * 2;
        }
        if (CMD_ARGC < 2 || (CMD_ARGC & 1)) {
-               LOG_WARNING("incomplete cmsis_dap_vid_pid configuration directive");
+               LOG_WARNING("incomplete cmsis-dap vid_pid configuration directive");
                if (CMD_ARGC < 2)
                        return ERROR_COMMAND_SYNTAX_ERROR;
                /* remove the incomplete trailing id */
@@ -2039,10 +2148,10 @@ COMMAND_HANDLER(cmsis_dap_handle_backend_command)
                                }
                        }
 
-                       LOG_ERROR("invalid backend argument to cmsis_dap_backend <backend>");
+                       LOG_ERROR("invalid backend argument to cmsis-dap backend <backend>");
                }
        } else {
-               LOG_ERROR("expected exactly one argument to cmsis_dap_backend <backend>");
+               LOG_ERROR("expected exactly one argument to cmsis-dap backend <backend>");
        }
 
        return ERROR_OK;
@@ -2063,27 +2172,15 @@ static const struct command_registration cmsis_dap_subcommand_handlers[] = {
                .usage = "",
                .help = "issue cmsis-dap command",
        },
-       COMMAND_REGISTRATION_DONE
-};
-
-
-static const struct command_registration cmsis_dap_command_handlers[] = {
-       {
-               .name = "cmsis-dap",
-               .mode = COMMAND_ANY,
-               .help = "perform CMSIS-DAP management",
-               .usage = "<cmd>",
-               .chain = cmsis_dap_subcommand_handlers,
-       },
        {
-               .name = "cmsis_dap_vid_pid",
+               .name = "vid_pid",
                .handler = &cmsis_dap_handle_vid_pid_command,
                .mode = COMMAND_CONFIG,
                .help = "the vendor ID and product ID of the CMSIS-DAP device",
                .usage = "(vid pid)*",
        },
        {
-               .name = "cmsis_dap_backend",
+               .name = "backend",
                .handler = &cmsis_dap_handle_backend_command,
                .mode = COMMAND_CONFIG,
                .help = "set the communication backend to use (USB bulk or HID).",
@@ -2091,7 +2188,7 @@ static const struct command_registration cmsis_dap_command_handlers[] = {
        },
 #if BUILD_CMSIS_DAP_USB
        {
-               .name = "cmsis_dap_usb",
+               .name = "usb",
                .chain = cmsis_dap_usb_subcommand_handlers,
                .mode = COMMAND_ANY,
                .help = "USB bulk backend-specific commands",
@@ -2101,6 +2198,18 @@ static const struct command_registration cmsis_dap_command_handlers[] = {
        COMMAND_REGISTRATION_DONE
 };
 
+
+static const struct command_registration cmsis_dap_command_handlers[] = {
+       {
+               .name = "cmsis-dap",
+               .mode = COMMAND_ANY,
+               .help = "perform CMSIS-DAP management",
+               .usage = "<cmd>",
+               .chain = cmsis_dap_subcommand_handlers,
+       },
+       COMMAND_REGISTRATION_DONE
+};
+
 static const struct swd_driver cmsis_dap_swd_driver = {
        .init = cmsis_dap_swd_init,
        .switch_seq = cmsis_dap_swd_switch_seq,

Linking to existing account procedure

If you already have an account and want to add another login method you MUST first sign in with your existing account and then change URL to read https://review.openocd.org/login/?link to get to this page again but this time it'll work for linking. Thank you.

SSH host keys fingerprints

1024 SHA256:YKx8b7u5ZWdcbp7/4AeXNaqElP49m6QrwfXaqQGJAOk gerrit-code-review@openocd.zylin.com (DSA)
384 SHA256:jHIbSQa4REvwCFG4cq5LBlBLxmxSqelQPem/EXIrxjk gerrit-code-review@openocd.org (ECDSA)
521 SHA256:UAOPYkU9Fjtcao0Ul/Rrlnj/OsQvt+pgdYSZ4jOYdgs gerrit-code-review@openocd.org (ECDSA)
256 SHA256:A13M5QlnozFOvTllybRZH6vm7iSt0XLxbA48yfc2yfY gerrit-code-review@openocd.org (ECDSA)
256 SHA256:spYMBqEYoAOtK7yZBrcwE8ZpYt6b68Cfh9yEVetvbXg gerrit-code-review@openocd.org (ED25519)
+--[ED25519 256]--+
|=..              |
|+o..   .         |
|*.o   . .        |
|+B . . .         |
|Bo. = o S        |
|Oo.+ + =         |
|oB=.* = . o      |
| =+=.+   + E     |
|. .=o   . o      |
+----[SHA256]-----+
2048 SHA256:0Onrb7/PHjpo6iVZ7xQX2riKN83FJ3KGU0TvI0TaFG4 gerrit-code-review@openocd.zylin.com (RSA)