Progress with resolving WebREPL issues

All ESP8266 boards running MicroPython.
Official boards are the Adafruit Huzzah and Feather boards.
Target audience: MicroPython users with an ESP8266 board.
Post Reply
pfalcon
Posts: 1155
Joined: Fri Feb 28, 2014 2:05 pm

Progress with resolving WebREPL issues

Post by pfalcon » Fri May 20, 2016 7:41 pm

We're having a good progress with debugging WebREPL issues, and by now fixed two issues: 1) after 5-6 WebREPL connections, a module went unstable; 2) unable to connect more than 5 times via WebREPL (these seemed to be the same issue, but turned out to be 2 separate ones).

We consider these critical fixes, so the next release will be distributed to all Kickstarter backers (otherwise I'd like to remind that there were several pledge tiers and the backers at the minimal level receive only first GA release and any critical updates, all other tiers receive regular (roughly monthly) updates for at least a year; note that anyone can build work-in-progress source code anytime at their convenience).

Note that there's still another WebREPL issue in queue - instability of (large) file transfers.

We welcome any feedback from people who will build the current version of the code!
Awesome MicroPython list
Pycopy - A better MicroPython https://github.com/pfalcon/micropython
MicroPython standard library for all ports and forks - https://github.com/pfalcon/micropython-lib
More up to date docs - http://pycopy.readthedocs.io/

User avatar
jwissing
Posts: 29
Joined: Thu Jun 19, 2014 12:23 pm
Location: Germany

Re: Progress with resolving WebREPL issues

Post by jwissing » Sun May 22, 2016 10:52 am

pfalcon wrote:We're having a good progress with debugging WebREPL issues, and by now fixed two issues: 1) after 5-6 WebREPL connections, a module went unstable; 2) unable to connect more than 5 times via WebREPL (these seemed to be the same issue, but turned out to be 2 separate ones).

...
MicroPython v1.8-95-gb580958-dirty on 2016-05-21; ESP module with ESP8266
Type "help()" for more information.

I did some tests with the latest build and i can no longer reproduce the errors when connecting multiple times via webrepl or connecting with invalid password that resulted in loop with message LmacRxBlkl:1.
I also uploaded files in increments of 1k up to hundreds of k and up to 2M in increments of 100k without error.
Comparing the last uploaded and again downloaded file yields identical files.

pfalcon
Posts: 1155
Joined: Fri Feb 28, 2014 2:05 pm

Re: Progress with resolving WebREPL issues

Post by pfalcon » Wed May 25, 2016 10:39 am

jwissing, thanks for detailed testing and glad we didn't hold you back for too long with your projects. Mind that there were further fixes to WebREPL (https://github.com/micropython/micropython/issues/2100) and esp-open=sdk requires complete rebuild to test that: http://forum.micropython.org/viewtopic. ... 018#p10961
Awesome MicroPython list
Pycopy - A better MicroPython https://github.com/pfalcon/micropython
MicroPython standard library for all ports and forks - https://github.com/pfalcon/micropython-lib
More up to date docs - http://pycopy.readthedocs.io/

Post Reply