From 75186f7d50d20740e0d7e57c3cbbf7cc44d3f1a6 Mon Sep 17 00:00:00 2001 From: Uwe Bonnes Date: Sat, 11 Jan 2020 16:35:03 +0100 Subject: [PATCH] ADIv5: More CoreSight device decoding: - MTB-M0+ (Simple Execution Trace) - M33: Devices need finer decoding (DEVTYPE at offset 0xfcc) --- src/target/adiv5.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/target/adiv5.c b/src/target/adiv5.c index 5369eee..d22babb 100644 --- a/src/target/adiv5.c +++ b/src/target/adiv5.c @@ -188,6 +188,7 @@ static const struct { {0x924, aa_nosupport, cidc_unknown, PIDR_PN_BIT_STRINGS("Cortex-M3 ETM", "(Embedded Trace)")}, {0x925, aa_nosupport, cidc_unknown, PIDR_PN_BIT_STRINGS("Cortex-M4 ETM", "(Embedded Trace)")}, {0x930, aa_nosupport, cidc_unknown, PIDR_PN_BIT_STRINGS("Cortex-R4 ETM", "(Embedded Trace)")}, + {0x932, aa_nosupport, cidc_unknown, PIDR_PN_BIT_STRINGS("CoreSight MTB-M0+", "(Simple Execution Trace)")}, {0x941, aa_nosupport, cidc_unknown, PIDR_PN_BIT_STRINGS("CoreSight TPIU-Lite", "(Trace Port Interface Unit)")}, {0x950, aa_nosupport, cidc_unknown, PIDR_PN_BIT_STRINGS("CoreSight Component", "(unidentified Cortex-A9 component)")}, {0x955, aa_nosupport, cidc_unknown, PIDR_PN_BIT_STRINGS("CoreSight Component", "(unidentified Cortex-A5 component)")}, @@ -209,6 +210,7 @@ static const struct { {0xc09, aa_cortexa, cidc_dc, PIDR_PN_BIT_STRINGS("Cortex-A9 Debug", "(Debug Unit)")}, {0xc0f, aa_nosupport, cidc_unknown, PIDR_PN_BIT_STRINGS("Cortex-A15 Debug", "(Debug Unit)")}, /* support? */ {0xc14, aa_nosupport, cidc_unknown, PIDR_PN_BIT_STRINGS("Cortex-R4 Debug", "(Debug Unit)")}, /* support? */ + {0xd21, aa_nosupport, cidc_unknown, PIDR_PN_BIT_STRINGS("Cortex-M33", "()")}, /* support? */ {0xfff, aa_end, cidc_unknown, PIDR_PN_BIT_STRINGS("end", "end")} };