CVS: jtag/msp430 JTAGfunc.c,1.8,1.9

Chris Liechti <[email protected]>
Newsgroups gmane.comp.hardware.texas-instruments.msp430.gcc.cvs
Message-ID <[email protected]>
Update of /cvsroot/mspgcc/jtag/msp430
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv11239/jtag/msp430

Modified Files:
	JTAGfunc.c 
Log Message:
- bugfix ReadMemQuick
- use constant instead of number

Index: JTAGfunc.c
===================================================================
RCS file: /cvsroot/mspgcc/jtag/msp430/JTAGfunc.c,v
retrieving revision 1.8
retrieving revision 1.9
diff -u -w -d -r1.8 -r1.9
--- JTAGfunc.c	10 Mar 2006 03:42:13 -0000	1.8
+++ JTAGfunc.c	13 Apr 2006 20:20:59 -0000	1.9
@@ -279,7 +279,7 @@
     HIL_JTAG_DR(0x2401, F_WORD);
     HIL_JTAG_IR(IR_DATA_16BIT);
     HIL_TCLK(1);                                // F2xx
-    HIL_JTAG_DR(0x3FFF, F_WORD);                // Send JMP $ instruction
+    HIL_JTAG_DR(JMP_$, F_WORD);                 // Send JMP $ instruction
     HIL_TCLK(NEG_EDGE);
     HIL_JTAG_IR(IR_CNTRL_SIG_16BIT);
     HIL_JTAG_DR(0x2409, F_WORD);                // Set JTAG_HALT bit
@@ -480,7 +480,7 @@
     SetPC(StartAddr-4);
     HaltCPU();
 
-    HIL_TCLK(1);
+    HIL_TCLK(0);
     HIL_JTAG_IR(IR_CNTRL_SIG_16BIT);
     HIL_JTAG_DR(0x2409, F_WORD);            // Set RW to read
     HIL_JTAG_IR(IR_DATA_QUICK);



-------------------------------------------------------
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.