Example #1
0
 def reset(self, software_reset = True):
     """
     reset a core. After a call to this function, the core
     is running
     """
     # Keep call to CortexM version of reset but make the default a
     # software reset since a hardware reset does not work when 
     # debugging is enabled
     CortexM.reset(self, software_reset)
Example #2
0
 def resetn(self):
     """
     reset a core. After a call to this function, the core
     is running
     """
     #Regular reset will kick NRF out of DBG mode
     logging.debug("target_nrf52.reset: enable reset pin")
     self.writeMemory(RESET, RESET_ENABLE)
     #reset
     logging.debug("target_nrf52.reset: trigger nRST pin")
     CortexM.reset(self)
Example #3
0
 def resetn(self):
     """
     reset a core. After a call to this function, the core
     is running
     """
     #Regular reset will kick NRF out of DBG mode
     logging.debug("target_nrf52.reset: enable reset pin")
     self.writeMemory(RESET, RESET_ENABLE)
     #reset
     logging.debug("target_nrf52.reset: trigger nRST pin")
     CortexM.reset(self)
Example #4
0
 def reset(self, software_reset=False):
     CortexM.reset(self, False)
Example #5
0
 def reset(self, software_reset=False):
     # halt processor
     self.halt()
     # not remap 0x0000-0x0020 to anything but the flash
     self.writeMemory(0x400FC040, 1)
     CortexM.reset(self)
Example #6
0
 def reset(self, software_reset=False):
     # Always use software reset for LPC4330 since the hardware version
     # will reset the DAP.
     CortexM.reset(self, True)
Example #7
0
 def reset(self, software_reset=False):
     CortexM.reset(self, False)
Example #8
0
 def reset(self):
     # halt processor
     self.halt()
     # not remap 0x0000-0x0020 to anything but the flash
     self.writeMemory(0x400FC040, 1)
     CortexM.reset(self)
Example #9
0
 def resetn(self):
     """
     reset a core. After a call to this function, the core
     is running
     """
     CortexM.reset(self)
Example #10
0
 def resetn(self):
     """
     reset a core. After a call to this function, the core
     is running
     """
     CortexM.reset(self)