From: Rolf Meeser Date: Wed, 1 Dec 2010 07:28:43 +0000 (+0100) Subject: lpc2900.c: Improve debug output for device probing X-Git-Tag: v0.5.0-rc1~304 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=40a93104d58c319e9ee7c4e8764adbdfa460d790;p=openocd lpc2900.c: Improve debug output for device probing --- diff --git a/src/flash/nor/lpc2900.c b/src/flash/nor/lpc2900.c index 590c393b..1c1c90fd 100644 --- a/src/flash/nor/lpc2900.c +++ b/src/flash/nor/lpc2900.c @@ -1676,7 +1676,11 @@ static int lpc2900_probe(struct flash_bank *bank) if ( !found ) { - LOG_WARNING("Unknown LPC29xx derivative"); + LOG_WARNING("Unknown LPC29xx derivative" + " (FEATx=" + "%08" PRIx32 ":%08" PRIx32 ":%08" PRIx32 ":%08" PRIx32 ")", + feat0, feat1, feat2, feat3 + ); return ERROR_FLASH_OPERATION_FAILED; }