PCIe link training method and device and medium

The invention discloses a PCIe link training method and device and a medium, and the method comprises the steps: carrying out the tracking and synchronization of a hardware LTSSM state machine through a software LTSSM state machine in a PCIe link training process of a PCIe hardware system; when the...

Ausführliche Beschreibung

Gespeichert in:
Bibliographische Detailangaben
Hauptverfasser: WANG TINGPING, GAO SHICHENG, KUANG QIHE, XIAO ZUONAN, ZHENG JIANG
Format: Patent
Sprache:chi ; eng
Schlagworte:
Online-Zugang:Volltext bestellen
Tags: Tag hinzufügen
Keine Tags, Fügen Sie den ersten Tag hinzu!
Beschreibung
Zusammenfassung:The invention discloses a PCIe link training method and device and a medium, and the method comprises the steps: carrying out the tracking and synchronization of a hardware LTSSM state machine through a software LTSSM state machine in a PCIe link training process of a PCIe hardware system; when the hardware LTSSM state machine is subjected to unexpected state transition, executing corresponding error correction processing by utilizing first preset software processing logic; and when the hardware LTSSM state machine has an unrecoverable error, performing a reset operation on the PCIE hardware system by using a second preset software processing logic so as to restart PCIE link training. The robustness of PCIe link training can be improved, and the cost is reduced. 本申请公开了一种PCIe链路训练方法、装置及介质,包括:在PCIE硬件系统进行PCIe链路训练的过程中,利用软件LTSSM状态机对硬件LTSSM状态机进行跟踪和同步;当所述硬件LTSSM状态机发生非预期的状态迁移,则利用第一预设软件处理逻辑执行相应的错误纠正处理;当所述硬件LTSSM状态机发生不可恢复错误,则利用第二预设软件处理逻辑对所述PCIE硬件系统进行复位操作,以便重新开始PCIe链路训练。能够提升PCIe链路训练的健壮性,降低成本。