CN107526606A - Realize the system and method for fever writes chips power-on time Self Adaptive Control - Google Patents

Realize the system and method for fever writes chips power-on time Self Adaptive Control Download PDF

Info

Publication number
CN107526606A
CN107526606A CN201610451998.6A CN201610451998A CN107526606A CN 107526606 A CN107526606 A CN 107526606A CN 201610451998 A CN201610451998 A CN 201610451998A CN 107526606 A CN107526606 A CN 107526606A
Authority
CN
China
Prior art keywords
programming
control
chip
time
triode
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.)
Granted
Application number
CN201610451998.6A
Other languages
Chinese (zh)
Other versions
CN107526606B (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.)
CRM ICBG Wuxi Co Ltd
Original Assignee
Wuxi China Resources Semico 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 Wuxi China Resources Semico Co Ltd filed Critical Wuxi China Resources Semico Co Ltd
Priority to CN201610451998.6A priority Critical patent/CN107526606B/en
Publication of CN107526606A publication Critical patent/CN107526606A/en
Application granted granted Critical
Publication of CN107526606B publication Critical patent/CN107526606B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/60Software deployment
    • G06F8/61Installation

Landscapes

  • Engineering & Computer Science (AREA)
  • Software Systems (AREA)
  • General Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Power Sources (AREA)
  • Electronic Switches (AREA)

Abstract

The present invention relates to a kind of system and method for realizing fever writes chips power-on time Self Adaptive Control, wherein system includes chip attachment component, operating element, control element and electrifying control circuit, by chip attachment component with treating that programming chip is connected, control element is connected electrifying control circuit with chip attachment component, operating element and electrifying control circuit simultaneously.Using the system and method for realizing fever writes chips power-on time Self Adaptive Control of this kind of structure, it can be achieved to the controllable of power-on time, during regulating time, obtain the power-on time that can make the normal programming of chip, in power process, use discharge circuit and then repid discharge, the function of fever writes short-circuit protection is not influenceed not only so, also discharge time is substantially reduced, can be in the case of fever writes be protected, there is the chip of various power-on time demands for programming, without carrying out different time modifications to different pcb boards, or the electric capacity on dismounting pcb board, with wider application.

Description

