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)
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)
def reset(self, software_reset=False): CortexM.reset(self, False)
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)
def reset(self, software_reset=False): # Always use software reset for LPC4330 since the hardware version # will reset the DAP. CortexM.reset(self, True)
def reset(self): # halt processor self.halt() # not remap 0x0000-0x0020 to anything but the flash self.writeMemory(0x400FC040, 1) CortexM.reset(self)
def resetn(self): """ reset a core. After a call to this function, the core is running """ CortexM.reset(self)