4. change code on the RHS pane to something trivial and click [^Send] again
var x;
Result some death-loop with corrupt data:
>Erasing Flash.....
Writing...
Compressed 32000 bytes to 15
Checking...
Done!
Loading 15 bytes from flash...
Uncaught SyntaxError: Got ?[255] expected EOF
at line 1 col 1
ÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿ
^
in function called from system
>
=undefined
Uncaught SyntaxError: Got ?[255] expected EOF
at line 1 col 1
ÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿÿ
(tried on two different pucks now)
Maybe someone else can test and confirm this.
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.
I had some similar issues here http://forum.espruino.com/conversations/297205/
Have looked at it again and have a 100% reproduction procedure:
1. Setup WebIDE:
2. copy into code pane (RHS) and click [^Send]
Left console shows:
Result: red LED is flashing, dump shows this:
3. try
reset()
, but no effect: code is still there, LED is flashing4. change code on the RHS pane to something trivial and click [^Send] again
Result some death-loop with corrupt data:
(tried on two different pucks now)
Maybe someone else can test and confirm this.