It looks like the changes to JSvars make it impossible to upgrade a system that has something save()'ed? Notice how the names of variables are truncated:
>reset()
ASSERT(jsvHasChildren(parent)) FAILED AT src/jsvar.c:2116
#1[r1,l2] Object {
#2[r1,l2] Name String [1 blocks] "ÿ" #3[r1,l2] Object {
#6[r1,l2] Name String [2 blocks] "timer" #8[r1,l1] Array(0) [ ]
#9[r1,l2] Name String [2 blocks] "watche" #11[r1,l1] Array(0) [ ]
#14[r1,l2] Name String [1 blocks] "net" #67[r1,l2] String [2 blocks] "\x04\x00\x00\x00\x00ÿÿÿ"
#16[r1,l2] Name String [2 blocks] "histor" #18[r1,l1] Array(5) [
#19[r1,l2] Name Integer 0 #15[r1,l1] String [1 blocks] "dump()"
#35[r1,l2] Name Integer 3 #48[r1,l1] String [6 blocks] "test_host=\"h.voeicken.cm\"; testport=456"
#23[r1,l2] Name Integer 4 #25[r1,l1] String [1 blocks] "save()"
]
#20[r1,l2] Name String [2 blocks] "module" #61[r1,l1] Object {
#36[r1,l2] Name String [1 blocks] "Wifi" #62[r1,l1] NativeFunction 0x40214544 (0) { }
}
#70[r1,l2] Name String [2 blocks] "timers" #72[r2,l1] Array(0) [ ]
#73[r1,l2] Name String [2 blocks] "watches" #75[r2,l1] Array(0) [ ]
#91[r1,l2] Name String [2 blocks] "modules" #96[r1,l1] Object {
#104[r1,l2] Name String [1 blocks] "Wifi" #97[r1,l1] NativeFunction 0x4020dcd4 (0) { }
}
#78[r1,l2] Name String [2 blocks] "except" #108[r1,l1] Object {
#106[r1,l2] Name String [2 blocks] "__proto__" #87[r2,l1] ...
#102[r1,l2] Name String [1 blocks] "msg" #109[r1,l1] String [3 blocks] "Got ?[6] expected EOF"
#79[r1,l2] Name String [1 blocks] "type" #95[r1,l1] String [2 blocks] "SyntaxError"
}
#94[r1,l2] Name String [2 blocks] "sTrace" #85[r1,l1] String [4 blocks] " at line 1 col 8\nreset()\n ^\n"
}
#24[r1,l2] Name String [2 blocks] "test_hos" #37[r1,l1] String [2 blocks] "h.voneicken.co"
#31[r1,l2] Name String [2 blocks] "test_por" #21[r1,l1] Integer 4567
#56[r1,l2] Name String [3 blocks] "WifiEventDetil" undefined
#80[r1,l2] Name String [2 blocks] "SyntaxError" #83[r2,l1] NativeFunction 0x4021a3a8 (9) {
#84[r1,l2] Name String [2 blocks] "prototype" #87[r2,l1] Object {
#88[r1,l2] Name String [2 blocks] "constructor" #83[r2,l2] ...
}
}
}
REBOOTING!
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.
It looks like the changes to JSvars make it impossible to upgrade a system that has something save()'ed? Notice how the names of variables are truncated: