Failed to init device

Error message:
(base) root@unihiker1:~/projects/unihiker/basic# python3 ./l_led.py
___________________________
| |
| PinPong v0.5.2 |
| Designed by DFRobot |
|___________________________|
[01] Python3.10.14 Linux-4.4.143-67-rockchip-g01bbbc5d1312-aarch64-with-glibc2.28 Board: UNIHIKER
selected -> board: UNIHIKER serial: /dev/ttyS3
[10] Opening /dev/ttyS3
[32] Firmata ID: 0.0
[35] Burning firmware...
initialize
/root/miniforge3/lib/python3.10/site-packages/pinpong/base/FirmataExpress.UNIHIKER.3.8.bin
stm32flash -w /root/miniforge3/lib/python3.10/site-packages/pinpong/base/FirmataExpress.UNIHIKER.3.8.bin -v -g 0x08000000 /dev/ttyS3
stm32flash 0.5
http://stm32flash.sourceforge.net/
Using Parser : Raw BINARY
Interface serial_posix: 57600 8E1
Failed to init device.
[37] Burn done
selected -> board: UNIHIKER serial: /dev/ttyS3
[10] Opening /dev/ttyS3
[22] Arduino compatible device found and connected to /dev/ttyS3
[40] Retrieving analog map...
Traceback (most recent call last):
File "/root/projects/unihiker/basic/./l_led.py", line 44, in <module>
Board().begin()
File "/root/miniforge3/lib/python3.10/site-packages/pinpong/board.py", line 1369, in begin
self.board = pymata4.Pymata4(com_port=self.serial, arduino_wait=2, baud_rate=115200, name = self.boardname)
File "/root/miniforge3/lib/python3.10/site-packages/pinpong/base/pymata4.py", line 396, in __init__
raise RuntimeError('*** Analog map retrieval timed out. ***'
RuntimeError: *** Analog map retrieval timed out. ***
Do you have Arduino connectivity and do you have the correct Firmata sketch uploaded to the board?
Python script:
from pinpong.extension.unihiker import *
from pinpong.board import Board, Pin
from unihiker import Audio
from unihiker import GUI
Board().begin()
A Linux desktop is connected to the UNIHIKER via USB-C port. I run Arduino IDE 2.3.4 to work on other DFRobot boards. What do I have to do to make Board().begin() work successfully? Thanks.
Regards.
The error "Failed to init device" typically occurs when a system or application is unable to initialize or access a hardware device. This issue can arise due to various reasons, depending on the context, such as a computer, phone, or specific application. Here are some common causes and troubleshooting steps:
Possible Causes:
Driver IssuesThe required drivers for the device are missing, outdated, or corrupted.Hardware MalfunctionThe device itself may be damaged or improperly connected.PermissionsInsufficient permissions or security restrictions can prevent device initialization.Compatibility ProblemsThe device or application may not be compatible with the current operating system or hardware configuration.Resource ConflictsAnother application or process may be using the device, causing a conflict.Firmware or Software BugsGlitches in firmware or application software might prevent proper initialization.
What if you use the default Python version: Python 3.7.3? Does it work?

Here's what I get:
/usr/local/lib/python3.7/dist-packages/pinpong/base/FirmataExpress.UNIHIKER.3.7.bin
stm32flash -w /usr/local/lib/python3.7/dist-packages/pinpong/base/FirmataExpress.UNIHIKER.3.7.bin -v -g 0x08000000 /dev/ttyS3
stm32flash 0.5
http://stm32flash.sourceforge.net/
Using Parser : Raw BINARY
Interface serial_posix: 57600 8E1
Failed to init device.
[37] Burn done
selected -> board: UNIHIKER serial: /dev/ttyS3
[10] Opening /dev/ttyS3
[22] Arduino compatible device found and connected to /dev/ttyS3
[40] Retrieving analog map...
Traceback (most recent call last):
File "./light_ambient.py", line 12, in <module>
Board().begin()
File "/usr/local/lib/python3.7/dist-packages/pinpong/board.py", line 1369, in begin
self.board = pymata4.Pymata4(com_port=self.serial, arduino_wait=2, baud_rate=115200, name = self.boardname)
File "/usr/local/lib/python3.7/dist-packages/pinpong/base/pymata4.py", line 396, in __init__
raise RuntimeError('*** Analog map retrieval timed out. ***'
RuntimeError: *** Analog map retrieval timed out. ***
Do you have Arduino connectivity and do you have the correct Firmata sketch uploaded to the board?
root@unihiker1:~/projects/sensors#
I "deactivated" conda. (IMHO, should've never installed conda for my YOLO “experiments” but that is a separate story). I “thought” that I had upgraded Firmata but now it seems that it is using the original one that was flashed during manufacturing. I will have to read the documentation carefully again and install the current one. Thanks.
Regards.
The error indicates a problem with the communication between the pinpong library and the UNIHIKER board. An incompatibility between the pinpong library version and the board firmware may cause this problem. The correct Firmata firmware may not be uploaded or initialized properly on the UNIHIKER board.

Yessir, you are correct again! My memory retention has become weak. I thought I did the Firmata upgrade (to get a simple Python script to detect ambient noise - worked successfully) but now I am back at the starting gate. I have to study the documentation more carefully. Thanks for your suggestion.
Regards.
The above issue is owing to the use of an obsolete PinPong package. Now that I'm on pinpon-0.6.1, I get a new message:
(base) root@unihiker1:~/# python
Python 3.10.14 | packaged by conda-forge | (main, Mar 20 2024, 21:44:20) [GCC 12.3.0] on linux
Type "help", "copyright", "credits" or "license" for more information.
>>> from pinpong.board import Board
>>> Board().begin()
Please connect the development board !!!
Please connect the development board !!!
Please connect the development board !!!
However, the board is already connected to the desktop - currently running an SSH session. What else do I need to do? Thanks.
Regards.
