CVS: python msp430-bsl.py,1.8,1.9
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-serv9252/python
Modified Files:
msp430-bsl.py
Log Message:
- added --swap-reset-test option
- added --test-on-tx option
- added option to ignore answers from the BSL and just wait a little
- fix for slowmode
Index: msp430-bsl.py
===================================================================
RCS file: /cvsroot/mspgcc/python/msp430-bsl.py,v
retrieving revision 1.8
retrieving revision 1.9
diff -u -w -d -r1.8 -r1.9
--- msp430-bsl.py 3 Dec 2004 18:41:18 -0000 1.8
+++ msp430-bsl.py 14 Jun 2005 09:42:38 -0000 1.9
@@ -75,6 +75,10 @@
--invert-reset Invert signal on RST pin (used for some BSL hardware)
--invert-test Invert signal on TEST/TCK pin (used for some BSL
hardware)
+ --swap-reset-test Swap the TEST/TCK and RST control signals.
+ --test-on-tx Also toggle TX line for the TEST/TCK signal.
+ --ignore-answer Ignore answers and ACKs from the BSL (dont use unless
+ you know what you do)
--no-BSL-download Do not download replacement BSL (disable automatic)
--force-BSL-download Download replacement BSL even if not needed (the one
in the device would have the required features)
@@ -154,7 +158,8 @@
"upload=", "download=", "size=", "hex", "bin", "ihex",
"intelhex", "titext", "notimeout", "bsl=", "speed=",
"bslversion", "f1x", "f4x", "invert-reset", "invert-test",
- "no-BSL-download", "force-BSL-download", "erase=", "slow"]
+ "no-BSL-download", "force-BSL-download", "erase=", "slow",
+ "swap-reset-test", "test-on-tx", "ignore-answer"]
)
except getopt.GetoptError:
# print help information and exit:
@@ -316,7 +321,13 @@
elif o in ("--force-BSL-download", ):
forceBSL = 1
elif o in ("--slow", ):
- bsl.slowmode = 1
+ bslobj.slowmode = 1
+ elif o in ("--swap-reset-test", ):
+ bslobj.swapResetTest = 1
+ elif o in ("--test-on-tx", ):
+ bslobj.testOnTX = 1
+ elif o in ("--ignore-answer", ):
+ bslobj.ignoreAnswer = 1
if len(args) == 0:
sys.stderr.write("Use -h for help\n")
-------------------------------------------------------
This SF.Net email is sponsored by: NEC IT Guy Games. How far can you shotput
a projector? How fast can you ride your desk chair down the office luge track?
If you want to score the big prize, get to know the little guy.
Play to win an NEC 61" plasma display: http://www.necitguy.com/?r=20