From b57a1f14e00ab29fc78fcc7c7bc5af2ffc2811e9 Mon Sep 17 00:00:00 2001 From: Maxim Devaev Date: Sun, 2 Aug 2020 01:52:54 +0300 Subject: [PATCH] Update flashing_hid.md --- pages/flashing_hid.md | 14 ++++++++++++-- 1 file changed, 12 insertions(+), 2 deletions(-) diff --git a/pages/flashing_hid.md b/pages/flashing_hid.md index 653ab2a3..d7d61183 100644 --- a/pages/flashing_hid.md +++ b/pages/flashing_hid.md @@ -1,5 +1,15 @@ # Flashing the Arduino HID -This operation can be done using your RPi. **Before starting, disconnect the RESET wire from the Arduino board, otherwise the firmware will not be uploaded.** Connect the Arduino and RPi with a suitable USB cable. Log in to the RPi and upload the firmware. Then connect the RESET wire, disconnect the USB cable, and reboot the RPi. +This operation can be done using your RPi. + +**Before starting, disconnect the RESET wire from the Arduino board, otherwise the firmware will not be uploaded.** + +* Connect the Arduino and RPi with a suitable USB cable. +* Log in to the Raspberry Pi using SSH (`ssh root@` with password `root` by default). +* Upload the firmware. +* Connect the RESET wire, disconnect the USB cable, and reboot the RPi. + +Here the commands to SSH and upload: + ```shell [user@localhost os]$ ssh root@ [root@pikvm ~]# rw @@ -11,7 +21,7 @@ This operation can be done using your RPi. **Before starting, disconnect the RES [root@pikvm hid]# reboot ``` -On this you may encounter the following error: +On `make install` you may encounter the following error: ``` /root/.platformio/packages/tool-avrdude/avrdude: error while loading shared libraries: libtinfo.so.5: cannot open shared object file: No such file or directory ```