CVS: python README-msp430-jtag.txt,1.1,1.2 msp430-jtag.py,1.7,1.8
Chris Liechti <[email protected]>
| Newsgroups | gmane.comp.hardware.texas-instruments.msp430.gcc.cvs |
|---|---|
| Message-ID | <[email protected]> |
Update of /cvsroot/mspgcc/python
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv27240/python
Modified Files:
README-msp430-jtag.txt msp430-jtag.py
Log Message:
- fix --no-close
- add note, thanks to George Belotsky
Index: README-msp430-jtag.txt
===================================================================
RCS file: /cvsroot/mspgcc/python/README-msp430-jtag.txt,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -w -d -r1.1 -r1.2
--- README-msp430-jtag.txt 29 Feb 2004 23:06:35 -0000 1.1
+++ README-msp430-jtag.txt 13 Dec 2004 23:25:37 -0000 1.2
@@ -22,13 +22,13 @@
Requirements
------------
- Linux, BSD, Un*x or Windows PC
-- Python 2.0 or newer, 2.2 recomeded
+- Python 2.0 or newer, 2.2+ recomeded
- Parallel JTAG hardware with an MSP430 device connected
Installation
------------
-Binaries for Windows and other Linux/Un*x like OS can be found in the
-downloads section of http://mspgcc.sf.net
+Binaries for Windows can be found in the download section of
+http://mspgcc.sf.net
XXX
@@ -43,11 +43,13 @@
tarball available through the Python homepage.
_parjtag.so/dll from the jtag archive can be copied to the same directory as
-jtag.py or to a directory on the PATH.
+msp430-jtag.py or to a directory on the PATH.
It's recomended to install jtag.py as "msp430-jtag" in a directory in the PATH
and make it executable.
-XXX
+There is also a ctypes version, which means just libHIL.so/HIL.dll is needed
+and the ctypes python extension.
+
Short introduction
------------------
@@ -116,6 +118,20 @@
-w, --wait Wait for <ENTER> before closing parallel port.
+NOTE: Some versions of the Texas Instruments MSP430 Development Tool
+ require that you give the '--no-close' option to pyJTAG. This
+ is because the Texas Instruments tool is powered via the JTAG
+ adapter; the '--no-close' option prevents pyJTAG from powering the
+ adapter off. You may also need to restart the program with
+ pyJTAG (using the '--no-close' and '-r' options is sufficient) after
+ rebooting your machine.
+
+ Other development kits that rely on the parallel port for their power
+ source may also need the '--no-close' option. It is preferable to
+ try programming the device *without* the '--no-close' option first,
+ and introduce this option only if the uploaded code fails to start.
+
+
Examples
--------
msp430-jtag -e
@@ -176,6 +192,8 @@
----------
- Python: http://www.python.org
+- ctypes: starship.python.net/crew/theller/ctypes
+
- Texas Instruments MSP430 Homepage, links to Datasheets and Application
Notes: http://www.ti.com/sc/msp430
Index: msp430-jtag.py
===================================================================
RCS file: /cvsroot/mspgcc/python/msp430-jtag.py,v
retrieving revision 1.7
retrieving revision 1.8
diff -u -w -d -r1.7 -r1.8
--- msp430-jtag.py 12 Dec 2004 16:30:51 -0000 1.7
+++ msp430-jtag.py 13 Dec 2004 23:25:37 -0000 1.8
@@ -226,7 +226,7 @@
sys.exit(2)
elif o in ("-S", "--progress"):
jtagobj.showprogess = 1
- elif o in ("--no-close"):
+ elif o in ("--no-close", ):
do_close = 0
if len(args) == 0:
-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://productguide.itmanagersjournal.com/