Qualcomm Android Board Configurations
R2026bTo configure the Qualcomm® Android® hardware board, complete these steps.
Prerequisites
The board must be run on Android OS.
The board must be a Snapdragon Android board.
The board must have root access.
Note
Copy the sysMon binary on to the target (If not present) from the SDK using the following adb command:
adb root
adb remount
adb push ${HEXAGON_SDK_ROOT}/tools/utils/sysmon/sysMonApp /data/local/tmp/
adb shell chmod 777 /data/local/tmp/sysMonApp
Press Ctrl+E to open the Model Configuration Parameters.
Set the Hardware board parameter to
Qualcomm Android Board.The hardware board settings automatically populate with their default values.
You can adjust these parameters for your use case.
Device
Use Qualcomm Device Cloud hardware
Select this option to use a hardware device with the Qualcomm Device Cloud instead of a locally connected physical board. For more information on connecting to a cloud device, see Qualcomm Device Cloud Overview.
Default:
off
SSH tunneling port
Specify the SSH tunneling port for the cloud device connection. This parameter is only available when Use Qualcomm Device Cloud hardware is selected.
Note
Enter the same port number as the SSH tunneling port value that the Qualcomm
Device Cloud interface displays as the ADB port when you connect to a device. For
example, if the Qualcomm Device Cloud interface shows the ADB port as
5044, set the SSH tunneling port to
5044.
Default:
<empty>
To check if the cloud device is connected, run the following command in Windows® Command Prompt.
adb -P <SSH tunneling port number> devices Port forwarded through ADB
Specify the port forwarded through ADB for the cloud device connection. This parameter is only available when Use Qualcomm Device Cloud hardware is selected.
For PIL simulation, specify an additional SSH port in the
8900-8909 range and configure port forwarding on the cloud
device. For more information, see Connect to Additional Ports on the Device.
Default:
<empty>
Interface
Select the Android Debug Bridge (ADB) interface for the selected hardware board.
ADB over USB — Select this option if you have connected to a USB device.
ADB over TCP/IP — Select this option if you have a remotely connected hardware board.
Default:
ADB over USB
Supported interfaces:
ADB over USB and ADB over TCP/IP
IP address
Specify the IP address of the remotely connected hardware board. This parameter is
available only when Interface is set to ADB over
TCP/IP.
Default:
<empty>
Port
Specify the port number of the remotely connected hardware board. This parameter
is available only when Interface is set to ADB over
TCP/IP.
Default:
<empty>
Get device information
Click Get device information to get the device ID of the remotely connected hardware board.
Device id
Displays the connected device ID. This value auto-populates when you click Get device information.
Default:
<empty>
PIL
Execution timeout
Specify the processor-in-the-loop (PIL) execution timeout in seconds.
Default:
30
Build Options
Build action
Defines how Embedded Coder® software responds when you press Ctrl+B to build
your model.
Default:
Build
-
Build Press
Ctrl+Bor click Build.Generates code from the model.
Compiles and links the code into an executable with libraries.
This option does not load and run the executable on the Qualcomm Hexagon processor.
Disable parallel build
Select this option to compile the generated code in parallel order for faster build.
on— The support package compiles generated code sequentially.off— The support package compiles generated code in parallel. Parallel execution reduces the build time.
Default:
off