From 4dd8f8aa40098114d98c369933e2715b207be735 Mon Sep 17 00:00:00 2001 From: Evan Hunter Date: Tue, 25 Sep 2012 16:41:49 +1000 Subject: [PATCH] Add extra Coresight component ROM identifiers for the Cortex-M4 Signed-off-by: Evan Hunter Change-Id: Iaf2d69cf10c341d3a516986677f69a4389b29b1a Reviewed-on: http://openocd.zylin.com/841 Tested-by: jenkins Reviewed-by: Freddie Chopin Reviewed-by: Spencer Oliver --- src/target/arm_adi_v5.c | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/src/target/arm_adi_v5.c b/src/target/arm_adi_v5.c index eed84ce95..65d29f0c2 100644 --- a/src/target/arm_adi_v5.c +++ b/src/target/arm_adi_v5.c @@ -1586,6 +1586,10 @@ static int dap_info_command(struct command_context *cmd_ctx, type = "Cortex-M3 FBP"; full = "(Flash Patch and Breakpoint)"; break; + case 0x00c: + type = "Cortex-M4 SCS"; + full = "(System Control Space)"; + break; case 0x00d: type = "CoreSight ETM11"; full = "(Embedded Trace)"; @@ -1635,10 +1639,18 @@ static int dap_info_command(struct command_context *cmd_ctx, type = "Cortex-M3 ETM"; full = "(Embedded Trace)"; break; + case 0x925: + type = "Cortex-M4 ETM"; + full = "(Embedded Trace)"; + break; case 0x930: type = "Cortex-R4 ETM"; full = "(Embedded Trace)"; break; + case 0x9a1: + type = "Cortex-M4 TPUI"; + full = "(Trace Port Interface Unit)"; + break; case 0xc08: type = "Cortex-A8 Debug"; full = "(Debug Unit)"; -- 2.11.4.GIT