CVS: jtag/msp430 JTAGfunc.c,1.13,1.14

Chris Liechti <[email protected]> Wed, 15 Nov 2006 13:08:41 -0800
Newsgroups gmane.comp.hardware.texas-instruments.msp430.gcc.cvs
Message-ID <[email protected]>
Update of /cvsroot/mspgcc/jtag/msp430
In directory sc8-pr-cvs7.sourceforge.net:/tmp/cvs-serv15656/jtag/msp430

Modified Files:
	JTAGfunc.c 
Log Message:
docs, missing file

Index: JTAGfunc.c
===================================================================
RCS file: /cvsroot/mspgcc/jtag/msp430/JTAGfunc.c,v
retrieving revision 1.13
retrieving revision 1.14
diff -u -w -d -r1.13 -r1.14
--- JTAGfunc.c	15 Nov 2006 20:28:51 -0000	1.13
+++ JTAGfunc.c	15 Nov 2006 21:08:39 -0000	1.14
@@ -123,7 +123,9 @@
     WORD ctrl;
     WORD jtagversion;
     
-    // F2xx Spy-Bi_Wire support/workaround -> enable 4 Wire JTAG
+    // F2xx Spy-Bi-Wire support/workaround -> enable 4 Wire JTAG
+    // consier a switch do disable this code when not needed (but it doesn't
+    // seem to cause problems with old devices anyway)
     HIL_RST(0);
     HIL_TST(0);
     HIL_DelayMSec(5);
@@ -132,12 +134,14 @@
     HIL_TST(1);
 
     HIL_RST(0);
-
+    // the following pulse is time critical it must not exceed 100us for
+    // Spy-Bi-Wire capable devices.
+    // XXX any support from the OS avoid context switches?
     HIL_TST(0xff00);
     HIL_TST(0xff01);
     HIL_RST(1);
     HIL_DelayMSec(10);
-    // end of Spy-Bi_Wire support/workaround
+    // end of Spy-Bi-Wire support/workaround
     
     DEVICE = 0;                                         // Preset DEVICE with "not a device"
     ResetTAP();                                         // Reset JTAG state machine, check fuse HW


-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV