diff --git a/target/targets.py b/target/targets.py index c7ba4997..351277a1 100644 --- a/target/targets.py +++ b/target/targets.py @@ -87,7 +87,7 @@ def reset_target(self, com_reset: Optional[bool] = False): """Resets the target. """ self.target.reset_target() if com_reset and self.target_cfg.protocol == "ujson": - self._init_communication() + self.com_interface = self._init_communication() def write(self, data, cmd: Optional[str] = ""): """Write data to the target. """