CVS: python msp430-bsl.py,1.9,1.10

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-serv6625/python

Modified Files:
	msp430-bsl.py 
Log Message:
add main erase

Index: msp430-bsl.py
===================================================================
RCS file: /cvsroot/mspgcc/python/msp430-bsl.py,v
retrieving revision 1.9
retrieving revision 1.10
diff -u -w -d -r1.9 -r1.10
--- msp430-bsl.py	14 Jun 2005 09:42:38 -0000	1.9
+++ msp430-bsl.py	12 Aug 2005 21:10:44 -0000	1.10
@@ -85,6 +85,7 @@
 
 Program Flow Specifiers:
   -e, --masserase       Mass Erase (clear all flash memory)
+  -m, --mainerase       Erase main flash memory only (requires --password)
   --erase=address       Selectively erase segment at the specified address
                         (requires --password)
   --erase=adr1-adr2     Selectively erase a range of segments
@@ -209,7 +210,9 @@
             sys.stderr.write( "Number of mass erase cycles set to %i.\n" % meraseCycles)
             bslobj.meraseCycles = meraseCycles
         elif o in ("-e", "--masserase"):
-            toinit.append(bslobj.actionMassErase)  #Erase Flash
+            toinit.append(bslobj.actionMassErase)  #Erase entire Flash
+        elif o in ("-m", "--mainerase"):
+            toinit.append(bslobj.actionMainErase)  #Erase main Flash
         elif o == "--erase":
             if '-' in a:
                 adr, adr2 = a.split('-', 1)



-------------------------------------------------------
SF.Net email is Sponsored by the Better Software Conference & EXPO
September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices
Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA
Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf
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.