![background image](http://html1.mh-extra.com/html/aim/afdx-arinc-664/afdx-arinc-664_reference-manual_2871730233.webp)
Reference Manual AFDX / ARINC 664 Application Interface Library
221
Section 4 – Function Reference: Target Independent Administration Functions
4
4
.
.
5
5
.
.
7
7
F
F
d
d
x
x
T
T
r
r
a
a
n
n
s
s
l
l
a
a
t
t
e
e
E
E
r
r
r
r
o
o
r
r
W
W
o
o
r
r
d
d
Prototype:
AiReturn FdxTranslateErrorWord (AiUInt16 uw_ErrWord,
AiChar* puc_ErrStr,
AiUInt8 uc_ErrStrSize)
Driver Command
none
Purpose:
This function translates a Firmware specific Error Report Word into a string, containing 3-
character wide abbreviations for the corresponding errors.
Input:
AiUInt16 uw_ErrorWord
Firmware Error Word with following layout. The constants are representing bit
position within the Error Word.
Error Type Constant
Error Description
Abbreviation
FDX_RX_ERROR
GNET_RX_ERROR
Wrong physical Symbol during frame reception.
PHY
FDX_PREAMBLE_ERROR
Wrong Preamble/Start Frame Delimiter received.
PRE
FDX_TRIP_NIBBLE_ERROR
Unaligned Frame length received
TRI
FDX_CRC_ERROR
GNET_CRC_ERROR
MAC CRC Error.
CRC
FDX_SHORG_IFG_ERROR
GNET_SHORG_IFG_ERROR
Short Interframe Gap Error (<960ns)
IFG
FDX_IP_ERROR
GNET_IP_ERROR
AFDX IP Framing Error (AFDX-IP frame specific settings
violated).
IPE
FDX_MAC_ERROR
GNET_MAC_ERROR
AFDX MAC Framing Error (AFDX-MAC frame specific
settings violated).
MAE
FDX_NO_VALID_SFD
Frame without valid Start Frame Delimiter received
SFD
FDX_LONG_FRAME_ERROR
GNET_LONG_FRAME_ERROR
Long Frame Received ( > 1518 Bytes)
LNG
FDX_SHORT_FRAME_ERROR
GNET_SHORT_FRAME_ERROR
Short Frame Received ( < 64 Bytes)
SHR
FDX_VL_FRAME_SIZE_ERROR
GNET_VL_FRAME_SIZE_ERROR
VL specific Frame size Violation
VLS
FDX_SEQUENCE_NO_ERROR
GNET_SEQUENCE_NO_ERROR
Sequence No. Mismatch
SNE
FDX_TRAFFIC_SHAP_ERROR
GNET_TRAFFIC_SHAP_ERROR
Traffic Shaping Violation
TRS
Note:
It is strictly recommended to use the GNET_ defines for the APX-GNET board
because the defines are slightly different to the FDX_ defines. The use of wrong
defines can cause unpredictable results.
AiChar* puc_ErrStr
Pointer to Array of characters, which will hold the error string after successful
translation. The Error String will contain the error abbreviations for the occurred
errors, separated by a forward slash
‘/’
.
Summary of Contents for AFDX / ARINC 664
Page 2: ......