Realize the system and method for fever writes chips power-on time Self Adaptive Control
Technical field
The present invention relates to control design case field, more particularly to the Self Adaptive Control of fever writes chips power-on time to design, tool Body refers to a kind of system and method for realizing fever writes chips power-on time Self Adaptive Control.
Background technology
During using MCU products, the fever writes that MCU chip Chevron Research Company (CRC) provides can be used to carry out batch programming to chip.MCU When chip carries out programming, after upper electricity, then corresponding programming sequential can be squeezed into first to electric in MCU chip inside fever writes, so as to Complete the burning work to MCU chip.If MCU chip has been welded on pcb board, PCB power end can be typically connected to Electric capacity, the resistance of the electric capacity and band in fever writes form RC circuits, have a charging process that cannot be omitted, can be by upper electricity Time delay, corresponding programming sequential is just squeezed into when supply voltage is not up to MCU demand voltage, programming can be failed. During programming, treating burning chip has the process of a power-off, and the now presence of electric capacity can also make power process extremely slow, Can not it is fully powered-off in the case of, the normal programming of chip can be influenceed.
During existing fever writes programming chip, there is not protection circuit in some fever writes, such power supply can be directly with treating programming The power supply of chip is connected, accordingly even when treating that there is electric capacity at programming end, charging is also more quick.Some fever writes extend fixed The upper electric time, that is to say, that after upper electricity, go to squeeze into programming sequential again after waiting long period of time.
In existing technology, the first scheme, if running into the situation for treating the short circuit of programming chip, it can cause to damage programming Device.
The shortcomings that second scheme, on the one hand, the chip having, the chip being particularly programmed, power-on time is not Can be long, it otherwise can enter normal operating conditions, so that it carries out programming to it.On the other hand, the time is so extended, can very Big influence efficiency.
The content of the invention
The purpose of the present invention is the shortcomings that overcoming above-mentioned prior art, there is provided one kind is realized electric in fever writes chips The system and method for time Self Adaptive Control, the automatic adjusument of the power-on time of fever writes chips can be realized, obtaining can A so that power-on time of the normal programming of chip.
In order to realize above-mentioned at least one purpose, the present invention has following form:
This realizes the system of fever writes chips power-on time Self Adaptive Control, and it is mainly characterized by, described system bag Chip attachment component, operating element, control element and electrifying control circuit are included, described electrifying control circuit is connected by chip Element with treating that programming chip is connected, described control element simultaneously with described chip attachment component, operating element and upper electricity Control circuit is connected, wherein described system has following mode of operation:
The operation of described operating element detection user, when described operating element detects that operation is opened in automatic adjusument When, automatic adjusument open signal is sent to described control element;
When described control element receives automatic adjusument open signal, described control element uses currently pre- If power-on time treats programming chip and carries out programming test, and when programming test crash after the current default power-on time of adjustment Programming test is re-started, stops programming test when being successfully tested to programming, and record the default power-on time after adjustment;
When each programming test starts, described control element control electrifying control circuit is treated programming chip and carried out Electricity, and after current default power-on time, treat programming chip and carry out programming content importing, programming is received after programming terminates As a result.
It is preferred that described chip attachment component is treats programming chip pocket or treats programming chip interface.
It is preferred that described system also has following mode of operation:
When described operating element detects that programming starts operation, programming commencing signal is sent to described control member Part;
When described control element receives programming commencing signal, control electrifying control circuit treats the progress of programming chip Upper electricity, and after current default power-on time, treat programming chip and carry out programming content importing.
More preferably, described operating element is button, when user's depresses button duration is less than the default regulation opening time, The operation is that programming starts to operate, and when user's depresses button duration is more than or equal to the default regulation opening time, the operation is Operation is opened in automatic adjusument.
More preferably, described system also includes display element, and described display element is connected with described control element, The programming state or automatic adjusument state that described display element is in the current chip of display control element.
It is preferred that described treats to be provided with fault control switch between the upper electric end of programming chip and earth terminal, waiting to burn Write in the programming test process of chip, the switch control of described fault control is treated between the upper electric end of programming chip and earth terminal Connection disconnects, programming test complete when, the switch control of described fault control treat the upper electric end of programming chip and earth terminal it Between connect.
More preferably, described fault control switch includes triode QM21, described triode QM21 colelctor electrode and hair Emitter-base bandgap grading, which is connected to, to be treated between the upper electric end of programming chip and earth terminal, described in the programming test process of programming chip is treated Voltage at triode QM21 base stage is low level, when completion is tested in programming, at described triode QM21 base stage Voltage is high level.
It is preferred that described electrifying control circuit includes triode Q12, resistance R55 and triode Q4, triode Q12's Emitter stage is connected with upper electric control end, and triode Q12 colelctor electrode is with treating that the upper electric end of programming chip is connected, resistance R55 Both ends are connected to triode Q12 collector and emitter, and triode Q12 base stage is connected to triode Q4 colelctor electrode, and three Pole pipe Q4 grounded emitter, triode Q4 base stage are treating the burning of programming chip with treating that the upper electric end of programming chip is connected Write in test process, it is high level that control element, which controls electric control end, and at the end of programming is tested, control element control is upper automatically controlled End processed is low level.
More preferably, resistance R49, triode Q3, resistance are additionally provided between described upper electric control end and triode Q12 R51 and triode Q11, described upper electric control end are connected to triode Q3 base stage, triode Q3 transmitting by resistance R49 Pole is grounded, and triode Q3 colelctor electrode is connected to triode Q11 base stage, triode Q11 colelctor electrode and three by resistance R51 Pole pipe Q12 emitter stage is connected.
The invention further relates to a kind of side that fever writes chips power-on time Self Adaptive Control is realized based on described system Method, it is characterised in that described method comprises the following steps:
(1) operation of the operating element detection user described in simultaneously judges the action type of user;
(2) operating element described in sends out automatic adjusument open signal when detecting that operation is opened in automatic adjusument Deliver to described control element;
(3) control element described in treats programming chip using current default power-on time and carries out programming test, and in Programming test is re-started after current default power-on time is adjusted during programming test crash, stops burning when being successfully tested to programming Test is write, and records the default power-on time after adjustment.
It is preferred that described step (1), comprises the following steps:
The operation of operating element detection user described in (1-1);
Operating element described in (1-2) judges the action type of user, if operation is opened in automatic adjusument, then continues Step (2), if programming starts to operate, then continue step (1-3);
Operating element described in (1-3) sends programming commencing signal to described control element;
Control element control electrifying control circuit described in (1-4) treats programming chip and carries out electricity, and in current pre- If after power-on time, treat programming chip and carry out programming content importing, then terminate to exit.
More preferably, described operating element is button, described step (1-2), is specially:
Described button judges whether user's depresses button duration is more than or equal to the default regulation opening time, if it is, Then continue step (2), otherwise continue step (1-3).
It is preferred that described step (3), comprises the following steps:
Control element described in (3-1) treats programming chip using current default power-on time and carries out programming test;
Control element described in (3-2) obtains programming result and judges that programming tests whether success, if it is, continuing to walk Suddenly (3-3), step (3-4) is otherwise continued;
The default power-on time of control element adjustment currently described in (3-3), then proceedes to step (3-1);
The default power-on time after control element record adjustment and end described in (3-4) exit.
More preferably, the default power-on time of described control element adjustment, it is specially:
Described control element increases default variable quantity on current default power-on time, as presetting after adjustment The electric time.
More preferably, it is described to treat to be provided with triode QM21 between the upper electric end of programming chip and earth terminal, described three Pole pipe QM21 collector and emitter, which is connected to, to be treated between the upper electric end of programming chip and earth terminal, described step (3-1), Comprise the following steps:
Control element control electrifying control circuit described in (3-1-1) treats programming chip and carries out electricity, and controls three poles Level at pipe QM21 base stage is low level;
Control element described in (3-1-2) treats programming chip and carries out programming content after current default power-on time Import;
Control element described in (3-1-3) stops treating electric on programming chip, reception programming knot after programming test terminates Fruit, and it is high level to control the voltage at triode QM21 base stage.
Further, described electrifying control circuit includes triode Q12, resistance R55 and triode Q4, triode Q12 emitter stage is connected with upper electric control end, and triode Q12 colelctor electrode is with treating that the upper electric end of programming chip is connected, electricity Resistance R55 both ends are connected to triode Q12 collector and emitter, and triode Q12 base stage is connected to triode Q4 current collection Pole, triode Q4 grounded emitter, triode Q4 base stage with treating that the upper electric end of programming chip is connected,
Described control element control electrifying control circuit treats programming chip and carries out electricity, is specially:
It is high level that described control element, which controls electric control end,;
Described control element stops treating electricity on programming chip after programming test terminates, and is specially:
It is low level that described control element, which controls electric control end,.
The system and method for realizing fever writes chips power-on time Self Adaptive Control in the invention is employed, is had such as Lower beneficial effect:
(1) employing button adaptively sets the scheme of power-on time to realize to the controllable of power-on time, in regulating time During, the power-on time that can make the normal programming of chip is obtained, the time can meet the burning of the chip of a batch Write demand, in power process, using discharge circuit, reach the process faster discharged, it is short that the program does not influence fever writes not only The function of road protection, compared with extending the set time, also substantially reduce the time;
(2) present invention can have various power-on time demands in the case where ensureing to protect fever writes for programming Chip;
(3) without carrying out the electric capacity on different time modifications, or dismounting PCB to different PCB again;
(4) for batch programming, shortening time that can be relatively good, programming efficiency is ensured.
Brief description of the drawings
Fig. 1 is the structural representation of the fever writes in one embodiment of the invention.
Fig. 2 is the structural representation of the electrifying control circuit of the present invention.
Fig. 3 is the flow chart of the method for one embodiment of the invention chips power-on time Self Adaptive Control.
Embodiment
In order to more clearly describe the technology contents of the present invention, carried out with reference to specific embodiment further Description.
For above-mentioned during MCU chip programming, need to burn on the pcb board for be welded with component in some cases Write, and the electric capacity of the component on PCB, particularly power end, understand electricity and power-off time in strong influence.Present invention employs A kind of system and method for realizing fever writes chips power-on time Self Adaptive Control, realized using software and hardware power is opened With pass, and power supply is turned on ground during power-off and discharged, and by squeezing into programming sequential during constantly regulate programming MCU chip The power-on time of preceding needs, power-on time and power-off time required for the programming chip are automatically derived, improve programming chip Efficiency.
This realize fever writes chips power-on time Self Adaptive Control system include chip attachment component, operating element, Control element and electrifying control circuit, described electrifying control circuit by chip attachment component with treating that programming chip is connected, Described control element is connected with described chip attachment component, operating element and electrifying control circuit simultaneously, wherein described System there is following mode of operation:
The operation of described operating element detection user, when described operating element detects that operation is opened in automatic adjusument When, automatic adjusument open signal is sent to described control element;When described control element receives automatic adjusument During open signal, described control element using current default power-on time treat programming chip carry out programming test, and in Programming test is re-started after current default power-on time is adjusted during programming test crash, stops burning when being successfully tested to programming Test is write, and records the default power-on time after adjustment;When each programming test starts, the control of described control element is upper automatically controlled Circuit processed treats programming chip and carries out electricity, and after current default power-on time, treats programming chip and carry out programming content Import, programming result is received after programming terminates.
A kind of preferably in embodiment, described chip attachment component for place treat programming chip treat programming chip Slot treats programming chip interface.Interface and slot, the purpose that both are set is consistent, is provided to and treats that programming chip is led to Letter, is intended merely to the different demands for meeting user, can use interface or slot according to the type selecting for treating programming chip. The core of control element is a piece of STM32 microprocessors, for realizing the control to whole system.
In a kind of preferably embodiment, described system also has following mode of operation:
When described operating element detects that programming starts operation, programming commencing signal is sent to described control member Part;
When described control element receives programming commencing signal, control electrifying control circuit treats the progress of programming chip Upper electricity, and after current default power-on time, treat programming chip and carry out programming content importing.
Default power-on time during programming test process and programming is same storage value, i.e. two different processes But same value can be all used, the value that can preset power-on time to this according to test case when programming is tested is adjusted It is whole, and the default power-on time after each adjustment is stored as new default power-on time, in the test of programming next time or During programming, current default power-on time as next time;And if user selects direct programming, then it can directly select this Default power-on time carries out programming (no matter this default power-on time is before adjusting or after adjustment).
This mode of operation is applied to when one after the default power-on time automatic adjusument of programming chip is good, acquisition Meet the default power-on time of the chip, and for treating programming chip with a batch of, the default power-on time can be applied straight Row programming is tapped into, and without re-starting power-on time Self Adaptive Control again.It is possible thereby to greatly improve operating efficiency.
In a kind of more preferably embodiment, described operating element is button, when user's depresses button duration is less than in advance If adjust the opening time, the operation is that programming starts to operate, and is opened when user's depresses button duration is more than or equal to default regulation When opening the time, the operation is that operation is opened in automatic adjusument.
In a kind of more preferably embodiment, described system also includes display element, described display element with it is described Control element be connected, described display element is to the current chip programming state of display control element or automatic adjusument State.As shown in figure 1, the display element can be LCD display or other are adapted to the display device that uses.
It is described to treat to be provided with short circuit between the upper electric end of programming chip and earth terminal a kind of preferably in embodiment Controlling switch, in the programming test process of programming chip is treated, the upper electricity of programming chip is treated in the switch control of described fault control Connection is disconnected between end and earth terminal, when completion is tested in programming, programming chip is treated in the switch control of described fault control Connected between upper electric end and earth terminal.
In a kind of more preferably embodiment, described fault control switch includes triode QM21, described triode QM21 collector and emitter, which is connected to, to be treated between the upper electric end of programming chip and earth terminal, is surveyed in the programming for treating programming chip During examination, the voltage at described triode QM21 base stage is low level, when completion is tested in programming, described triode Voltage at QM21 base stage is high level.
In a kind of preferably embodiment, described electrifying control circuit includes triode Q12, resistance R55 and three poles Pipe Q4, triode Q12 emitter stage are connected with upper electric control end VddCtrl, and triode Q12 colelctor electrode is with treating programming chip Upper electric end VDD be connected, resistance R55 both ends are connected to triode Q12 collector and emitter, triode Q12 base stage It is connected to triode Q4 colelctor electrode, triode Q4 grounded emitter, triode Q4 base stage and the upper electricity for treating programming chip End is connected, and in the programming test process of programming chip is treated, it is high level that control element, which controls electric control end, and programming is tested At the end of, it is low level that control element, which controls electric control end,.
In a kind of more preferably embodiment, resistance is additionally provided between described upper electric control end and triode Q12 R49, triode Q3, resistance R51 and triode Q11, described upper electric control end are connected to triode Q3 base by resistance R49 Pole, triode Q3 grounded emitter, triode Q3 colelctor electrode are connected to triode Q11 base stage, three poles by resistance R51 Pipe Q11 colelctor electrode is connected with triode Q12 emitter stage.
With the structure in Fig. 2, to further illustrate, fever writes carry out upper electricity and programming to chip in one embodiment below Principle:
VDD is to be added in the voltage treated on programming chip in Fig. 2, is defined as electric terminal voltage in the present invention, VddCtrl, PDA is the I/O port of control element.VddCtrl is the open and close for controlling vdd voltage, is defined as in the present invention automatically controlled Terminal voltage processed.PDA pins are whether control VDD is connected with GND.Before treating that programming chip starts programming, programming chip is treated It is not added with power supply, that is to say, that vdd voltage 0.
When programming flow starts, PDA is low level, and it is high level that VddCtrl, which is opened, and due to R55 presence, VDD can not The magnitude of voltage at VDD_I points in Fig. 2 is directly reached, only reaches certain voltage value, when triode Q12 is turned on, VDD can just reach The process of one fast powering-up, the flow are to prevent when VDD and the GND short circuit of programming chip, to fever writes hardware strap To damage.So the protection circuit in dotted line frame is particularly significant.
In software, after it be high level to set pin VddCtrl, delay certain time interval T 1, i.e., when current default electric Between, then start to squeeze into the burning sequential for treating programming chip.Now, there is electric capacity if treating the power end of programming chip, i.e. vdd terminal has Electric capacity, VDD can be caused to be lengthened in the time for rising to the voltage that can turn on triode Q12, if VDD is electric within the T1 times Pressure does not rise to predetermined voltage, and fever writes start to squeeze into sequential after current default power-on time remains set to T1, then just Can not normal programming, now need current default power-on time T1 increase to adjustment after default power-on time T2, Can normal programming.
It is during chip programming, it is necessary to upper electric again after being powered off to chip.Power process due to electric capacity presence, it is necessary to The process of one electric discharge.If now VDD is not reduced to 0 completely, just to electricity on chip, some chips can be caused not to be normally carried out Programming.Herein, it is necessary to which pin PDA is set into high level after VDD is powered off, one is carried out quickly by VDD and GND short circuits Discharge process.Herein, the default power-on time T2 that discharge time is also adjusted with automatic time after obtained adjustment is relevant.By reality Test, herein increase by 3 × T2 times discharge time, can discharge completely, vdd voltage is down to 0.
The invention further relates to a kind of side that fever writes chips power-on time Self Adaptive Control is realized based on described system Method, it is characterised in that described method comprises the following steps:
(1) operation of the operating element detection user described in simultaneously judges the action type of user;
(2) operating element described in sends out automatic adjusument open signal when detecting that operation is opened in automatic adjusument Deliver to described control element;
(3) control element described in treats programming chip using current default power-on time and carries out programming test, and in Programming test is re-started after current default power-on time is adjusted during programming test crash, stops burning when being successfully tested to programming Test is write, and records the default power-on time after adjustment.
In a kind of preferably embodiment, described step (1), comprise the following steps:
The operation of operating element detection user described in (1-1);
Operating element described in (1-2) judges the action type of user, if operation is opened in automatic adjusument, then continues Step (2), if programming starts to operate, then continue step (1-3);
Operating element described in (1-3) sends programming commencing signal to described control element;
Control element control electrifying control circuit described in (1-4) treats programming chip and carries out electricity, and in current pre- If after power-on time, treat programming chip and carry out programming content importing, then terminate to exit.
In a kind of more preferably embodiment, described operating element is button, described step (1-2), is specially:
Described button judges whether user's depresses button duration is more than or equal to the default regulation opening time, if it is, Then continue step (2), otherwise continue step (1-3).
In a kind of preferably embodiment, described step (3), comprise the following steps:
Control element described in (3-1) treats programming chip using current default power-on time and carries out programming test;
Control element described in (3-2) obtains programming result and judges that programming tests whether success, if it is, continuing to walk Suddenly (3-3), step (3-4) is otherwise continued;
The default power-on time of control element adjustment currently described in (3-3), then proceedes to step (3-1);
The default power-on time after control element record adjustment and end described in (3-4) exit.
In a kind of more preferably embodiment, the default power-on time of described control element adjustment, it is specially:
Described control element increases default variable quantity on current default power-on time, as presetting after adjustment The electric time.
It is described to treat to be provided with three poles between the upper electric end of programming chip and earth terminal in a kind of more preferably embodiment Pipe QM21, described triode QM21 collector and emitter, which is connected to, to be treated between the upper electric end of programming chip and earth terminal, Described step (3-1), comprises the following steps:
Control element control electrifying control circuit described in (3-1-1) treats programming chip and carries out electricity, and controls three poles Level at pipe QM21 base stage is low level;
Control element described in (3-1-2) treats programming chip and carries out programming content after current default power-on time Import;
Control element described in (3-1-3) stops treating electric on programming chip, reception programming knot after programming test terminates Fruit, and it is high level to control the voltage at triode QM21 base stage.
In a kind of further embodiment, described electrifying control circuit include triode Q12, resistance R55 and Triode Q4, triode Q12 emitter stage are connected with upper electric control end, and triode Q12 colelctor electrode is with treating programming chip Upper electric end is connected, and resistance R55 both ends are connected to triode Q12 collector and emitter, and triode Q12 base stage is connected to Triode Q4 colelctor electrode, triode Q4 grounded emitter, triode Q4 base stage is with treating that the upper electric end of programming chip is connected Connect, described control element control electrifying control circuit treats programming chip and carries out electricity, is specially:Described control element control Electric control end is high level in system;Described control element stops treating electricity on programming chip after programming test terminates, specifically For:It is low level that described control element, which controls electric control end,.
One of the method for the power-on time Self Adaptive Control in the present invention is further illustrated with the flow in Fig. 3 below Embodiment:
During using fever writes programming chip, programming operation can be carried out by button.Herein, long-button function is changed, , can be with entry time automatic adjusument pattern after long keying 3 seconds, this 3 seconds are the default regulation opening time recited above, should Time value can be modified and set, and " Time Testing ... ", regulation are completed for display on the LCD display of fever writes Afterwards, display " TimeTest OK ", can not such as be adjusted, for example non-correct placement chip situation, LCD display show on LCD display Show " TimeTest Err ".Default power-on time T2 after being adjusted.
Herein, so that the control flow in the electrifying control circuit and Fig. 3 in using Fig. 2 is come programming MCU chip as an example, write from memory In the case of recognizing, on VDD after electricity, time delay 200us, you can normal programming.If necessary in the case where there is external capacitor Programming is carried out, it is necessary to increase time delay, the time is relevant with external capacitive size.Now in the case of default time 200us, Normal programming can not be carried out, if now needing the programming chip, in the case where program can not be changed, external capacitive can only be torn open Or modification fever writes hardware.Now push button 3 seconds, fever writes, which enter, automatically adjusts time state, internal after adjusting successfully Default power-on time T2 after being adjusted, subsequently again programming when, the upper electric extension time increases to T2, during programming The power-off delay time also increases to 3 × T2 so that during vdd voltage can rise to VDD_I, and earth terminal and drop to 0, i.e., Level it is identical.The current default power-on time of the T1 as present invention in Fig. 3, T2=T1+2ms;T2 is the present invention's Default power-on time after adjustment, then the default power-on time value after adjustment is carried out more to current default power-on time Newly.
In addition, the technical scheme described in the present embodiment is before programming chip, by way of long keying, automatic To the upper electricity required for the programming batch chip and power-off delay time, the power on delay time is current default upper electricity herein Time, power-off delay time are discharge time mentioned above, to meet the normal programming of the batch chip.It is same from now on During the normal programming of batch chip, it is only necessary to short-press button, open normal programming flow.
In consideration of it, upper computer software can be utilized, allow and be manually entered time parameter values, to obtain the upper electricity of relatively good one And power-off delay, for ensureing the normal programming of a batch chip.But the program is disadvantageous in that, it is necessary to first connect Computer, and need to continuously attempt to be manually entered time value, can just get one can be with the parameter value of programming chip.Cause This, is a kind of preferred embodiment by the way of by key control, but the present invention is not limited only to such a regulative mode.
The system and method for realizing fever writes chips power-on time Self Adaptive Control in the invention is employed, is had such as Lower beneficial effect:
(1) employing button adaptively sets the scheme of power-on time to realize to the controllable of power-on time, in regulating time During, the power-on time that can make the normal programming of chip is obtained, the time can meet the burning of the chip of a batch Write demand, in power process, using discharge circuit, reach the process faster discharged, it is short that the program does not influence fever writes not only The function of road protection, compared with extending the set time, also substantially reduce the time;
(2) present invention can have various power-on time demands in the case where ensureing to protect fever writes for programming Chip;
(3) without carrying out the electric capacity on different time modifications, or dismounting PCB to different PCB again;
(4) for batch programming, shortening time that can be relatively good, programming efficiency is ensured.
In this description, the present invention is described with reference to its specific embodiment.But it is clear that it can still make Various modifications and alterations are without departing from the spirit and scope of the present invention.Therefore, specification and drawings are considered as illustrative It is and nonrestrictive.

