CN104866401B - Signal acquiring method and device in piece - Google Patents

Signal acquiring method and device in piece Download PDF

Info

Publication number
CN104866401B
CN104866401B CN201510288315.5A CN201510288315A CN104866401B CN 104866401 B CN104866401 B CN 104866401B CN 201510288315 A CN201510288315 A CN 201510288315A CN 104866401 B CN104866401 B CN 104866401B
Authority
CN
China
Prior art keywords
input
controller
signal
output
pin
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
CN201510288315.5A
Other languages
Chinese (zh)
Other versions
CN104866401A (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.)
Rockchip Electronics Co Ltd
Original Assignee
Fuzhou Rockchip 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 Fuzhou Rockchip Electronics Co Ltd filed Critical Fuzhou Rockchip Electronics Co Ltd
Priority to CN201510288315.5A priority Critical patent/CN104866401B/en
Publication of CN104866401A publication Critical patent/CN104866401A/en
Application granted granted Critical
Publication of CN104866401B publication Critical patent/CN104866401B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Programmable Controllers (AREA)

Abstract

The embodiment of the present invention provides a kind of interior signal acquiring method and device, wherein the method includes:Controller receives switching command, switches into corresponding communication pattern;Wherein, the switching command for switch controller bandwidth and indicates that controller enters 1 bit operating mode;Controller is communicated with the communication pattern with external equipment, and signal in the piece of output is sent to measuring device by default output pin.EMMC of embodiment of the present invention controller is communicated with 1 bit operating mode with external equipment, and signal in the piece of output is sent to measuring device by presetting output pin, it can be achieved that the acquisition of signal and piece portion signal by measuring device observation analysis EMMC controller in EMMC controller piece.The abnormal debugging being able to carry out under complex scene, can adequately be studied for signal in EMMC controller piece, can carry out error reason investigation when interacting with peripheral data and occurring abnormal.

Description

