Even I only do a erase_flash without setting ESP in boot mode, it's the same.
From the console in settings.
conection ok
Initialising Debugger
Initialising Tour
Initialising SettingsProfile
Initialising HelpLinks
Loaded code from storage.
>>> Connecting...
Set Slow Write = true
[object Object]
Connected [object Object]
Received a prompt after sending newline... good!
>>> Sending...
---> "\u0010console.log(\"<\",\"<<\",JSON.stringify(process.env),\">>\",\">\")\n"
>>> Sent
Got "< << {\"VERSION\":\"1v91.66\",\"BUILD_DATE\":\"Mar 5 2017\",\"BUILD_TIME\":\"14:37:09\",\"GIT_COMMIT\":\"567fee8447461adf4a57d76301929b3f63edb601\",\"BOARD\":\"ESP8266_BOARD\",\"CHIP\":\"ESP8266\",\"CHIP_FAMILY\":\"ESP8266\",\"FLASH\":0,\"RAM\":81920,\"SERIAL\":\"18fe349d-47ca\",\"CONSOLE\":\"Serial1\",\"EXPORTS\":{\"jsvLock\":1075850320,\"jsvLockAgainSafe\":1075850372,\"jsvUnLock\":1075850744,\"jsvSkipName\":1075859352,\"jsvMathsOp\":1075864552,\"jsvMathsOpSkipNames\":1075866244,\"jsvNewFromFloat\":1075857060,\"jsvNewFromInteger\":1075856960,\"jsvNewFromString\":1075856620,\"jsvNewFromBool\":1075857028,\"jsvGetFloat\":1075862368,\"jsvGetInteger\":1075858848,\"jsvGetBool\":1075862728,\"jspeiFindInScopes\":1075877572,\"jspReplaceWith\":1075877292,\"jspeFunctionCall\":1075887616,\"jspGetNamedVariable\":1075879416,\"jspGetNamedField\":1075879860,\"jspGetVarNamedField\":1075879992,\"jsvNewWithFlags\":1075856360}} >> >\r\n>"
Loading http://www.espruino.com/json/ESP8266_BOARD.json
Device found (connectionId=1)
[success] Connected to port /dev/ttyUSB0
>>> Connected to port /dev/ttyUSB0
Board JSON loaded
Set Slow Write = true
FIRMWARE: Current 1v91.66, Available 1v91
conection lost
Initialising Debugger
Initialising Tour
Initialising SettingsProfile
Initialising HelpLinks
Loaded code from storage.
>>> Connecting...
Set Slow Write = true
[object Object]
Connected [object Object]
ERROR: RECEIVE ERROR: {"connectionId":1,"error":"device_lost"}
Disconnect callback...
WARNING: [notify_warn] Disconnected
>>> Disconnected
ERROR: executeExpression called when not connected!
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.
Even I only do a erase_flash without setting ESP in boot mode, it's the same.
From the console in settings.
conection ok
conection lost