Hello, in app. note AN1839 (dsp563xx) its 3 ;-). In DSP56300FM and AN2074 they use the correct number 5.
Regards, Mathias Am 10.02.2011 20:25, schrieb Phil Fong: > Hi, > 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). > The patch below fixes this. > > > Phil > > > --- > src/target/dsp563xx_once.c | 2 +- > 1 files changed, 1 insertions(+), 1 deletions(-) > > diff --git a/src/target/dsp563xx_once.c b/src/target/dsp563xx_once.c > index b7443fa..1d04e89 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 _______________________________________________ Openocd-development mailing list [email protected] https://lists.berlios.de/mailman/listinfo/openocd-development
