def __init__(self, node_id, default_profile): self.node_id = node_id self.default_profile = default_profile self.openocd = OpenOCD.from_node(self) self.cn_serial = cn_interface.ControlNodeSerial(self.TTY) self.protocol = cn_protocol.Protocol(self.cn_serial.send_command) self.open_node_state = 'stop' self.profile = self.default_profile
def __init__(self): self.serial_redirection = SerialRedirection(self.TTY, self.BAUDRATE) self.openocd = OpenOCD.from_node(self)
def __init__(self): self.serial_redirection = SerialRedirection(self.TTY, self.BAUDRATE) self.openocd = OpenOCD.from_node(self, timeout=self.FLASH_TIMEOUT)
def __init__(self): self.serial_redirection = SerialRedirection(self.TTY, self.BAUDRATE) self.openocd = OpenOCD.from_node(self) self.edbg = Edbg() self._current_fw = None self._in_debug = False