CN108008283A - Version number detection system and method - Google Patents

Version number detection system and method Download PDF

Info

Publication number
CN108008283A
CN108008283A CN201711177968.1A CN201711177968A CN108008283A CN 108008283 A CN108008283 A CN 108008283A CN 201711177968 A CN201711177968 A CN 201711177968A CN 108008283 A CN108008283 A CN 108008283A
Authority
CN
China
Prior art keywords
version number
module
detected
wiring board
detecting system
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
CN201711177968.1A
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.)
Kingclean Electric Co Ltd
Original Assignee
Kingclean Electric 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 Kingclean Electric Co Ltd filed Critical Kingclean Electric Co Ltd
Priority to CN201711177968.1A priority Critical patent/CN108008283A/en
Publication of CN108008283A publication Critical patent/CN108008283A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G01MEASURING; TESTING
    • G01RMEASURING ELECTRIC VARIABLES; MEASURING MAGNETIC VARIABLES
    • G01R31/00Arrangements for testing electric properties; Arrangements for locating electric faults; Arrangements for electrical testing characterised by what is being tested not provided for elsewhere
    • G01R31/28Testing of electronic circuits, e.g. by signal tracer
    • G01R31/2801Testing of printed circuits, backplanes, motherboards, hybrid circuits or carriers for multichip packages [MCP]
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/36Preventing errors by testing or debugging software
    • G06F11/3604Software analysis for verifying properties of programs

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Hardware Design (AREA)
  • General Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Theoretical Computer Science (AREA)
  • Microelectronics & Electronic Packaging (AREA)
  • Software Systems (AREA)
  • Quality & Reliability (AREA)
  • Tests Of Electronic Circuits (AREA)

Abstract

The invention provides a version number detection system and a method thereof, wherein the system comprises: the version number detection system comprises a version number sending module integrated in a circuit board of the singlechip to be detected and a version number detection system connected with corresponding pins of the circuit board of the singlechip to be detected; the version number sending module is used for generating a square wave with a specified duty ratio and fixed frequency at a specified pin by using a set version number; the version number detection system comprises: the device comprises an MCU main control module, a signal detection and isolation circuit module, a display module and a charge and discharge control module; the MCU main control module processes the data received by the signal detection and isolation circuit module to obtain version number information, the display module visually displays the version number information, and the charge and discharge control module can perform charge and discharge control on a rechargeable battery of the version number detection system. The invention can obtain the version number information of the program, is simple and easy to realize, is convenient to carry, is suitable for various occasions, and has wide application prospect in the field of testing of circuit boards.

Description

A kind of version number's detecting system and method
Technical field
The present invention relates to singlechip technology field, more particularly to a kind of version number's detecting system and method.
Background technology
Wiring board of the tradition using microcontroller as core, need to pass through the repeatedly debugging modification to software in debugging and production phase And fully tested, to ensure the reliability of product.It has been a kind of to distinguish each version using the form of software version number Effectively software development scheme is simultaneously widely used.
However, due to the relative immobility of hardware, can not judge currently to run by checking the means of hardware circuit soft Part content.Verification and code can not be easily read out after single-chip microprocessor MCU software cryptography at present, is not also for machine code even if that can read Verification and code.So as to, do not simply fail to examine software version number information, also there are it is cumbersome the problem of.
The content of the invention
The present invention is intended to provide a kind of version number's detecting system and method, to overcome the deficiencies in the prior art.
In order to solve the above technical problems, the technical scheme is that:
A kind of version number's detecting system, it includes:The version number's sending module being integrated in microcontroller wiring board to be detected And the version number's detecting system being connected with the corresponding pin of microcontroller wiring board to be detected;
Version number's sending module, specified duty cycle and fixed frequency are generated by the version number of setting in designated pin Square wave;
Version number's detecting system includes:MCU main control modules, signal detection and isolation circuit module, display module with And charge and discharge control module;
The data that the MCU main control modules receive signal detection and isolation circuit module are handled, and obtain version Number information, display module carry out visualization to version number information and show, charge and discharge control module can be to version number's detecting system Rechargeable battery carries out charge and discharge control.
As the improvement of version number's detecting system of the present invention, the display module is included by LED display chips and number The display screen of pipe composition.
As the improvement of version number's detecting system of the present invention, the signal detection and isolation circuit module include probe, The signal detection and isolation circuit module are connected by the probe with the specified pin of the microcontroller wiring board to be detected Connect.
As the improvement of version number's detecting system of the present invention, the charge and discharge control module further includes rechargeable battery, is The charging module of rechargeable battery charging and it is powered protection for the MCU module and display module and is the charging The charge and discharge protecting module of cell charge protection.
In order to solve the above technical problems, the technical scheme is that:
A kind of version number's detection method, it includes the following steps:
Generated in S1, microcontroller wiring board to be detected according to the version number of setting in designated pin and specify duty cycle and fixation The square wave of frequency;
S2, the probe of version number's detecting system are connected with microcontroller wiring board designated pin to be detected;
S3, the duty cycle square wave data for reading designated pin, and it is decoded, obtain microcontroller wiring board to be detected The version number of Program;
S4, the version number to the microcontroller wiring board Program to be detected of acquisition carry out visualization and show.
As the improvement of version number's detection method of the present invention, further included before the step S1:To microcontroller to be detected Wiring board is powered on, and microcontroller wiring board to be detected is initialized.
Compared with prior art, the beneficial effects of the invention are as follows:The version number's detecting system and method for the present invention can be efficient Program version information, and its simple easily realization are intuitively obtained in testing, and it is convenient to carry, and various occasions is applicable in, in circuit The testing field of plate has broad application prospects.
Brief description of the drawings
In order to illustrate more clearly about the embodiment of the present invention or technical scheme of the prior art, below will be to embodiment or existing There is attached drawing needed in technology description to be briefly described, it should be apparent that, drawings in the following description are only this Some embodiments described in invention, for those of ordinary skill in the art, without creative efforts, Other attached drawings can also be obtained according to these attached drawings.
Fig. 1 is a kind of module diagram of an embodiment of version number's detecting system of the present invention;
Fig. 2 is to invent a kind of method flow of an embodiment of version number's detection method to be intended to.
Embodiment
Below in conjunction with the attached drawing in the embodiment of the present invention, the technical solution in the embodiment of the present invention is carried out clear, complete Site preparation describes, it is clear that described embodiment is only part of the embodiment of the present invention, instead of all the embodiments.It is based on Embodiment in the present invention, those of ordinary skill in the art are obtained every other without making creative work Embodiment, belongs to the scope of protection of the invention.
As shown in Figure 1, version number's detecting system of the present invention includes:The version being integrated in microcontroller wiring board to be detected Number sending module 1 and the version number's detecting system 2 being connected with the corresponding pin of microcontroller wiring board to be detected.
Version number's sending module 1, the version number of setting is generated in designated pin and specifies duty cycle and fixed frequency Square wave.
Version number's detecting system 2 includes:MCU main control modules 21, signal detection and isolation circuit module 22, display mould Block 23 and charge and discharge control module 24.
The data that the MCU main control modules 21 receive signal detection and isolation circuit module 22 are handled, and are obtained Version number information, display module 23 carry out visualization to version number information and show, charge and discharge control module 24 can examine version number The rechargeable battery of examining system carries out charge and discharge control.
Further, the signal detection and isolation circuit module 22 further include the first probe 25, second probe 26.
The specified pipe that version number's detecting system 2 passes through the described first probe 25 and the microcontroller wiring board to be detected Foot is connected, and is grounded by the described second probe 26.The signal detection and isolation circuit module 22 are arranged at described Between first 25 and MCU of probe main control modules 21.The isolation circuit part of the signal detection and isolation circuit module 22 is used for Electrical isolation is carried out, to prevent detecting voltage to be more than the maximum voltage that system can be born.The signal detection and isolation circuit mould The frequency signal that the signal detection circuit part of block 22 is used for the carrying communication data to input carries out preposition processing, including filtering With reject high-frequency interferencing signal, to input waveform carry out shaping be converted into the MCU main control modules 21 can identify it is effective Signal.
The display module 23 is shown for carrying out visualization to the version number information.Specifically, the display module 23 display screens including being made of LED display chips and charactron.In one embodiment, the display screen is by serial LED Display chip and 4 eight segment numeral pipes compositions.
In addition, version number's detecting system 2 further include that charge and discharge control module 24 can be to version number's detecting system can Rechargeable battery carries out charge and discharge control.
Charge and discharge control module 24 further includes rechargeable battery 27 and the charging module 28 for the rechargeable battery 27 charging, Wherein, the rechargeable battery 27 for the MCU main control modules 21, signal detection and isolation circuit module 22, display module 23 into Row power supply.The charging module 28 can be DC charging modules, it can fill it in 27 not enough power supply of rechargeable battery Electricity, to ensure the continuous firing of system.
The charge and discharge control module 24 further includes charge and discharge protecting module 29, the charge and discharge protecting module 29 with it is described Rechargeable battery 27 is electrically connected, and the charge and discharge process of the rechargeable battery 27 is controlled, so as to avoid super-charge super-discharge Cause damage to rechargeable battery 27.
As shown in Fig. 2, based on identical technical concept, the present invention also provides a kind of side for reading SCM program version number Method, this method comprises the following steps:
Generated in S1, microcontroller wiring board to be detected according to the version number of setting in designated pin and specify duty cycle and fixation The square wave of frequency;
In order to realize the purpose of step S1, microcontroller wiring board to be detected is according to the version number set in program and refers to Fixed any one pin output version number information.Version number's high position is represented with the time shared by high level in a cycle, with one The time shared by low level represents version number's low level in cycle.After determining the shared time, pin is exported with the square wave of fixed frequency Version number information.In addition, further included before the step S1:Microcontroller wiring board to be detected is powered on, and to be detected Microcontroller wiring board is initialized.
S2, the probe of version number's detecting system are connected with microcontroller wiring board designated pin to be detected;
S3, the duty cycle square wave data for reading designated pin, and it is decoded, obtain microcontroller wiring board to be detected The version number of Program;
S4, the version number to the microcontroller wiring board Program to be detected of acquisition carry out visualization and show.
In one embodiment, can be by forming display screen to version by serial LED display chip and 4 eight segment numeral pipes This number carries out visualization display and carries out visualization and show.
In conclusion the version number's detecting system and method for the present invention efficiently can intuitively obtain program version in testing Number information, and its it is simple easily realize, it is convenient to carry, and is applicable in various occasions, and the testing field of assist side has wide application Prospect.
It is obvious to a person skilled in the art that the invention is not restricted to the details of above-mentioned one exemplary embodiment, Er Qie In the case of without departing substantially from spirit or essential attributes of the invention, the present invention can be realized in other specific forms.Therefore, no matter From the point of view of which point, the present embodiments are to be considered as illustrative and not restrictive, and the scope of the present invention is by appended power Profit requires rather than described above limits, it is intended that all in the implication and scope of the equivalency of claim by falling Change is included in the present invention.Any reference numeral in claim should not be considered as to the involved claim of limitation.
Moreover, it will be appreciated that although the present specification is described in terms of embodiments, not each embodiment is only wrapped Containing an independent technical solution, this narrating mode of specification is only that those skilled in the art should for clarity Using specification as an entirety, the technical solutions in the various embodiments may also be suitably combined, forms those skilled in the art It is appreciated that other embodiment.

