Board Support Package For x86 Targets Running Microsoft Windows 64-bit Desktop OS

Introduction

This board support package (BSP) supports x86 targets running Microsoft Windows 64-bit Desktop operating system such as Desktop & Server Platforms, x86 SBCs etc. The BSP has two versions

1.     Local Build version: It uses MinGW64-bit complier tool chain present on native system for building binaries that can execute on any x86 target running Windows 64-bit OS.

2.     Remote Build version: This version uses CASP’s remote build capabilities to build and deploy CASP models on target system running Windows 64-bit OS and supports CASP simulation panel (SimPanel). It uses MinGW 64-bit compiler tool chain present on target system. For remote build to work, both host and target systems shall be connected through common LAN.

Getting Started

·       For Local Build version of BSP, create and build model on native system to generate required binary. The generated binary and other related files are located in <project directory>/build/bin_out folder. These files can be copied and executed by the user on target system. Target system shall be properly installed with MinGW 64-bit compiler tool chain and CASP.

·       Following steps shall be followed for Remote Build version

1.   Generate Remote Build Tool chain from CASP -> Tools -> HwTools->RemoteBuild. CASP creates a folder containing files that can run on target system. Copy the folder to the target system and follow instructions from ‘readme_setup.txt’ file located in the root directory.

2.   Run casp_rbuild.exe from Windows command prompt on the target system 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

Local Build Version

Remote Build Version

Board Title

Windows64

Windows64_RBuild

Tool Chain Type

Local Build

Remote Build & Deploy

Board Preprocessor Symbol

_BUILD_BRD_PC_WIN64

_BUILD_BRD_PC_WIN64

Platform Preprocessor Symbol

_BUILD_PLT_WIN64

_BUILD_PLT_WIN64

Compiler Preprocessor Symbol

_BUILD_CMP_X64_MINGW

_BUILD_CMP_X64_MINGW

C++11 Standard Support

Yes

Yes

File System Support

Yes

Yes

OpenMP/OpenCL/CUDA Support

Yes/Yes/Yes

Yes/Yes/Yes

Simulation Panel Support

Yes

Yes

 

·      Hardware Configuration

Configuration Parameter

Windows 64-bit Targets

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

For Local Build version, user has to manually copy generated binary from project bin directory on host PC to target system.

For Remote Build version, binary file is created and executed on target itself, when user presses Run button.

Debugging

Debugging is supported through console display for local build version and via Simulation Panel message window for remote build version.

Known Issues & Limitations

-