diff options
Diffstat (limited to 'flashing_lolin_nodemcu_v3.html')
-rw-r--r-- | flashing_lolin_nodemcu_v3.html | 46 |
1 files changed, 46 insertions, 0 deletions
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 @@ +<!doctype html> +<html lang="en"> +<meta charset="utf-8"> +<meta name="author" content="aki"> +<meta name="tags" content="tutorial, flash, nodemcu, firmware, nodemcu, hardware"> +<link rel="icon" type="image/png" href="cylo.png"> +<link rel="stylesheet" type="text/css" href="style.css"> + +<title>Flashing LOLin NodeMCU v3</title> + +<nav><p><a href="https://ignore.pl">ignore.pl</a></p></nav> + +<article> +<h1>Flashing 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="flashing_lolin_nodemcu_v3-1.png" alt="nodemcu drawing"> +</article> +<script src="https://stats.ignore.pl/track.js"></script> |