Claims (6)

  1. A kind of 1. version number's detecting system, it is characterised in that the system comprises:It is integrated in microcontroller wiring board to be detected Version number's sending module and the version number's detecting system being connected with the corresponding pin of microcontroller wiring board to be detected;
    The version number of setting, is generated the side for specifying duty cycle and fixed frequency by version number's sending module in designated pin Ripple;
    Version number's detecting system includes:MCU main control modules, signal detection and isolation circuit module, display module and fill Control of discharge module;
    The data that the MCU main control modules receive signal detection and isolation circuit module are handled, and obtain version number's letter Breath, display module carry out visualization to version number information and show, charge and discharge control module can filling to version number's detecting system Battery carries out charge and discharge control.
  2. 2. version number's detecting system according to claim 1, it is characterised in that the display module includes being shown by LED The display screen of chip and charactron composition.
  3. 3. version number's detecting system according to claim 1, it is characterised in that the signal detection and isolation circuit module Including probe, the signal detection and isolation circuit module are specified by the probe and the microcontroller wiring board to be detected Pin is connected.
  4. 4. version number's detecting system according to claim 1, it is characterised in that the charge and discharge control module, which further includes, fills Battery, the charging module for rechargeable battery charging and be the MCU module and display module be powered protection and For the charge and discharge protecting module of the rechargeable battery charge protection.
  5. 5. a kind of version number's detection method, it is characterised in that described method includes following steps:
    Generated in S1, microcontroller wiring board to be detected according to the version number of setting in designated pin and specify duty cycle and fixed frequency Square wave;
    S2, the probe of version number's detecting system are connected with microcontroller wiring board designated pin to be detected;
    S3, the duty cycle square wave data for reading designated pin, and it is decoded, obtain microcontroller wiring board intermediate range to be detected The version number of sequence;
    S4, the version number to the microcontroller wiring board Program to be detected of acquisition carry out visualization and show.
  6. 6. version number's detection method according to claim 5, it is characterised in that further included before the step S1:Treat Detection microcontroller wiring board is powered on, and microcontroller wiring board to be detected is initialized.
