parameters: (self, invokeBSL=0)
docstring: Applies BSL entry sequence on RST/NMI and TEST/VPP pins
         Parameters:
             invokeBSL = 1: complete sequence
             invokeBSL = 0: only RST/NMI pin accessed
  
         RST is inverted twice on boot loader hardware
         TEST is inverted (only once)
         Need positive voltage on DTR, RTS for power-supply of hardware
docstring_summary: Applies BSL entry sequence on RST/NMI and TEST/VPP pins
         Parameters:
             invokeBSL = 1: complete sequence
             invokeBSL = 0: only RST/NMI pin accessed
docstring_tokens: Applies BSL entry sequence on RST / NMI and TEST / VPP pins Parameters : invokeBSL = 1 : complete sequence invokeBSL = 0 : only RST / NMI pin accessed
function: def bslReset(self, invokeBSL=0):
         """Applies BSL entry sequence on RST/NMI and TEST/VPP pins
         Parameters:
             invokeBSL = 1: complete sequence
             invokeBSL = 0: only RST/NMI pin accessed
  
         RST is inverted twice on boot loader hardware
         TEST is inverted (only once)
         Need positive voltage on DTR, RTS for power-supply of hardware"""
         if self.telosI2C:
           self.telosBReset(invokeBSL)
           return
  
         if DEBUG > 1: sys.stderr.write("* bslReset(invokeBSL=%s)\n" % invokeBSL)
         self.SetRSTpin(1)       #power suply
         self.SetTESTpin(1)      #power suply
         time.sleep(0.250)       #charge capacitor on boot loader hardware
  
         if self.telosLatch:
           self.SetTESTpin(0)
           self.SetRSTpin(0)
           self.SetTESTpin(1)
  
         self.SetRSTpin(0)       #RST  pin: GND
         if invokeBSL:
             self.SetTESTpin(1)  #TEST pin: GND
             self.SetTESTpin(0)  #TEST pin: Vcc
             self.SetTESTpin(1)  #TEST pin: GND
             self.SetTESTpin(0)  #TEST pin: Vcc
             self.SetRSTpin (1)  #RST  pin: Vcc
             self.SetTESTpin(1)  #TEST pin: GND
         else:
             self.SetRSTpin(1)   #RST  pin: Vcc
         time.sleep(0.250)       #give MSP430's oscillator time to stabilize
  
         self.serialport.flushInput()
function_tokens: def bslReset ( self , invokeBSL = 0 ) : if self . telosI2C : self . telosBReset ( invokeBSL ) return if DEBUG > 1 : sys . stderr . write ( "* bslReset(invokeBSL=%s)\n" % invokeBSL ) self . SetRSTpin ( 1 ) #power suply self . SetTESTpin ( 1 ) #power suply time . sleep ( 0.250 ) #charge capacitor on boot loader hardware if self . telosLatch : self . SetTESTpin ( 0 ) self . SetRSTpin ( 0 ) self . SetTESTpin ( 1 ) self . SetRSTpin ( 0 ) #RST  pin: GND if invokeBSL : self . SetTESTpin ( 1 ) #TEST pin: GND self . SetTESTpin ( 0 ) #TEST pin: Vcc self . SetTESTpin ( 1 ) #TEST pin: GND self . SetTESTpin ( 0 ) #TEST pin: Vcc self . SetRSTpin ( 1 ) #RST  pin: Vcc self . SetTESTpin ( 1 ) #TEST pin: GND else : self . SetRSTpin ( 1 ) #RST  pin: Vcc time . sleep ( 0.250 ) #give MSP430's oscillator time to stabilize self . serialport . flushInput ( )