Ejemplo n.º 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)
Ejemplo n.º 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)
Ejemplo n.º 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)
Ejemplo n.º 4
0
 def reset(self, software_reset=False):
     CortexM.reset(self, False)
Ejemplo n.º 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)
Ejemplo n.º 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)
Ejemplo n.º 7
0
 def reset(self, software_reset=False):
     CortexM.reset(self, False)
Ejemplo n.º 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)
Ejemplo n.º 9
0
 def resetn(self):
     """
     reset a core. After a call to this function, the core
     is running
     """
     CortexM.reset(self)
Ejemplo n.º 10
0
 def resetn(self):
     """
     reset a core. After a call to this function, the core
     is running
     """
     CortexM.reset(self)