diff options
author | mifi <mifi@b42882b7-edfa-0310-969c-e2dbd0fdcd60> | 2008-05-26 17:32:15 +0000 |
---|---|---|
committer | mifi <mifi@b42882b7-edfa-0310-969c-e2dbd0fdcd60> | 2008-05-26 17:32:15 +0000 |
commit | bfc0ac58f87b8e6c4937de703ac89709f8eac951 (patch) | |
tree | c7e4db1bcfaa1f093e113ca9f3024703fd9b2b93 /src/jtag/jlink.c | |
parent | c45984f93ede02b80dd6beb2bfa2132cdec5dfa0 (diff) | |
download | riscv-openocd-bfc0ac58f87b8e6c4937de703ac89709f8eac951.zip riscv-openocd-bfc0ac58f87b8e6c4937de703ac89709f8eac951.tar.gz riscv-openocd-bfc0ac58f87b8e6c4937de703ac89709f8eac951.tar.bz2 |
- 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/jtag/jlink.c')
-rw-r--r-- | src/jtag/jlink.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/jtag/jlink.c b/src/jtag/jlink.c index 07ce9a2..7ca53d8 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; |