CVS: pyjtag NO_LONGER_MAINTAINED,NONE,1.1 jtag.py,1.17,1.18 makefile,1.2,1.3 readme.txt,1.4,1.5

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

Modified Files:
	jtag.py makefile readme.txt 
Added Files:
	NO_LONGER_MAINTAINED 
Log Message:
- sync last uncommited chages
- add file with note that these are no longer maintained, see CVS/python instead

--- NEW FILE: NO_LONGER_MAINTAINED ---
see CVS/python instead

Index: jtag.py
===================================================================
RCS file: /cvsroot/mspgcc/pyjtag/jtag.py,v
retrieving revision 1.17
retrieving revision 1.18
diff -u -w -d -r1.17 -r1.18
--- jtag.py	8 Jan 2004 00:31:50 -0000	1.17
+++ jtag.py	20 Aug 2004 00:09:37 -0000	1.18
@@ -315,7 +315,7 @@
         sys.stderr.write("Download and execute of funclet...\n")
         sys.stderr.flush()
         if len(self.data) > 1:
-            raise JTAGException("don't know how to handle multiple segments in funclets")
+            raise JTAGException("Don't know how to handle multiple segments in funclets")
         _parjtag.funclet(self.data[0].data)
         sys.stderr.write("Funclet OK.\n")
         sys.stderr.flush()
@@ -326,9 +326,9 @@
 USAGE: %s [options] [file]
 Version: %s
 
-If "-" is specified as file the data is read from the stdinput.
+If "-" is specified as file the data is read from stdin.
 A file ending with ".txt" is considered to be in TIText format all
-other filenames are considered IntelHex.
+other filenames are considered to be in IntelHex format.
 
 General options:
   -h, --help            Show this help screen.

Index: makefile
===================================================================
RCS file: /cvsroot/mspgcc/pyjtag/makefile,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -w -d -r1.2 -r1.3
--- makefile	11 Jan 2003 00:21:15 -0000	1.2
+++ makefile	20 Aug 2004 00:09:37 -0000	1.3
@@ -1,19 +1,13 @@
 
 .PHONY: all FORCE clean windist
 
-all: windist
+all:
 
 #wrap py to exe and build windows installer
 windist:
 	python setup.py py2exe
