summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAki <please@ignore.pl>2024-01-06 17:30:29 +0100
committerAki <please@ignore.pl>2024-01-06 17:31:25 +0100
commit95e76a8f5a7670460a2b82e48386804cfb3c830e (patch)
treeb2c148e6ad827a60c82a87083e06a3294fbb0d23
parentc03ea42958c2f32a95f25e90e56fcc1116832a90 (diff)
downloadignore.pl-95e76a8f5a7670460a2b82e48386804cfb3c830e.zip
ignore.pl-95e76a8f5a7670460a2b82e48386804cfb3c830e.tar.gz
ignore.pl-95e76a8f5a7670460a2b82e48386804cfb3c830e.tar.bz2
Added troubleshooting part to nodemcu v3
-rwxr-xr-xatom.xml.sh2
-rw-r--r--how_to_flash_lolin_nodemcu_v3.html19
2 files changed, 20 insertions, 1 deletions
diff --git a/atom.xml.sh b/atom.xml.sh
index 4022604..978fbda 100755
--- a/atom.xml.sh
+++ b/atom.xml.sh
@@ -14,7 +14,7 @@ dates () {
if [ -z "$published" ]; then
published=$(git rev-list --no-commit-header --pretty=%aI HEAD -- "$1" | tail -n1)
fi
- local modified=$(git rev-list --after="2023-12-30 03:30+01:00" -1 --no-commit-header --pretty=%aI HEAD -- "$1")
+ local modified=$(git rev-list --after="2024-01-06 18:00+01:00" -1 --no-commit-header --pretty=%aI HEAD -- "$1")
[ -z "$modified" ] && modified=$(meta "last-modified-on" "$1")
[ -z "$modified" ] && modified=$published
echo "<updated>$modified</updated>"
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>