CVS: python msp430-jtag.py,1.13,1.14
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-serv18329/python
Modified Files:
msp430-jtag.py
Log Message:
api change -> new "open" then "connect" (this change was required to have the correct order with ramsize autodetect or manual set)
Index: msp430-jtag.py
===================================================================
RCS file: /cvsroot/mspgcc/python/msp430-jtag.py,v
retrieving revision 1.13
retrieving revision 1.14
diff -u -w -d -r1.13 -r1.14
--- msp430-jtag.py 27 Dec 2005 14:58:27 -0000 1.13
+++ msp430-jtag.py 27 Dec 2005 16:22:10 -0000 1.14
@@ -371,11 +371,14 @@
sys.stderr.flush()
- jtagobj.connect(lpt) #try to open port
abort_due_to_error = 1
+ jtagobj.open(lpt) #try to open port
try:
if ramsize is not None:
jtagobj.setRamsize(ramsize)
+
+ jtagobj.connect() #connect to target
+
#initialization list
if toinit: #erase and erase check
if DEBUG: sys.stderr.write("Preparing device ...\n")
-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems? Stop! Download the new AJAX search engine that makes
searching your log files as easy as surfing the web. DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click