diff --git a/src/platforms/hosted/cmsis_dap.c b/src/platforms/hosted/cmsis_dap.c index c06ef9e..77c7799 100644 --- a/src/platforms/hosted/cmsis_dap.c +++ b/src/platforms/hosted/cmsis_dap.c @@ -127,6 +127,8 @@ int dap_init(bmp_info_t *info) DEBUG_INFO(", SWO_MANCHESTER"); if (dap_caps & 0x10) DEBUG_INFO(", Atomic Cmds"); + if (has_swd_sequence) + DEBUG_INFO(", DAP_SWD_Sequence"); DEBUG_INFO("\n"); return 0; } diff --git a/src/platforms/hosted/platform.c b/src/platforms/hosted/platform.c index 4faed40..abb6557 100644 --- a/src/platforms/hosted/platform.c +++ b/src/platforms/hosted/platform.c @@ -211,6 +211,7 @@ int platform_jtagtap_init(void) void platform_adiv5_dp_defaults(ADIv5_DP_t *dp) { + dp->dp_bmp_type = info.bmp_type; switch (info.bmp_type) { case BMP_TYPE_BMP: if (cl_opts.opt_no_hl) { diff --git a/src/target/adiv5.h b/src/target/adiv5.h index c8b77cc..b995af8 100644 --- a/src/target/adiv5.h +++ b/src/target/adiv5.h @@ -182,6 +182,7 @@ typedef struct ADIv5_DP_s { void (*abort)(struct ADIv5_DP_s *dp, uint32_t abort); #if PC_HOSTED == 1 + bmp_type_t dp_bmp_type; bool (*ap_setup)(int i); void (*ap_cleanup)(int i); void (*ap_regs_read)(ADIv5_AP_t *ap, void *data);