Great! Thanks for the note about esptool.py - that's really good to know... Looks like it could be a good solution for flash upgrades then.
I bet it's actually an issue with the buffer sizes - while USB should now be able to throttle, because the buffers are shared I wonder if you can get into a situation where the USB RX buffer gets full, and that then drops Serial RX data (which can't be throttled).
I wonder if there's some simple way to reproduce it with just the Espruino so I can see if I can tweak the firmware.
Espruino is a JavaScript interpreter for low-power Microcontrollers. This site is both a support community for Espruino and a place to share what you are working on.
Great! Thanks for the note about
esptool.py
- that's really good to know... Looks like it could be a good solution for flash upgrades then.I bet it's actually an issue with the buffer sizes - while USB should now be able to throttle, because the buffers are shared I wonder if you can get into a situation where the USB RX buffer gets full, and that then drops Serial RX data (which can't be throttled).
I wonder if there's some simple way to reproduce it with just the Espruino so I can see if I can tweak the firmware.