Signal acquiring method and device in piece
Technical field
The present invention relates to electronic information designing technique more particularly to a kind of interior signal acquiring methods and device.
Background technique
It is different if there is data interaction during the EMMC controller of SOC chip is interacted with EMMC controller peripheral data Often, in order to find out problem, in addition to crawl peripheral hardware plate on interface signal (such as clock signal, command signal and data letter Number), it is also necessary to the signal inside EMMC controller can be viewed.But the signal of this part belongs to signal in piece, generally can not Measurement can not be checked.
Summary of the invention
For this purpose, the embodiment of the present invention provides a kind of interior signal acquiring method and device, with to avoid due to that can not check The problem of can not finding out data interaction abnormal cause in piece caused by information.
The embodiment of the present invention adopts the following technical scheme that:
In a first aspect, a kind of interior signal acquiring method is provided, including:
Controller receives switching command, switches into corresponding communication pattern;Wherein, the switching command is for switching control Device bandwidth processed simultaneously indicates that controller enters 1 bit operating mode;
Controller is communicated with the communication pattern with external equipment, and signal in the piece of output is passed through default output Pin is sent to measuring device.
In a first possible implementation of that first aspect, further include before the controller receives switching command: Controller receives output setting instruction, and instruction is arranged according to the output, default output pin is arranged.
In conjunction in the first possible implementation, in the second possible implementation, the output setting is instructed It is identified including predetermined output pin, then it is described to include according to the default output pin of output setting instruction setting:
The output setting instruction is parsed, output pin mark is obtained;
Determine default output pin according to output pin mark, and by the signal output channels of controller with it is described pre- If output pin is connected to.
In first aspect in the third possible implementation, signal acquiring method further includes in piece:Controller receives defeated Enter setting instruction, and instruction setting signal input pin is arranged according to the input.
In conjunction in the third possible implementation, in the 4th kind of possible implementation method, the input setting is instructed It is identified including input pin, then it is described to include according to input setting instruction setting signal input pin:
The input setting instruction is parsed, input pin mark is obtained;
It is identified according to the input pin and determines signal input pin, and by the signal input channel of controller and the letter The connection of number input pin.
With reference to first aspect or the first is into the 4th kind of possible implementation of any one, in the 5th kind of possible realization In mode, the switching command is also used to indicate that external equipment enters 1 bit operating mode.
Second aspect provides a kind of interior signal acquisition device, including:
Receiving unit switches into corresponding communication pattern for receiving switching command;Wherein, the switching command is used In switch controller bandwidth and indicate that controller enters 1 bit operating mode;
Communication unit passes through for being communicated with the communication pattern with external equipment, and by signal in the piece of output Default output pin is sent to measuring device.
In second aspect in the first possible implementation, signal acquisition device further includes in piece:Setting unit is exported, Setting instruction is exported for receiving, and instruction is arranged according to the output, default output pin is set.
In conjunction in the first possible implementation, in the second possible implementation, the output setting is instructed It is identified including predetermined output pin, then the output setting unit includes:
First parsing subunit obtains output pin mark for parsing the output setting instruction;
Output setting subelement, for determining default output pin according to output pin mark, and by controller Signal output channels are connected to the default output pin.
In second aspect in the third possible implementation, signal acquisition device further includes in piece:Setting unit is inputted, Input setting instruction is received for controller, and instruction setting signal input pin is arranged according to the input.
In conjunction in the third possible implementation, in the 4th kind of possible implementation method, the input setting is instructed It is identified including input pin, then the input setting unit includes:
Second parsing subunit obtains input pin mark for parsing the input setting instruction;
Input setting subelement, determines signal input pin for identifying according to the input pin, and by controller Signal input channel is connected to the signal input pin.
In conjunction with second aspect or the first into the 4th kind of possible implementation of any one, in the 5th kind of possible realization In mode, the switching command is also used to indicate that external equipment enters 1 bit operating mode.
EMMC of embodiment of the present invention controller is communicated with 1 bit operating mode with external equipment, and by the piece of output Interior signal by default output pin is sent to measuring device, it can be achieved that the acquisition of signal and passing through survey in EMMC controller piece Measure the piece portion signal of equipment observation analysis EMMC controller.The abnormal debugging being able to carry out under complex scene, being capable of sufficient needle Signal in EMMC controller piece is studied, error reason investigation can carried out when interacting with peripheral data and occurring abnormal.
Detailed description of the invention
Fig. 1 is the communication construction schematic diagram of EMMC controller and external equipment in the prior art;
One flow diagram of signal acquiring method in the piece that Fig. 2 is applicable in by the embodiment of the present invention one;
One flow diagram of signal acquiring method in the piece that Fig. 3 is applicable in by the embodiment of the present invention two;
One flow diagram of signal acquiring method in the piece that Fig. 4 is applicable in by the embodiment of the present invention three;
One flow diagram of signal acquiring method in the piece that Fig. 5 is applicable in by the embodiment of the present invention four;
One flow diagram of signal acquiring method in the piece that Fig. 6 is applicable in by the embodiment of the present invention five;
One structural module diagram of signal acquisition device in the piece that Fig. 7 A is applicable in by the embodiment of the present invention six;
Another structural module diagram of signal acquisition device in the piece that Fig. 7 B is applicable in by the embodiment of the present invention six.
Specific embodiment
Technology contents, construction feature, the objects and the effects for detailed description technical solution, below in conjunction with specific reality It applies example and attached drawing is cooperated to be explained in detail.
EMMC controller passes through data line 0-7 progress data interaction in the prior art shown in Fig. 1, therefore can not carry out EMMC The acquisition of signal in the piece of controller.The core concept of the embodiment of the present invention is:EMMC controller and EMMC peripheral hardware are with 1 bit Operating mode is communicated, and only carries out data interaction by certain a data wire (being assumed to be data line 0) and EMMC peripheral hardware, can be with Remaining seven data lines are vacated as alternative, the realization EMMC for exporting the default output pin of signal in EMMC controller piece The acquisition of signal in piece.1 bit operating mode described in the embodiment of the present invention is to be communicated in the form of data volume is 1 bit Operating mode refers in particular to the operating mode for transmitting 1 bit data amount within a clock cycle.
In addition, the embodiment of the present invention can also be drawn by the signal input that instruction setting EMMC controller is arranged according to input Some interior signals of change EMMC controller can be realized in foot, test the different behaviors of EMMC controller.
Embodiment one
The present embodiment provides a kind of interior signal acquiring method, so-called interior signal refers to the letter of EMMC controller output Number.Referring to Fig. 2, signal acquiring method may include in the piece shown:
202, EMMC controller receives switching command, switches into corresponding communication pattern;Wherein, the switching command is used In switching EMMC controller bandwidth and indicate that controller enters 1 bit operating mode.Corresponding communication pattern is the work of 1 bit Mode.The 1 bit operating mode is the operating mode communicated in the form of data volume is 1 bit, is referred in particular to one The operating mode of 1 bit data amount of transmission in a clock cycle.
204, EMMC controller is communicated with the communication pattern with external equipment, and signal in the piece of output is passed through Default output pin is sent to measuring device.
EMMC of embodiment of the present invention controller is communicated with 1 bit operating mode with external equipment, and by the piece of output Interior signal by default output pin is sent to measuring device, it can be achieved that the acquisition of signal and passing through survey in EMMC controller piece Measure the piece portion signal of equipment observation analysis EMMC controller.The abnormal debugging being able to carry out under complex scene, being capable of sufficient needle Signal in EMMC controller piece is studied, error reason investigation can carried out when interacting with peripheral data and occurring abnormal.
Embodiment two
The present embodiment provides a kind of interior signal acquiring method, so-called interior signal refers to the letter of EMMC controller output Number.Referring to Fig. 3, signal acquiring method can originate in the piece shown:Occur when EMMC controller is determining with external equipment When data interaction exception, 300 are entered step.
300, EMMC controller receives output setting instruction, and the default output of instruction setting is arranged according to the output and draws Foot.Output setting instruction includes that predetermined output pin identifies, then it is described be arranged according to output setting instruction preset it is defeated Pin may include out:
The output setting instruction is parsed, output pin mark is obtained;
Determine default output pin according to output pin mark, and by the signal output channels of controller with it is described pre- If output pin is connected to.
301, EMMC controller receives input setting instruction, and instruction setting signal input is arranged according to the input and draws Foot.The input setting instruction includes that input pin identifies, then described to be drawn according to input setting instruction setting signal input Foot may include:
The input setting instruction is parsed, input pin mark is obtained;
It is identified according to the input pin and determines signal input pin, and by the signal input channel of controller and the letter The connection of number input pin.
302, EMMC controller receives switching command, switches into corresponding communication pattern;Wherein, the switching command is used In switching EMMC controller bandwidth and indicate that controller enters 1 bit operating mode.Corresponding communication pattern is the work of 1 bit Mode.Specifically, the switching command is also used to indicate that external equipment enters 1 bit operating mode, so that EMMC controller energy It is enough fully to be communicated with 1 bit operating mode.The 1 bit operating mode is to carry out in the form of data volume is 1 bit The operating mode of communication refers in particular to the operating mode for transmitting 1 bit data amount within a clock cycle.
304, EMMC controller is communicated with the communication pattern with external equipment, and signal in the piece of output is passed through Default output pin is sent to measuring device.
It should be understood that:Step 300 and step 301 only set EMMC controller input pin and output pin It sets, therefore step 300 and step 301 sequence, step 300 synchronous can also be executed with step 301 in no particular order.
EMMC of embodiment of the present invention controller is communicated with 1 bit operating mode with external equipment, and by the piece of output Interior signal by default output pin is sent to measuring device, it can be achieved that the acquisition of signal and passing through survey in EMMC controller piece Measure the piece portion signal of equipment observation analysis EMMC controller.The abnormal debugging being able to carry out under complex scene, being capable of sufficient needle Signal in EMMC controller piece is studied, error reason investigation can carried out when interacting with peripheral data and occurring abnormal.
In addition, in a practical situation sometimes, it is therefore desirable to be able to some white-box testings are done for EMMC controller, Some interior signals of change controller, the different behaviors of test controller, and in the case where modifying certain interior signals To test other several relevant interior signals, observation and research controller progress mistake investigation function.The present embodiment can pass through Instruction is set according to the output, default output pin is set, according to input setting instruction setting signal input pin, i.e., Some interior signals of change controller, the different behaviors of test controller can be achieved, and modifying certain interior signals In the case of test the purposes of other several relevant interior signals.
Embodiment three
The present embodiment provides a kind of interior signal acquiring method, so-called interior signal refers to the letter of EMMC controller output Number.Referring to Fig. 4, show in piece signal acquiring method one can application scenarios, including:EMMC controller and EMMC controller The register interface of connection and the external equipment being connect with EMMC controller (i.e. EMMC peripheral hardware).
EMMC controller includes line width converter unit, output select unit and input signal transmission unit.The line width becomes Unit is changed for sending switching command, so that EMMC controller, EMMC peripheral hardware switch into corresponding communication pattern, EMMC control Device and EMMC peripheral hardware are used only data line 0 and carry out data interaction.Output select unit, for signal in piece is defeated by presetting Pin exports out.Input signal transmission unit, for externally input signal to be sent to corresponding module.Register interface includes Output measurement position, output selection position, input measurement position and input selection position.
Method provided in this embodiment can be used for testing signal in the piece inside EMMC controller, can specifically include:
(1) output of driver deployment register interface measures position, and selection wishes the controller internal signal exported (i.e. Signal in piece), and configure output selection position, it would be desirable to the controller internal signal (i.e. signal in piece) of output is bundled in different In data pin.
(2) the line width converter unit of the output measurement position notice EMMC controller of register interface sends line width switching automatically Order allows EMMC peripheral hardware to enter 1 bit operating mode and switches EMMC controller line width, EMMC controller is allowed also to enter 1 bit Operating mode.The 1 bit operating mode is the operating mode communicated in the form of data volume is 1 bit, is referred in particular to The operating mode of 1 bit data amount is transmitted within a clock cycle.
(3) output select unit of register interface notice EMMC controller selects matching for position according to the output of register It sets, different internal signals (i.e. signal in piece) is assigned on different data pins (i.e. default output pin).
(4) driving developer can measure different data pins (i.e. default output pin) in plate grade, The internal signal (i.e. signal in piece) of observation analysis EMMC controller.
EMMC of embodiment of the present invention controller is communicated with 1 bit operating mode with external equipment, and by the piece of output Interior signal by default output pin is sent to measuring device, it can be achieved that the acquisition of signal and passing through survey in EMMC controller piece Measure the piece portion signal of equipment observation analysis EMMC controller.The abnormal debugging being able to carry out under complex scene, being capable of sufficient needle Signal in EMMC controller piece is studied, error reason investigation can carried out when interacting with peripheral data and occurring abnormal.
In addition, in a practical situation sometimes, it is therefore desirable to be able to some white-box testings are done for EMMC controller, Some interior signals of change controller, the different behaviors of test controller, and in the case where modifying certain interior signals To test other several relevant interior signals, observation and research controller progress mistake investigation function.The present embodiment can pass through Instruction is set according to the output, default output pin is set, according to input setting instruction setting signal input pin, i.e., Some interior signals of change controller, the different behaviors of test controller can be achieved, and modifying certain interior signals In the case of test the purposes of other several relevant interior signals.
Example IV
The present embodiment provides a kind of interior signal acquiring method, so-called interior signal refers to the letter of EMMC controller output Number.Referring to Fig. 5, show in piece signal acquiring method one can application scenarios, including:EMMC controller and EMMC controller The register interface of connection and the external equipment being connect with EMMC controller (i.e. EMMC peripheral hardware).
EMMC controller includes line width converter unit, output select unit and input signal transmission unit.The line width becomes Unit is changed for sending switching command, so that EMMC controller switches into corresponding communication pattern.Output select unit is used for Signal in piece is passed through into default output pin output.Input signal transmission unit, for externally input signal to be sent to phase Answer module.
Register interface includes output measurement position, output selection position, input measurement position and input selection position.
Method provided in this embodiment can be used for input signal to the inside of EMMC controller, can specifically include:
(1) the input measurement position of driver deployment register interface, selection wish being input from the outside, for triggering control The signal of device internal act processed, and configure input selection position, it would be desirable to the signal of the controller of input is bundled in different data On pin (i.e. signal input pin).
(2) the line width converter unit of the input measurement notice EMMC controller of register interface sends line width switching life automatically It enables, EMMC peripheral hardware is allowed to enter 1 bit operating mode and switches EMMC controller line width, controller is allowed also to enter 1 bit Working mould Formula.The 1 bit operating mode is the operating mode communicated in the form of data volume is 1 bit, is referred in particular at one The operating mode of 1 bit data amount of transmission in clock cycle.
(3) the input selecting unit of register interface notice EMMC controller selects matching for position according to the input of register It sets, is tied on the unlike signal inside controller by the input signal of different data pin (i.e. signal input pin).
(4) driving developer can carry out triggering letter to different data pins (i.e. signal input pin) in plate grade Number input, the behavior of observation analysis EMMC controller.
EMMC of embodiment of the present invention controller is communicated with 1 bit operating mode with external equipment, and by the piece of output Interior signal by default output pin is sent to measuring device, it can be achieved that the acquisition of signal and passing through survey in EMMC controller piece Measure the piece portion signal of equipment observation analysis EMMC controller.The abnormal debugging being able to carry out under complex scene, being capable of sufficient needle Signal in EMMC controller piece is studied, error reason investigation can carried out when interacting with peripheral data and occurring abnormal.
In addition, in a practical situation sometimes, it is therefore desirable to be able to some white-box testings are done for EMMC controller, Some interior signals of change controller, the different behaviors of test controller, and in the case where modifying certain interior signals To test other several relevant interior signals, observation and research controller progress mistake investigation function.The present embodiment can pass through Instruction is set according to the output, default output pin is set, according to input setting instruction setting signal input pin, i.e., Some interior signals of change controller, the different behaviors of test controller can be achieved, and modifying certain interior signals In the case of test the purposes of other several relevant interior signals.
Embodiment five
The present embodiment provides a kind of interior signal acquiring method, so-called interior signal refers to the letter of EMMC controller output Number.Referring to Fig. 6, show in piece signal acquiring method one can application scenarios, including:EMMC controller and EMMC controller The register interface of connection and the external equipment being connect with EMMC controller (i.e. EMMC peripheral hardware).
EMMC controller includes line width converter unit, output select unit and input signal transmission unit.The line width becomes Unit is changed for sending switching command, so that EMMC controller switches into corresponding communication pattern.Output select unit is used for Signal in piece is passed through into default output pin output.Input signal transmission unit, for externally input signal to be sent to phase Answer module.
Register interface includes output measurement position, output selection position, input measurement position and input selection position.
Method provided in this embodiment can be used for white-box testing and control sequential research, can specifically include:
(1) the drive software input of configuration register interface, output measurement position and input simultaneously, output selection position, are wished Controller is hoped to use certain data lines as input, certain data lines are used as output.
(2) the line width converter unit of register interface notice EMMC controller sends line width switching command automatically, allows EMMC Peripheral hardware enters 1 bit operating mode and switches EMMC controller line width, and controller is allowed also to enter 1 bit operating mode.1 ratio Secret service operation mode is the operating mode communicated in the form of data volume is 1 bit, is referred in particular within a clock cycle Transmit the operating mode of 1 bit data amount.
(3) output select unit of register interface notice EMMC controller selects matching for position according to the output of register It sets, different internal signals (i.e. signal in piece) is assigned on different data pins (i.e. default output pin).Register The input selecting unit of interface notification EMMC controller, according to the configuration of the input selection position of register, by different data pin The input signal of (i.e. signal input pin) is tied on the unlike signal inside controller.
(4) driving developer can be in plate grade to the data pin (i.e. signal input pin) for being configured to input signal Carry out trigger signal input, the behavior of observation analysis EMMC controller.And the data for being configured to input signal are drawn in plate grade Foot carries out signal measurement, and independent assortment carries out the timing management of white-box testing and each road control signal of chip interior.
EMMC of embodiment of the present invention controller is communicated with 1 bit operating mode with external equipment, and by the piece of output Interior signal by default output pin is sent to measuring device, it can be achieved that the acquisition of signal and passing through survey in EMMC controller piece Measure the piece portion signal of equipment observation analysis EMMC controller.The abnormal debugging being able to carry out under complex scene, being capable of sufficient needle Signal in EMMC controller piece is studied, error reason investigation can carried out when interacting with peripheral data and occurring abnormal.
In addition, in a practical situation sometimes, it is therefore desirable to be able to some white-box testings are done for EMMC controller, Some interior signals of change controller, the different behaviors of test controller, and in the case where modifying certain interior signals To test other several relevant interior signals, observation and research controller progress mistake investigation function.The present embodiment can pass through Instruction is set according to the output, default output pin is set, according to input setting instruction setting signal input pin, i.e., Some interior signals of change controller, the different behaviors of test controller can be achieved, and modifying certain interior signals In the case of test the purposes of other several relevant interior signals.
Embodiment six
Fig. 7 A and 7B are please referred to, a kind of interior signal acquisition device is provided, including:
Receiving unit 701 switches into corresponding communication pattern for receiving switching command;Wherein, the switching command For switch controller bandwidth and indicate that controller enters 1 bit operating mode;The 1 bit operating mode is to be with data volume The operating mode that the form of 1 bit is communicated refers in particular to the work for transmitting 1 bit data amount within a clock cycle Mode.
Communication unit 702 leads to for being communicated with the communication pattern with external equipment, and by signal in the piece of output It crosses default output pin and is sent to measuring device.
Further, signal acquisition device further includes in piece:Setting unit 700 is exported, for receiving output setting instruction, And instruction is arranged according to the output, default output pin is set.
Further, the output setting instruction includes that predetermined output pin identifies, then the output setting unit 700 wraps It includes:
First parsing subunit 7001 obtains output pin mark for parsing the output setting instruction;
Output setting subelement 7002, for determining default output pin according to output pin mark, and will control The signal output channels of device are connected to the default output pin.
Further, signal acquisition device further includes in piece:Setting unit 703 is inputted, input is received for controller and sets Instruction is set, and instruction setting signal input pin is arranged according to the input.
Further, the input setting instruction includes that input pin identifies, then the input setting unit 703 includes:
Second parsing subunit 7031 obtains input pin mark for parsing the input setting instruction;
Input setting subelement 7032 determines signal input pin for identifying according to the input pin, and will control The signal input channel of device is connected to the signal input pin.
Further, the switching command is also used to indicate that external equipment enters 1 bit operating mode.
Equipment/Installation practice working principle of the invention and corresponding beneficial effect and preceding method embodiment theory Unanimously, content above-mentioned is specifically seen, details are not described herein.
All the embodiments in this specification are described in a progressive manner, the highlights of each of the examples are with The difference of other embodiments, the same or similar parts between the embodiments can be referred to each other.
It should be noted that, in this document, relational terms such as first and second and the like are used merely to a reality Body or operation are distinguished with another entity or operation, are deposited without necessarily requiring or implying between these entities or operation In any actual relationship or order or sequence.Moreover, the terms "include", "comprise" or its any other variant are intended to Non-exclusive inclusion, so that the process, method, article or the terminal device that include a series of elements not only include those Element, but also including other elements that are not explicitly listed, or further include for this process, method, article or end The intrinsic element of end equipment.In the absence of more restrictions, being limited by sentence " including ... " or " including ... " Element, it is not excluded that there is also other elements in process, method, article or the terminal device for including the element.This Outside, herein, " being greater than ", " being less than ", " being more than " etc. are interpreted as not including this number;" more than ", " following ", " within " etc. understand Being includes this number.
It should be understood by those skilled in the art that, the various embodiments described above can provide as method, apparatus or computer program production Product.Complete hardware embodiment, complete software embodiment or embodiment combining software and hardware aspects can be used in these embodiments Form.The all or part of the steps in method that the various embodiments described above are related to can be instructed by program relevant hardware come It completes, the program can store in the storage medium that computer equipment can be read, for executing the various embodiments described above side All or part of the steps described in method.The computer equipment, including but not limited to:Personal computer, server, general-purpose computations It is machine, special purpose computer, the network equipment, embedded device, programmable device, intelligent mobile terminal, smart home device, wearable Smart machine, vehicle intelligent equipment etc.;The storage medium, including but not limited to:RAM, ROM, magnetic disk, tape, CD, sudden strain of a muscle It deposits, USB flash disk, mobile hard disk, storage card, memory stick, webserver storage, network cloud storage etc..
The various embodiments described above are referring to the method according to embodiment, equipment (system) and computer program product Flowchart and/or the block diagram describes.It should be understood that can be realized by computer program instructions every in flowchart and/or the block diagram The combination of process and/or box in one process and/or box and flowchart and/or the block diagram.It can provide these computers Program instruction generates a machine to the processor of computer equipment, so that the finger executed by the processor of computer equipment It enables and generates to specify in one or more flows of the flowchart and/or one or more blocks of the block diagram The device of function.
These computer program instructions, which may also be stored in, to be able to guide computer equipment computer operate in a specific manner and sets In standby readable memory, so that the instruction being stored in the computer equipment readable memory generates the manufacture including command device Product, command device realization refer in one or more flows of the flowchart and/or one or more blocks of the block diagram Fixed function.
These computer program instructions can also be loaded into computer equipment, so that executing on a computing device a series of Operating procedure is to generate computer implemented processing, so that the instruction executed on a computing device is provided for realizing in process The step of function of being specified in figure one process or multiple processes and/or block diagrams one box or multiple boxes.
Although the various embodiments described above are described, once a person skilled in the art knows basic wounds The property made concept, then additional changes and modifications can be made to these embodiments, so the above description is only an embodiment of the present invention, It is not intended to limit scope of patent protection of the invention, it is all to utilize equivalent structure made by description of the invention and accompanying drawing content Or equivalent process transformation, being applied directly or indirectly in other relevant technical fields, similarly includes in patent of the invention Within protection scope.