Claims (16)

1. a kind of system for realizing fever writes chips power-on time Self Adaptive Control, it is characterised in that described system includes Chip attachment component, operating element, control element and electrifying control circuit, described electrifying control circuit connect member by chip Part with treating that programming chip is connected, described control element simultaneously with described chip attachment component, operating element and upper automatically controlled Circuit processed is connected, wherein described system has following mode of operation:
The operation of described operating element detection user, when described operating element detects that operation is opened in automatic adjusument, Automatic adjusument open signal is sent to described control element;
When described control element receives automatic adjusument open signal, described control element is preset using current The electric time treats programming chip and carries out programming test, and adjusts when programming test crash after current default power-on time again Programming test is carried out, stops programming test when being successfully tested to programming, and record the default power-on time after adjustment;
When each programming test starts, described control element control electrifying control circuit treats programming chip and carries out electricity, and After current default power-on time, treat programming chip and carry out programming content importing, programming result is received after programming terminates.
2. the system according to claim 1 for realizing fever writes chips power-on time Self Adaptive Control, it is characterised in that Described chip attachment component is treats programming chip pocket or treats programming chip interface.
3. the system according to claim 1 for realizing fever writes chips power-on time Self Adaptive Control, it is characterised in that Described system also has following mode of operation:
When described operating element detects that programming starts operation, programming commencing signal is sent to described control element;
When described control element receives programming commencing signal, control electrifying control circuit is treated programming chip and carried out Electricity, and after current default power-on time, treat programming chip and carry out programming content importing.
4. the system according to claim 3 for realizing fever writes chips power-on time Self Adaptive Control, it is characterised in that Described operating element is button, and when user's depresses button duration is less than the default regulation opening time, the operation is opened for programming Begin to operate, when user's depresses button duration is more than or equal to the default regulation opening time, the operation is opened for automatic adjusument Operation.
5. the system according to claim 3 for realizing fever writes chips power-on time Self Adaptive Control, it is characterised in that Described system also includes display element, and described display element is connected with described control element, described display element The programming state or automatic adjusument state being in the current chip of display control element.
6. the system according to claim 1 for realizing fever writes chips power-on time Self Adaptive Control, it is characterised in that Described treats to be provided with fault control switch between the upper electric end of programming chip and earth terminal, is tested in the programming for treating programming chip During, the switch control of described fault control treats that the connection between the upper electric end of programming chip and earth terminal disconnects, in programming When test is completed, the switch control of described fault control is treated to connect between the upper electric end of programming chip and earth terminal.
7. the system according to claim 6 for realizing fever writes chips power-on time Self Adaptive Control, it is characterised in that Described fault control switch includes triode QM21, and described triode QM21 collector and emitter, which is connected to, treats programming Between the upper electric end of chip and earth terminal, in the programming test process of programming chip is treated, described triode QM21 base stage The voltage at place is low level, and when completion is tested in programming, the voltage at described triode QM21 base stage is high level.
8. the system according to claim 1 for realizing fever writes chips power-on time Self Adaptive Control, it is characterised in that Described electrifying control circuit includes triode Q12, resistance R55 and triode Q4, triode Q12 emitter stage and upper electric control End is connected, and for triode Q12 colelctor electrode with treating that the upper electric end of programming chip is connected, resistance R55 both ends are connected to triode Q12 collector and emitter, triode Q12 base stage are connected to triode Q4 colelctor electrode, and triode Q4 emitter stage connects Ground, triode Q4 base stage is with treating that the upper electric end of programming chip is connected, in the programming test process of programming chip is treated, control It is high level that element, which controls electric control end, and at the end of programming is tested, it is low level that control element, which controls electric control end,.
9. the system according to claim 8 for realizing fever writes chips power-on time Self Adaptive Control, it is characterised in that Resistance R49, triode Q3, resistance R51 and triode Q11, institute are additionally provided between described upper electric control end and triode Q12 The upper electric control end stated is connected to triode Q3 base stage by resistance R49, triode Q3 grounded emitter, triode Q3's Colelctor electrode is connected to triode Q11 base stage, triode Q11 colelctor electrode and triode Q12 emitter stage phase by resistance R51 Connection.
10. a kind of system based on any one of claim 1 to 9 realizes that fever writes chips power-on time is self-adaptive controlled The method of system, it is characterised in that described method comprises the following steps:
(1) operation of the operating element detection user described in simultaneously judges the action type of user;
(2) operating element described in when detecting that operation is opened in automatic adjusument, by automatic adjusument open signal send to Described control element;
(3) control element described in treats programming chip using current default power-on time and carries out programming test, and in programming Programming test is re-started after current default power-on time is adjusted during test crash, stops programming when being successfully tested to programming and surveys Examination, and record the default power-on time after adjustment.
11. the method according to claim 10 for realizing fever writes chips power-on time Self Adaptive Control, its feature exist In described step (1), comprising the following steps:
The operation of operating element detection user described in (1-1);
Operating element described in (1-2) judges the action type of user, if operation is opened in automatic adjusument, then continues step (2), if programming starts to operate, then step (1-3) is continued;
Operating element described in (1-3) sends programming commencing signal to described control element;
Control element control electrifying control circuit described in (1-4) treats programming chip and carries out electricity, and is preset in current After the electric time, treat programming chip and carry out programming content importing, then terminate to exit.
12. the method according to claim 11 for realizing fever writes chips power-on time Self Adaptive Control, its feature exist In described operating element is button, described step (1-2), is specially:
Described button judges whether user's depresses button duration is more than or equal to the default regulation opening time, if it is, after Continuous step (2), otherwise continues step (1-3).
13. the method according to claim 10 for realizing fever writes chips power-on time Self Adaptive Control, its feature exist In described step (3), comprising the following steps:
Control element described in (3-1) treats programming chip using current default power-on time and carries out programming test;
Control element described in (3-2) obtains programming result and judges that programming tests whether success, if it is, continuing step (3-3), otherwise continue step (3-4);
The default power-on time of control element adjustment currently described in (3-3), then proceedes to step (3-1);
The default power-on time after control element record adjustment and end described in (3-4) exit.
14. the method according to claim 13 for realizing fever writes chips power-on time Self Adaptive Control, its feature exist In, the default power-on time of described control element adjustment, specially:
Described control element increases default variable quantity on current default power-on time, during as default electric after adjustment Between.
15. the method according to claim 13 for realizing fever writes chips power-on time Self Adaptive Control, its feature exist In described treats to be provided with triode QM21, described triode QM21 collection between the upper electric end of programming chip and earth terminal Electrode and emitter stage, which are connected to, to be treated between the upper electric end of programming chip and earth terminal, described step (3-1), including following step Suddenly:
Control element control electrifying control circuit described in (3-1-1) treats programming chip and carries out electricity, and controls triode Level at QM21 base stage is low level;
Control element described in (3-1-2) treats programming chip and carries out programming content importing after current default power-on time;
Control element described in (3-1-3) stops treating electric on programming chip, reception programming result after programming test terminates, and It is high level to control the voltage at triode QM21 base stage.
16. the method according to claim 15 for realizing fever writes chips power-on time Self Adaptive Control, its feature exist In described electrifying control circuit includes triode Q12, resistance R55 and triode Q4, triode Q12 emitter stage and upper electricity Control terminal is connected, and for triode Q12 colelctor electrode with treating that the upper electric end of programming chip is connected, resistance R55 both ends are connected to three Pole pipe Q12 collector and emitter, triode Q12 base stage are connected to triode Q4 colelctor electrode, triode Q4 transmitting Pole be grounded, triode Q4 base stage with treating that the upper electric end of programming chip is connected,
Described control element control electrifying control circuit treats programming chip and carries out electricity, is specially:
It is high level that described control element, which controls electric control end,;
Described control element stops treating electricity on programming chip after programming test terminates, and is specially:
It is low level that described control element, which controls electric control end,.
CN201610451998.6A 2016-06-21 2016-06-21 System and method for realizing chip power-on time self-adaptive control in writer Active CN107526606B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201610451998.6A CN107526606B (en) 2016-06-21 2016-06-21 System and method for realizing chip power-on time self-adaptive control in writer

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201610451998.6A CN107526606B (en) 2016-06-21 2016-06-21 System and method for realizing chip power-on time self-adaptive control in writer

