projects
/
goodfet
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Block reads in CC_READ_XDATA_MEMORY.
[goodfet]
/
firmware
/
apps
/
jtag
/
jtag430.c
diff --git
a/firmware/apps/jtag/jtag430.c
b/firmware/apps/jtag/jtag430.c
index
5a8da9a
..
469e03c
100644
(file)
--- a/
firmware/apps/jtag/jtag430.c
+++ b/
firmware/apps/jtag/jtag430.c
@@
-5,7
+5,7
@@
#include "platform.h"
#include "command.h"
#include "platform.h"
#include "command.h"
-#include "jtag.h"
+#include "jtag
430
.h"
unsigned int jtag430mode=MSP430X2MODE;
unsigned int jtag430mode=MSP430X2MODE;
@@
-51,7
+51,7
@@
void jtag430_haltcpu(){
//! Release the CPU
void jtag430_releasecpu(){
CLRTCLK;
//! Release the CPU
void jtag430_releasecpu(){
CLRTCLK;
- debugstr("Releasing target MSP430.");
+
//
debugstr("Releasing target MSP430.");
/*
jtag_ir_shift8(IR_CNTRL_SIG_16BIT);
/*
jtag_ir_shift8(IR_CNTRL_SIG_16BIT);
@@
-319,8
+319,6
@@
void jtag430handle(unsigned char app,
unsigned long at;
unsigned int i, val;
unsigned long at;
unsigned int i, val;
- //debugstr("Classic MSP430 handler.");
-
/* FIXME
* Sometimes JTAG doesn't init correctly.
/* FIXME
* Sometimes JTAG doesn't init correctly.
@@
-331,9
+329,9
@@
void jtag430handle(unsigned char app,
while((i=jtag430_readmem(0xff0))==0xFFFF){
debugstr("Reconnecting to target MSP430.");
jtag430_start();
while((i=jtag430_readmem(0xff0))==0xFFFF){
debugstr("Reconnecting to target MSP430.");
jtag430_start();
- P
1OUT^=1
;
+ P
LEDOUT^=PLEDPIN
;
}
}
- P
1OUT&=~1
;
+ P
LEDOUT&=~PLEDPIN
;
switch(verb){
switch(verb){
@@
-434,8
+432,8
@@
void jtag430handle(unsigned char app,
break;
case JTAG430_SETPC:
jtag430_haltcpu();
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);
jtag430_setpc(cmddataword[0]);
jtag430_releasecpu();
txdata(app,verb,0);