From ad76e9b885c9b9692074cf5b8b880cb79f8a48e0 Mon Sep 17 00:00:00 2001 From: Aki Date: Sun, 25 Jul 2021 19:17:40 +0200 Subject: Initialized website as git repository --- flashing_lolin_nodemcu_v3.html | 46 ++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 46 insertions(+) create mode 100644 flashing_lolin_nodemcu_v3.html (limited to 'flashing_lolin_nodemcu_v3.html') diff --git a/flashing_lolin_nodemcu_v3.html b/flashing_lolin_nodemcu_v3.html new file mode 100644 index 0000000..e535f74 --- /dev/null +++ b/flashing_lolin_nodemcu_v3.html @@ -0,0 +1,46 @@ + + + + + + + + +Flashing LOLin NodeMCU v3 + + + +
+

Flashing 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