CN103995762A - Method for diagnosing board card fault - Google Patents

Method for diagnosing board card fault Download PDF

Info

Publication number
CN103995762A
CN103995762A CN201410248258.3A CN201410248258A CN103995762A CN 103995762 A CN103995762 A CN 103995762A CN 201410248258 A CN201410248258 A CN 201410248258A CN 103995762 A CN103995762 A CN 103995762A
Authority
CN
China
Prior art keywords
module
fault diagnosis
fault
application program
diagnosis
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
CN201410248258.3A
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.)
Shandong Chaoyue Numerical Control Electronics Co Ltd
Original Assignee
Shandong Chaoyue Numerical Control Electronics 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 Shandong Chaoyue Numerical Control Electronics Co Ltd filed Critical Shandong Chaoyue Numerical Control Electronics Co Ltd
Priority to CN201410248258.3A priority Critical patent/CN103995762A/en
Publication of CN103995762A publication Critical patent/CN103995762A/en
Pending legal-status Critical Current

Links

Landscapes

  • Test And Diagnosis Of Digital Computers (AREA)

Abstract

The invention provides a method for diagnosing a board card fault. Fault diagnosis of a PCI bus module is completed through software, the fault can be positioned on a main logic chip, the method is especially suitable for a CPCI computer board card which is high in integration degree and whose case is not easy to detach, and the method can assist maintenance staff in rapidly and accurately detecting hardware fault equipment. A system comprises a bottom layer fault diagnosis code module, a fault diagnosis middle element module and a fault diagnosis application program module, wherein the fault diagnosis code module is used for register access and main chip function detection; the fault diagnosis middle element module is used for finishing scanning PCI bus equipment, reading configuration files on the corresponding bus equipment, skipping to an entry function of a designated fault diagnosis code, and carrying out fault diagnosis detection, and users do not need to modify the part; in terms of the fault diagnosis application program module, the users can call the bottom layer fault diagnosis code module to obtain state information of the board card through the fault diagnosis middle element module, and then console programs or interface application programs are written through the fault diagnosis application program module according to needs.

Description

A kind of method of diagnosing board fault
Technical field
The present invention relates to field of computer technology, specifically a kind of method of diagnosing board fault.
Background technology
Development along with information society arrival and computer technology, the processing power of computing machine significantly improves, the bussing technique adapting with it also obtains tremendous development, the computer bus of some high handling capacities is come out one after another, pci bus be one of them representative, and can meet rugged surroundings and high reliability pci bus---cpci bus is widely applied at industrial control field and military industry field.Hot-swappable, high open, high reliability that CPCI has, some novel naval equipments have been used cpci bus ruggedized computer and board in a large number.
Higher due to the digitizing of CPCI computer card, integrated degree, it is carried out to fault detection and diagnosis and become very difficult.Especially more at system board, when dismantling board in airtight situation and comparatively bothering, apply a kind of maintenance personal of being convenient to and use, can help the method for the accurate detection hardware equipment failure of maintenance personal very necessary.
Summary of the invention
The object of this invention is to provide a kind of method of diagnosing board fault.
The object of the invention is to realize in the following manner, by software, complete the fault diagnosis of pci bus module, localization of fault is arrived to main logic chip, be particularly useful for integrated degree higher, the airtight not easily detachable CPCI computer card of cabinet, can help quick and precisely detection hardware faulty equipment of maintenance personal, system comprises bottom DTC module, fault diagnosis middleware module and diagnosis application program module, wherein:
DTC module, relevant to bottom, comprise register access, master chip Function detection, the entrance function parameter of appointment in configuration file must with require consistent;
Fault diagnosis middleware module, this module completes the scanning of pci bus equipment, the entrance function of the DTC that reads and jump to appointment of the configuration file on respective bus equipment, carries out fault diagnosis and detects, and these certain customers do not need to make an amendment again;
Diagnosis application program module, user calls by fault diagnosis middleware module the status information that bottom DTC module gets board, then by diagnosis application program module, writes as required Console program or interface application.
The invention has the beneficial effects as follows: this programme completes the fault diagnosis of pci bus module by software, can be by localization of fault to main logic chip.Be particularly useful for integrated degree higher, the airtight not easily detachable CPCI computer card of cabinet, can help quick and precisely detection hardware faulty equipment of maintenance personal.
Use this method for diagnosing faults to detect in detail the computer card of pci bus, can be by localization of fault to main logic chip.This board method for diagnosing faults software is realized and is comprised bottom DTC, fault diagnosis middleware and three modules of diagnosis application program, is described in detail as follows:
DTC is relevant to bottom, comprises register access, master chip Function detection etc., and concrete methods of realizing is relevant to corresponding board.The entrance function parameter of appointment in configuration file must with require consistent.
Fault diagnosis middleware has acted on the characteristic of middleware, shield the complicacy of underlying operating system, make upper level applications developer in the face of a simple and unified development environment, reduce complicacy and technical burden in program design, and then can improve development efficiency.This module completes the scanning of pci bus equipment, the entrance function of the DTC that reads and jump to appointment of the configuration file on respective bus equipment, carries out fault diagnosis and detects.These certain customers do not need to make an amendment again.
Diagnosis application program is that user calls by fault diagnosis middleware the implementation procedure that bottom DTC gets the status information of board.User writes Console program or interface application as required.
Accompanying drawing explanation
Fig. 1 is diagnostic flow chart.
Embodiment
With reference to Figure of description, method of the present invention is described in detail below.
Diagnose a method for board fault, this method is verified on network board (its chip of network control is 82546 and 82573) and serial port board, the Console program pattern that diagnosis application program adopts.
If use other boards, fault diagnosis middleware module does not need to make an amendment, and diagnosis application program reusable (if there is interface demand, needing to write interface application) only need be write bottom DTC and respective profiles.Concrete steps are as follows:
Trading company of factory and device number are distinguished as 8086 and 1079 network controller 82546 board configuration filenames and are called 80861079.bit, and file content is as follows:
#BEGIN
PRONAME=bis-redundant network card failure diagnosis installation files
VENDORID?=?0x8086
DEVICEID?=?0x1079
OS?=?vxworks
DEVNAME?=?geidr
FORMAT?=?ELF
VERSION?=?1.0
DEVDESC?=?Dual?Net
VENDORNAME?=?lccy
FILENAME?=?DIAG_Nnet.out
BITFUNC?=?GENTFdtDll
#END
Filename DIAG_Nnet.out is the DTC program that network board is corresponding, the entrance function that GENTFdtDll is DTC.
Function declaration is as follows:
int?GENTFdtDll(int?No,PDEVINFO?pDevInfo);
Wherein, PDEVINFO is defined as follows:
typedef?struct{
char?devState;
char?devInfo[256];
}DEVINFO,*PDEVINFO;
User need carry out assignment to each member's value in GENTFdtDll, member devState designation equipment state (0-equipment is normal, 1-unit exception) wherein, and member devInfo describes the status information of equipment.
Except the technical characterictic described in instructions, be the known technology of those skilled in the art.

