CN103049380B - A kind of VBIOS adjustment method of special display controller - Google Patents

A kind of VBIOS adjustment method of special display controller Download PDF

Info

Publication number
CN103049380B
CN103049380B CN201210561700.9A CN201210561700A CN103049380B CN 103049380 B CN103049380 B CN 103049380B CN 201210561700 A CN201210561700 A CN 201210561700A CN 103049380 B CN103049380 B CN 103049380B
Authority
CN
China
Prior art keywords
vbios
fpga
display controller
special display
main frame
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.)
Active
Application number
CN201210561700.9A
Other languages
Chinese (zh)
Other versions
CN103049380A (en
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.)
Wuhan Lingjiu Microelectronics Co ltd
709th Research Institute of CSSC
Original Assignee
709th Research Institute of CSIC
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 709th Research Institute of CSIC filed Critical 709th Research Institute of CSIC
Priority to CN201210561700.9A priority Critical patent/CN103049380B/en
Publication of CN103049380A publication Critical patent/CN103049380A/en
Application granted granted Critical
Publication of CN103049380B publication Critical patent/CN103049380B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Abstract

A VBIOS adjustment method for special display controller, be a kind of FPGA Qualify Phase hardware and software at display controller combine debugging VBIOS method.Be made up of following steps, (1) sets up the FPGA engineering of special display controller at main frame, the signal one_to_one corresponding in VBIOS register parameters and fpga logic design; (2) main frame completes initialization to FPGA by jtag interface; (3) main frame is read by jtag interface and obtains from FPGA debug platform the data needed, and the seven segment digital tubes be simultaneously connected with FPGA also can show these data; (4) designer judges the executing state of VBIOS according to parameter value and to interpretation of result, the problem in the VBIOS design of location also solves.The method can simplify VBIOS debug process, thus it is simple efficient that VBIOS is debugged, and saves cost of development and time.

Description

