Installation guide

QNX6 Installation
CAN-API Installation
Manual • Doc. No.: C.2001.21 / Rev. 3.0 •
© 2000-2007 esd gmbh
Page 107 of 112
Command Line of the Resource Manager for PCI Boards:
With the command
devcan-pci331-i20 -h
the input syntax of all available parameters (here CAN-PCI/331) is listed:
devcan-pci331-i20 [-b
baudrate
][-m
mode
][-n
net
][-v[
v..
]][-c
card-options
] &
The resource manager can be configured by means of the parameters described below.
Parameter Function
-b
baudrate
Input of baudrate (default value: module is ‘OFF Bus’)
-m
mode
Not supported at the moment (default value = 0)
-n
net
Assigning the logical network number.
net
= 0...255 (default value = 0)
-v[
v...
]
Ve r bo s e le v e l
-p
prio
Back-end handling priority (default value = 19)
-h
Showing a help text
-c
card_options
pci =
index
(= “PCI Index”as indicated by the QNX Shell
command
pci -v
sdid =
id
(= “Subsystem ID”as indicated by the QNX Shell
command
pci -v
If no parameter value is set, access to all boards is enabled).
Table 41:
Parameters of the resource manager on PCI boards
Example
for the installation of two CAN-PCI/331 boards in one system:
devcan-pci331-i20 -n0 -c pci=0 -n2 -c pci=1 &
Now you can test the communication on the CAN bus by means of the example program
cantest
.
Attention!
Make sure that your module is correctly wired! A second CAN participant is required
to make the module work correctly, because otherwise the CAN controller creates error
messages. Make also sure that the bus is correctly terminated.