Claims (1)

1. a method of diagnosing board fault, it is characterized in that completing by software the fault diagnosis of pci bus module, localization of fault is arrived to main logic chip, be particularly useful for integrated degree higher, the airtight not easily detachable CPCI computer card of cabinet, can help quick and precisely detection hardware faulty equipment of maintenance personal, system comprises bottom DTC module, fault diagnosis middleware module and diagnosis application program module, wherein:
DTC module, comprises register access, master chip Function detection;
Fault diagnosis middleware module, this module completes the scanning of pci bus equipment, the entrance function of the DTC that reads and jump to appointment of the configuration file on respective bus equipment, carries out fault diagnosis and detects, and these certain customers do not need to make an amendment again;
Diagnosis application program module, user calls by fault diagnosis middleware module the status information that bottom DTC module gets board, then by diagnosis application program module, writes as required Console program or interface application.
CN201410248258.3A 2014-06-06 2014-06-06 Method for diagnosing board card fault Pending CN103995762A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201410248258.3A CN103995762A (en) 2014-06-06 2014-06-06 Method for diagnosing board card fault

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201410248258.3A CN103995762A (en) 2014-06-06 2014-06-06 Method for diagnosing board card fault

Publications (1)

Publication Number Publication Date
CN103995762A true CN103995762A (en) 2014-08-20

Family

ID=51309935

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201410248258.3A Pending CN103995762A (en) 2014-06-06 2014-06-06 Method for diagnosing board card fault

Country Status (1)

Country Link
CN (1) CN103995762A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105183593A (en) * 2015-07-29 2015-12-23 山东超越数控电子有限公司 Homemade computer based build in test system and method
CN105335261A (en) * 2015-12-08 2016-02-17 山东超越数控电子有限公司 Design method for testing BIT in server equipment

