From 8e1f3c9ebc0ccd132e3836f3d198415a15932877 Mon Sep 17 00:00:00 2001 From: Aki Date: Sun, 25 Jul 2021 19:46:25 +0200 Subject: Renamed guides to include "How To" in their names --- how_to_flash_lolin_nodemcu_v3.html | 46 ++++++++++++++++++++++++++++++++++++++ 1 file changed, 46 insertions(+) create mode 100644 how_to_flash_lolin_nodemcu_v3.html (limited to 'how_to_flash_lolin_nodemcu_v3.html') diff --git a/how_to_flash_lolin_nodemcu_v3.html b/how_to_flash_lolin_nodemcu_v3.html new file mode 100644 index 0000000..39760d0 --- /dev/null +++ b/how_to_flash_lolin_nodemcu_v3.html @@ -0,0 +1,46 @@ + + + + + + + + +How To Flash LOLin NodeMCU v3 + + + +
+

How To Flash LOLin NodeMCU v3

+

Published on 2020-06-29 17:58:00+02:00 +

Republishing old content. This is from when I bought and flashed my first NodeMCU clone (perhaps "loose +implementation"?) of NodeMCU v3 called LOLin v3. +

This little board is using CH304G TTL to USB converter, so if you happen to work on Windows you must make sure you +have the driver installed beforehand. Mentioned chip is quite common, and I've seen it on various Arduino, so there is +a high chance that you already have it. +

Without further notes, here is the specification:

+ +
Baud rateFlash modeFlash sizeFlash frequency +
9600 QIO 4MiB 40MHz +
+

You will need a combined firmware binary. If you are compiling it by yourself, I suggest using one of the development +branches. If you don't have environment set up there are online building services available e.g. +NodeMCU custom builds. +

To write the firmware use e.g. esptool:

+
+$ 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
+
+

To test it you can connect to it with e.g. screen:

+
+$ screen /dev/ttyUSB0 115200
+
+

Or use your favourite terminal emulator:

+
+$ st -l /dev/ttyUSB0 115200
+
+nodemcu drawing +
+ -- cgit v1.1