X-Git-Url: http://git.rot13.org/?p=goodfet;a=blobdiff_plain;f=firmware%2Fapps%2Fjtag%2Fjtag430.c;h=f98cc5f27195557ed4375a2ebe047e46e0926b4c;hp=5a8da9a4437a99fa6db32d642e4743d3a47686d0;hb=ec842a71bc86390267ca8dffdd5cf8236dc211e4;hpb=f76fbc5671172624ee4ef0f932e84d35b57b512e diff --git a/firmware/apps/jtag/jtag430.c b/firmware/apps/jtag/jtag430.c index 5a8da9a..f98cc5f 100644 --- a/firmware/apps/jtag/jtag430.c +++ b/firmware/apps/jtag/jtag430.c @@ -5,7 +5,7 @@ #include "platform.h" #include "command.h" -#include "jtag.h" +#include "jtag430.h" unsigned int jtag430mode=MSP430X2MODE; @@ -51,7 +51,7 @@ void jtag430_haltcpu(){ //! Release the CPU void jtag430_releasecpu(){ CLRTCLK; - debugstr("Releasing target MSP430."); + //debugstr("Releasing target MSP430."); /* jtag_ir_shift8(IR_CNTRL_SIG_16BIT); @@ -331,9 +331,9 @@ void jtag430handle(unsigned char app, while((i=jtag430_readmem(0xff0))==0xFFFF){ debugstr("Reconnecting to target MSP430."); jtag430_start(); - P1OUT^=1; + PLEDOUT^=PLEDPIN; } - P1OUT&=~1; + PLEDOUT&=~PLEDPIN; switch(verb){ @@ -434,8 +434,8 @@ void jtag430handle(unsigned char app, break; case JTAG430_SETPC: jtag430_haltcpu(); - debughex("Setting PC."); - debughex(cmddataword[0]); + //debughex("Setting PC."); + //debughex(cmddataword[0]); jtag430_setpc(cmddataword[0]); jtag430_releasecpu(); txdata(app,verb,0);