From: Phil Fong Date: Tue, 15 Feb 2011 19:17:33 +0000 (+0100) Subject: dsp563xx_once: Correct definition of JTAG_INSTR_CLAMP X-Git-Tag: v0.5.0-rc1~178 X-Git-Url: https://review.openocd.org/gitweb?p=openocd.git;a=commitdiff_plain;h=17a6ffa0c78dcd2df3a8fd5260e823f8776066df;hp=422e9f9b417e9084998defec7bb4e17458a23f53 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). --- diff --git a/src/target/dsp563xx_once.c b/src/target/dsp563xx_once.c index cb3abf66fb..ddd06dde69 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