Replies: 7 comments 11 replies
-
For the above 18k script, |
Beta Was this translation helpful? Give feedback.
-
I can confirm this on a second ESP32S2-Mini. When the file is more than ~300byte, |
Beta Was this translation helpful? Give feedback.
-
There is a problem with the USB port of both ESP32S2 and ESP32S3, when sending/pasting more than about 250 bytes. This happens e.g. as well, if you paste code in paste mode or raw mode. It seems that the USB stack cannot handle input data fast enough. If I add e.g. a delay between lines that are sent it works. |
Beta Was this translation helpful? Give feedback.
-
May I suggest using a more recent version of mpremote ? |
Beta Was this translation helpful? Give feedback.
-
Even with the 1.22 version of mpremote reading a file > ~300 bytes from a mounted remote locks up. |
Beta Was this translation helpful? Give feedback.
-
Hi @robert-hh , can this be optimized in mpy? I can't import most of my modules on ESP32S2 from mounted dir due to this issue. |
Beta Was this translation helpful? Give feedback.
-
At the first glance, it looks like a problem in the esp-idf, not calling the TinyUSB callback immediately when data arrives, but only on schedule. That could be bypassed in mpremote by throttling the data rate, but that would not fix other situations when the device locks up. |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
mpremote==0.4.0
Official mpy firmware on ESP32S2Mini
Official mpy firmware on Generic ESP32
Beta Was this translation helpful? Give feedback.
All reactions