CN114938366A - Method and system for configuring eye pattern parameters based on BIOS - Google Patents

Method and system for configuring eye pattern parameters based on BIOS Download PDF

Info

Publication number
CN114938366A
CN114938366A CN202210508472.2A CN202210508472A CN114938366A CN 114938366 A CN114938366 A CN 114938366A CN 202210508472 A CN202210508472 A CN 202210508472A CN 114938366 A CN114938366 A CN 114938366A
Authority
CN
China
Prior art keywords
interface
debugging
parameters
module
bios
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202210508472.2A
Other languages
Chinese (zh)
Inventor
黄叶胜
张乐
祝国胜
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Bangyan Technology Co ltd
Original Assignee
Bangyan Technology Co ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Bangyan Technology Co ltd filed Critical Bangyan Technology Co ltd
Priority to CN202210508472.2A priority Critical patent/CN114938366A/en
Publication of CN114938366A publication Critical patent/CN114938366A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/34Network arrangements or protocols for supporting network services or applications involving the movement of software or configuration parameters 
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/4401Bootstrapping
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/445Program loading or initiating
    • G06F9/44505Configuring for program initiating, e.g. using registry, configuration files

Landscapes

  • Engineering & Computer Science (AREA)
  • Software Systems (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Computer Security & Cryptography (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Stored Programmes (AREA)
  • Dc Digital Transmission (AREA)

Abstract

The invention provides a method and a system for configuring eye pattern parameters based on a BIOS, wherein the method comprises the following steps of 1: entering an eye diagram debugging page, wherein the eye diagram debugging page comprises a debugging control, and the debugging control comprises a debugging interface and parameters corresponding to the debugging interface; step 2: receiving the modification of the parameters by the user; and step 3: judging whether the modified parameters are stored, if so, executing the step 4, otherwise, returning to execute the step 2; and 4, step 4: writing the parameter into a register; and 5: sending the data packet to a corresponding interface; step 6: the oscilloscope captures the waveform and analyzes the eye pattern through software; and 7: and (4) judging whether the eye pattern is qualified, if so, ending, otherwise, returning to execute the step 2. The invention has the beneficial effects that: the invention adds the parameter configuration to be configured to the BIOS interface, and the test eye pattern can be directly carried out only by setting the value to be configured on the BIOS interface during each debugging, thereby greatly increasing the debugging test progress.

Description

Method and system for configuring eye pattern parameters based on BIOS
Technical Field
The invention relates to the technical field of electronics, in particular to a method and a system for configuring eye pattern parameters based on a BIOS (basic input output System).
Background
Due to the need for the development of communication technology, and particularly the explosive application and development of ethernet technology, electronic systems have shifted from the traditional parallel bus to the serial bus. The serial signals are of various types, such as PCI Express, SPI, USB, and the like, and the types of the signals transmitted are increasing. The stability of the signal can be checked through an eye diagram, and besides the overall signal of hardware debugging, slight signal instability after the hardware debugging can be debugged through software.
Based on the prior domestic eye diagram debugging, the balance value and the swing amplitude are configured at the BIOS stage to adjust the eye opening size of the eye diagram so as to ensure that the inner frame and the outer frame are not pressed. In this way, the BIOS code is modified and the BIOS is started to be tested each time, so that the test efficiency is greatly reduced.
Disclosure of Invention
In order to solve the problems in the prior art, the invention provides a method and a system for configuring eye pattern parameters based on a BIOS (basic input output System), which ensure that the eye pattern is convenient and quick to debug.
The invention provides a method for configuring eye pattern parameters based on a BIOS (basic input output System), which comprises the following steps of:
step 1: entering an eye diagram debugging page, wherein the eye diagram debugging page comprises a debugging control, and the debugging control comprises a debugging interface and parameters corresponding to the debugging interface;
step 2: receiving the modification of the parameters by the user;
and step 3: judging whether the modified parameters are stored, if so, executing the step 4, otherwise, returning to execute the step 2;
and 4, step 4: writing the parameter into a register;
and 5: sending a data packet to a corresponding interface, wherein parameters are stored in the data packet;
step 6: the oscilloscope captures the waveform and analyzes the eye pattern through software;
and 7: and (3) judging whether the eye pattern is qualified, if so, ending, and otherwise, returning to execute the step (2).
As a further improvement of the present invention, the step 1 comprises:
firstly, entering a BIOS interface;
and then, judging whether an eye diagram debugging page is entered, if so, executing the step 2, and if not, ending.
As a further improvement of the invention, the debugging interface comprises a USB interface, a PCIE interface and an SATA interface.
As a further improvement of the present invention, the parameters corresponding to the SATA interface include an equalization value, a swing, and pre-emphasis.
As a further improvement of the present invention, the parameters corresponding to the PCIE interface include an equalization value, a tx demomapathis and swing of phy, and an impedance of PCIE lane.
The invention also provides a system for configuring the eye pattern parameters based on the BIOS, which comprises the following components:
a starting module: the debugging method comprises the steps that the debugging method is used for entering an eye diagram debugging page, the eye diagram debugging page comprises a debugging control, and the debugging control comprises a debugging interface and parameters corresponding to the debugging interface;
a parameter modification module: for receiving user modifications to the parameters;
a storage judgment module: the write-in module is used for judging whether the modified parameters are stored or not, if so, the write-in module is operated, and if not, the write-in module is returned to the operation parameter modification module;
a writing module: for writing parameters to the register;
a sending module: the interface is used for sending a data packet to a corresponding interface, and parameters are stored in the data packet;
an analysis module: the method is used for grabbing waveforms by an oscilloscope and analyzing an eye pattern through software;
a qualification judgment module: and judging whether the eye pattern is qualified, if so, ending, otherwise, returning to the operation parameter modification module.
As a further improvement of the present invention, the starting module comprises:
firstly, entering a BIOS interface;
and then, judging whether to enter an eye diagram debugging page, if so, operating the parameter modification module, and if not, ending.
As a further improvement of the invention, the debugging interface comprises a USB interface, a PCIE interface and a SATA interface.
As a further improvement of the present invention, the parameters corresponding to the SATA interface include an equalization value, a swing, and pre-emphasis.
As a further improvement of the present invention, the parameters corresponding to the PCIE interface include an equalization value, tx deemphasis and swing of phy, and impedance of PCIE lane.
The invention has the beneficial effects that: the invention adds the parameter configuration to be configured to the BIOS interface, and the test eye pattern can be directly carried out only by setting the value to be configured on the BIOS interface during each debugging, thereby greatly increasing the debugging test progress.
Drawings
FIG. 1 is a flow chart of the present invention;
fig. 2 is an eye diagram debug page diagram of the present invention.
Detailed Description
The invention discloses a method for configuring eye pattern parameters based on a BIOS (basic input output System). the parameters can be directly modified on a BIOS interface to test an eye pattern until the eye pattern passes.
As shown in FIG. 1, the method for configuring the eye parameters based on the BIOS of the present invention comprises the following steps:
step 1: entering an eye diagram debugging page, wherein the eye diagram debugging page comprises a debugging control, the debugging control comprises a debugging interface and parameters corresponding to the debugging interface, and the debugging interface can be added according to the requirement;
and 2, step: receiving the modification of the parameters by the user;
and 3, step 3: judging whether the modified parameters are stored, if so, executing the step 4, otherwise, returning to execute the step 2;
and 4, step 4: writing the parameter into a register;
and 5: sending a data packet to a corresponding interface, wherein parameters are stored in the data packet;
step 6: the oscilloscope captures the waveform and analyzes the eye pattern through software;
and 7: and (4) judging whether the eye pattern is qualified, if so, ending, otherwise, returning to execute the step 2.
The step 1 comprises the following steps:
firstly, entering a BIOS interface;
and then, judging whether an eye diagram debugging page is entered, if so, executing the step 2, and if not, ending.
The debugging interface comprises a USB interface, a PCIE interface and an SATA interface.
As shown in fig. 2, the parameters corresponding to the SATA interface include an equalization value, a swing, and pre-emphasis. The parameters corresponding to the PCIE interface comprise an equilibrium value, a phy tx degree and swing amplitude, and a pci lane impedance.
And other debugging interfaces add corresponding parameters needing debugging according to the chip manual.
The eye diagram debugging page can be modified according to the debugging interface requirement of the eye diagram debugging page. And entering the eye diagram debugging page, only inputting parameters needing to be configured, clicking to save the parameters, and sending a packet to a corresponding interface by the BIOS after the completion of the saving. The oscilloscope captures the waveform and analyzes the eye pattern through software. And modifying another group of parameters through eye diagram analysis until the obtained eye diagram does not press the inner frame and the outer frame, and finally only adding the parameters which are correctly debugged in the BIOS code to generate the BIOS of the final version.
The invention mainly solves the problem that the debugging eye pattern needs to acquire the eye pattern by modifying BIOS codes, burning, starting, sending packets into a system and finally grabbing waveforms when each group of parameters is modified. The invention can automatically send the packet to the corresponding interface to obtain the eye pattern only by modifying the parameters and storing the parameters on the BIOS interface, thereby greatly saving the test time and the efficiency.
The foregoing is a more detailed description of the invention in connection with specific preferred embodiments and it is not intended that the invention be limited to these specific details. For those skilled in the art to which the invention pertains, several simple deductions or substitutions can be made without departing from the spirit of the invention, and all shall be considered as belonging to the protection scope of the invention.

Claims (10)

1. A method for configuring eye diagram parameters based on a BIOS (basic input output System), which is characterized by comprising the following steps:
step 1: entering an eye diagram debugging page, wherein the eye diagram debugging page comprises a debugging control, and the debugging control comprises a debugging interface and parameters corresponding to the debugging interface;
step 2: receiving the modification of the parameters by the user;
and 3, step 3: judging whether the modified parameters are stored, if so, executing the step 4, otherwise, returning to execute the step 2;
and 4, step 4: writing the parameter into a register;
and 5: sending a data packet to a corresponding interface, wherein parameters are stored in the data packet;
step 6: the oscilloscope captures the waveform and analyzes the eye pattern through software;
and 7: and (4) judging whether the eye pattern is qualified, if so, ending, otherwise, returning to execute the step 2.
2. The method of claim 1, wherein step 1 comprises:
firstly, entering a BIOS interface;
and then, judging whether an eye diagram debugging page is entered, if so, executing the step 2, and if not, ending.
3. The method of claim 1, wherein the debug interface comprises a USB interface, a PCIE interface, and a SATA interface.
4. The method of claim 3, wherein the parameters corresponding to the SATA interface comprise equalization value, swing, pre-emphasis.
5. The method of claim 3, wherein the parameters corresponding to the PCIE interface include an equalization value, a tx demomapathy and swing of phy, and an impedance of PCIE lane.
6. A system for configuring eye parameters based on a BIOS, comprising:
a starting module: the debugging method comprises the steps that the debugging method is used for entering an eye diagram debugging page, the eye diagram debugging page comprises a debugging control, and the debugging control comprises a debugging interface and parameters corresponding to the debugging interface;
a parameter modification module: receiving user modification to the parameter;
a storage judgment module: the write-in module is used for judging whether the modified parameters are stored or not, if so, the write-in module is operated, and if not, the write-in module is returned to the operation parameter modification module;
a writing module: for writing parameters to the register;
a sending module: the interface is used for sending a data packet to a corresponding interface, and parameters are stored in the data packet;
an analysis module: the device is used for grabbing waveforms by an oscilloscope and analyzing an eye pattern through software;
a qualification judgment module: and judging whether the eye pattern is qualified, if so, ending, otherwise, returning to the operation parameter modification module.
7. The system of claim 6, wherein the initiation module comprises:
firstly, entering a BIOS interface;
and then, judging whether to enter an eye diagram debugging page, if so, operating the parameter modification module, and if not, ending.
8. The system of claim 6, wherein the debug interface comprises a USB interface, a PCIE interface, and a SATA interface.
9. The system of claim 8, wherein the parameters corresponding to the SATA interface include equalization value, swing, pre-emphasis.
10. The system of claim 8, wherein the parameters corresponding to the PCIE interface include an equalization value, a tx demomapathis and swing of phy, and an impedance of PCIE lane.
CN202210508472.2A 2022-05-10 2022-05-10 Method and system for configuring eye pattern parameters based on BIOS Pending CN114938366A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202210508472.2A CN114938366A (en) 2022-05-10 2022-05-10 Method and system for configuring eye pattern parameters based on BIOS

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202210508472.2A CN114938366A (en) 2022-05-10 2022-05-10 Method and system for configuring eye pattern parameters based on BIOS

Publications (1)

Publication Number Publication Date
CN114938366A true CN114938366A (en) 2022-08-23

Family

ID=82864461

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202210508472.2A Pending CN114938366A (en) 2022-05-10 2022-05-10 Method and system for configuring eye pattern parameters based on BIOS

Country Status (1)

Country Link
CN (1) CN114938366A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115563773A (en) * 2022-09-30 2023-01-03 中科可控信息产业有限公司 Interface signal adjusting method, device, equipment and storage medium

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2003019810A2 (en) * 2001-08-28 2003-03-06 Igor Anatolievich Abrosimov Adaptive equaliser for reducing distortion in a communication channel
CN103929340A (en) * 2014-04-18 2014-07-16 浪潮电子信息产业股份有限公司 Method for analyzing FPGA link parameters
CN107515806A (en) * 2017-08-29 2017-12-26 郑州云海信息技术有限公司 A kind of method and apparatus of SAS signal parameters on-line debugging
CN109165046A (en) * 2018-08-24 2019-01-08 郑州云海信息技术有限公司 A kind of onboard SATA parameter optimization method and device
CN113890604A (en) * 2021-10-13 2022-01-04 太仓市同维电子有限公司 Method for realizing light attenuation and reading eye pattern based on labview programming

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2003019810A2 (en) * 2001-08-28 2003-03-06 Igor Anatolievich Abrosimov Adaptive equaliser for reducing distortion in a communication channel
CN103929340A (en) * 2014-04-18 2014-07-16 浪潮电子信息产业股份有限公司 Method for analyzing FPGA link parameters
CN107515806A (en) * 2017-08-29 2017-12-26 郑州云海信息技术有限公司 A kind of method and apparatus of SAS signal parameters on-line debugging
CN109165046A (en) * 2018-08-24 2019-01-08 郑州云海信息技术有限公司 A kind of onboard SATA parameter optimization method and device
CN113890604A (en) * 2021-10-13 2022-01-04 太仓市同维电子有限公司 Method for realizing light attenuation and reading eye pattern based on labview programming

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
雷霖: "大学计算机基础", 30 June 2007, 北京邮电大学出版社, pages: 37 - 38 *

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115563773A (en) * 2022-09-30 2023-01-03 中科可控信息产业有限公司 Interface signal adjusting method, device, equipment and storage medium

Similar Documents

Publication Publication Date Title
CN107907814B (en) Method for improving mass production test efficiency of chips
CN111339731B (en) FPGA (field programmable Gate array) verification platform and method for SoC (System on chip)
CN110632499B (en) Test vector generation method based on test object and storage medium
CN109783340B (en) SoC test code programming method, IP test method and device
CN114938366A (en) Method and system for configuring eye pattern parameters based on BIOS
CN109885905B (en) Verification system for improving function verification efficiency of digital circuit
CN112270152B (en) Chip IO pin verification system and method
CN112732508A (en) Zynq-based configurable general IO test system and test method
CN115496018A (en) Multi-version verification method, device and equipment for SoC (System on chip)
CN110688269B (en) RTL code automatic verification device and method adopting AXI bus interface
CN111008102B (en) FPGA accelerator card high-speed interface SI test control device, system and method
CN113270137A (en) DDR2 test method based on FPGA embedded soft core
WO2018014684A1 (en) Testing method and device, equipment, storage medium
CN212364515U (en) Automatic QC device of SOC chip
CN111124790B (en) Generation system of reusable simulation interface model
CN101907683A (en) Automatic circuit testing structure of I2C module in digital baseband chip and method thereof
CN109491854A (en) A kind of SoC prototype verification method based on FPGA
CN112162890A (en) DMA pressure test method and device of MCU and storage medium
CN116842884A (en) Closed loop simulation verification system based on phased array antenna beam control FPGA
CN116737270A (en) Equipment, system and method for rapid adaptation of instrument function
CN112462248B (en) Test signal output system and application method thereof
CN115758963A (en) Device, method and system for processing printing information in chip EDA simulation
CN100511172C (en) Inter-board transparent transmission bus test device and method thereof
CN109783417B (en) Serial port communication device and method
CN107872358B (en) Automatic simulation test method for HDLC protocol

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication

Application publication date: 20220823