summaryrefslogtreecommitdiff
path: root/src/flash
diff options
context:
space:
mode:
authorRolf Meeser <rolfm_9dq@yahoo.de>2010-12-01 08:28:43 +0100
committerØyvind Harboe <oyvind.harboe@zylin.com>2010-12-01 08:48:02 +0100
commit40a93104d58c319e9ee7c4e8764adbdfa460d790 (patch)
tree51fae4477d42e6d1a438d44f6361a4896b24433d /src/flash
parent71031bcf7f279f232f818587f99468010461edf3 (diff)
downloadopenocd+libswd-40a93104d58c319e9ee7c4e8764adbdfa460d790.tar.gz
openocd+libswd-40a93104d58c319e9ee7c4e8764adbdfa460d790.tar.bz2
openocd+libswd-40a93104d58c319e9ee7c4e8764adbdfa460d790.tar.xz
openocd+libswd-40a93104d58c319e9ee7c4e8764adbdfa460d790.zip
lpc2900.c: Improve debug output for device probing
Diffstat (limited to 'src/flash')
-rw-r--r--src/flash/nor/lpc2900.c6
1 files changed, 5 insertions, 1 deletions
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;
}