From 35e81d4364c271251ac5ec89fd70a60a83b0bba4 Mon Sep 17 00:00:00 2001 From: ALTracer Date: Mon, 29 Apr 2024 19:45:57 +0300 Subject: [PATCH] adiv5: Embrace stlinkv2 fw managing DRW/RDBUFF reads from a MINDP --- src/target/adiv5.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/target/adiv5.c b/src/target/adiv5.c index 7f455636c85..dd2b1f0fad5 100644 --- a/src/target/adiv5.c +++ b/src/target/adiv5.c @@ -439,7 +439,7 @@ static uint32_t cortexm_initial_halt(adiv5_access_port_s *ap) */ if ((ap->dp->quirks & ADIV5_DP_QUIRK_MINDP) #if PC_HOSTED == 1 - && bmda_probe_info.type != PROBE_TYPE_CMSIS_DAP + && bmda_probe_info.type != PROBE_TYPE_CMSIS_DAP && bmda_probe_info.type != PROBE_TYPE_STLINK_V2 #endif ) dhcsr = adiv5_dp_low_access(ap->dp, ADIV5_LOW_READ, ADIV5_DP_RDBUFF, 0);