CN108128035B - A kind of control method and consumable chip upgrading consumable chip - Google Patents
A kind of control method and consumable chip upgrading consumable chip Download PDFInfo
- Publication number
- CN108128035B CN108128035B CN201711482503.7A CN201711482503A CN108128035B CN 108128035 B CN108128035 B CN 108128035B CN 201711482503 A CN201711482503 A CN 201711482503A CN 108128035 B CN108128035 B CN 108128035B
- Authority
- CN
- China
- Prior art keywords
- signal
- application program
- program
- consumable chip
- received
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Active
Links
Classifications
-
- B—PERFORMING OPERATIONS; TRANSPORTING
- B41—PRINTING; LINING MACHINES; TYPEWRITERS; STAMPS
- B41J—TYPEWRITERS; SELECTIVE PRINTING MECHANISMS, i.e. MECHANISMS PRINTING OTHERWISE THAN FROM A FORME; CORRECTION OF TYPOGRAPHICAL ERRORS
- B41J2/00—Typewriters or selective printing mechanisms characterised by the printing or marking process for which they are designed
- B41J2/005—Typewriters or selective printing mechanisms characterised by the printing or marking process for which they are designed characterised by bringing liquid or particles selectively into contact with a printing material
- B41J2/01—Ink jet
- B41J2/17—Ink jet characterised by ink handling
- B41J2/175—Ink supply systems ; Circuit parts therefor
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F8/00—Arrangements for software engineering
- G06F8/60—Software deployment
- G06F8/65—Updates
Abstract
The present invention provides a kind of control method and consumable chip for upgrading consumable chip, bus of the downloading debugging port and universal input and output port of the consumable chip by communications interface unit connection is connect with printer, the described method includes: judging whether received first signal meets default feature after consumable chip works on power;When received first signal does not meet default feature, then the first application program and and printer communication are enabled;When received first signal meets default feature, then program upgrade signal is received, enables program;Then second signal is received, and the rewriting of the first application program is upgraded to by the second application program according to the second signal.The present invention is not necessarily to by recycling the consumable chip, then can directly be realized by printer and carry out program upgrading to the consumable chip, reduce the production cost of the consumable chip.
Description
Technical field
The present invention relates to printing imaging consumptive material technical field more particularly to a kind of control methods and consumption for upgrading consumable chip
Material chip.
Background technique
For the consumable chip of printer (laser printer, ink-jet printer or all-in-one multifunctional machine), it is stored with
The information of printing consumables box (print cartridge, toner cartridge, powder box etc.) is closed, major function is for identification and record use state.
When consumable chip is designed using micro-control unit (MCU:micro controller unit, be commonly called as single-chip microcontroller),
MCU will complete the communication between printer, while have memory or store function to ink amount (or powder amount).Therefore, MCU includes
Program and data two parts content.Wherein, it is stored with the program code that can be executed by MCU in program area, completes logical with printer
Letter be MCU execute program area program code as a result, and the information in relation to printing consumables box, such as carbon dust usage amount, produce
Date, manufacturer, model, sequence number or ink amount information etc. are stored in data field.Most MCU with printer communication mistake
Cheng Zhong, the i.e. CPU of MCU are when program area executes program code, in order to avoid program code is accidentally erased, the program of program area
Code can not be wiped and is written, and be read only attribute for printer.The data of data field can update, and be readable
Writeable attribute.
Meanwhile MCU is broadly divided into universal input and output port (GPIO:General Purpose on functional interface
Input Output), downloading debugging port (port Debug), middle fracture, (part MCU has been internally integrated the function of AD/DA to AD/DA
Can module) etc. functions port.Wherein, GPIO is universal input and output port, is mainly used for MCU and exports height from I/O port at runtime
Level and low level.The port Debug is used to the code file of Programming passing through the Debug mouthfuls of burnings (meaning that burning is written
Think) into the memory of MCU, using Debug mouthful progress data burning, that is, be commonly called as by rear door model burning number
According to.
But use when being typically only used for producing using the port Debug of the MCU consumable chip of MCU design, and using burning
Recording apparatus (not printer) carries out burning program to MCU memory by the port Debug, after the completion of burning, until the chip longevity
Life terminates, and wherein the file of the program area of memory will not be changed.If printer producer will be to disclosing in market
The program area of the consumable chip of sale is modified, just must to market circulation MCU consumable chip carry out recycling or
It recalls, carries out program code burning using recording device after recycling.Therefore, if printer wants upgrading and consumable chip
The communication protocol and instruction of communication then have to the program code for recycling and upgrading the program area of the memory of MCU consumable chip,
This causes the problem of printer and MCU consumable chip scaling difficulty.
Summary of the invention
The control method and consumable chip of upgrading consumable chip provided by the invention, the present invention are not necessarily to by recycling the consumption
Material chip then can be realized directly by printer and carry out program upgrading to the consumable chip, reduce the consumable chip
Production cost.
In a first aspect, the present invention provides a kind of control method for upgrading consumable chip, the downloading debugging of the consumable chip
Port and universal input and output port are connect through bus with printer, which comprises
After consumable chip works on power, judge whether received first signal meets default feature;
When received first signal does not meet default feature, then the first application program and and printer communication are enabled;
When received first signal meets default feature, then program upgrade signal is received, enables program;Then it connects
Second signal is received, and the rewriting of the first application program is upgraded to by the second application program according to the second signal.
Optionally, described to judge whether received first signal meets default feature and include:
One time window is set, judges whether to receive first signal in the time window;Wherein, described
One signal is the data-signal sent by printer or clock signal;
Alternatively, first signal that receives of judgement whether be predeterminated voltage signal or default clock frequency signal or
Pre-set code.
Optionally, when a time window is arranged, when judging whether to receive first signal in the time window,
The described method includes:
When not receiving first signal in the time window, then enables the first application program and lead to printer
Letter;
When receiving first signal in the time window;Program upgrade signal is then received, program is enabled;
Then second signal is received, and the rewriting of the first application program is upgraded to by the second application program according to the second signal.
Optionally, when whether first signal that judgement receives is predeterminated voltage signal or default clock frequency letter
Number or when pre-set code, which comprises
When first signal received is not predeterminated voltage signal or default clock frequency signal or pre-set code
When, then enable the first application program and and printer communication;
When first signal received is predeterminated voltage signal or default clock frequency signal or pre-set code;
Program upgrade signal is then received, program is enabled;Then second signal is received, and is applied according to the second signal by first
Program rewriting upgrades to the second application program.
Optionally, the program is to debug agreement according to printer downloading corresponding with the consumable chip to hold
Capable program;Wherein,
The downloading debugging agreement is the cured burning of the consumable chip and debugging routine agreement.
Optionally, enable the first application program and with printer communication after, the method also includes:
Judge whether to receive special instruction;
When not receiving special instruction, then continue to determine whether to receive special instruction;
When receiving special instruction, then start upgrade procedure, then receives second signal, and according to the second signal
The rewriting of first application program is upgraded into the second application program.
Optionally, the reception second signal, and the rewriting of the first application program is upgraded to the according to the second signal
Two application programs include:
Receive the data-signal sent by printer;
Execute door model after downloading is debugged;
The storage region of the first application program and data is stored with according to data-signal erasing, and in the memory block
The second application program and data in domain after write-in upgrading.
Second aspect, the present invention provide a kind of consumable chip, the downloading debugging port of the consumable chip and universal input
Output port is connect through bus with printer, wherein the consumable chip includes:
Communications interface unit, for receiving the first signal, second signal and program upgrade signal;
Control unit, for judging whether received first signal meets default feature;When received first signal is not inconsistent
When closing default feature, then the first application program and and printer communication are enabled;When received first signal meets default feature,
Program upgrade signal is then received, program is enabled;Then second signal is received, and is applied according to the second signal by first
Program rewriting upgrades to the second application program;
Storage unit, for storing the first application program, the second application program and program.
Optionally, the storage unit includes:
First storage region, for storing program and downloading debugging agreement;
Second storage region, for storing the first application program and data;
Third storage region, for storing and the data of printer communication.
Optionally, the storage unit includes:
Second storage region, for storing the first application program and data;
Third storage region, for storing and the data of printer communication;
4th storage region, for storing upgrade procedure.
The control method and consumable chip of upgrading consumable chip provided in an embodiment of the present invention, the control method are mainly
Upgrade the data of program storage area and data storage areas in consumable chip, institute in the way of firmware by the printer
Consumable chip is stated to pass through with the bus of the printer communication realization printer to first application program of consumable chip
With the access and update of data content, equally, the consumable chip can also be on the basis of existing bus, described in receiving
The program upgrade signal of printer enables program or upgrade procedure updates first application program of consumable chip and data
Realize the fully scalable of communication protocol and data and encrypted authentication, that is, the method controls the printer voluntarily described in burning
The first application program and data that consumable chip storage unit is stored.
Wherein, the bus that the consumable chip is connected by communications interface unit is connected with the printer, in consumptive material
Chip interior, the communications interface unit respectively with the universal input and output port and and the downloading debug port phase
Connection, that is, downloading debugging port and universal input and output port common user communication interface unit so that the consumable chip and
It can be realized by communications interface unit between the printer and be communicated in bus, also using bus through under communications interface unit
Carry and update all data of the consumable chip storage unit.Meanwhile downloading debugging port and universal input and output port are total
Referred to communications interface unit through communications interface unit, consumable chip can not only export input low and high level and realize that data are handed over
It changes, and by the communications interface unit, may be implemented to update the first application program and data in consumable chip storage unit
File.
Therefore, on the one hand control method described in the present embodiment is not necessarily to then pass through by recycling the consumable chip
Printer, which is realized, carries out program upgrading to the consumable chip, reduces the production cost of the consumable chip.On the other hand, institute
Stating consumable chip, program upgrade signal control enabling is pre-stored in the consumable chip and for institute based on the received
The control method that the program or upgrade procedure that the first application program and data for stating consumable chip are rewritten are upgraded,
The control method is simple, and the production for being suitable for the consumable chip is promoted.
Detailed description of the invention
Fig. 1 is the flow chart for the control method that the embodiment of the present invention one upgrades consumable chip;
Fig. 2 is the flow chart of the control method of another upgrading consumable chip in the embodiment of the present invention one;
Fig. 3 is the structural schematic diagram for the control method that the embodiment of the present invention two upgrades consumable chip;
Fig. 4 is the structural schematic diagram of three consumable chips and printer of the embodiment of the present invention;
Fig. 5 is the structural schematic diagram of three consumable chip of the embodiment of the present invention;
Fig. 6 is the structural schematic diagram of four consumable chip of the embodiment of the present invention.
Specific embodiment
In order to make the object, technical scheme and advantages of the embodiment of the invention clearer, below in conjunction with the embodiment of the present invention
In attached drawing, technical scheme in the embodiment of the invention is clearly and completely described, it is clear that described embodiment is only
It is only a part of the embodiment of the present invention, instead of all the embodiments.Based on the embodiments of the present invention, ordinary skill
Personnel's every other embodiment obtained without making creative work, shall fall within the protection scope of the present invention.
Embodiment one
The embodiment of the present invention provides a kind of control method for upgrading consumable chip, as shown in Figure 1, under the consumable chip
It carries the bus of debugging port and universal input and output port by communications interface unit connection to connect with printer, the method packet
It includes:
S11, after consumable chip works on power, judge whether received first signal meets default feature;
S12, when received first signal does not meet default feature, then enable the first application program and logical with printer
Letter;
S13, when received first signal meets default feature, then receive program upgrade signal, enable program;So
After receive second signal, and the rewriting of the first application program is upgraded to by the second application program according to the second signal.
The control method of upgrading consumable chip provided in an embodiment of the present invention mainly passes through firmware using the printer
Mode upgrade the program storage area of the storage unit in consumable chip and the data of data storage areas, the consumable chip
Realize the printer to first application program of consumable chip and data by connecting with the bus of the printer communication
The access and update of content, equally, the consumable chip can also be on the basis of existing buses, by receiving the printer
Program upgrade signal to enable program or upgrade procedure to update first application program of consumable chip be second to apply journey
Sequence, to realize the fully scalable of communication protocol, data and encrypted authentication etc., that is, the method controls the printer voluntarily
The application program and data that the storage unit of consumable chip described in burning is stored.
Wherein, the bus that the consumable chip is connected by communications interface unit is connected with the printer, in consumptive material
Chip interior, the communications interface unit respectively with the universal input and output port and and the downloading debug port phase
Connection, that is, downloading debugging port and universal input and output port common user communication interface unit so that the consumable chip and
It can be realized by communications interface unit between the printer and be communicated in bus, also using bus through under communications interface unit
Carry and update the consumable chip storage unit all data.Meanwhile downloading debugging port and universal input and output port
Common user communication interface unit refers to that through communications interface unit, consumable chip can not only export input low and high level and realize data
Exchange, and by the communications interface unit, it may be implemented to update the application program and data in consumable chip storage unit
File.
Therefore, on the one hand control method described in the present embodiment is not necessarily to then pass through by recycling the consumable chip
Printer, which is realized, carries out program upgrading to the consumable chip, reduces the production cost of the consumable chip.On the other hand, institute
Stating consumable chip, program upgrade signal control enabling is pre-stored in the consumable chip and for institute based on the received
The program or upgrade procedure that the application program and data for stating consumable chip are rewritten, come the control method upgraded,
The control method is simple, and the production for being suitable for the consumable chip is promoted.
Optionally, as shown in Fig. 2, described judge whether received first signal meets default feature and include:
One time window is set, judges whether to receive first signal in the time window;Wherein, described
One signal is the data-signal sent by printer or clock signal;
Alternatively, first signal that receives of judgement whether be predeterminated voltage signal or default clock frequency signal or
Pre-set code.
Optionally, when a time window is arranged, when judging whether to receive first signal in the time window,
The described method includes:
When not receiving first signal in the time window, then enables the first application program and lead to printer
Letter;
When receiving first signal in the time window;Program upgrade signal is then received, program is enabled;
Then second signal is received, and the rewriting of the first application program is upgraded to by the second application program according to the second signal.
Specifically, a time window can be arranged in method described in the present embodiment first, received outside time window by
When the level signal that printer is sent, executes and debug front door using the downloading that the first application program handles received instruction
Mode.
Alternatively, then receiving program upgrade signal when receiving the level signal sent by printer in time window, opening
Door model realization upgrades the rewriting of the first application program after downloading debugging with program.
Optionally, when whether first signal that judgement receives is predeterminated voltage signal or default clock frequency letter
Number or when pre-set code, which comprises
When first signal received is not predeterminated voltage signal or default clock frequency signal or pre-set code
When, then enable the first application program and and printer communication;
When first signal received is predeterminated voltage signal or default clock frequency signal or pre-set code;
Program upgrade signal is then received, program is enabled;Then second signal is received, and is applied according to the second signal by first
Program rewriting upgrades to the second application program.
Specifically, the normal operating voltage of such as consumable chip is 3.3V in the present embodiment the method, when most starting to connect
When the voltage signal of the clock or data that receive reaches 4.0V, then program upgrade signal is received, enables program;Then it connects
Second signal is received, and the rewriting of the first application program is upgraded to by the second application program according to the second signal.
Alternatively, the frequency for the clock signal that such as consumable chip normally receives is 500Khz, when what is most initially received
When the clock frequency signal of 1000hz, then program upgrade signal is received, enables program;Then second signal, and root are received
The rewriting of the first application program is upgraded into the second application program according to the second signal.
Optionally, the program is to debug agreement according to printer downloading corresponding with the consumable chip to hold
Capable program;Wherein,
The downloading debugging agreement is the cured burning of the consumable chip and debugging routine agreement.
Optionally, the reception second signal, and the rewriting of the first application program is upgraded to the according to the second signal
Two application programs include:
Receive the data-signal sent by printer;
Execute door model after downloading is debugged;
The storage region of the first application program and data is stored with according to data-signal erasing, and in the memory block
The second application program and data in domain after write-in upgrading.
Optionally, the storage regions of first application program and data is stored with according to data-signal erasing described,
And after the second application program and data in the storage region after write-in upgrading, the method also includes:
Re-power work or initialization;
Second application program is enabled, and with the corresponding communication protocol of second application program or instruction and printer
It is communicated.
Realize consumable chip to first in conclusion control method described in the present embodiment mainly passes through downloading debugging port
The rewriting of application program, printer debug agreement by downloading corresponding with the program, consumable chip are copied to dispatch from the factory
When the step of being programmed program, into the rear door model of consumable chip, the burning order for passing through the downloading debugging agreement is completed
The rewriting of first application program of consumable chip.For example, executing bootload program after chip powers on, a time window is set
Mouthful, data-signal or clock signal are received in time window, then enable door model (i.e. program) after downloading debugging,
First application program can be rewritten;On the contrary, receiving level signal except clock window, then enables first and apply journey
Door model before sequence, i.e. downloading are debugged, is handled received instruction using the first application program.
On the other hand, after the printer completes upgrading to the consumable chip, the printer can enable new
Communication protocol or instruction are communicated with the consumable chip, and the consumable chip after upgrading needs to enable the second application program to realize
New communication protocol or instruction are responded.Such as before upgrading, printer and consumable chip are all made of IIC communication protocols
View is communicated, and every IIC instruction all has special processing method and encryption-decryption algorithm, while can also have one
Cover specific data tissue structure and data interpretive mode.It, can after upgrading in such a way that printer upgrades consumable chip
To realize that communication protocol becomes SPI communication agreement, and SPI instruction processing and encrypted authentication algorithm be totally different from liter
Before grade, while the meaning of the institutional framework of data and each data can also redefine.In addition, the consumptive material of support program upgrading
The timing of the downloading debugging port of chip and order may be implemented independently to customize and develop, it is possible to distinguish consume in other general MCU
Timing, such as MCS-51 series monolithic, MSP430 series monolithic, STM8 series monolithic are debugged in the downloading of material chip.
For example, as shown in Figure 2 and Figure 5, consumable chip described in the present embodiment includes downloading debugging port, universal input output
Port, communications interface unit, control unit and storage unit;Wherein the storage unit includes for storing program
One storage region, for storing first the second storage region of application program and for the third storage region of storage chip data.
The universal input and output port and the downloading debugging port setting on the control unit, and respectively with communications interface unit
Connection judges the programming journey for enabling the first storage region when control unit is according to downloading debugging port institute's received first signal
First application program of sequence or the second storage region;When enabling program, the received journey in port is debugged according to from downloading
Sequence upgrade signal and subsequent second signal rewrite the first application program for being stored in the second storage region;When enabling first is answered
When with program, the communications interface unit that is connected by universal input and output port using the chip data of third storage region at
As equipment (printer) is communicated.
After enabling program to have modified the first application program of the second storage region is the second application program, that is, complete
After upgrading, user or printer can be by powering again to the consumable chip, and consumable chip is re-powered or initialized
Afterwards, the consumable chip is after re-powering work or initialization, when received first signal does not meet default feature, then institute
The second application program after stating the upgrading of consumable chip the second storage region of enabling, with new communication protocol or instruction and printer
It is communicated, so as to meet the communication mode after printer upgrade.
Embodiment two
The difference between this embodiment and the first embodiment lies in as shown in figure 3, enabling the first application program and leading to printer
After letter, the method also includes:
Judge whether to receive special instruction;
When not receiving special instruction, then continue to determine whether to receive special instruction;
When receiving special instruction, then start upgrade procedure, then receives second signal, and according to the second signal
The rewriting of first application program is upgraded into the second application program.
In conclusion being preset in consumable chip program described in control method described in the present embodiment for the consumptive material
The upgrade procedure that first application program of chip is rewritten, the printer send special instruction and start the upgrade procedure,
Then it by receiving subsequent second application program sent of printer, and completes the first program in consumable chip and wipes,
Received second consumptive material program is written in second storage region of consumable chip, to complete the program liter of chip
Grade.Then user or printer can enable the second application program by re-powering the modes such as work or initialization.
For example, as shown in Figure 3 and Figure 6, consumable chip described in the present embodiment includes communications interface unit, control unit and deposits
Storage unit;Wherein the storage unit includes for storing the second storage region of the first application program, for storage chip number
According to third storage region and the 4th storage region for storing upgrade procedure.Control unit connects according to communications interface unit
The special instruction received, enables the upgrade procedure of the 4th storage region, while can choose and exit the first of the second storage region
Application program;When enabling the upgrade procedure of the 4th storage region, according to from the received second signal of communications interface unit, rewrite
The first application program for being stored in the second storage region is the second application program.
For example, passing through control when the printer wants that the consumable chip, which is upgraded to UART protocol from IIC agreement, to be communicated
System is sent to the signal of communications interface unit, allows consumable chip to enable the upgrade procedure of the 4th storage region, so as to rewrite
First application program of the consumable chip changes the program deletion of the related IIC agreement of the second storage region storage and algorithm
It is written as the agreement and algorithm of UART, then the consumable chip can enable new communication protocol.
Embodiment three
The embodiment of the present invention also provides a kind of consumable chip, and as shown in Figures 4 and 5, the downloading of the consumable chip 12 is debugged
The bus of port and universal input and output port by communications interface unit connection is connect with printer 11, wherein the consumptive material
Chip 12 includes:
Communications interface unit 121, for receiving the first signal, second signal and program upgrade signal;
Control unit 122, for judging whether received first signal meets default feature;When received first signal not
When meeting default feature, then the first application program and and printer communication are enabled;When received first signal meets default feature
When, then program upgrade signal is received, program is enabled;Then second signal is received, and according to the second signal by first
Application program rewriting upgrades to the second application program;
Storage unit 123, for storing the first application program, the second application program and program.
Specifically, the storage unit of consumable chip described in the present embodiment includes program storage area and data storage areas,
Wherein, program storage area is for storing the first application program, the second application program and program;Data storage areas is used for
The chip data for storing consumable chip, for example, the number communicated by the first application program, the second application program with printer
According to.
For example, as shown in Figure 4 and Figure 5, consumable chip described in the present embodiment includes downloading debugging port, universal input output
Port, communications interface unit, control unit and storage unit;Wherein the storage unit includes for storing program
One storage region, the second storage region for storing the first application program and for storing with the data of printer communication
Third storage region.The universal input and output port and downloading debugging port are arranged on the control unit, and respectively
It is connect with communications interface unit, control unit judges to enable the first storage according to received first signal of downloading debugging port institute
First application program of the program in region or the second storage region;When enabling program, debugged according to from downloading
The received program upgrade signal in port rewrites the first application program for being stored in the second storage region;When enabling first applies journey
When sequence, set using the communications interface unit that the chip data of third storage region is connected by universal input and output port with imaging
Standby (printer) is communicated.
After enabling program to have modified the first application program of the second storage region is the second application program, that is, complete
After upgrading, user or printer can be by powering again to the consumable chip, and consumable chip is re-powered or initialized
Afterwards, when the consumable chip judgement receives the signal of preset condition, then the consumable chip enables the liter of the second storage region
The second application program after grade is communicated with new communication protocol or instruction with printer, so as to meet printer liter
Communication mode after grade.
Wherein, the bus that the consumable chip is connected by communications interface unit is connected with the printer, in consumptive material
Chip interior, the communications interface unit respectively with the universal input and output port and and the downloading debug port phase
Connection, that is, downloading debugging port and universal input and output port common user communication interface unit so that the consumable chip and
It can be realized by communications interface unit between the printer and be communicated in bus, also using bus through under communications interface unit
Carry and update the consumable chip storage unit all data.Meanwhile downloading debugging port and universal input and output port
Common user communication interface unit refers to that through communications interface unit, consumable chip can not only export input low and high level and realize data
Exchange, and by the communications interface unit, it may be implemented to update the application program and data in consumable chip storage unit
File.
Meanwhile the communications interface unit can be wired connection module, or be wirelessly connected module.Wired connection module
E.g. electric contact, conducting wire, electric contact pilotage etc., and be wirelessly connected module and can be antenna, coil, RF receiving and transmission module etc..
Therefore, on the one hand control method described in the present embodiment is not necessarily to then pass through by recycling the consumable chip
Communications interface unit receives the program upgrade signal that printer is sent and realizes to consumable chip progress program upgrading, reduces
The production cost of the consumable chip.On the other hand, the consumable chip utilizes control unit program liter based on the received
Grade signal control, which enables, to be pre-stored in the consumable chip and for the first application program and data to the consumable chip
The control method that the program or upgrade procedure rewritten are upgraded, control method is simple, is suitable for the consumptive material core
The production of piece is promoted.
Optionally, as shown in figure 5, the consumable chip carries out program upgrading using control method described in embodiment one,
Therefore, the consumable chip further include:
Optionally, the storage unit 123 includes:
First storage region, for storing program;
Second storage region, for storing the first application program;
Third storage region is used for storage chip data.
Example IV
Consumable chip described in the present embodiment carries out program upgrading, and and embodiment using control method described in embodiment two
Three difference is, as shown in fig. 6, the storage unit 123 includes:
Second storage region, for storing the first application program;
Third storage region is used for storage chip data;
4th storage region, for storing upgrade procedure.
The device of the present embodiment can be used for executing the technical solution of above method embodiment, realization principle and technology
Effect is similar, and details are not described herein again.
It should be noted that the first signal and the second signal that the present invention is signified, refer to the data letter sent by printer
Number or clock signal or combination, certainly, if between printer and consumable chip other than this two signals also
Other signals, such as chip selection signal, reset signal lamp, also belong to the scope of the first signal and the second signal, as long as can be used in
It achieves the object of the present invention, if the signal transmitted between printer and consumable chip can all belong to the first of meaning of the invention
Signal and second signal.
In addition, control unit of the invention can be a specific CPU or microcontroller, communications interface unit, control are single
Member and storage unit can be realized by way of integrated circuit, integrally be arranged on same circuit board.In concrete application
On, consumable chip of the invention can be installed on printing consumables box, include accommodating ink or carbon dust in printing consumables box
Cavity.
Those of ordinary skill in the art will appreciate that realizing all or part of the process in above-described embodiment method, being can be with
Relevant hardware is instructed to complete by computer program, the program can be stored in a computer-readable storage medium
In, the program is when being executed, it may include such as the process of the embodiment of above-mentioned each method.Wherein, the storage medium can be magnetic
Dish, CD, read-only memory (Read-Only Memory, ROM) or random access memory (Random Access
Memory, RAM) etc..
The above description is merely a specific embodiment, but scope of protection of the present invention is not limited thereto, any
In the technical scope disclosed by the present invention, any changes or substitutions that can be easily thought of by those familiar with the art, all answers
It is included within the scope of the present invention.Therefore, protection scope of the present invention should be subject to the protection scope in claims.
Claims (10)
1. a kind of control method for upgrading consumable chip, which is characterized in that the downloading debugging port and general of the consumable chip
Bus of the input/output port by communications interface unit connection is connect with printer, which comprises
After consumable chip works on power, judge whether received first signal meets default feature;
When received first signal does not meet default feature, then the first application program and and printer communication are enabled;
When received first signal meets default feature, then program upgrade signal is received, enables program;Then is received
Binary signal, and the rewriting of the first application program is upgraded to by the second application program according to the second signal.
2. judging whether received first signal meets default spy the method according to claim 1, wherein described
Sign includes:
One time window is set, judges whether to receive first signal in the time window;Wherein, first letter
It number is the data-signal sent by printer or clock signal;
Alternatively, whether first signal that judgement receives is predeterminated voltage signal or default clock frequency signal or presets
Code.
3. according to the method described in claim 2, it is characterized in that, judging whether when one time window of setting in the time
When receiving first signal in window, which comprises
When not receiving first signal in the time window, then the first application program and and printer communication are enabled;
When receiving first signal in the time window;Program upgrade signal is then received, program is enabled;Then
Second signal is received, and the rewriting of the first application program is upgraded to by the second application program according to the second signal.
4. according to the method described in claim 2, it is characterized in that, when whether first signal that judgement receives is default
When voltage signal or default clock frequency signal or pre-set code, which comprises
When first signal received is not predeterminated voltage signal or default clock frequency signal or pre-set code, then
Enable the first application program and and printer communication;
When first signal received is predeterminated voltage signal or default clock frequency signal or pre-set code;Then connect
Program upgrade signal is received, program is enabled;Then second signal is received, and according to the second signal by the first application program
Rewriting upgrades to the second application program.
5. method according to claim 1 to 4, which is characterized in that the program be according to the printer with
The corresponding program downloading debugging agreement and executing of the consumable chip;Wherein,
The downloading debugging agreement is the cured burning of the consumable chip and debugging routine agreement.
6. according to the method described in claim 5, it is characterized in that, enable the first application program and with printer communication it
Afterwards, the method also includes:
Judge whether to receive special instruction;
When not receiving special instruction, then continue to determine whether to receive special instruction;
When receiving special instruction, then start upgrade procedure, then receive second signal, and according to the second signal by
The rewriting of one application program upgrades to the second application program.
7. method according to claim 1 or 6, which is characterized in that the reception second signal, and according to second letter
Number the rewriting of the first application program is upgraded to the second application program and includes:
Receive the data-signal sent by printer;
Execute door model after downloading is debugged;
The storage region of the first application program and data is stored with according to data-signal erasing, and in the storage region
The second application program and data after write-in upgrading.
8. a kind of consumable chip, which is characterized in that the downloading debugging port of the consumable chip and universal input and output port warp
The bus for crossing communications interface unit connection is connect with printer, wherein the consumable chip includes:
Communications interface unit, for receiving the first signal, second signal and program upgrade signal;
Control unit, for judging whether received first signal meets default feature;When received first signal do not meet it is pre-
If when feature, then enabling the first application program and and printer communication;When received first signal meets default feature, then connect
Program upgrade signal is received, program is enabled;Then second signal is received, and according to the second signal by the first application program
Rewriting upgrades to the second application program;
Storage unit, for storing the first application program, the second application program and program.
9. consumable chip according to claim 8, which is characterized in that the storage unit includes:
First storage region, for storing program and downloading debugging agreement;
Second storage region, for storing the first application program and data;
Third storage region, for storing and the data of printer communication.
10. consumable chip according to claim 8, which is characterized in that the storage unit includes:
Second storage region, for storing the first application program and data;
Third storage region, for storing and the data of printer communication;
4th storage region, for storing upgrade procedure.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201711482503.7A CN108128035B (en) | 2017-12-29 | 2017-12-29 | A kind of control method and consumable chip upgrading consumable chip |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201711482503.7A CN108128035B (en) | 2017-12-29 | 2017-12-29 | A kind of control method and consumable chip upgrading consumable chip |
Publications (2)
Publication Number | Publication Date |
---|---|
CN108128035A CN108128035A (en) | 2018-06-08 |
CN108128035B true CN108128035B (en) | 2019-11-08 |
Family
ID=62394046
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201711482503.7A Active CN108128035B (en) | 2017-12-29 | 2017-12-29 | A kind of control method and consumable chip upgrading consumable chip |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN108128035B (en) |
Families Citing this family (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP7315367B2 (en) * | 2019-04-23 | 2023-07-26 | 理想科学工業株式会社 | Electronics and consumable units |
CN110103591B (en) * | 2019-06-13 | 2020-03-27 | 杭州旗捷科技有限公司 | Automatic resetting method of consumable chip and consumable chip |
CN111124321B (en) * | 2019-11-04 | 2020-09-08 | 深圳市金城保密技术有限公司 | Debugging method and system of laser printer |
US11893444B2 (en) | 2020-01-20 | 2024-02-06 | Hangzhou Chipjet Technology Co., Ltd. | Consumable chip system and consumable container |
CN111338584A (en) | 2020-01-20 | 2020-06-26 | 杭州旗捷科技有限公司 | Consumable chip writing and reading method, consumable chip system and writing and reading equipment |
CN112644180B (en) * | 2020-12-17 | 2021-08-03 | 广州众诺电子技术有限公司 | Chip starting method and device, storage medium and consumable chip |
CN113204364A (en) * | 2021-05-28 | 2021-08-03 | 广州众诺电子技术有限公司 | Chip firmware upgrading method and device, electronic equipment and storage medium |
CN113703698B (en) * | 2021-09-26 | 2024-03-22 | 广州众诺微电子有限公司 | Data updating method, chip system, first chip and second chip |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101204884A (en) * | 2007-12-06 | 2008-06-25 | 珠海天威技术开发有限公司 | Chip, ink stone and manufacture method of ink stone |
CN102218928A (en) * | 2011-05-13 | 2011-10-19 | 珠海天威技术开发有限公司 | Programmable chip and upgrading method thereof |
CN103085488A (en) * | 2011-11-04 | 2013-05-08 | 珠海天威技术开发有限公司 | Chip resetting method |
CN206623537U (en) * | 2017-03-01 | 2017-11-10 | 杭州旗捷科技有限公司 | Consumptive material equipment and print system |
Family Cites Families (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
KR20070069794A (en) * | 2005-12-28 | 2007-07-03 | 주식회사 파캔오피씨 | Microchip for repairing cartridge and method for repairing cartridge |
-
2017
- 2017-12-29 CN CN201711482503.7A patent/CN108128035B/en active Active
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101204884A (en) * | 2007-12-06 | 2008-06-25 | 珠海天威技术开发有限公司 | Chip, ink stone and manufacture method of ink stone |
CN102218928A (en) * | 2011-05-13 | 2011-10-19 | 珠海天威技术开发有限公司 | Programmable chip and upgrading method thereof |
CN103085488A (en) * | 2011-11-04 | 2013-05-08 | 珠海天威技术开发有限公司 | Chip resetting method |
CN206623537U (en) * | 2017-03-01 | 2017-11-10 | 杭州旗捷科技有限公司 | Consumptive material equipment and print system |
Also Published As
Publication number | Publication date |
---|---|
CN108128035A (en) | 2018-06-08 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN108128035B (en) | A kind of control method and consumable chip upgrading consumable chip | |
EP2725427B1 (en) | Imaging box chip with self-adaptive contact, imaging box and self-adaptive method | |
KR100790035B1 (en) | Method and apparatus of controlling power | |
EP3522012B1 (en) | Consumable chip data rewriting device | |
CN104200843B (en) | The burned device of flash memory, burned system and burned method | |
CN108008914B (en) | The method, apparatus and ARM equipment of disk management in a kind of ARM equipment | |
US7315955B2 (en) | Circuit for turning off charging function to a battery of a system based on information set by user during the system in power-off state | |
US20050160302A1 (en) | Power management apparatus and method | |
CN102501613B (en) | Storing device and consumable container | |
CN106874054A (en) | A kind of repeater inner module program on-line upgrading method and system | |
US20060212550A1 (en) | Information processing apparatus and activation method | |
CN110413298A (en) | The method that single-chip microcontroller serially upgrades and debugs is carried out based on Labwindows platform | |
CN101651794A (en) | Method for coping television memory data and intelligent copier | |
CN110032399A (en) | A kind of TPM initial method and relevant apparatus | |
JP4421704B2 (en) | Computer power-on method and computer | |
CN109740391A (en) | Electronics price tag and its control method, electronics price tag system and its control method | |
TW200849078A (en) | Portable extended display identification data recording device | |
CN101887710A (en) | Display having EDID (Extended Display Identification Data) automatic burning function at first boot | |
CN102955701B (en) | Use the application program update method of Bootloader program | |
US20070180284A1 (en) | Electronic device and operation control method | |
WO2022257431A1 (en) | Consumable chip, consumable box, and consumable chip authentication method and use method | |
DE60309394T2 (en) | Data transmission control system, program and method for manufacturing an electronic device | |
CN210742720U (en) | Laboratory station power control system based on RFID and teaching laboratory | |
CN103823662A (en) | Programming mode entry switching control method and programming mode entry switching control device | |
CN201130372Y (en) | Hard disk external circuit as well as hard disk apparatus using the same |
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 | ||
CP01 | Change in the name or title of a patent holder |
Address after: 519075 area B, 7th floor, building 04, No. 63, Mingzhu North Road, Qianshan, Zhuhai, Guangdong Patentee after: Jihai Microelectronics Co.,Ltd. Address before: 519075 area B, 7th floor, building 04, No. 63, Mingzhu North Road, Qianshan, Zhuhai, Guangdong Patentee before: APEX MICROELECTRONICS Co.,Ltd. |
|
CP01 | Change in the name or title of a patent holder |