EasyManua.ls Logo

Sys Tec Electronic GW-003 - Page 65

Default Icon
108 pages
Print Icon
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
Error Handling
© SYS TEC electronic GmbH 2007 L-1032e_9 57
The following bits are specified for the error code:
0x0000 no errors
0x0001 buffer overflow when receiving
0x0002 buffer overflow when transmitting
0x0004 buffer overflow in the CAN controller
0x0008 CAN acknowledge (ACK) error
0x0010 CAN warning limit reached
0x0020 CAN passive mode reached
0x0040 device is in CAN bus off state
0x0080 error during message transmission
0x0100 error during message receipt
0x0400 the interface connection has been terminated
0x2000 generic CAN controller error, internal hardware error of the
Infineon TwinCAN (bit stuffing error, form error, CRC
error)
These device error states can also be queried via Telnet or RS-232.
The state (
state) is located in the CAN interface. Along with the
possible error states, the following additional bits provide information
about the existing BTP connections.
0x0200 The interface is successfully connected
0x0800 Signalization of the data transfer
Example:
/if > can0
Usage: can0 [on] [off] [canid:<hex>] [baud:<num>]
[bus:<num>] [buf:<num>]
Current settings: on canid:0xF5 baud:0 (1MBit/s) bus:0
state:0x850
state = 0x850
shows CAN bus-off and CAN warning limit as well
as data transfer via BTP

Table of Contents