Installation guide¶
Supported platforms and devices¶
i.MX 8
CCpilot V510
CCpilot V700
CCpilot V705
CCpilot V710
CCpilot V1000
CCpilot V1200
CCpilot V1090
CCpilot V1290
LinX Software Suite DevEnv v5.1
CCpilot X1200 is not supported in this release.
Prerequisites¶
A CCL version compatible with the supplied package. The current i.MX 8 build targets CCL 5.1; see the release notes for the release support status.
Data Engine running on the device or at the address supplied with
--ip.SocketCAN 2 and CC Aux on devices where hardware suspend/resume is used.
The Fieldbus Access runtime does not require Qt or a separately installed SAPcore shared library. Qt may still be required by your GUI application or LinX Manager.
Installing Fieldbus Access¶
i.MX 8¶
For production use, install Fieldbus Access through a RAUC bundle. For
development and testing, remount /appfs writable and unpack the package
there. Back up any existing configuration before replacing files.
RAUC bundle¶
Please reference the CC Linux - Using RAUC documentation on the support web site for more information about how to generate a RAUC bundle.
Unlock /appfs for development/testing¶
Open an ssh session to the target:
ssh ccs@<ip-address>Change write permissions of /appfs:
sudo mount -o remount,rw /appfs
Formatting the partition is not required for this installation procedure.
Unpacking tarball¶
Download the supplied i.MX 8 tarball. The current CCL 5.1 package is named
fieldbusaccess-ccl51_<version>_imx8.tar.gz.Transfer the tar.gz package to device:
scp fieldbusaccess-ccl51_<version>_imx8.tar.gz ccs@<ip-address>:/tmpOpen an ssh session to the target:
ssh ccs@<ip-address>Change directory to
/tmp:cd /tmpRun the following code to unpack it:
sudo tar xzf fieldbusaccess-ccl51_<version>_imx8.tar.gz -C /appfsReload systemd unit files:
sudo systemctl daemon-reloadEnable or start Fieldbus Access as required. See Service management.
LinX Software Suite DevEnv v5.1¶
These steps are intended to be performed in the UX Designer VM.
If the VM release is supplied as a Debian package:
Download
fieldbusaccess_<version>_amd64.debfrom the support siteDouble-click on the package to open it with GDebi
Follow the instructions to install the package
It’s also possible to install the package using the terminal:
sudo apt install ./fieldbusaccess_<version>_amd64.deb
The current Jenkins build instead produces
fieldbusaccess-5.x_<version>_amd64.tar.gz. To install that archive, unpack
it in a working directory and extract the enclosed data.tar.gz into /:
tar xzf fieldbusaccess-5.x_<version>_amd64.tar.gz
sudo tar xzf data.tar.gz -C /
This installs the runtime and default configuration under /opt/bin.
Start Data Engine separately, then run:
/opt/bin/fieldbusaccess /opt/bin/FieldbusAccess_ConfigFile.json
The debug log directory is /data/home/ccs/FieldbusAccess/logs/ on the VM
as well as on devices. Ensure the runtime user can create or write to this
directory when using --debug. This manual extraction does not configure
automatic startup.
LinX-Manager Fielbus Access Online Documentation¶
LinX Manager Fieldbus Access is a plugin written for Qt Creator. The plugin allows the user access data available on CAN buses according to J1939 or CANopen protocols from a QML or Widget based Qt application. With the help of LinX Manager Data Engine updates projects with necessary code and classes to communicate with Fieldbus Access runtime via Data Engine.
Signals can then be visualized directly in a QML or Widget application thanks to generated code or processed further in the backend.
Aside from auto generating the communication layers it also generates the configuration file for the Fieldbus Access runtime, which takes care of the communication with the CAN-buses.
For full details and guides on how to proceed with creating different CAN bus signals and run the Qt applications on the various CCpilot displays head to the online documentation here LinX Manager Fieldbus Access
Troubleshooting¶
Please refer to our Knowledge Base for further information and troubleshooting guides head to our LinX-Manager Fieldbus Access Online Documentation Troubleshooting .