Installation guide

QNX6 Installation
CAN-API Installation
Manual • Doc. No.: C.2001.21 / Rev. 3.0 •
© 2000-2007 esd gmbh
Page 105 of 112
Command Line of the Resource Manager for ISA Boards:
With the command
devcan-isa200-sja1000 -h
the input syntax of all available parameters (here CAN-ISA/200) is listed:
devcan-isa200-sja1000 [-b
baudrate
][-m
mode
][-n
net
][-v[
v..
]][-c
card-options
] &
The resource manager can be configured by means of the parameters explained 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
Setting of the I/O-address and the interrupts of a CAN module:
io =
address
(I/O-address)
irq =
interrupt
(An unused interrupt of the system has to be determined
and set with this parameter.)
Table 40:
Parameters of the resource manager on ISA boards
Example
for the installation of two CAN-ISA/200 boards in one system:
devcan-isa200-sja1000 -n0 -c io=0x1e8,irq=5 -n1 -c io=0x1e0,irq=7 &
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.