Installation guide
RTX Installation
Manual • Doc. No.: C.2001.21 / Rev. 3.0 •
© 2000-2007 esd gmbh
CAN-API Installation
Page 46 of 112
Step 3: Loading the NTCAN API library
Next step is to load the NTCAN API library. This can be performed with the command line version or
the GUI-version of the RTX-tool
RTSSStart
. At the command line the following command has to be
executed:
rtssstart ntcan.rtss [Arguments]
If an error occurs at start the numeric error code is displayed in the RTX-text console and the RTSS-
process is terminated.
If an error occurs in the start sequence it can be checked with the RTX-task manager, respectively the
RTX-object viewer, if the driver is active.
2.7.4 Command Line Parameter for RTSS Device Driver
There are several command line options to configure the driver startup:
Option Argument Description
-V
-
After the start the driver returns the version number in the RTX-console
and terminates immediately.
-v
mask
Additional debug output during startup in the RTX-console. The mask
parameter may be given decimal or hexadecimal with leading ‘0x’
-h
-
Display a list of all possible command line options and terminate
immediately.
-p
prio
This option configures the priority of the IST thread that processes the
CAN messages. The default value for
prio
is 127.
-b
baudrate
This option configures the default baudrate according to the baudrate
table. The default value for baudrate is to stay off-bus as long as the
baudrate is set explicitly by the application.
-n
net number
This option configures the logical base net number which is assigned to
the first physical port of the CAN module. The logical net numbers are
incremented by one for each additional physical port. The default value
for
net number
is 0.