A kind of VBIOS adjustment method of special display controller
Technical field
The present invention relates to special display controller technical field, specifically a kind of method of debugging VBIOS combined at the FPGA Qualify Phase hardware and software of special display controller.
Background technology
VBIOS(VideoBasicInputOutputSystem) be the display control program that a group and display controller are combined closely, be solidificated in ROM, become a part for video card.Even to this day, often kind of display controller has the special VBIOS of oneself to support, but all VBIOS support VGA (Videographicsarray) standard and VBE (VESABIOSExtension) standard bar none.VGA standard is that IBM Corporation in 1987 formulates video card standard, comprise VGA register standard and VGABIOS standard, later stage is due to the development of display technique, VGA standard cannot meet application demand, video electronics standard association VESA (VideoElectronicsStandardsAssociation) proposes the VBIOS funcall interface standard of one group of expansion, i.e. VBE (VESABIOSExtension), software interface level achieves the compatibility between various video card.VBIOS function comprises the interrupt service routine of video card initialization program and INT10H.Operating system or driver pass through VIBOS interface to the basic operation of display controller, as adjustment resolution, color depth, refresh rate etc.
VBIOS design is closely related with display controller bottom hardware, and deviser wishes to identify FPGA hardware design mistake and VBIOS design software mistake.But VBIOS designs complexity, and only has software interface standard, traditional hardware debug method is difficult to identify VBIOS design problem.Meanwhile, VBIOS debugging faces the problem that display terminal can not show any information, and limit the use of traditional software debugging method, conventional debugger means are fewer.
In order to solve above-mentioned problems of the prior art, the present invention utilizes the feature of VBIOS funcall, proposes a kind of adjustment method combined based on the software and hardware of FPGA.
Summary of the invention
The object of this invention is to provide a kind of VBIOS adjustment method of special display controller, involved special display controller and VBIOS be compatible with VGA standard and VBE standard.The present invention realizes simply, by jtag interface, the parameter that be concerned about VBIOS calls can be sent to main frame, locates VBIOS executing location and executing state easily.
A VBIOS adjustment method for special display controller, described debugging enironment comprise an integrated FPGA, jtag interface, seven segment digital tubes, VBIOS chip special display controller FPGA debug platform and accept the main frame of sampled data.
A VBIOS adjustment method for special display controller, its step is as follows:
(1) set up the FPGA engineering of special display controller at main frame, the signal one_to_one corresponding during VBIOS register parameters and fpga logic are designed also sets sampling condition, and then logic compiler generates FPGA configuration file;
(2) FPGA configuration file downloads to the FPGA debug platform of special display controller from main frame by jtag interface, and the signal during VBIOS register parameters and fpga logic design sets up corresponding relation, completes FPGA initialization;
(3) after powering on, the FPGA debug platform of display controller is started working, and according to sampling condition, main frame is read by jtag interface and obtains from FPGA debug platform the data needed, and the seven segment digital tubes be simultaneously connected with FPGA also can show these data;
(4) the VBIOS register parameters value that obtains according to main frame of designer, according to parameter value judge VBIOS executing state and to interpretation of result, thus problem in the VBIOS design of location solving.
Cardinal principle of the present invention is as follows: the fpga logic project engineering that designer sets up at main frame, the signal one_to_one corresponding in VBIOS register parameters and fpga logic design, by JTAG technology, to FPGA initialization, main frame just can access the internal register of FPGA and the VBIOS register parameters of loading by jtag interface.VBIOS funcall is unified simultaneously uses INT10H function, inputs one group of register parameters, then return parameters value, realizes various Presentation Function.Therefore, designer is easy to VBIOS executing location location according to the VBIOS register parameters value that main frame obtains, and analyzes hardware or Software for Design produced problem.
The advantage of the VBIOS adjustment method of the special display controller of the present invention is: (1) this VBIOS adjustment method can correctly identify VBIOS practice condition, accurate location VBIOS executing location, solves the difficult problem that conventional hardware adjustment method is difficult to identify VBIOS design problem; (2) when VBIOS debugging face display terminal can not show any information, this VBIOS adjustment method still can obtain the data of needs and obtain VBIOS practice condition, breaches traditional software adjustment method and needs the just operable restriction of display information; (3) this VBIOS adjustment method is simple and convenient, just can be obtained the data of needs by jtag interface, does not need other debugging acids, saves expensive expense and time.This VBIOS adjustment method has solved the VBIOS design problem of a special display controller well, and this special display controller is working properly at present.
Accompanying drawing explanation
Fig. 1 VBIOS adjustment method logical organization schematic diagram;
Fig. 2 VBIOS adjustment method process schematic.
embodiment:
Root Ju Fig. 1, shown in Fig. 2 ,a VBIOS adjustment method for special display controller, its step is as follows :
1. loading parameters and sampling condition
Designer sets up the FPGA engineering of special display controller at main frame, in this FPGA engineering, load specific logic signals simultaneously, the register parameters one_to_one corresponding such as these logical signals and AX, BX, CX, DX, ES, DI used by VBIOS function, set sampling condition simultaneously.Sampling condition is set to and there occurs INT10H funcall, and the register parameters such as such AX, BX, CX, DX, ES, DI have just had its meaning, for lower surface analysis VBIOS is ready.After above condition is established, designer forms FPGA configuration file to the compiling of fpga logic project engineering.
2. by jtag interface, parameter is outputted to the FPGA debug platform of special display controller
FPGA configuration file downloads to FPGA by jtag interface, and the signal during VBIOS register parameters and fpga logic design establishes corresponding relation, completes FPGA initialization.
The seven segment digital tubes that 3.VBIOS parameter value outputs to main frame or is connected with FPGA
Main frame reads from the FPGA debug platform of special display controller the sampling condition arranged according to main frame by jtag interface and obtains the data needed, and the seven segment digital tubes be simultaneously connected with FPGA also can show these data.
4. analyze VBIOS parameter value
The logical design of special display controller FPGA and VBIOS design compatible with VGA standard and VBE standard.VGA funcall specifies: AH equals the function number of VGA; AH < 13H; Call INT10H.VBE funcall specifies: AH must equal 4Fh, illustrates and calls VBE function; AL equals the function number of VBE; BL equals subfunction number, also can not have subfunction; Call INT10H; Rreturn value is all in AX.The implementation status analyzing VBIOS is easy to according to above regulation.
If sampling condition does not occur, illustrate that the VBIOS function of specifying does not perform, analyze VBIOS program and whether jumped out.If sampling condition there occurs, judge to have invoked which function from register parameters values such as AX, BX, CX, DX, ES, DI, finally whether these functions correctly perform, and whether rreturn value meets the requirements, and from returning AX parameter location VBIOS executing location.If rreturn value AX value is 0, illustrate that this interruption IO function correctly performs, if fruit AX value is 1, illustrate that interrupting IO function does not correctly perform.