Citations (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1601482A (en) * 2003-09-27 2005-03-30 鸿富锦精密工业(深圳)有限公司 Backing plate diagnostic system and method thereof
US20050172162A1 (en) * 2002-12-26 2005-08-04 Fujitsu Limited Operation management method and operation management server
CN1704763A (en) * 2004-06-01 2005-12-07 阿尔卡特公司 Electronic device diagnostic methods and systems
CN101034365A (en) * 2007-04-23 2007-09-12 杭州华为三康技术有限公司 Failure diagnosis method, device and system for PCI system
CN101114249A (en) * 2006-07-28 2008-01-30 佛山市顺德区顺达电脑厂有限公司 I2C bus testing apparatus of mainboard and method thereof
CN101674544A (en) * 2009-09-25 2010-03-17 中国南方航空股份有限公司 Airplane information real-time message monitoring system and method
US20120163571A1 (en) * 2010-12-27 2012-06-28 Avaya Inc. Highly scalable and distributed call/media modeling and control framework
CN102760098A (en) * 2012-06-13 2012-10-31 北京航空航天大学 Processor fault injection method oriented to BIT software test and simulator thereof
CN102999407A (en) * 2012-12-06 2013-03-27 大连奥林匹克电子城腾飞办公设备商行 Computer hardware fault diagnosis system based on PCI (Peripheral Component Interconnect) bus
CN103439629A (en) * 2013-08-05 2013-12-11 国家电网公司 Power distribution network fault diagnosis system based on data grid
CN203433507U (en) * 2013-06-06 2014-02-12 湖北师范学院 A fault detection device for a computer mainboard

Patent Citations (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20050172162A1 (en) * 2002-12-26 2005-08-04 Fujitsu Limited Operation management method and operation management server
CN1601482A (en) * 2003-09-27 2005-03-30 鸿富锦精密工业(深圳)有限公司 Backing plate diagnostic system and method thereof
CN1704763A (en) * 2004-06-01 2005-12-07 阿尔卡特公司 Electronic device diagnostic methods and systems
CN101114249A (en) * 2006-07-28 2008-01-30 佛山市顺德区顺达电脑厂有限公司 I2C bus testing apparatus of mainboard and method thereof
CN101034365A (en) * 2007-04-23 2007-09-12 杭州华为三康技术有限公司 Failure diagnosis method, device and system for PCI system
CN101674544A (en) * 2009-09-25 2010-03-17 中国南方航空股份有限公司 Airplane information real-time message monitoring system and method
US20120163571A1 (en) * 2010-12-27 2012-06-28 Avaya Inc. Highly scalable and distributed call/media modeling and control framework
CN102760098A (en) * 2012-06-13 2012-10-31 北京航空航天大学 Processor fault injection method oriented to BIT software test and simulator thereof
CN102999407A (en) * 2012-12-06 2013-03-27 大连奥林匹克电子城腾飞办公设备商行 Computer hardware fault diagnosis system based on PCI (Peripheral Component Interconnect) bus
CN203433507U (en) * 2013-06-06 2014-02-12 湖北师范学院 A fault detection device for a computer mainboard
CN103439629A (en) * 2013-08-05 2013-12-11 国家电网公司 Power distribution network fault diagnosis system based on data grid

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105183593A (en) * 2015-07-29 2015-12-23 山东超越数控电子有限公司 Homemade computer based build in test system and method
CN105335261A (en) * 2015-12-08 2016-02-17 山东超越数控电子有限公司 Design method for testing BIT in server equipment

Similar Documents

Publication Publication Date Title
US8984349B2 (en) Method and system for automating the process of testing a device
CN105446933B (en) The debugging system and adjustment method of multi-core processor
US20130268708A1 (en) Motherboard test device and connection module thereof
CN108768730B (en) Method and device for operating intelligent network card
EP3284039A2 (en) Containerized communications gateway
CN104375915A (en) Method for using interaction of server motherboard BMC and CPLD for rapid diagnosis of motherboard timing
CN108923957B (en) Distribution network terminal DTU fault elimination method and device and terminal equipment
CN102968371B (en) The method of test JAVA API unit component and device
CN103631688A (en) Method and system for testing interface signal
CN103853147B (en) A kind of on-line debugging system of embedded system
US20080162900A1 (en) System, Method and Apparatus for Observing a Control Device
CN103995762A (en) Method for diagnosing board card fault
KR101440505B1 (en) Real Time Verification Device for the Flight Control Computer and Controlling Method therefor
TWI393003B (en) Remote hardware inspection system and method
CN102455965A (en) Electronic device test system and method
CN110389871B (en) Safety computer platform with system integrity confirmation function
CN102541705B (en) Testing method for computer and tooling plate
US20110145655A1 (en) Input/output hub to input/output device communication
JP5757167B2 (en) Judgment work support system, judgment work support method, and program
JP5753508B2 (en) Program verification system and verification method thereof
CN202486237U (en) Testing system based on PXI (PCI eXtensions for Instrumentation) platform
CN110321171A (en) Be switched on detection device, system and method
CN113917897B (en) Device for operating and monitoring a power plant and method for implementing the same
US20130326287A1 (en) Programmable logic controller
CN111221684A (en) Detection method of server

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
WD01 Invention patent application deemed withdrawn after publication
WD01 Invention patent application deemed withdrawn after publication

Application publication date: 20140820