X-Git-Url: http://git.rot13.org/?p=goodfet;a=blobdiff_plain;f=firmware%2Finclude%2Fjtag.h;h=59a0e511d73cd3d659a5c9aac7a637be76f1ae7a;hp=72c7a4f6efdce089de770dff3a25c36668b9cde8;hb=3a05c18969fbbb1337db4f8559483c009c78ea12;hpb=d7ad826230d336ad7b7bd20e47dccc26d7ad456f diff --git a/firmware/include/jtag.h b/firmware/include/jtag.h index 72c7a4f..59a0e51 100644 --- a/firmware/include/jtag.h +++ b/firmware/include/jtag.h @@ -107,7 +107,9 @@ extern int savedtclk; //Replace every "CLRTCK SETTCK" with this. #define TCKTOCK CLRTCK,SETTCK + //16-bit MSP430 JTAG commands, bit-swapped +//Rewrite these with MSP430 prefix. #define IR_CNTRL_SIG_16BIT 0xC8 // 0x13 #define IR_CNTRL_SIG_CAPTURE 0x28 // 0x14 #define IR_CNTRL_SIG_RELEASE 0xA8 // 0x15 @@ -154,6 +156,8 @@ void jtag430_por(); #define JTAG430_RELEASECPU 0xA1 #define JTAG430_SETINSTRFETCH 0xC1 #define JTAG430_SETPC 0xC2 +#define JTAG430_SETREG 0xD2 +#define JTAG430_GETREG 0xD3 #define JTAG430_WRITEMEM 0xE0 #define JTAG430_WRITEFLASH 0xE1 #define JTAG430_READMEM 0xE2