From f809ee69357b1968443c58c7df91897249e0bc3f Mon Sep 17 00:00:00 2001 From: ntfreak Date: Mon, 3 Nov 2008 14:27:57 +0000 Subject: - fix issue with jlink/libusb timeout under linux - add missing svn props git-svn-id: svn://svn.berlios.de/openocd/trunk@1128 b42882b7-edfa-0310-969c-e2dbd0fdcd60 --- src/jtag/jlink.c | 2 +- src/target/target/imx27.cfg | 24 ++++++++++++------------ 2 files changed, 13 insertions(+), 13 deletions(-) (limited to 'src') diff --git a/src/jtag/jlink.c b/src/jtag/jlink.c index c81e9a02..7f16f365 100644 --- a/src/jtag/jlink.c +++ b/src/jtag/jlink.c @@ -52,7 +52,7 @@ #define JLINK_WRITE_ENDPOINT 0x02 #define JLINK_READ_ENDPOINT 0x81 -#define JLINK_USB_TIMEOUT 100 +#define JLINK_USB_TIMEOUT 1000 #define JLINK_IN_BUFFER_SIZE 8192 #define JLINK_OUT_BUFFER_SIZE 8192 diff --git a/src/target/target/imx27.cfg b/src/target/target/imx27.cfg index 6d3cd6be..c6fdf41c 100644 --- a/src/target/target/imx27.cfg +++ b/src/target/target/imx27.cfg @@ -1,12 +1,12 @@ -#use combined on interfaces or targets that can't set TRST/SRST separately -reset_config trst_and_srst - -# There are 2 taps on the chip: -# The ETM -jtag_device 4 0x1 0xf 0xe -# The ARM926EJS -jtag_device 4 0x1 0xf 0xe - -# Note above there are 2 taps (#0 and #1) the ARM926 is the 2nd tap (ie #1) -target create target0 arm926ejs -endianess little -chain-position 1 -variant arm926ejs - +#use combined on interfaces or targets that can't set TRST/SRST separately +reset_config trst_and_srst + +# There are 2 taps on the chip: +# The ETM +jtag_device 4 0x1 0xf 0xe +# The ARM926EJS +jtag_device 4 0x1 0xf 0xe + +# Note above there are 2 taps (#0 and #1) the ARM926 is the 2nd tap (ie #1) +target create target0 arm926ejs -endianess little -chain-position 1 -variant arm926ejs + -- cgit v1.2.3