Quick update: It looks like even process.memory() causes a lockup with 1v89 and that code.
My guess is it's some problem with the Garbage Collection - process.memory() forces it, and it's likely that after a few HTTP requests garbage collection would get run automatically and would hit this problem.
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.
Quick update: It looks like even
process.memory()
causes a lockup with 1v89 and that code.My guess is it's some problem with the Garbage Collection -
process.memory()
forces it, and it's likely that after a few HTTP requests garbage collection would get run automatically and would hit this problem.I've just re-flashed with latest firmware from here: http://www.espruino.com/binaries/git/commits/master/
(Do an 'Advanced Flash', copy the link to espruino_1v89.970_pico_1r3_wiznet.bin and paste it in)
And that seems to work reliably - however I would quite like to be able to find the commit that fixed it.