beautypg.com

Debugging, Hardware bring-up issues, Link training – Altera Arria V Hard IP for PCI Express User Manual

Page 271: Chapter 18. debugging, Hardware bring-up issues –1 link training –1

background image

December 2013

Altera Corporation

Arria V Hard IP for PCI Express

User Guide

18. Debugging

As you bring up your PCI Express system, you may face a number of issues related to
FPGA configuration, link training, BIOS enumeration, data transfer, and so on. This
chapter suggests some strategies to resolve the common issues that occur during
hardware bring-up.

Hardware Bring-Up Issues

Typically, PCI Express hardware bring-up involves the following steps:

1. System reset

2. Link training

3. BIOS enumeration

The following sections, describe how to debug the hardware bring-up flow. Altera
recommends a systematic approach to diagnosing bring-up issues as illustrated in

Figure 18–1

.

Link Training

The Physical Layer automatically performs link training and initialization without
software intervention. This is a well-defined process to configure and initialize the
device's Physical Layer and link so that PCIe packets can be transmitted. If you
encounter link training issues, viewing the actual data in hardware should help you
determine the root cause. You can use the following tools to provide hardware
visibility:

SignalTap

®

II Embedded Logic Analyzer

Third-party PCIe analyzer

Figure 18–1. Debugging Link Training Issues

No

system reset

Does Link

Train

Correctly?

Check PIPE

Interface

Use PCIe

Analyzer

Soft Reset System to

Force Enumeration

Check Configuration

Space

Check LTSSM

Status

Yes

Yes

No

Successful

OS/BIOS

Enumeration?

December 2013
UG-01110-1.5