The crash is not an espruino issue, it's an usb issue, it produce too sometime with arduino...
Last week i have to update firmware and install my code on 8 Picos.... I've got crashs (with automatic reboot and message) 4 time 😗. For simple and repetitive task, reboot had made it long and stressfull.
For the upload problem, i don't know, i've discovered the reset() instruction and it seems to resolve the problem (when code use short setInterval()). You're probably right, i just change my process for upload with in first step, a reset(). Have to check
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.
The crash is not an espruino issue, it's an usb issue, it produce too sometime with arduino...
Last week i have to update firmware and install my code on 8 Picos.... I've got crashs (with automatic reboot and message) 4 time 😗. For simple and repetitive task, reboot had made it long and stressfull.
For the upload problem, i don't know, i've discovered the
reset()
instruction and it seems to resolve the problem (when code use shortsetInterval()
). You're probably right, i just change my process for upload with in first step, areset()
. Have to check