Chat about current Lua tools and IDEs

User avatar
By hobby_guy
#93474 Thanks for the response :)

I installed and PyFlasher GUI, and was able to install the NodeMCU variant I built at Since I don't believe I have any very special needs, I went with the default modules included:

file, GPIO, net, node, timer, UART, WiFi

After flashing the BIN file to the ESP8266 successfully (with GPIO0 pulled low), I restarted the ESP and opened ESPlorer. However, ESPlorer still doesn't seem to be able to interface with the ESP. I seem to be getting very similar problems as I had earlier, when the ESP was running the "default" AT firmware.

First, I select COM7 and 115200 in the right pane, and click OPEN. This outputs:

Code: Select allPORT OPEN 115200

Communication with MCU...


Code: Select allLogging enable
Load saved settings: Firmware:NodeMCU
Snippets: loading...
Snippets load: Success.
Set new color theme: Success.
Load saved settings: DONE.
Snippets: loading...
Snippets load: Success.
Scan system...
found last saved serial port COM7
Scan done.
Serial port COM7 save as default.
Baud rate 115200 save as default.
Try to open port COM7, baud 115200, 8N1
Open port COM7 - Success.

When I load my init.lua in the Editor (left pane) and click "Upload", I get the following output:

Code: Select allTry to open file init.lua
File name: C:\ESP8266 web server\init.lua
Try to load file init.lua
Loading init.lua: Success.
Open "init.lua": Success.
Uploader: Communication with MCU not yet established.
Last edited by hobby_guy on Thu Jan 27, 2022 6:10 pm, edited 2 times in total.
User avatar
By hobby_guy
#93475 When booting the ESP without GPIO0 grounded, I get a bunch of noise in a terminal program (at 115200 baud). However, I found this very interesting website explaining that these initial bytes are not random noise at all, but some OS output -- which is coming at 74880 baud:

Code: Select all ets Jan  8 2013,rst cause:2, boot mode:(3,7)

load 0x40100000, len 27444, room 16
tail 4
chksum 0xef
load 0x00000000, len 0, room 4
tail 0
chksum 0xef
ho 12 tail 0 room 4
load 0x00000000, len 0, room 12
tail 0
chksum 0xef
csum 0xef
csum err
User avatar
By quackmore
#93476 something went wrong while flashing the firmware

that's why you get "csum err"

now the firmware cannot boot properly and ESPlorer cannot connect

erase the flash and try again

here's some troubleshooting docs for

if you're not sure about your new binary you might wanna try erasing and flashing the AT firmware