diff options
Diffstat (limited to 'how_to_flash_lolin_nodemcu_v3.html')
-rw-r--r-- | how_to_flash_lolin_nodemcu_v3.html | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/how_to_flash_lolin_nodemcu_v3.html b/how_to_flash_lolin_nodemcu_v3.html index 1723e14..fcdc724 100644 --- a/how_to_flash_lolin_nodemcu_v3.html +++ b/how_to_flash_lolin_nodemcu_v3.html @@ -4,6 +4,7 @@ <meta name="author" content="aki"> <meta name="tags" content="tutorial, flash, nodemcu, firmware, nodemcu"> <meta name="published-on" content="2020-06-29T17:58:00+02:00"> +<meta name="last-modified-on" content="2023-01-06T17:32:00+01:00"> <link rel="icon" type="image/png" href="favicon.png"> <link rel="stylesheet" type="text/css" href="style.css"> @@ -45,5 +46,23 @@ $ screen <u>/dev/ttyUSB0</u> 115200 $ st -l <u>/dev/ttyUSB0</u> 115200 </pre> <img src="how_to_flash_lolin_nodemcu_v3-1.png" alt="nodemcu drawing"> +<p>In case the device does not appear. Check whether appropriate module (usually ch341) is loaded with: +<pre> +$ lsmod | grep -i ch34. +ch341 28672 0 +</pre> +<p>To check if it was compiled: +<pre> +$ zgrep -i CH34. /proc/config.gz +CONFIG_USB_SERIAL_CH341=m +</pre> +<p>Finally, if you want a non-root user to be able to use it, assign system appropriate group. Usually it's +<u>serial</u> but it is not a requirement. You can check what group user needs by simply looking at the file +permissions: +<pre> +$ ls -l <u>/dev/ttyUSB0</u> +crw-rw---- 1 root uucp 188, 0 Jan 6 17:16 /dev/ttyUSB0 +$ sudo usermod -aG <u>uucp</u> <u>user</u> +</pre> </article> <script src="https://stats.ignore.pl/track.js"></script> |