Claims (4)

1. a VBIOS adjustment method for special display controller, is characterized in that, its step is as follows:
(1) set up the FPGA engineering of special display controller at main frame, the signal one_to_one corresponding during VBIOS register parameters and fpga logic are designed also sets sampling condition, and then logic compiler generates FPGA configuration file;
(2) FPGA configuration file generated is downloaded to the FPGA debug platform of special display controller above from main frame by jtag interface, the signal during VBIOS register parameters and fpga logic design sets up corresponding relation;
(3) main frame is read by jtag interface and obtains from the FPGA debug platform of special display controller the data needed, and the seven segment digital tubes be simultaneously connected with FPGA can show these data;
(4) the VBIOS register parameters value that designer obtains according to main frame is located VBIOS executing location, and analyzes hardware or Software for Design produced problem;
If sampling condition does not occur, illustrate that the VBIOS function of specifying does not perform, analyze VBIOS program and whether jumped out; If sampling condition there occurs, judge to have invoked which function from AX, BX, CX, DX, ES, DI register parameters value, finally whether these functions correctly perform, and whether rreturn value meets the requirements, and from returning AX parameter location VBIOS executing location.
2. the VBIOS adjustment method of a kind of special display controller as claimed in claim 1, it is characterized in that, in described step (1), be loaded into the logical signal of special display controller FPGA engineering, be one to one with VBIOS register parameters, make logical signal have specific meaning.
3. the VBIOS adjustment method of a kind of special display controller as claimed in claim 1, it is characterized in that, in described step (2), be by jtag interface to FPGA initialization, FPGA debug platform FPGA configuration file being downloaded to special display controller has come.
4. the VBIOS adjustment method of a kind of special display controller as claimed in claim 1, it is characterized in that, in described step (3), it is obtained by jtag interface that main frame obtains from the FPGA debug platform of special display controller the parameter information be concerned about.
CN201210561700.9A 2012-12-22 2012-12-22 A kind of VBIOS adjustment method of special display controller Active CN103049380B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201210561700.9A CN103049380B (en) 2012-12-22 2012-12-22 A kind of VBIOS adjustment method of special display controller

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201210561700.9A CN103049380B (en) 2012-12-22 2012-12-22 A kind of VBIOS adjustment method of special display controller

Publications (2)

Publication Number Publication Date
CN103049380A CN103049380A (en) 2013-04-17
CN103049380B true CN103049380B (en) 2016-02-17

Family

ID=48062027

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201210561700.9A Active CN103049380B (en) 2012-12-22 2012-12-22 A kind of VBIOS adjustment method of special display controller

Country Status (1)

Country Link
CN (1) CN103049380B (en)

