aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorPhil Fong <fongpwf@yahoo.com>2011-02-15 20:17:33 +0100
committerØyvind Harboe <oyvind.harboe@zylin.com>2011-02-15 20:17:33 +0100
commit17a6ffa0c78dcd2df3a8fd5260e823f8776066df (patch)
treedbbdc7fa586011c817ba3584e4d6de5a0693f2ae /src
parent422e9f9b417e9084998defec7bb4e17458a23f53 (diff)
downloadriscv-openocd-17a6ffa0c78dcd2df3a8fd5260e823f8776066df.zip
riscv-openocd-17a6ffa0c78dcd2df3a8fd5260e823f8776066df.tar.gz
riscv-openocd-17a6ffa0c78dcd2df3a8fd5260e823f8776066df.tar.bz2
dsp563xx_once: Correct definition of JTAG_INSTR_CLAMP
I've been working on Rodrigo on adding support to flash Freescale dsp56800e devices and have been looking at the dsp563xx code. I think the define for the JTAG CLAMP instruction in dsp563xx_once.c is incorrect. It should be 0x05 according the Freescale AN2074 (and is also 0x05 in the dsp568xx according to AN1935). It won't actually change anything in OpenOCD since this define is not used anywhere (as far as I can tell).
Diffstat (limited to 'src')
-rw-r--r--src/target/dsp563xx_once.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/target/dsp563xx_once.c b/src/target/dsp563xx_once.c
index cb3abf6..ddd06dd 100644
--- a/src/target/dsp563xx_once.c
+++ b/src/target/dsp563xx_once.c
@@ -37,8 +37,8 @@
#define JTAG_INSTR_EXTEST 0x00
#define JTAG_INSTR_SAMPLE_PRELOAD 0x01
#define JTAG_INSTR_IDCODE 0x02
-#define JTAG_INSTR_CLAMP 0x03
#define JTAG_INSTR_HIZ 0x04
+#define JTAG_INSTR_CLAMP 0x05
#define JTAG_INSTR_ENABLE_ONCE 0x06
#define JTAG_INSTR_DEBUG_REQUEST 0x07
#define JTAG_INSTR_BYPASS 0x0F