cmsis_dap: add support for dormant-to-jtag
[fw/openocd] / src / jtag / drivers / cmsis_dap.c
index 19649b71c52bae3534511687b808f7fdadc4a84b..c0898fc30c50c2f07006870a4dafca195743bd88 100644 (file)
@@ -1134,6 +1134,11 @@ static int cmsis_dap_swd_switch_seq(enum swd_special_seq seq)
                s = swd_seq_dormant_to_swd;
                s_len = swd_seq_dormant_to_swd_len;
                break;
+       case DORMANT_TO_JTAG:
+               LOG_DEBUG("DORMANT-to-JTAG");
+               s = swd_seq_dormant_to_jtag;
+               s_len = swd_seq_dormant_to_jtag_len;
+               break;
        default:
                LOG_ERROR("Sequence %d not supported", seq);
                return ERROR_FAIL;