aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authormifi <mifi@b42882b7-edfa-0310-969c-e2dbd0fdcd60>2008-05-26 17:32:15 +0000
committermifi <mifi@b42882b7-edfa-0310-969c-e2dbd0fdcd60>2008-05-26 17:32:15 +0000
commitbfc0ac58f87b8e6c4937de703ac89709f8eac951 (patch)
treec7e4db1bcfaa1f093e113ca9f3024703fd9b2b93 /src
parentc45984f93ede02b80dd6beb2bfa2132cdec5dfa0 (diff)
- renamed EMU_CMD_HW_JTAG to EMU_CMD_HW_JTAG3
git-svn-id: svn://svn.berlios.de/openocd/trunk@689 b42882b7-edfa-0310-969c-e2dbd0fdcd60
Diffstat (limited to 'src')
-rw-r--r--src/jtag/jlink.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/jtag/jlink.c b/src/jtag/jlink.c
index 07ce9a2c..7ca53d80 100644
--- a/src/jtag/jlink.c
+++ b/src/jtag/jlink.c
@@ -65,7 +65,7 @@ static u8 usb_emu_result_buffer[JLINK_EMU_RESULT_BUFFER_SIZE];
#define EMU_CMD_VERSION 0x01
#define EMU_CMD_SET_SPEED 0x05
#define EMU_CMD_GET_STATE 0x07
-#define EMU_CMD_HW_JTAG 0xcf
+#define EMU_CMD_HW_JTAG3 0xcf
#define EMU_CMD_HW_RESET0 0xdc
#define EMU_CMD_HW_RESET1 0xdd
#define EMU_CMD_HW_TRST0 0xde
@@ -664,7 +664,7 @@ int jlink_tap_execute()
byte_length = tap_length / 8;
- usb_out_buffer[0] = EMU_CMD_HW_JTAG;
+ usb_out_buffer[0] = EMU_CMD_HW_JTAG3;
usb_out_buffer[1] = 0;
usb_out_buffer[2] = (tap_length >> 0) & 0xff;
usb_out_buffer[3] = (tap_length >> 8) & 0xff;