3 ppc_uart, 4 ppc_ebc, Ppc_uart - 17 – Kontron AT8402 Diagnostics Manual User Manual
Page 25: Ppc_ebc - 17, At8402 diagnostics running on the carrier

AT8402
Diagnostics running on the Carrier
Page 2 - 17
AT8402 CLI Reference Manual
2.7.3
PPC_UART
Serial line test.
Test group:
Diagnostics
Test case:
ppc
Test procedure: PPC_UART
Test host:
Carrier
Test IC:
quickturn
Test mode:
normal
Diagnostic code: PPC-00060003
Description
This test checks sending and receiving characters on the serial line by setting the
PPC405 UART into loopback mode. This test is performed automatically during POST
in the case that the environment variable ‘post_en’ has been set. In case of a test failure
an error code is stored in the CPLD postcode warning register.
Parameters: none
Result
•
The message ‘POST serial passed’ is displayed on the bootloader serial console:
POST serial PASSED
Failure impact
•
PPC-00060003 diagnostic code results from a failure of the management serial
port. Impact is loss of management access through the serial management port.
2.7.4
PPC_EBC
EBC settings test.
Test group:
Diagnostics
Test case:
ppc
Test procedure: PPC_EBC
Test host:
Carrier
Test IC:
quickturn
Test mode:
normal
Diagnostic code: PPC-00060004
Description
This test checks the settings of the PPC405 external bus controller (EBC). EBC
configuration and status registers are accessed indirectly by reading and writing device
control registers EBC0_CFGADDR (DCR 0x012) and EBC0_CFGDATA (DCR
0x013). Reading and writing device control registers is done using the cpldtool which
provides access to the CPU’s device control registers.
Device access is configured by programming the EBC configuration registers. For each
device, its Peripheral Bank Configuration Register (EBC0_BnCR) and its Peripheral
Bank Access Parameters (EBC0_BnAP) have to be programmed properly.