CN201711177968.1A 2017-11-23 2017-11-23 Version number detection system and method Pending CN108008283A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201711177968.1A CN108008283A (en) 2017-11-23 2017-11-23 Version number detection system and method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201711177968.1A CN108008283A (en) 2017-11-23 2017-11-23 Version number detection system and method

Publications (1)

Publication Number Publication Date
CN108008283A true CN108008283A (en) 2018-05-08

Family

ID=62053266

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201711177968.1A Pending CN108008283A (en) 2017-11-23 2017-11-23 Version number detection system and method

Country Status (1)

Country Link
CN (1) CN108008283A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111274102A (en) * 2020-02-10 2020-06-12 成都归谷环境科技有限责任公司 Novel PCBA state information indication method

Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103019932A (en) * 2012-11-26 2013-04-03 山东省科学院自动化研究所 Method for acquiring embedded software edition information
CN103617408A (en) * 2013-11-19 2014-03-05 福建鑫诺通讯技术有限公司 Magnetic stripe card decoding circuit based on AD sampling
CN103645665A (en) * 2013-12-24 2014-03-19 南京富士通南大软件技术有限公司 Programmable signal generator and signal generation method thereof
CN103679101A (en) * 2013-12-31 2014-03-26 武汉恒达智慧城市交通研发有限公司 Mobile phone audio frequency card reading device and system
CN103763090A (en) * 2013-12-27 2014-04-30 北京格林伟迪科技有限公司 Data transmission device and method
CN203706198U (en) * 2013-10-09 2014-07-09 深圳市邦彦信息技术有限公司 PCB (printed circuit board) version number identification circuit and device
CN105677269A (en) * 2015-09-10 2016-06-15 北京博创兴盛科技有限公司 Intelligent display control terminal of agricultural machine and display control method
CN106026979A (en) * 2016-07-06 2016-10-12 西安紫光国芯半导体有限公司 Self-adaptive duty cycle detection and adjustment receiver and control method thereof
CN106650460A (en) * 2016-11-15 2017-05-10 上海华为技术有限公司 Version check method and device and terminal equipment
CN106817197A (en) * 2016-12-23 2017-06-09 上海致远绿色能源股份有限公司 A kind of communication decoding method based on duty ratio modulation

