This is an automated email from Gerrit. Andreas Färber ([email protected]) just uploaded a new patch set to Gerrit, which you can find at http://openocd.zylin.com/2751
-- gerrit commit 8e9a5a030f5f04f2f475636382ef01440e7b87cb Author: Andreas Färber <[email protected]> Date: Sun Apr 19 21:25:12 2015 +0200 HACK: flash/nor/xmc4xxx: Loosen checks for XMC4500 XMC4500 AA13 on an XMC4500 General App Kit has a zero SCU_IDCHIP register. Work around this by extending our checks to imply XMC4500 AA from zeroes. Change-Id: Ic2d641a314627dd5a1ff775a0113999191b95e3d Signed-off-by: Andreas Färber <[email protected]> diff --git a/src/flash/nor/xmc4xxx.c b/src/flash/nor/xmc4xxx.c index 902d8b2..b00ce9a 100644 --- a/src/flash/nor/xmc4xxx.c +++ b/src/flash/nor/xmc4xxx.c @@ -341,7 +341,7 @@ static int xmc4xxx_probe(struct flash_bank *bank) } /* Make sure this is a XMC4000 family device */ - if ((devid & 0xF0000) != 0x40000) { + if ((devid & 0xF0000) != 0x40000 && devid != 0) { LOG_ERROR("Platform ID doesn't match XMC4xxx: 0x%08" PRIx32, devid); return ERROR_FAIL; } @@ -948,10 +948,12 @@ static int xmc4xxx_get_info_command(struct flash_bank *bank, char *buf, int buf_ break; } break; + case 0x000: case 0x500: dev_str = "XMC4500"; switch (rev_id) { + case 0x0: case 0x2: rev_str = "AA"; break; -- ------------------------------------------------------------------------------ One dashboard for servers and applications across Physical-Virtual-Cloud Widest out-of-the-box monitoring support with 50+ applications Performance metrics, stats and reports that give you Actionable Insights Deep dive visibility with transaction tracing using APM Insight. http://ad.doubleclick.net/ddm/clk/290420510;117567292;y _______________________________________________ OpenOCD-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/openocd-devel
