Composition
API Positioning
The relationship among the APIs provided by this product is shown below.
Package Composition
The structure of the free edition is shown below. Here, "Storage Folder" indicates the folder path relative to the root.
Note: The library storage folder name varies depending on the target CPU/OS.
| Type | Description | File Name | Storage Folder |
|---|---|---|---|
| Application Development Library | Static library version | libMPXCANFDCtrlFree.a | 01_drv/Arm7l_gcc |
| Dynamic library version | libMPXCANFDCtrlFree.so | 01_drv/Arm7l_gcc | |
| Header for include | MPXCANFDCtrlLinuxFree.h | 01_drv/Arm7l_gcc | |
| Sample Program (Python) | Python sample application | mpx_adl_sample.py | 02_sample |
| Sample wrapper for Python | mpx_adl_wrapper.cpp | 02_sample | |
| Python sample wrapper installer | setup.py | 02_sample | |
| Python wrapper sample API documentation (*) | mpx__adl__wrapper_8cpp.html | 03_doc/html | |
| Sample Program (C++) | C++ sample application | mpxinfo.c | 02_sample |
| C++ sample Makefile | Makefile | 02_sample | |
| Sample Program | Header for include | MPXCANFDCtrlLinuxFree.h | 02_sample |
*: The Python wrapper sample API documentation is also available at the link below.
MicroPeckerX ADL Python Sample Documentation
Installing the FTDI D2XX Driver
Install the USB driver compatible with MicroPeckerX.
Download the D2XX driver for your OS from the FTDI Chip web page below.
FTDI Chip Drivers
Install the downloaded files in the appropriate location.
After installation, run sudo ldconfig or an equivalent command so the library can be loaded.
User Write-Permission Setup (First Time Only)
In the initial state, applications created using ADL (a user-mode driver) can be run only with root privileges.
A script is provided to automatically configure execution without root privileges.
Extract mpx_adl_linux.tar.gz and you will find mpx_adl_linux/lib/devrule_inst.
Run this file with sudo (root privileges).