CCpilot XM and CrossCore XM - Software guide
Revision: 1.6
Software Guide
Date: Jun 24, 13
www.maximatecc.com
4.
Accessing and using the interfaces of XM device
This section covers basic usage and access of the XM device hardware. Most of the hardware is
accessed using the default Windows or Linux interfaces but some XM device specific interfaces,
such as CAN and Digital In, require additional software and/or interfaces to be accessed. See the
CCpilot XM and CrossCore XM
–
Programmers guide
documentation for general information
regarding software development using XM device interfaces.
Depending on product model, all interfaces may not be present on your specific model. There may
also be additional methods to access XM device than the ones described herein, depending on
operating system and additional installed software.
4.1.
CF/HDD
XM device uses a compact flash based storage. The storage is identified to the system as an IDE-
device, i.e. a normal hard disk drive.
The Compact Flash module is industrial grade classified and has both static and dynamic wear
levelling to prevent a premature aging and to ensure the longest lifetime, still Compact Flash drives
has a limited number of write cycles. It is recommended that the amounts of writing to storage are
limited within the application. Rather keep information in RAM memory and write larger blocks at
one time instead of frequently writing smaller pieces.
Additional details about CF usage recommendations can be found in
CCpilot XM and CrossCore
XM
–
Programmers guide.
4.1.1.
Windows
In the maximatecc Windows images, measures have been taken to reduce the number of write
accesses during normal operation. These measures include disabling of file access timestamps and
disabling of prefetching services. Note that the page file is disabled by default; this is to enhance the
life time of the Compact Flash card and reduce the system reserved storage media space. Further
configuration to reduce flash write cycles can be set up by the customer: See chapter 9 Windows
system specifics, for information about the EWF, FBWF and HORM technologies.
4.1.2.
Linux
In Linux, the Compact Flash card is partitioned into one root file system, which is write protected,
and one user file system area, which is write enabled by default. The latter area is the preferred
location for user software installations. See chapter 8.3 Installing new drivers, applications and
system packages.
4.2.
CAN
XM device has four CAN interfaces with user configurable baud rate and frame type accessible from
the CCsettings application or from registry and/or standard file system settings.
The CAN interfaces can also be accessed in Windows using the proprietary CAN API, further
described in the
CAN Interface Description
, or with the Linux operating system standard API
SocketCAN.
More information can be found in
CCpilot XM and CrossCore XM
–
Programmers
Guide
.