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 ```