Claims (12)

1. a kind of interior signal acquiring method, which is characterized in that including:
The input measurement position of driver deployment register interface, selection using it is being input from the outside, in trigger controller The signal of portion's behavior, and input selection position is configured, the signal of input controller is bundled in different data pins;
The line width switching command of the input measurement position notice of controller receiving register interface, switches into corresponding communication mould Formula;Wherein, the switching command for switch controller line width and indicates that controller enters 1 bit operating mode;
Controller is communicated with the communication pattern with external equipment, and by signal in the piece of output by presetting output pin It is sent to measuring device.
2. the method according to claim 1, wherein further including before the controller receives switching command: Controller receives output setting instruction, and instruction is arranged according to the output, default output pin is arranged.
3. according to the method described in claim 2, it is characterized in that, output setting instruction includes predetermined output pin mark Know, then it is described to include according to the default output pin of output setting instruction setting:
The output setting instruction is parsed, output pin mark is obtained;
Determine default output pin according to output pin mark, and by the signal output channels of controller with it is described preset it is defeated Pin is connected to out.
4. the method according to claim 1, wherein further including:Controller receives input setting and instructs, and according to The input setting instruction setting signal input pin.
5. according to the method described in claim 4, it is characterized in that, input setting instruction includes that input pin identifies, then It is described to include according to input setting instruction setting signal input pin:
The input setting instruction is parsed, input pin mark is obtained;
It is identified according to the input pin and determines signal input pin, and the signal input channel of controller and the signal is defeated Enter pin connection.
6. method according to claim 1-5, which is characterized in that the switching command is also used to indicate external set It is standby to enter 1 bit operating mode.
7. a kind of interior signal acquisition device, which is characterized in that including:
Register interface is that input measurement position is used to that use to be selected to be input from the outside, for triggering for connect with controller The signal of controller internal act, input selection position, for the signal of input controller to be bundled in different data pins On;
Receiving unit, the line width switching command that the input measurement position for receiving register interface notifies, switches into corresponding Communication pattern;Wherein, the switching command for switch controller line width and indicates that controller enters 1 bit operating mode;
Communication unit, for being communicated with the communication pattern with external equipment, and by signal in the piece of output by presetting Output pin is sent to measuring device.
8. device according to claim 7, which is characterized in that further include:Setting unit is exported, for receiving output setting Instruction, and instruction is arranged according to the output, default output pin is set.
9. device according to claim 8, which is characterized in that the output setting instruction includes predetermined output pin mark Know, then the output setting unit includes:
First parsing subunit obtains output pin mark for parsing the output setting instruction;
Output setting subelement, for determining default output pin according to output pin mark, and by the signal of controller Output channel is connected to the default output pin.
10. device according to claim 7, which is characterized in that further include:Setting unit is inputted, is received for controller Input setting instruction, and instruction setting signal input pin is arranged according to the input.
11. device according to claim 10, which is characterized in that the input setting instruction includes that input pin identifies, Then the input setting unit includes:
Second parsing subunit obtains input pin mark for parsing the input setting instruction;
Input setting subelement, determines signal input pin for identifying according to the input pin, and by the signal of controller Input channel is connected to the signal input pin.
12. according to the described in any item devices of claim 7-11, which is characterized in that the switching command is also used to indicate external Equipment enters 1 bit operating mode.
CN201510288315.5A 2015-05-29 2015-05-29 Signal acquiring method and device in piece Active CN104866401B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201510288315.5A CN104866401B (en) 2015-05-29 2015-05-29 Signal acquiring method and device in piece

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510288315.5A CN104866401B (en) 2015-05-29 2015-05-29 Signal acquiring method and device in piece

