Hello, this patch add the missing etm id to the dap info function.
Regards, Mathias
>From cb16ba3e87ce192b74279e6b4017fee1a61e67f3 Mon Sep 17 00:00:00 2001 From: Mathias K. <[email protected]> Date: Thu, 27 Jan 2011 09:16:09 +0100 Subject: [PATCH] add cortex-r4 etm id to dap info --- src/target/arm_adi_v5.c | 9 +++++++-- 1 files changed, 7 insertions(+), 2 deletions(-) diff --git a/src/target/arm_adi_v5.c b/src/target/arm_adi_v5.c index 561823e..5405bc7 100644 --- a/src/target/arm_adi_v5.c +++ b/src/target/arm_adi_v5.c @@ -1473,8 +1473,9 @@ static int dap_info_command(struct command_context *cmd_ctx, /* Part number interpretations are from Cortex * core specs, the CoreSight components TRM - * (ARM DDI 0314H), and ETM specs; also from - * chip observation (e.g. TI SDTI). + * (ARM DDI 0314H), CoreSight System Design + * Guide (ARM DGI 0012D) and ETM specs; also + * from chip observation (e.g. TI SDTI). */ part_num = (c_pid0 & 0xff); part_num |= (c_pid1 & 0x0f) << 8; @@ -1544,6 +1545,10 @@ static int dap_info_command(struct command_context *cmd_ctx, type = "Cortex-M3 ETM"; full = "(Embedded Trace)"; break; + case 0x930: + type = "Cortex-R4 ETM"; + full = "(Embedded Trace)"; + break; case 0xc08: type = "Cortex-A8 Debug"; full = "(Debug Unit)"; -- 1.7.3.4
_______________________________________________ Openocd-development mailing list [email protected] https://lists.berlios.de/mailman/listinfo/openocd-development
