patents.google.com

CN115202246A - Circuit capable of automatically entering debugging mode and vehicle control unit - Google Patents

  • ️Tue Oct 18 2022
Circuit capable of automatically entering debugging mode and vehicle control unit Download PDF

Info

Publication number
CN115202246A
CN115202246A CN202110395311.2A CN202110395311A CN115202246A CN 115202246 A CN115202246 A CN 115202246A CN 202110395311 A CN202110395311 A CN 202110395311A CN 115202246 A CN115202246 A CN 115202246A Authority
CN
China
Prior art keywords
debugging
voltage
wake
mode
module
Prior art date
2021-04-13
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
CN202110395311.2A
Other languages
Chinese (zh)
Inventor
应翔
李娟�
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Beiqi Foton Motor Co Ltd
Original Assignee
Beiqi Foton Motor 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.)
2021-04-13
Filing date
2021-04-13
Publication date
2022-10-18
2021-04-13 Application filed by Beiqi Foton Motor Co Ltd filed Critical Beiqi Foton Motor Co Ltd
2021-04-13 Priority to CN202110395311.2A priority Critical patent/CN115202246A/en
2022-10-18 Publication of CN115202246A publication Critical patent/CN115202246A/en
Status Pending legal-status Critical Current

Links

  • 238000001914 filtration Methods 0.000 claims abstract description 30
  • 239000003990 capacitor Substances 0.000 claims description 39
  • 229910044991 metal oxide Inorganic materials 0.000 claims description 4
  • 150000004706 metal oxides Chemical class 0.000 claims description 4
  • 239000004065 semiconductor Substances 0.000 claims description 4
  • 238000004519 manufacturing process Methods 0.000 abstract description 5
  • 238000012360 testing method Methods 0.000 abstract description 5
  • 238000000034 method Methods 0.000 description 8
  • 238000010586 diagram Methods 0.000 description 4
  • 230000002265 prevention Effects 0.000 description 3
  • 230000003111 delayed effect Effects 0.000 description 2

Images

Classifications

    • GPHYSICS
    • G05CONTROLLING; REGULATING
    • G05BCONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
    • G05B19/00Programme-control systems
    • G05B19/02Programme-control systems electric
    • G05B19/04Programme control other than numerical control, i.e. in sequence controllers or logic controllers
    • G05B19/042Programme control other than numerical control, i.e. in sequence controllers or logic controllers using digital processors
    • G05B19/0423Input/output
    • BPERFORMING OPERATIONS; TRANSPORTING
    • B60VEHICLES IN GENERAL
    • B60RVEHICLES, VEHICLE FITTINGS, OR VEHICLE PARTS, NOT OTHERWISE PROVIDED FOR
    • B60R16/00Electric or fluid circuits specially adapted for vehicles and not otherwise provided for; Arrangement of elements of electric or fluid circuits specially adapted for vehicles and not otherwise provided for
    • B60R16/02Electric or fluid circuits specially adapted for vehicles and not otherwise provided for; Arrangement of elements of electric or fluid circuits specially adapted for vehicles and not otherwise provided for electric constitutive elements
    • B60R16/023Electric or fluid circuits specially adapted for vehicles and not otherwise provided for; Arrangement of elements of electric or fluid circuits specially adapted for vehicles and not otherwise provided for electric constitutive elements for transmission of signals between vehicle parts or subsystems
    • B60R16/0231Circuits relating to the driving or the functioning of the vehicle
    • GPHYSICS
    • G05CONTROLLING; REGULATING
    • G05BCONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
    • G05B2219/00Program-control systems
    • G05B2219/20Pc systems
    • G05B2219/25Pc structure of the system
    • G05B2219/25257Microcontroller