Publications (2)

Publication Number Publication Date
CN104866401A CN104866401A (en) 2015-08-26
CN104866401B true CN104866401B (en) 2018-11-27

Family

ID=53912247

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510288315.5A Active CN104866401B (en) 2015-05-29 2015-05-29 Signal acquiring method and device in piece

Country Status (1)

Country Link
CN (1) CN104866401B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106933470B (en) * 2017-03-20 2021-02-19 联想(北京)有限公司 Information processing method and electronic equipment

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5936423A (en) * 1995-12-14 1999-08-10 Kawasaki Steel Corporation Semiconductor IC with an output circuit power supply used as a signal input/output terminal
KR20050067813A (en) * 2003-12-29 2005-07-05 주식회사 하이닉스반도체 Circuit for generating a data strove signal for testing a synchronous memory device
CN101063700A (en) * 2007-05-29 2007-10-31 北京中星微电子有限公司 Method and arrangement for implementing chip test
CN101706552A (en) * 2009-07-02 2010-05-12 苏州国芯科技有限公司 Configurable on-chip testing module supporting encapsulation of different pins of chip
CN103150436A (en) * 2013-03-12 2013-06-12 广西生态工程职业技术学院 Assistance analysis device for EDA debugging process based on ChipScope
CN103472386A (en) * 2013-09-26 2013-12-25 威海北洋电气集团股份有限公司 Chip testing device and method based on FPGA

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5936423A (en) * 1995-12-14 1999-08-10 Kawasaki Steel Corporation Semiconductor IC with an output circuit power supply used as a signal input/output terminal
KR20050067813A (en) * 2003-12-29 2005-07-05 주식회사 하이닉스반도체 Circuit for generating a data strove signal for testing a synchronous memory device
CN101063700A (en) * 2007-05-29 2007-10-31 北京中星微电子有限公司 Method and arrangement for implementing chip test
CN101706552A (en) * 2009-07-02 2010-05-12 苏州国芯科技有限公司 Configurable on-chip testing module supporting encapsulation of different pins of chip
CN103150436A (en) * 2013-03-12 2013-06-12 广西生态工程职业技术学院 Assistance analysis device for EDA debugging process based on ChipScope
CN103472386A (en) * 2013-09-26 2013-12-25 威海北洋电气集团股份有限公司 Chip testing device and method based on FPGA

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
FPGA芯片内部信号实时监测方法研究;杨守良;《渝西学院学报(自然科学版)》;20051231;全文 *
采样可选择的FPGA片内逻辑分析仪设计方法;谭宜涛;《微电子学与计算机》;20120229;全文 *

