Board Support Package For x86 Targets Running Ubuntu 64-bit Desktop OS
Introduction
This board support package (BSP) supports x86 targets running Ubuntu 64-bit Desktop operating system such as Desktop & Server Platforms, x86 SBCs etc. It has remote build capabilities to build and deploy CASP models on the target hardware and supports CASP simulation panel (SimPanel). It uses Linux GCC 64-bit native compiler tool chain present on the target hardware. For remote build to work, both host and target systems shall be connected through common LAN.
Getting Started
· Ensure target system is updated with latest GCC compiler tool chain
· Following steps shall be followed for building and deploying models on target system
1. Generate Remote Build Tool chain for the target from CASP -> Tools -> HwTools->RemoteBuild. CASP creates a folder containing files that can run on target system. Copy the folder to the target and follow instructions from ‘readme_setup.txt’ file located in the root directory.
2. Run casp_rbuild from the target system’s Linux terminal with proper IP address as argument.
3. Enter the target IP from above step in Remote Build/Deploy IP address in CASP Setup Simulation window as shown below
4. Enter/Select other setup options and click on Run to build and deploy the model on target system.
Board Configuration
· General Configuration
Configuration Parameter |
Parameter Values |
Board Title |
Ubuntu64_RBuild |
Tool Chain Type |
Remote Build & Deploy |
Board Preprocessor Symbol |
_BUILD_BRD_PC_LNX_UBUNTU_X64 |
Platform Preprocessor Symbol |
_BUILD_PLT_LNX_X64 |
Compiler Preprocessor Symbol |
_BUILD_CMP_X64_GCC |
C++11 Standard Support |
Yes |
File System Support |
Yes |
OpenMP/OpenCL/CUDA Support |
Yes/Yes/Yes |
Simulation Panel Support |
Yes |
· Hardware Configuration
Configuration Parameter |
Parameter Values |
Number of CPU cores |
1 |
Dynamic Memory Support |
Yes |
Prefer Fixed/Floating Point |
Floating Point |
DI/DO Pins |
- |
ADC Default Resolution |
- |
ADC Pins |
- |
PWM Default Resolution |
- |
PWM Pins |
- |
DAC Default Resolution |
- |
DAC Pins |
- |
UART0 Pins |
- |
UART1 Pins |
- |
UART2 Pins |
- |
UART3 Pins |
- |
SPI Pins |
- |
I2C Pins |
- |
WiFi Support |
Implemented through TargetHw_LinuxIP |
Ethernet Support |
Implemented through TargetHw_LinuxIP |
Programmer
Binary file is created and executed on target itself, when user presses Run button.
Debugging
Debugging is supported through Simulation Panel message window.
Known Issues & Limitations
-