5 ppc_i2c, Ppc_i2c - 18, Diagnostics running on the carrier at8402 – Kontron AT8402 Diagnostics Manual User Manual
Page 26
Diagnostics running on the Carrier
AT8402
Page 2 - 18
AT8402 CLI Reference Manual
The Configuration Register of device #n (n=0:7) is read using the sequence below
# ./cpldtool mtdcr 0x12 0x0[n]
wrote dcr: 0x12 value: 0x00000000[n]
# ./cpldtool mfdcr 0x13
dcr: 0x13 value: 0xfc0dc000
#
The Access Parameters of device #n are read using the sequence below
# ./cpldtool mtdcr 0x12 0x1[n]
wrote dcr: 0x12 value: 0x00000010[n]
# ./cpldtool mfdcr 0x13
dcr: 0x13 value: 0xfc0dc000
#
Parameters: see above
Result
•
Settings of the EBC must match with those described in the KCO-AT8402.h con-
figuration file.
Failure impact
•
PPC-00060004 diagnostic code results from an EBC error. The impact is loss of
applications running on carrier host processor. This impacts at least Ethernet func-
tionality and command line interface.
2.7.5
PPC_I2C
I2C bus test.
Test group:
Diagnostics
Test case:
ppc
Test procedure: PPC_I2C
Test host:
Carrier
Test IC:
quickturn
Test mode:
normal
Diagnostic code: PPC-00060005
Description
This test performs a bus scan on the I2C bus. All I2C devices found are compared with
the devices defined in the I2C_ADDR_LIST (see KCO-AT8402.h). The test will fail in
the case that an I2C device address not defined in the I2C_ADDR_LIST has been
found or in the case that not all of the I2C addresses listed are found. In this case, an
error code is stored in the CPLD postcode warning register.
Parameters: none
Result
•
The message ‘POST I2C passed’ is displayed.
POST I2C PASSED