The LLM Module can be debugged using the ADB tool. This guide explains how to access the LLM Module terminal and transfer files using ADB. Before starting, download the ADB Platform-Tools based on your operating system.
1.Connect the LLM Module’s Type-C port to your computer via USB.
2.Navigate to the directory where the ADB tool is located and use the push
command to transfer files. If you see a “Permission denied” error, execute the following command.
adb.ext kill-server
3.Transfer the file.
# adb.exe push local remote
adb.exe push data.json /opt
4.Access the device terminal.
adb.exe shell
sh-5.1# ls /opt/
bin containerd data data.json etc lib lost+found m5stack swupdate usr
The Debug Board provided with the LLM Module includes an Ethernet interface and a system log interface, which can be used for network connection and functionality debugging of the LLM Module.
1.Connect the Debug Board and the system log debugging interface. Use a tool such as
Putty
to log in to the device terminal via serial connection for debugging and control. (Default: 115200bps 8N1, default username is root
, password is 123456
.)
1.Connect the Debug Board and Ethernet cable. Follow the ADB/UART connection tutorial above to access the device terminal. Use the following command to retrieve the LLM Module’s IP address.
sh-5.1# ip addr
2.You can remotely access the device via SSH within the local area network. The default username is root
, and the password is 123456
.
ssh root@192.168.20.144