Families Citing this family (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103729221B (en) * 2013-12-30 2017-07-18 合肥联宝信息技术有限公司 A kind of method and device that BIOS Debugging message is put into hard disk
CN107066222A (en) * 2017-02-10 2017-08-18 济南浪潮高新科技投资发展有限公司 A kind of quick display device and method based on domestic processor platform
CN107526614B (en) * 2017-08-30 2020-07-03 苏州思得普信息科技有限公司 Communication method of FPGA development board
CN110597678B (en) * 2019-09-09 2022-05-31 腾讯科技(深圳)有限公司 Debugging method and debugging unit

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5615331A (en) * 1994-06-23 1997-03-25 Phoenix Technologies Ltd. System and method for debugging a computing system
CN102346235A (en) * 2011-07-11 2012-02-08 北京北大众志微系统科技有限责任公司 Automatic test system and method for hardware device function
CN102385545A (en) * 2010-08-30 2012-03-21 鸿富锦精密工业(深圳)有限公司 BIOS (Basic Input Output System) debugger and debugging method

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5615331A (en) * 1994-06-23 1997-03-25 Phoenix Technologies Ltd. System and method for debugging a computing system
CN102385545A (en) * 2010-08-30 2012-03-21 鸿富锦精密工业(深圳)有限公司 BIOS (Basic Input Output System) debugger and debugging method
CN102346235A (en) * 2011-07-11 2012-02-08 北京北大众志微系统科技有限责任公司 Automatic test system and method for hardware device function

Also Published As

Publication number Publication date
CN103049380A (en) 2013-04-17

Similar Documents

Publication Publication Date Title
EP3593250B1 (en) Debugging system and method
US6145122A (en) Development interface for a data processor
US20140306903A1 (en) Methods of evaluating touch procesing
CN103049380B (en) A kind of VBIOS adjustment method of special display controller
US20220252665A1 (en) On-chip Debugging Device and Method
US7581087B2 (en) Method and apparatus for debugging a multicore system
US20140282415A1 (en) Method and system for debugging a program
US20130111505A1 (en) Programmable test instrument
US20090204849A1 (en) Test system and method which can use tool during debugging
US10713144B2 (en) Virtual processor enabling real-time in situ disassembly and debugging in SoC environment
US20070074141A1 (en) Simulation apparatus and simulation method
WO2013095469A1 (en) Psmi using at-speed scan capture
CN103927242A (en) Display card testing system and display card testing method
CN104679626A (en) System and method for debugging and detecting BIOS (Basic Input / Output System)
CN106294161A (en) The interface function method of testing of a kind of application and device
KR101422212B1 (en) Test pattern generating apparatus, test program generating apparatus, generating method, program and test apparatus
US20120110383A1 (en) Method and apparatus for off-line analyzing crashed programs
JP7354091B2 (en) Logic analyzer for integrated circuits
CN103713977A (en) Microprocessor IP (internet protocol) kernel comparison and verification implementation method
CN109117299B (en) Error detecting device and method for server
CN110795350B (en) Controllable tracking and debugging method and system for RISC-V processor
US6484275B1 (en) System and method for interfacing data with a test access port of a processor
US9058184B2 (en) Run time generation and functionality validation of device drivers
EP2634693A1 (en) Method and apparatus for interacting with runnung software
CN1831785A (en) Micro processor and method using in firmware program debug

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant
CP03 Change of name, title or address
CP03 Change of name, title or address

Address after: 430000, No.1, Canglong North Road, Fenghuang Industrial Park, Donghu New Technology Development Zone, Wuhan City, Hubei Province

Patentee after: No. 709 Research Institute of China Shipbuilding Corp.

Address before: 430074 No. 718, Luoyu Road, Hongshan District, Wuhan City, Hubei Province

Patentee before: NO.709 RESEARCH INSTITUTE OF CHINA SHIPBUILDING INDUSTRY Corp.

TR01 Transfer of patent right
TR01 Transfer of patent right

Effective date of registration: 20220805

Address after: 430000 No. 1 Baihe Road, Guandong Industrial Park, Donghu New Technology Development Zone, Wuhan City, Hubei Province

Patentee after: Wuhan lingjiu Microelectronics Co.,Ltd.

Address before: 430000, No.1, Canglong North Road, Fenghuang Industrial Park, Donghu New Technology Development Zone, Wuhan City, Hubei Province

Patentee before: No. 709 Research Institute of China Shipbuilding Corp.