Replies: 8 comments
-
Are you using paste mode? (Ctrl-E) (And yes, Thonny works in a very different way) |
Beta Was this translation helpful? Give feedback.
-
yes, reboot, ctrl+E, paste, ctrl+D |
Beta Was this translation helpful? Give feedback.
-
btw, just tried on v1.11-187-g00e7fe8ab on 2019-08-04; |
Beta Was this translation helpful? Give feedback.
-
This is a limitation of using a UART for the REPL. There is no flow control so the incoming characters come one after the other and at some point the ESP32 cannot keep up with a sustained flow of characters and no rest. USB serial REPL usually doesn't have this problem because USB has flow control. |
Beta Was this translation helpful? Give feedback.
-
it was over USB. Board has CH341 converter |
Beta Was this translation helpful? Give feedback.
-
This is effectively a UART communication, because the interface to the ESP32 chip is it's UART link to the CH341 chip, and there is no flow control between the CH341 and the ESP32. |
Beta Was this translation helpful? Give feedback.
-
I think it's worth to mention that the ESP32 UART can handle handshake signals, as well as the CH341 and CP2102 USB/UART converters. |
Beta Was this translation helpful? Give feedback.
-
WebREPL has the same problem. I have to chop the MicroPython code into pieces and feed them via WebREPL individually. Now I know why. |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Hello,
While testing code from #9447 (comment)
i noticed, that with FW "v1.19.1 on 2022-06-18" there is following issue with REPL:
When i try to paste a script to it from:
it just fails on random line (36+ usually) or bad indent etc..
Same works fine over Thonny, probably Thonny does some throttling.
But this problem seems not to exist for older firmwares i tested in mentioned discussion.
Any idea why?
thanks
Beta Was this translation helpful? Give feedback.
All reactions