summaryrefslogtreecommitdiff
path: root/how_to_flash_lolin_nodemcu_v3.html
diff options
context:
space:
mode:
authorAki <please@ignore.pl>2021-07-25 19:46:25 +0200
committerAki <please@ignore.pl>2021-07-25 19:46:25 +0200
commit8e1f3c9ebc0ccd132e3836f3d198415a15932877 (patch)
tree624fa91d8b9cdc9353f5db958d2d456372442e26 /how_to_flash_lolin_nodemcu_v3.html
parentc0b3870dde1d355de40515376ffd5bc87442e21f (diff)
downloadignore.pl-8e1f3c9ebc0ccd132e3836f3d198415a15932877.zip
ignore.pl-8e1f3c9ebc0ccd132e3836f3d198415a15932877.tar.gz
ignore.pl-8e1f3c9ebc0ccd132e3836f3d198415a15932877.tar.bz2
Renamed guides to include "How To" in their names
Diffstat (limited to 'how_to_flash_lolin_nodemcu_v3.html')
-rw-r--r--how_to_flash_lolin_nodemcu_v3.html46
1 files changed, 46 insertions, 0 deletions
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 @@
+<!doctype html>
+<html lang="en">
+<meta charset="utf-8">
+<meta name="author" content="aki">
+<meta name="tags" content="tutorial, flash, nodemcu, firmware, nodemcu">
+<link rel="icon" type="image/png" href="cylo.png">
+<link rel="stylesheet" type="text/css" href="style.css">
+
+<title>How To Flash LOLin NodeMCU v3</title>
+
+<nav><p><a href="https://ignore.pl">ignore.pl</a></p></nav>
+
+<article>
+<h1>How To Flash LOLin NodeMCU v3</h1>
+<p class="subtitle">Published on 2020-06-29 17:58:00+02:00
+<p>Republishing old content. This is from when I bought and flashed my first NodeMCU clone (perhaps "loose
+implementation"?) of NodeMCU v3 called LOLin v3.
+<p>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.
+<p>Without further notes, here is the specification:</p>
+<table>
+<tr><th>Baud rate<th>Flash mode<th>Flash size<th>Flash frequency
+<tr><td>9600 <td>QIO <td>4MiB <td>40MHz
+</table>
+<p>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.
+<a href="https://nodemcu-build.com/">NodeMCU custom builds</a>.
+<p>To write the firmware use e.g. <a href="https://github.com/espressif/esptool">esptool</a>:</p>
+<pre>
+$ esptool.py --port <u>/dev/ttyUSB0</u> --baud 9600 erase_flash
+$ esptool.py --port <u>/dev/ttyUSB0</u> --baud 9600 write_flash \
+ --flash_mode qio --flash_size 4MB --flash_freq 40m \
+ 0x00000 <u>combined-firmware-file.bin</u>
+</pre>
+<p>To test it you can connect to it with e.g. <code>screen</code>:</p>
+<pre>
+$ screen <u>/dev/ttyUSB0</u> 115200
+</pre>
+<p>Or use your favourite terminal emulator:</p>
+<pre>
+$ st -l <u>/dev/ttyUSB0</u> 115200
+</pre>
+<img src="how_to_flash_lolin_nodemcu_v3-1.png" alt="nodemcu drawing">
+</article>
+<script src="https://stats.ignore.pl/track.js"></script>