diff --git a/ampy/pyboard.py b/ampy/pyboard.py index 2acc75f..bf22329 100644 --- a/ampy/pyboard.py +++ b/ampy/pyboard.py @@ -176,6 +176,9 @@ def enter_raw_repl(self): # Brief delay before sending RAW MODE char if requests if _rawdelay > 0: time.sleep(_rawdelay) + + # An initial read seems required to wake the feather52 serial console. + self.read_until(1, b'\n', timeout=0.5) self.serial.write(b'\r\x03\x03') # ctrl-C twice: interrupt any running program