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
Summary of Contents for GW-003
Page 5: ...Contents SYS TEC electronic GmbH 2007 L 1032e_9 Index 97 ...
Page 8: ...CAN Ethernet Gateway SYS TEC electronic GmbH 2007 L 1032e_9 ...
Page 14: ...CAN Ethernet Gateway 6 SYS TEC electronic GmbH 2007 L 1032e_9 ...
Page 56: ...CAN Ethernet Gateway 48 SYS TEC electronic GmbH 2007 L 1032e_9 ...
Page 66: ...CAN Ethernet Gateway 58 SYS TEC electronic GmbH 2007 L 1032e_9 ...
Page 100: ...CAN Ethernet Gateway 92 SYS TEC electronic GmbH 2007 L 1032e_9 ...
Page 108: ...Published by SYS TEC electronic GmbH 2007 Ordering No L 1032e_9 Printed in Germany ...