Also Published As

Publication number Publication date
CN104866401A (en) 2015-08-26

Similar Documents

Publication Publication Date Title
CN106531654B (en) A kind of chip input pin test method and device
KR102364055B1 (en) Automatic circuit board test system and automatic circuit board test method applied therein
JP5732464B2 (en) Programmable protocol generator
CN102169150B (en) Parallel test system based on matrix switch
JP2013507610A5 (en)
CN103036740B (en) To the method for testing of network terminal gigabit ethernet interface signal in a kind of EPON system
CN103105578A (en) Testing system of universal chip
CN105376108A (en) Parallel testing system and testing method
CN109307833A (en) Apparatus for testing chip and chip detecting method
CN104871488A (en) Method of testing multiple data packet signal transceivers concurrently
CN103412810A (en) System packaging chip capable of testing internal signals and test method
JP2002024201A (en) Semiconductor integrated circuit
CN108181570A (en) Chip ground pin continuity testing method and device, readable storage medium storing program for executing
CN105786736A (en) Method, chip and device for multi-chip cascading
CN106776195B (en) A kind of SOC chip adjustment method and equipment
CN108896841A (en) Test macro, test method and device
CN109299022A (en) A kind of control method and device of USB interface, storage medium
CN104866401B (en) Signal acquiring method and device in piece
CN102541705B (en) Testing method for computer and tooling plate
CN108319516A (en) A kind of test system and test method
CN105068967B (en) Control method, device and the terminal of I2C equipment
CN205545720U (en) Signal connection and transmission device
CN111104361B (en) Serial port number query method and device, computer equipment and storage medium
US20140215106A1 (en) Svid data test system and method
CN107804479A (en) A kind of rudder system method of testing, device and its rudder system test equipment used

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
EXSB Decision made by sipo to initiate substantive examination
SE01 Entry into force of request for substantive examination
CB02 Change of applicant information

Address after: 350003 Fuzhou Gulou District, Fujian, software Avenue, building 89, No. 18

Applicant after: FUZHOU ROCKCHIP ELECTRONICS CO., LTD.

Address before: 350003 Fuzhou Gulou District, Fujian, software Avenue, building 89, No. 18

Applicant before: Fuzhou Rockchip Semiconductor Co., Ltd.

COR Change of bibliographic data
GR01 Patent grant
GR01 Patent grant
CP01 Change in the name or title of a patent holder

Address after: 350003 building, No. 89, software Avenue, Gulou District, Fujian, Fuzhou 18, China

Patentee after: Ruixin Microelectronics Co., Ltd

Address before: 350003 building, No. 89, software Avenue, Gulou District, Fujian, Fuzhou 18, China

Patentee before: Fuzhou Rockchips Electronics Co.,Ltd.

CP01 Change in the name or title of a patent holder