Publications (2)

Publication Number Publication Date
CN107526606A true CN107526606A (en) 2017-12-29
CN107526606B CN107526606B (en) 2020-10-02

Family

ID=60735109

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610451998.6A Active CN107526606B (en) 2016-06-21 2016-06-21 System and method for realizing chip power-on time self-adaptive control in writer

Country Status (1)

Country Link
CN (1) CN107526606B (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108897553A (en) * 2018-06-22 2018-11-27 北京小米移动软件有限公司 Chip programming tooling, system, chip programming method and device
CN110543313A (en) * 2019-08-20 2019-12-06 珠海市杰理科技股份有限公司 chip programming device and chip programming test method
CN114895612A (en) * 2022-07-11 2022-08-12 深圳市杰美康机电有限公司 Simulation system and simulation control method for DSP chip
CN108563456B (en) * 2018-06-23 2023-04-18 蚌埠市舒杨电子科技有限公司 Intelligent programming device and programming control method thereof

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101800530A (en) * 2009-12-29 2010-08-11 福建星网锐捷网络有限公司 Power supply electrifying control method,device and equipment
CN204680001U (en) * 2015-06-01 2015-09-30 南京市溧水县电子研究所有限公司 A kind of STM32 chip program programming circuit

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101800530A (en) * 2009-12-29 2010-08-11 福建星网锐捷网络有限公司 Power supply electrifying control method,device and equipment
CN204680001U (en) * 2015-06-01 2015-09-30 南京市溧水县电子研究所有限公司 A kind of STM32 chip program programming circuit

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108897553A (en) * 2018-06-22 2018-11-27 北京小米移动软件有限公司 Chip programming tooling, system, chip programming method and device
CN108563456B (en) * 2018-06-23 2023-04-18 蚌埠市舒杨电子科技有限公司 Intelligent programming device and programming control method thereof
CN110543313A (en) * 2019-08-20 2019-12-06 珠海市杰理科技股份有限公司 chip programming device and chip programming test method
CN110543313B (en) * 2019-08-20 2023-04-07 珠海市杰理科技股份有限公司 Chip programming device and chip programming test method
CN114895612A (en) * 2022-07-11 2022-08-12 深圳市杰美康机电有限公司 Simulation system and simulation control method for DSP chip
CN114895612B (en) * 2022-07-11 2022-09-27 深圳市杰美康机电有限公司 Simulation system for DSP chip

Also Published As

Publication number Publication date
CN107526606B (en) 2020-10-02

Similar Documents

Publication Publication Date Title
CN107526606A (en) Realize the system and method for fever writes chips power-on time Self Adaptive Control
CN103200014B (en) Maintain power features (MPS) current-collecting device (PD)
CN107332208B (en) A kind of protection circuit, mainboard guard method and terminal
CN105811506B (en) Method for charging electronic device and electronic device
CN103607822B (en) A kind of method of overheat protector of photoflash lamp of terminal and device
CN101656416B (en) Clamp circuit for clamping inrush voltage induced by hot plugging and related chip
CN105814767A (en) Electronic device quick charging method, apparatus and device
US20150236540A1 (en) Automatic mobile device detector
US20210359532A1 (en) Charging circuit and electronic device
US11742684B2 (en) Charging control circuit, charging circuit and charging control method
CN105762883B (en) Method and electronic equipment for charging for electronic equipment
CN106787739A (en) Produce the power-supplying circuit and power circuit of sequential
CN104485712B (en) Charging method and electronic equipment
CN108720084A (en) The control system and control method of electronic smoking set
CN207336682U (en) Load the detection circuit and grafting port and electric appliance of insertion
CN105706348B (en) Power supply circuit, system and the method for supplying power to of cable node unit
CN204738991U (en) Fan control and protection circuit
CN106786406A (en) Monolithically integrated switching device with secure operating area protection
CN102931826B (en) A kind of method of time delay power supply circuits, power supply time delay and booster system
CN109510251A (en) Charging unit and its charging method
CN113347011B (en) Communication device, system and communication method
CN114421577A (en) Charging detection circuit, charging control circuit, charging circuit and charging seat
CN105762884B (en) Method for charging electronic device and electronic device
CN105743180A (en) Method for charging electronic equipment, and electronic equipment
CN108988469A (en) A kind of battery circuit, cell apparatus, electronic cigarette and method for controlling power supply

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
GR01 Patent grant
GR01 Patent grant
CP03 Change of name, title or address

Address after: 214135 -6, Linghu Avenue, Wuxi Taihu international science and Technology Park, Wuxi, Jiangsu, China, 180

Patentee after: China Resources micro integrated circuit (Wuxi) Co.,Ltd.

Address before: No.180-22, Linghu Avenue, Taihu International Science and Technology Park, Wuxi, Jiangsu 214135

Patentee before: WUXI CHINA RESOURCES SEMICO Co.,Ltd.

CP03 Change of name, title or address
PE01 Entry into force of the registration of the contract for pledge of patent right

Denomination of invention: System and Method for Realizing Adaptive Control of Chip Power on Time in Burner

Effective date of registration: 20231008

Granted publication date: 20201002

Pledgee: Bank of China Limited Wuxi Branch

Pledgor: China Resources micro integrated circuit (Wuxi) Co.,Ltd.

Registration number: Y2023980060027

PE01 Entry into force of the registration of the contract for pledge of patent right