Landscapes

  • Engineering & Computer Science (AREA)
  • Automation & Control Theory (AREA)
  • Mechanical Engineering (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Debugging And Monitoring (AREA)

Abstract

The invention discloses a circuit capable of automatically entering a debugging mode and a vehicle control unit, and relates to the technical field of controller debugging. The circuit comprises: the debugging mode wake-up source, the debugging voltage control module, the filtering current-limiting module and the debugged module; the debugging awakening source is connected with the debugged module through the filtering current-limiting module, and the filtering current-limiting module enables the power-on time of the debugging mode awakening signal to be later than the power-on time of the debugging voltage generated by the debugging voltage control module; the debugging voltage control module is respectively connected with the debugging awakening source and the debugged module to generate debugging voltage and control the power supply time of the debugging voltage; and the debugged module automatically enters a debugging mode when meeting the preset condition. The invention enables the debugged equipment to automatically enter a debugging mode. Therefore, a Debug mode does not need to be entered manually, and the problems of production and test efficiency influence, chip damage and the like caused by manual operation are avoided naturally.

Description

Circuit capable of automatically entering debugging mode and vehicle control unit

Technical Field

The invention relates to the technical field of controller debugging, in particular to a circuit capable of automatically entering a debugging mode and a vehicle control unit.

Background

At present, when some system basic chips in automobile electronic products are debugged, the chips need to enter a debugging mode, that is, the chips enter a Debug mode. This can be done manually by a professional worker.

At present, the operation steps of entering the Debug mode by manual operation are complex, and workers need to remember the power-on sequence of each signal, and manual switching of the states of each signal not only affects the production and test efficiency, but also may cause the chip to be damaged if the workers are unfamiliar with the operation or have any one of the operation errors. Therefore, it is desirable to provide a method for automatically entering the Debug mode of the chip.

Disclosure of Invention

In view of the above problems, the present invention provides a circuit for automatically entering a Debug mode and a vehicle control unit, which can enable a chip to automatically enter a Debug mode.

A first aspect of an embodiment of the present invention provides a circuit for automatically entering a debug mode, where the circuit includes: the debugging mode wake-up source, the debugging voltage control module, the filtering current-limiting module and the debugged module;

the debugging awakening source is connected with the debugged module through the filtering current-limiting module and used for generating a debugging mode awakening signal;

the filtering current-limiting module filters and limits current of the debugging mode wake-up signal, and meanwhile, the power-on time of the debugging mode wake-up signal is later than the power-on time of the debugging voltage generated by the debugging voltage control module;

the debugging voltage control module is respectively connected with the debugging awakening source and the debugged module and is used for generating the debugging voltage and controlling the power supply time of the debugging voltage according to the debugging mode awakening signal;

and the debugged module automatically enters a debugging mode when the power supply time of the debugging voltage and the power-on time sequences of the debugging mode wake-up signal and the debugging voltage meet preset conditions.

Optionally, the debug voltage control module includes: the transistor comprises a first resistor, a second resistor, a third resistor, a fourth resistor, a first capacitor, a second capacitor, a Schottky diode and a PMOS (P-channel metal oxide semiconductor) tube;

the first end of the first resistor is connected with the debugging mode wake-up source;

the second end of the first resistor is connected with the first end of the second resistor and the first end of the third resistor respectively;

a second end of the second resistor is connected with a second end of the Schottky diode, a second end of the first capacitor and a second end of the second capacitor, and is grounded;

the second end of the third resistor is connected with the first end of the first capacitor and the first end of the fourth resistor respectively;

the second end of the fourth resistor is connected with the grid electrode of the PMOS tube;

the first end of the second capacitor is respectively connected with the drain electrode of the PMOS tube and the debugged module;

and the first end of the Schottky diode is connected with the source electrode of the PMOS tube.

Optionally, the circuit further comprises: at least one operation wake-up source for generating at least one operation mode wake-up signal;

each work awakening source in the at least one work awakening source is connected with a diode in series;

the debugging wake-up source is connected with a diode in series;

and each work awakening source is connected with the diode in series and then forms an OR gate logic circuit with the debugging awakening source connected with the diode in series, and then is connected with the filtering current-limiting module.

Optionally, the debug mode wake-up source and the working wake-up source do not generate signals at the same time.

Optionally, the debuggee module includes: a debugged chip; the debugged chip comprises: the device comprises a working power supply interface, a wake-up signal interface and a debugging voltage interface;

the working power supply interface is connected with an external working power supply, and the external working power supply provides a working power supply for the debugged chip through the working power supply interface;

the wake-up signal interface is connected with the filtering current-limiting module, and the at least one working mode wake-up signal or the debugging mode wake-up signal passes through the filtering current-limiting module and is transmitted to the debugged chip through the wake-up signal interface;

the debugging voltage interface is connected with the drain electrode of the PMOS tube and the first end of the second capacitor respectively, and the debugging voltage is transmitted to the debugged chip through the debugging voltage interface.

Optionally, when the debug wake-up source generates a debug mode wake-up signal, the schottky diode clamps a voltage value of the debug mode wake-up signal to a voltage value required by the debug voltage, so that the PMOS transistor is turned on, and a drain of the PMOS transistor generates the debug voltage and is powered on through the debug voltage interface to be provided to the debugged chip;

the first capacitor is charged through the first resistor and the third resistor while the voltage value of the debugging mode wake-up signal is clamped to the voltage value required by the debugging voltage through the Schottky diode, and the voltage value of the first capacitor gradually increases along with the time;

the voltage value of the first capacitor is gradually increased, so that the grid voltage of the PMOS tube is gradually increased until the PMOS tube is disconnected, and the debugging voltage generated by the drain electrode of the PMOS tube is changed into 0.

Optionally, the power supply time of the debug voltage is the time from the conduction to the disconnection of the PMOS transistor;

the time from the conduction to the disconnection of the PMOS tube is determined by the sizes of the first capacitor, the first resistor and the third resistor.

Optionally, the preset condition includes: the voltage value of the working power supply is larger than a preset voltage value, the power-on time of the debugging mode wake-up signal is later than the power-on time of the debugging voltage, and the power supply time of the debugging voltage is larger than a preset time threshold.

A second aspect of an embodiment of the present invention provides a vehicle control unit, where the controller includes: SBC module, the control module includes: circuitry for automatically entering a debug mode as defined in any one of the first aspects;

the circuit is used for enabling the debugged module to automatically enter a debugging mode when the debugging mode wake-up source generates a signal;

the circuit is further configured to cause the debuggee module to enter a working mode when the working wake-up source generates a signal.

According to the circuit capable of automatically entering the debugging mode, the debugging awakening source is used for generating the debugging mode awakening signal; the filtering current-limiting module filters and limits current of the debugging mode wake-up signal, and meanwhile, the power-on time of the debugging mode wake-up signal is later than the power-on time of the debugging voltage generated by the debugging voltage control module; the debugging voltage control module is used for generating debugging voltage and controlling the power supply time of the debugging voltage according to the debugging mode wake-up signal; and the debugged module can automatically enter a debugging mode when the power supply time of the debugging voltage, the power-on time sequence of the debugging mode wake-up signal and the debugging voltage meet preset conditions. Therefore, a Debug mode does not need to be entered manually, and the problems of production and test efficiency influence, chip damage and the like caused by manual operation are avoided naturally.

Drawings

Various other advantages and benefits will become apparent to those of ordinary skill in the art upon reading the following detailed description of the preferred embodiments. The drawings are only for purposes of illustrating the preferred embodiments and are not to be construed as limiting the invention. Also, like reference numerals are used to refer to like parts throughout the drawings. In the drawings:

FIG. 1 is a modular schematic diagram of an automatic enter debug mode circuit of an embodiment of the present invention;

fig. 2 is a schematic structural diagram of a circuit for automatically entering a debug mode according to an embodiment of the present invention.

Detailed Description

In order to make the aforementioned objects, features and advantages of the present invention comprehensible, embodiments accompanied with figures are described in further detail below. It should be understood that the specific embodiments described herein are merely illustrative of the invention, but do not limit the invention to only some, but not all embodiments.

The inventor finds that the operation step of the chip entering the Debug mode is complicated due to the manual operation at present, and a worker needs to remember the power-on sequence of each signal.

For example: for the automobile-level system base chip FS8510, the following conditions are required to be met when the automobile-level system base chip FS8510 enters the Debug mode:

1. vsup (chip operating voltage) > preset voltage value;

2、V Debug (chip debug voltage) =5V;

3. wake (debug mode Wake up signal) > 4V;

4、V Debug after the 5V power supply time is maintained for more than 7 mus, the voltage becomes 0V.

In the above scheme, entering the Debug mode is generally realized by using a jumper wire. Firstly, the input of the Wake signal is cut off, then the jumper terminal is used for short-circuiting two terminals, and the V of 5V is obtained Debug Then the input of the Wake signal is switched on again, and V of 5V is maintained Debug After the power supply time of more than 7 mus, the jumper terminal is removed so that V Debug Becomes 0V, thereby satisfying the condition that the FS8510 enters the Debug mode, so that the FS8510 enters the Debug mode.

However, the above manual operation process is complicated, the worker needs to keep the power-on sequence of each signal in mind, and manually switching the states of each signal not only affects the production and testing efficiency, but also may damage the FS8510 chip if the worker is not familiar with the operation or has any misoperation.

In view of the above problems, the inventors propose the circuit for automatically entering the debug mode of the present invention, and the present invention will be described in detail below.

Referring to fig. 1, a schematic diagram of an auto-entry debug mode circuitry according to an embodiment of the present invention is shown, the auto-entry debug mode circuitry including: the debugging mode comprises a debugging mode awakening source 10, a debugging voltage control module 20, a filtering current limiting module 30 and a debugged module 40; the debugging awakening source 10 is connected with the debugged module 40 through the filtering current-limiting module 30, and the debugging awakening source 10 is used for generating a debugging mode awakening signal; the filtering current-limiting module 30 filters and limits current of the debugging mode wake-up signal, and simultaneously, the power-on time of the debugging mode wake-up signal is later than the power-on time of the debugging voltage generated by the debugging voltage control module 20; the debug voltage control module 20 is connected to the debugged wake-up source 10 and the debugged module 40, respectively, and is configured to generate a debug voltage and control a power supply time of the debug voltage according to the debug mode wake-up signal; the debugged module 40 automatically enters the debugging mode when the power supply time of the debugging voltage and the power-on time sequence of the debugging mode wake-up signal and the debugging voltage meet the preset conditions.

In order to better explain the technical scheme of the invention, an FS8510 chip is specifically taken as an example to exemplarily explain the circuit structure and the operating principle of the invention. Referring to fig. 2, a schematic structural diagram of a circuit for automatically entering a debug mode according to an embodiment of the present invention is shown, where fig. 2 includes: the power supply circuit comprises a chip FS8510, a working power supply Vsup, a power supply reverse connection prevention and

filtering unit

60, an

OR gate

70, a first resistor R1, a second resistor R2, a third resistor R3, a fourth resistor R4, a first capacitor C1, a second capacitor C2, a Schottky diode D2, a PMOS (P-channel metal oxide semiconductor) tube Q1, a plurality of working Wake-up sources Wake1 \8230, waken N and a debugging Wake-up source Wake-DB. Wherein, the chip FS8510 includes: a working power supply interface Vsup-IN, a WAKE-up signal interface WAKE and a Debug voltage interface Debug.

The working power supply Vsup is connected to the working power supply interface Vsup-IN through the power supply reverse connection prevention unit and the

filtering unit

60, and provides working voltage for the chip FS8510. The device comprises a plurality of work awakening sources Wake1 \8230, wherein each work awakening source in Waken is connected with a diode D3 \8230inseries, DN and a debugging awakening source Wake-DB are also connected with a diode D1 in series, after the diodes are connected in series with each work awakening source, the work awakening sources Wake-DB are connected with the diodes in series and then are connected with an

OR gate

70 to form an OR gate logic circuit, and then the OR gate logic circuit is connected with a filtering current limiting

module

30, and at least one work mode awakening signal Wake1 \8230, waken or debugging mode awakening signal Wake-DB passes through the filtering current limiting

module

30 and then is transmitted to a chip FS8510 through an awakening signal interface WAKE.

In conjunction with fig. 1, the debug mode wake-up

source

10 may include: the system comprises a plurality of work awakening sources Wake1 \8230, a Waken, a plurality of diodes D3 \8230, a DN, a debugging awakening source Wake-DB, an

OR gate

70 and a diode D1; the debug

voltage control module

20 may include: the device comprises a first resistor R1, a second resistor R2, a third resistor R3, a fourth resistor R4, a first capacitor C1, a second capacitor C2, a Schottky diode D2 and a PMOS (P-channel metal oxide semiconductor) tube Q1;

debuggee module

40 may include: a chip FS8510, a working power supply Vsup, a power supply reverse connection prevention unit and a

filtering unit

60.

After the debug mode Wake-up signal Wake-DB is connected in series with the diode D1, the debug mode Wake-up signal Wake-DB is respectively connected with the filtering current-limiting

module

30 and the first end of the first resistor R1, and the second end of the first resistor R1 is respectively connected with the first end of the second resistor R2 and the first end of the third resistor R3; the second end of the second resistor R2 is connected with the second end of the Schottky diode D2, the second end of the first capacitor C1 and the second end of the second capacitor C2, and is grounded GND; the second end of the third resistor R3 is respectively connected with the first end of the first capacitor C1 and the first end of the fourth resistor R4; the second end of the fourth resistor R4 is connected with the grid G of the PMOS tube Q1; the first end of the second capacitor C2 is respectively connected with the drain D of the PMOS tube Q1 and a debugging voltage interface Debug of the chip FS8510; the first end of the schottky diode D2 is connected to the source S of the PMOS transistor Q1.

In the circuit, the debugging mode Wake-up source and the working Wake-up source do not generate signals simultaneously, namely the working mode Wake-up signal Wake1 \8230, and the Waken and the debugging mode Wake-up signal Wake-DB do not exist simultaneously. When any of the Wake-up signals Wake1 \8230inworking mode is valid, the Wake-up signal in working mode is transmitted to the chip FS8510 through the or

gate

70, the filtering current-limiting

module

30 and the Wake-up signal interface Wake, so that the chip FS8510 enters the working mode. When the Debug mode Wake-up signal Wake-DB is active, it may automatically cause chip FS8510 to enter Debug mode. The working principle is as follows:

when the Wake-DB in the debug mode is valid, the Wake-DB passes through the diode D1 and is divided into two paths, and one path is transmitted to the chip FS8510 through the or

gate

70, the filtering current-limiting

module

30 and the Wake-up signal interface Wake; the other path generates a Debug voltage after passing through the Debug

voltage control module

20, and the Debug voltage is transmitted to the chip FS8510 through the Debug voltage interface Debug, so that the chip FS8510 enters a Debug mode. Specifically, the method comprises the following steps:

after the debug mode Wake-up signal Wake-DB passes through the first resistor R1, the second resistor R2 and the schottky diode D2, the voltage value of the debug mode Wake-up signal Wake-DB is clamped at 5V by the schottky diode D2, that is, the voltage on the source S of the PMOS transistor Q is 5V; meanwhile, the WAKE-up signal interface WAKE charges the first capacitor C1 through the first resistor R1 and the third resistor R3, but because of the characteristics of the capacitor itself, the voltages at both ends of the capacitor cannot be suddenly changed, so the voltage of the gate G of the PMOS transistor starts to rise from 0V, based on the characteristics of the PMOS transistor itself, the PMOS transistor Q1 is turned on at this time, so the voltage output on the drain D of the PMOS transistor Q1 is 5V, the voltage on the drain D of the PMOS transistor Q1 is a Debug voltage, and the Debug voltage is transmitted to the chip FS8510 through the Debug voltage interface Debug voltage Debug, that is, the Debug voltage is powered on the chip FS8510 at the moment when the Debug mode WAKE-DB is valid. When the Wake-DB is valid, the Wake-up signal Wake-DB needs to be transmitted to the FS8510 through the diode, the or

gate

70, the filtering current-limiting

module

30, and the Wake-up signal interface Wake, and the Wake-up signal Wake is delayed to reach the FS8510, that is, the debug voltage is delayed to be powered on the FS8510 at the moment when the Wake-DB is valid. Therefore, the power-on time of the Wake-DB is ensured to be later than that of the debugging voltage.

Along with the lapse of time, the WAKE-up signal interface WAKE charges the first capacitor C1 through the first resistor R1 and the third resistor R3, so that the voltage of the first capacitor C1 gradually increases, and the voltage value of the first capacitor C1 gradually increases, so that the voltage on the gate G of the PMOS transistor Q gradually increases until the PMOS transistor Q1 is disconnected without meeting the conduction condition, and at this time, the debug voltage generated on the drain D of the PMOS transistor Q1 becomes 0V. And as the power supply time of the debugging voltage is required to be more than 7 mus when the chip FS8510 enters the Debug mode, the conduction time of the PMOS tube Q1 is required to be kept to be more than 7 mus. That is, the power supply time of the debug voltage is the time from the on state to the off state of the PMOS transistor Q1. In the embodiment of the present invention, the time from the on state to the off state of the PMOS transistor Q1 is determined by the sizes of the first capacitor C1, the first resistor R1 and the third resistor R3, and the first capacitor C1, the first resistor R1 and the third resistor R3 with different sizes can be selected as required, so that the time from the on state to the off state of the PMOS transistor Q1 is greater than 7 μ s.

For example: for the FS8510 chip, the preset conditions include: the voltage value of the working power supply Vsup is larger than the preset voltage value, the power-on time of the debugging mode Wake-DB is later than that of the debugging voltage, and the power supply time of the debugging voltage is larger than the preset time threshold value by 7 mu s. The circuit for automatically entering the debugging mode meets the conditions when the Wake-DB signal in the debugging mode is effective, so that the FS8150 can automatically enter the debugging mode without manual operation.

In summary, in the circuit automatically entering the debug mode according to the embodiment of the present invention, when the debug mode wake-up signal generated by the debug wake-up source is valid, the debug mode wake-up signal passes through the diode, the or gate, and the filtering current-limiting module, so that the power-on time of the debug mode wake-up signal is later than the power-on time of the debug voltage generated by the debug voltage control module according to the debug mode wake-up signal; meanwhile, the power supply time of the debugging voltage is controlled by the sizes of the resistor and the capacitor; by the circuit structure of the embodiment of the invention, the debugged module can automatically enter the debugging mode when the power supply time of the debugging voltage and the power-on time sequence of the debugging mode wake-up signal and the debugging voltage meet the preset conditions. Therefore, the Debug mode does not need to be entered manually, and the problems that the production and testing efficiency are affected due to manual operation, the chip is damaged and the like can be avoided naturally.

In addition, the circuit capable of automatically entering the debugging mode has higher universality, circuits with strict requirements on the sequence of power-on time (namely power-on time sequence) can be realized on the basis of the circuit capable of automatically entering the debugging mode, and even if the power-on time sequence has more complicated requirements, the circuit capable of automatically entering the debugging mode can achieve the aim only by adding a delay element on the basis of the circuit capable of automatically entering the debugging mode, so that the circuit capable of automatically entering the debugging mode also has better expansibility.

Based on the above circuit for automatically entering the debugging mode, an embodiment of the present invention further provides a vehicle control unit, where the controller includes: an SBC module, the SBC module including: circuitry for automatically entering a debug mode as described in any of the above; the circuit is used for enabling the debugged module to automatically enter a debugging mode when the debugging mode wake-up source generates a signal; the circuit is further configured to cause the debuggee module to enter a working mode when the working wake-up source generates a signal.

It is further noted that, herein, relational terms such as first and second, and the like may be used solely to distinguish one entity or action from another entity or action without necessarily requiring or implying any actual such relationship or order between such entities or actions. Also, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, or article that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, or article.

The embodiments of the present invention have been described in connection with the accompanying drawings, and the principles and embodiments of the present invention are described herein using specific examples, which are provided only to help understand the method and the core idea of the present invention; meanwhile, for a person skilled in the art, according to the idea of the present invention, the specific embodiments and the application range may be changed, and in summary, the content of the present specification should not be construed as a limitation to the present invention.

Claims (9)

1. A circuit for automatically entering a debug mode, the circuit comprising: the debugging mode wake-up source comprises a debugging mode wake-up source, a debugging voltage control module, a filtering current-limiting module and a debugged module;

the debugging awakening source is connected with the debugged module through the filtering current-limiting module and used for generating a debugging mode awakening signal;

the filtering current-limiting module filters and limits current of the debugging mode wake-up signal, and meanwhile, the power-on time of the debugging mode wake-up signal is later than the power-on time of the debugging voltage generated by the debugging voltage control module;

the debugging voltage control module is respectively connected with the debugging awakening source and the debugged module and is used for generating the debugging voltage and controlling the power supply time of the debugging voltage according to the debugging mode awakening signal;

and the debugged module automatically enters a debugging mode when the power supply time of the debugging voltage and the power-on time sequences of the debugging mode wake-up signal and the debugging voltage meet preset conditions.

2. The circuit of claim 1, wherein the debug voltage control module comprises: the transistor comprises a first resistor, a second resistor, a third resistor, a fourth resistor, a first capacitor, a second capacitor, a Schottky diode and a PMOS (P-channel metal oxide semiconductor) tube;

the first end of the first resistor is connected with the debugging mode awakening source and the filtering current-limiting module respectively;

the second end of the first resistor is respectively connected with the first end of the second resistor and the first end of the third resistor;

the second end of the second resistor is connected with the second end of the Schottky diode, the second end of the first capacitor and the second end of the second capacitor and is grounded;

the second end of the third resistor is respectively connected with the first end of the first capacitor and the first end of the fourth resistor;

the second end of the fourth resistor is connected with the grid electrode of the PMOS tube;

the first end of the second capacitor is connected with the drain electrode of the PMOS tube and the debugged module respectively;

and the first end of the Schottky diode is connected with the source electrode of the PMOS tube.

3. The circuit of claim 1, further comprising: at least one operation wake-up source for generating at least one operation mode wake-up signal;

each work awakening source in the at least one work awakening source is connected with a diode in series;

the debugging awakening source is connected in series with a diode;

and each work awakening source is connected with the diode in series and then forms an OR gate logic circuit with the debugging awakening source connected with the diode in series, and then is connected with the filtering current-limiting module.

4. The circuit of claim 3, wherein the debug mode wake-up source does not generate a signal at the same time as the operational wake-up source.

5. The circuit of claim 2, wherein the debuggee module comprises: a debugged chip; the debugged chip comprises: the device comprises a working power supply interface, a wake-up signal interface and a debugging voltage interface;

the working power supply interface is connected with an external working power supply, and the external working power supply provides a working power supply for the debugged chip through the working power supply interface;

the wake-up signal interface is connected with the filtering current-limiting module, and the at least one working mode wake-up signal or the debugging mode wake-up signal passes through the filtering current-limiting module and is transmitted to the debugged chip through the wake-up signal interface;

the debugging voltage interface is connected with the drain electrode of the PMOS tube and the first end of the second capacitor respectively, and the debugging voltage is transmitted to the debugged chip through the debugging voltage interface.

6. The circuit of claim 5, wherein when the debug wake-up source generates a debug mode wake-up signal, the Schottky diode clamps a voltage value of the debug mode wake-up signal to a voltage value required by the debug voltage, so that the PMOS transistor is turned on, and a drain of the PMOS transistor generates the debug voltage and is powered on through the debug voltage interface to be provided to the debugged chip;

the voltage value of the debugging mode wake-up signal is clamped to the voltage value required by the debugging voltage by the Schottky diode, the first capacitor is charged through the first resistor and the third resistor, and the voltage value of the first capacitor gradually increases along with the time;

the voltage value of the first capacitor is gradually increased, so that the grid voltage of the PMOS tube is gradually increased until the PMOS tube is disconnected, and the debugging voltage generated by the drain electrode of the PMOS tube is changed into 0.

7. The circuit of claim 2, wherein the supply time of the debug voltage is the time from turning on to turning off the PMOS transistor;

the time from the conduction to the disconnection of the PMOS tube is determined by the sizes of the first capacitor, the first resistor and the third resistor.

8. The circuit of claim 1, wherein the preset condition comprises: the voltage value of the working power supply is larger than a preset voltage value, the power-on time of the debugging mode wake-up signal is later than the power-on time of the debugging voltage, and the power supply time of the debugging voltage is larger than a preset time threshold.

9. A vehicle control unit, characterized in that, vehicle control unit includes: an SBC module, said module comprising: circuitry to automatically enter a debug mode as claimed in any one of claims 1 to 8;

the circuit is used for enabling the debugged module to automatically enter a debugging mode when the debugging mode wake-up source generates a signal;

the circuit is further configured to cause the debuggee module to enter a working mode when the work wake-up source generates a signal.

CN202110395311.2A 2021-04-13 2021-04-13 Circuit capable of automatically entering debugging mode and vehicle control unit Pending CN115202246A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110395311.2A CN115202246A (en) 2021-04-13 2021-04-13 Circuit capable of automatically entering debugging mode and vehicle control unit

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110395311.2A CN115202246A (en) 2021-04-13 2021-04-13 Circuit capable of automatically entering debugging mode and vehicle control unit

Publications (1)

Publication Number Publication Date
CN115202246A true CN115202246A (en) 2022-10-18

Family

ID=83570395

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110395311.2A Pending CN115202246A (en) 2021-04-13 2021-04-13 Circuit capable of automatically entering debugging mode and vehicle control unit

Country Status (1)

Country Link
CN (1) CN115202246A (en)

Similar Documents

Publication Publication Date Title
JP5315026B2 (en) 2013-10-16 Semiconductor device
US9018798B2 (en) 2015-04-28 Power supply circuit
CN112840387B (en) 2024-02-09 Electronic device and method for PSI5 base current sampling in synchronous mode
CN102013802B (en) 2013-05-29 BOOST circuit with short circuit protection function
TWI397231B (en) 2013-05-21 Clamp circuit for voltage peaking induced by power supply hot plug and related chip
JP5838776B2 (en) 2016-01-06 Ignition device for internal combustion engine
US20030076138A1 (en) 2003-04-24 Power-on circuit of a peripheral component
US7106107B2 (en) 2006-09-12 Reliability comparator with hysteresis
KR102119769B1 (en) 2020-06-05 Relay diagnosis circuit and diagnosis method thereof
CN115202246A (en) 2022-10-18 Circuit capable of automatically entering debugging mode and vehicle control unit
CN110798187B (en) 2023-04-21 Power-on reset circuit
CN107894530A (en) 2018-04-10 Negative voltage detection circuit and motor driver
CN101133489A (en) 2008-02-27 Semiconductor integrated circuit equipment
JP2017077138A (en) 2017-04-20 Semiconductor device
TW201530957A (en) 2015-08-01 Arrangement and method for protecting an electronic circuit
CN111245235B (en) 2021-03-16 Bidirectional power supply circuit supporting reverse connection protection and short circuit protection
JP2010231509A (en) 2010-10-14 Overvoltage detection circuit, overvoltage protection circuit
CN112350709A (en) 2021-02-09 Multi-protection current input interface circuit
CN109842089B (en) 2020-04-14 input protection circuit
CN108304021B (en) 2020-04-10 Clamping circuit
CN110319893B (en) 2024-02-23 Metering instrument accumulated gas quantity detection circuit and method
CN110319894B (en) 2024-02-13 Pulse signal detection circuit applied to metering instrument
CN110794947A (en) 2020-02-14 Monitoring circuit of server front end power supply and server
CN218332520U (en) 2023-01-17 Power supply voltage control circuit
CN118741821A (en) 2024-10-01 0-10V dimming control circuit, dimming power supply, controller and dimming method

Legal Events

Date Code Title Description
2022-10-18 PB01 Publication
2022-10-18 PB01 Publication
2022-11-04 SE01 Entry into force of request for substantive examination
2022-11-04 SE01 Entry into force of request for substantive examination