Patent Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103019932A (en) * 2012-11-26 2013-04-03 山东省科学院自动化研究所 Method for acquiring embedded software edition information
CN203706198U (en) * 2013-10-09 2014-07-09 深圳市邦彦信息技术有限公司 PCB (printed circuit board) version number identification circuit and device
CN103617408A (en) * 2013-11-19 2014-03-05 福建鑫诺通讯技术有限公司 Magnetic stripe card decoding circuit based on AD sampling
CN103645665A (en) * 2013-12-24 2014-03-19 南京富士通南大软件技术有限公司 Programmable signal generator and signal generation method thereof
CN103763090A (en) * 2013-12-27 2014-04-30 北京格林伟迪科技有限公司 Data transmission device and method
CN103679101A (en) * 2013-12-31 2014-03-26 武汉恒达智慧城市交通研发有限公司 Mobile phone audio frequency card reading device and system
CN105677269A (en) * 2015-09-10 2016-06-15 北京博创兴盛科技有限公司 Intelligent display control terminal of agricultural machine and display control method
CN106026979A (en) * 2016-07-06 2016-10-12 西安紫光国芯半导体有限公司 Self-adaptive duty cycle detection and adjustment receiver and control method thereof
CN106650460A (en) * 2016-11-15 2017-05-10 上海华为技术有限公司 Version check method and device and terminal equipment
CN106817197A (en) * 2016-12-23 2017-06-09 上海致远绿色能源股份有限公司 A kind of communication decoding method based on duty ratio modulation

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111274102A (en) * 2020-02-10 2020-06-12 成都归谷环境科技有限责任公司 Novel PCBA state information indication method
CN111274102B (en) * 2020-02-10 2023-07-28 成都归谷环境科技有限责任公司 PCBA state information indication method

Similar Documents

Publication Publication Date Title
CN106597142B (en) A kind of automatic testing equipment of SVG power module
CN207851236U (en) A kind of chip testing plate and chip test system
CN104931863B (en) Synchronous generator for cable local discharge test
CN105760612B (en) Detection device, method, system, chip are asserted for chip checking after silicon
CN204789908U (en) Circuit board automatic test system based on labVIEW
CN109709471A (en) A kind of test fixture, the test method and device of fingerprint mould group
CN206863160U (en) A kind of multi-thread detector
CN103197998B (en) PMU electrifying timing sequence testing device and method
CN201237737Y (en) Sequence event logging performance test apparatus
CN208077394U (en) A kind of the communication test plate and communication test system of concentrator communication module
CN110488176A (en) A kind of integrated circuit testing plate and its application method
CN108008283A (en) Version number detection system and method
CN109490748A (en) A kind of OS test macro
CN109541430A (en) A kind of NOR FLASH class chip test system
CN106200623B (en) The semi-physical simulation test device of reactor core measuring system logic module
CN204807649U (en) Tester
CN204882853U (en) Electric energy meter pressure resistance test installation
CN208110030U (en) A kind of communication test plate of ammeter communication module
CN207281197U (en) A kind of winding displacement tester
CN207232210U (en) A kind of multichannel low and high level signal occurs and measuring equipment
CN205942434U (en) Reactor core measurement system logic modules's semi -physical simulation testing arrangement
CN110398696A (en) Electric energy storage device cycle charge-discharge experimental rig
CN109490749A (en) A kind of eMMC FLASH class chip test system
CN201985863U (en) Burst mode code error tester for optical circuit terminal optical module of gigabit passive optical network
CN109065975A (en) A kind of direct current system management system and its control method

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
RJ01 Rejection of invention patent application after publication

Application publication date: 20180508