I've the same issue as @MrBambix after flashing on a NodeMCU devkit 0.9 (ESP-12 with 4Mb flash) with
esptool.py --baud 460800 write_flash --flash_freq 80m --flash_mode qio --flash_size 32m 0x0000 "boot_v1.4(b1).bin" 0x1000 espruino_esp8266_user1.bin 0x37E000 blank.bin
When connecting with the IDE, I got a frozen terminal in the left-hand panel with only
Connected>
Connected
>
In the IDE log, I find this
[...]Loaded code from storage.>>> Connecting...Set Slow Write = true[object Object]Connected [object Object]Found a prompt... great!>>> Sending...---> "echo(0);\nconsole.log(\"<\",\"<<\",JSON.stringify(process.env),\">>\",\">\");echo(1);\n"Sending block "echo(0);\nconsol", wait 50msSentSending block "e.log(\"<\",\"<<\",", wait 50msSentSending block "JSON.stringify(", wait 50msSentSending block "process.env),\">", wait 50msSentSending block ">\",\">\");echo(1)", wait 50msSentSending block ";\n", wait 50msSent>>> SentWARNING: No result found - just got ""Device found (connectionId=12)>>> Connected to port /dev/ttyUSB0Sending block "d", wait 50msSentSending block "d", wait 50msSentSending block "d", wait 50msSentSending block "d", wait 50msSentSending block "d", wait 50msSentSending block "d", wait 50msSent
[...]
Loaded code from storage.
>>> Connecting...
Set Slow Write = true
[object Object]
Connected [object Object]
Found a prompt... great!
>>> Sending...
---> "echo(0);\nconsole.log(\"<\",\"<<\",JSON.stringify(process.env),\">>\",\">\");echo(1);\n"
Sending block "echo(0);\nconsol", wait 50ms
Sent
Sending block "e.log(\"<\",\"<<\",", wait 50ms
Sending block "JSON.stringify(", wait 50ms
Sending block "process.env),\">", wait 50ms
Sending block ">\",\">\");echo(1)", wait 50ms
Sending block ";\n", wait 50ms
>>> Sent
WARNING: No result found - just got ""
Device found (connectionId=12)
>>> Connected to port /dev/ttyUSB0
Sending block "d", wait 50ms
Note: my board look exactly like this
Are you on Windows? Sometimes I find after flashing you need to unplug the USB port and plug back in again.
After a flash, I usually have to do a few connect/disconnects in the ide as well.
@Wilberforce started 9 years ago
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've the same issue as @MrBambix after flashing on a NodeMCU devkit 0.9 (ESP-12 with 4Mb flash) with
When connecting with the IDE, I got a frozen terminal in the left-hand panel with only
In the IDE log, I find this
Note: my board look exactly like this