Go back ⮌

Flashing LOLin NodeMCU v3

Using various clones of open hardware is not that surprising. Recently I bought clone of NodeMCU v3 called LOLin v3 which is using CH304G TTL to USB converter.

If you are using Windows then you should install CH304G driver before doing anything else. As for information needed for flashing use these:

LOLin NodeMCU v3 w/ CH304G
Baud rate: 9600
Flash Mode: QIO
Flash Size: 4MiB
Flash Frequency: 40MHz

While compiling I suggest using development branch. Then after you have combined binary ready use esptools:

esptool.py --port /dev/ttyUSB0 --baud 9600 erase_flash
esptool.py --port /dev/ttyUSB0 --baud 9600 write_flash --flash_mode qio --flash_size 4MB --flash_freq 40m 0x00000 combined-firmware-file.bin

Then you can connect to it with e.g. screen:

screen /dev/ttyUSB0 115200