projects
/
fw
/
openocd
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e4590da
)
arm-jtag-ew: Emit a warning if interface firmware version != 1.6
author
Simon Barner
<barner@gmx.de>
Fri, 16 Sep 2011 19:12:47 +0000
(21:12 +0200)
committer
Andreas Fritiofson
<andreas.fritiofson@gmail.com>
Sat, 8 Oct 2011 21:09:30 +0000
(23:09 +0200)
src/jtag/drivers/arm-jtag-ew.c
patch
|
blob
|
history
diff --git
a/src/jtag/drivers/arm-jtag-ew.c
b/src/jtag/drivers/arm-jtag-ew.c
index 52933651fc72fb53f0a17853080ed120c74a4278..7712a9e2009e31795c3d15b034fa5432a72ccabe 100644
(file)
--- a/
src/jtag/drivers/arm-jtag-ew.c
+++ b/
src/jtag/drivers/arm-jtag-ew.c
@@
-496,6
+496,11
@@
static int armjtagew_get_version_info(void)
usb_in_buffer[1], usb_in_buffer[0], \
isgraph(usb_in_buffer[2]) ? usb_in_buffer[2] : 'X', \
sn, auxinfo);
+
+ if (1 != usb_in_buffer[1] || 6 != usb_in_buffer[0])
+ {
+ LOG_WARNING("ARM-JTAG-EW firmware version %d.%d is untested with this version of OpenOCD. You might experience unexpected behavior.", usb_in_buffer[1], usb_in_buffer[0]);
+ }
return ERROR_OK;
}