Holt Integrated Circuits
10
Demo
– The Demo software resets both devices and initializes both devices using the Holt API
library functions. There are two build configurations: Debug and Debug_precompiled_library. The
Debug_precompiled_library requires a binary library file produced by the H1553Libary project.
See below. Rebuilding the ‘Debug’ configuration compiles all the demo files including the Holt API
library files and outputs the Demo executable.
H1553Libary
– This project builds the API library output file libH1553Library.a that is linked with
the Debug_precompiled_libary target demo project above.
pcie_kernel_module
– This project builds the Linux loadable kernel module ‘pcie_lkm.ko’. This
module must be loaded into the Linux OS before executing the Demo project or an error will be
produced. This module provides support for writing and reading HI-2130 device registers and
memory space using the Linux default PCIe drivers.
6.
Steps to rebuild the projects before executing the Demo executable.
DO THIS FIRST!
The kernel module must be rebuilt with the version of OS header files located in the /lib/modules
on the PC. Typically there’s a folder named like 4.15.0-70-generic or similar. The path of this folder
needs to be set in the kernel module project settings as shown below. This is accomplished by
right clicking the kernel module project folder and selecting “properties” then selecting the “paths
and Symbols items as shown. If the entry does not match the folder name on the PC edit the entry
to make it match.
Содержание ADK-2130mPCIe
Страница 1: ...AN 2130mPCIe_New 01 20 ADK 2130mPCIe Technical Manual Jan 16 2020...
Страница 2: ...This page intentionally blank...
Страница 13: ...Holt Integrated Circuits 13...
Страница 32: ...Holt Integrated Circuits 32 Figure 3 Board References...