-	rm -r bin
-	mv dist/jtag/jtag.exe dist/msp430-jtag.exe
-	mv dist/jtag/* dist/
-	rmdir dist/jtag
-	mv dist bin
-	rm -r build
-
 
+testfiles: fill60k.a43 fill48k.a43 fill32k.a43 fill16k.a43 fill8k.a43 fill4k.a43
 #generate test files
 fill60k.a43:
 	python gen-ihex.py 60 >$@

Index: readme.txt
===================================================================
RCS file: /cvsroot/mspgcc/pyjtag/readme.txt,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -w -d -r1.4 -r1.5
--- readme.txt	26 Jun 2003 21:25:24 -0000	1.4
+++ readme.txt	20 Aug 2004 00:09:37 -0000	1.5
@@ -5,18 +5,18 @@
 It is released under a free software license,
 see license.txt for more details.
 
-(C) 2002-2003 Chris Liechti <[email protected]>
+(C) 2002-2004 Chris Liechti <[email protected]>
 
 Features
 --------
 
-- understands TI-Text and Intel-hex
-- download to Flash and/or RAM, erase, verify
+- understands ELF, TI-Text and Intel-hex
+- download to Flash and/or RAM, erase flash, verify
 - reset device
-- load addres into R0/PC and run
-- upload a memory block MSP->PC (output as binary data or hex dump)
-- written in Python, runs on Win32, Linux, BSD
-- use per command line, or in a Python script
+- load address into R0/PC and run
+- upload a memory block MSP->PC (output as binary data or hex dump, ihex)
+- written in Python, runs on Win32, Linux, BSD, ...
+- use on command line, or in a Python script
 
 Requirements
 ------------
@@ -26,39 +26,38 @@
 
 Installation
 ------------
-Python installations are available from www.python.org. On Windows simply
-use the installer. The win32all package has an installer too. These
-installations should run fine with the deafults.
+Binaries for Windows and other Linux/Un*x like OS can be found in the
+downloads section of http://mspgcc.sf.net
 
-On Linux just Python is needed. On some distributions is Python 1.5.2
+Bilding from source
+-------------------
+The libraries from the CVS module jtag/* have to be built.
+
+On Linux/Un*x just Python 2.2+ is needed. On some distributions is Python 1.5.2
 installed per default. You may meed to change the first line in the script
 from "python" to "python2". Maybe Python 2.x is in a separate package that
 has to be installed. There are rpm and deb binary packages and a source
 tarball available through the Python homepage.
 
-The pyjtag archive can simply be unpacked to a directory, Windows users
-can use WinZip or WinRar among others to extract the gzipped tar file.
-If you want to run it from everywhere the directory where the file jtag.py
-is, should be added to the PATH.
-Look at "~/.profile", "/etc/profile" on Linux, "autoexec.bat" on Win9x/ME,
-System Properties/Environment in Win2000/NT/XP.
-
-_parjtag.so/dll from the jtag archive must be copied to the same directory as
-jtag.py. On Windows also MSP430mspgcc.dll and HIL.dll must be located in the
-same dir or somewhere in the PATH.
+_parjtag.so/dll from the jtag archive can be copied to the same directory as
+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.
 
 Short introduction
 ------------------
 This software uses the JTAG hardware that comes with the FET kits. It is
 connected to the parallel port.
 
-The program can be started by typing "python jtag.py" in a console. Often
-it works also with just "jtag.py" or "./jtag.py".
+The program can be started by typing "msp430-jtag" when installed correctly
+If its used from the source directory use "python jtag.py".
 
-USAGE: jtag.py [options] [file]
-If "-" is specified as file the data is read from the stdinput.
+
+
+USAGE: msp430-jtag [options] [file]
+If "-" is specified as file the data is read from stdin.
 A file ending with ".txt" is considered to be in TIText format all
-other filenames are considered IntelHex.
+other filenames are considered to be in IntelHex format.
 
 General options:
   -h, --help            Show this help screen.
@@ -114,19 +113,14 @@
 
 Examples
 --------
-These examples assume that you have added the installation directory to
-the PATH. Type the full path to jtag.py otherwise and maybe use
-"python jtag.py". Depending on installation it may also appear under the
-name "msp430-jtag".
-
-jtag.py -e
+msp430-jtag -e
         Only erase flash.
 
-jtag.py -eErw 6port.a43
+msp430-jtag -eErw 6port.a43
         Erase flash, erase check, download an executable, run it (reset)
         and wait.
 
-jtag.py -mS -R 2048 6port.a43
+msp430-jtag -mS -R 2048 6port.a43
         Use ramsize option on a device with 2k RAM to speed up
         download. Of course any value from 128B up to the maximum
         a device has is allowed.
@@ -134,34 +128,34 @@
         Only erasing the main memory is useful to keep calibration
         data in the information memory.
 
-jtag.py 6port.a43
+msp430-jtag 6port.a43
         Download of an executable to en empty (new or erased) device.
         (Note that in new devices some of the first bytes in the
         information memory are random data. If data should be
         downloaded there, specify -eE.)
 
-jtag.py --go=0x220 ramtest.a43
+msp430-jtag --go=0x220 ramtest.a43
         Download a program into RAM and run it, may not work
         with all devices.
 
-jtag.py -f blinking.a43
+msp430-jtag -f blinking.a43
         Download a program into RAM and run it. It must be
         a special format with "startadr", "entrypoint",
         "exitpoint" as the first three words in the data
         and it must end on "jmp $". See MSP430debug sources
         for more info.
 
-jtag.py -u 0x0c00 -s 1024
+msp430-jtag -u 0x0c00 -s 1024
         Get a memory dump in HEX, from the bootstrap loader.
         or save the binary in a file:
-          "python jtag.py -u 0x0c00 -s 1024 -b >dump.bin"
+          msp430-jtag -u 0x0c00 -s 1024 -b >dump.bin
         or as an intel-hex file:
-          "python jtag.py -u 0x0c00 -s 1024 -i >dump.a43"
+          msp430-jtag -u 0x0c00 -s 1024 -i >dump.a43
 
-jtag.py -r
+msp430-jtag -r
         Just start the user program (with a reset).
 
-cat 6port.a43|jtag.py -e -
+cat 6port.a43|msp430-jtag -e -
         Pipe the data from "cat" to jtag.py to erase and program the
         flash. (un*x example, don't forget the dash at the end of the
         line)
@@ -171,7 +165,7 @@
 1.0     public release
 1.1     fix of verify error
 1.2     use the verification during programming
-1.3     meinerase, progress options, ihex output
+1.3     mainerase, progress options, ihex output
 
 References
 ----------



-------------------------------------------------------
SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank Media
100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33
Save 50% off Retail on Ink & Toner - Free Shipping and Free Gift.
http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285
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.