CN101941330A - Modification method of printer firmware - Google Patents

Modification method of printer firmware Download PDF

Info

Publication number
CN101941330A
CN101941330A CN 201010263353 CN201010263353A CN101941330A CN 101941330 A CN101941330 A CN 101941330A CN 201010263353 CN201010263353 CN 201010263353 CN 201010263353 A CN201010263353 A CN 201010263353A CN 101941330 A CN101941330 A CN 101941330A
Authority
CN
China
Prior art keywords
printer
firmware
data
machine language
language code
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN 201010263353
Other languages
Chinese (zh)
Inventor
林东宁
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Print Rite Technology Development Co Ltd of Zhuhai
Original Assignee
Print Rite Technology Development Co Ltd of Zhuhai
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 Print Rite Technology Development Co Ltd of Zhuhai filed Critical Print Rite Technology Development Co Ltd of Zhuhai
Priority to CN 201010263353 priority Critical patent/CN101941330A/en
Publication of CN101941330A publication Critical patent/CN101941330A/en
Pending legal-status Critical Current

Links

Images

Abstract

The invention provides a modification method of printer firmware. The method comprises the following steps of: acquiring the firmware data of a printer; carrying out the disassembly processing on the acquired firmware data; acquiring machine language codes corresponding to the firmware data; editing instructions related to a consumptive material allowance in the machine language codes; and downloading the edited machine language codes into a memory of the printer to form new printer firmware data. The recovery method of the printer firmware, which is provided by the invention, can ensure that the consumptive material allowance data of a consumptive material chip is updated and is favorable to reutilizing a consumptive material container and the consumptive material chip and lessening environmental pollution.

Description

The amending method of printer firmware
Technical field
The present invention relates to the printing field, especially relate to a kind of amending method of printer firmware.
Background technology
Printer is as common office equipment, for modern office provides great convenience.Existing printer is divided into ink-jet printer and laser printer, and ink-jet printer uses the print cartridge that accommodates ink to spray ink as consumable container to paper, to form literal or the pattern that needs printing on paper; Laser printer then uses the cartridge that accommodates carbon dust to form literal or the pattern that needs printing as consumable container on medium.
Referring to Fig. 1, existing print cartridge has a housing 11, and housing 11 surrounds cavity 15, accommodates ink in the cavity 15.The below of housing 11 is provided with ink outlet port 14, and the ink in the cavity 15 can flow out through ink outlet port 14.A consumable chip 13 is installed on housing 11 outer walls, the structure of consumable chip as shown in Figure 2, consumable chip 13 has substrate 16, is provided with a plurality of electric contacts 17 on substrate 16, electric contact 17 is connected with electric contact on the ink-jet printer as communication unit, is used for transmission information.Also be provided with an electronic module 18 on the substrate 16, electronic module 18 has the memory that is electrically connected with electric contact 17, store the information relevant, comprise the time-write interval of consumable items allowances, print cartridge in print cartridge model, suitable ink-jet printer model, ink color, the cavity 15 etc. with print cartridge.
Referring to Fig. 3, existing cartridge has housing 21, and housing 21 surrounds the cavity that holds carbon dust, and the outer wall of housing is provided with a chip installation position 22, and consumable chip 23 is installed on the chip installation position 22.Similar with the consumable chip of print cartridge, the consumable chip 23 of cartridge also has substrate, and substrate is provided with the electric contact 24 as communication unit, is used for carrying out exchanges data with laser printer.And the opposite side of substrate is provided with the electronic module that is electrically connected with electric contact 24, stores the relevant data of cartridge, comprises the data of consumable items allowance in the cavity etc.
The consumable quantity that existing consumable container is held seldom, many users can consumptive material and continue to use again after the consumptive material that consumable container held is finished using.But because consumable chip record consumable items allowance data is zero, therefore need carry out reset processing, be about to consumable items allowance data and return to non-vanishing data, so that printer continues to carry out print job to consumable chip.
On the other hand, existing ink-jet printer or laser printer are equipped with memory, store solidification software, i.e. firmware in the memory mostly.The program that these firmwares comprise is used to realize the multiple application of printer, comprises the image that obtains computer and transmit, control print progress, visit consumable chip etc.Along with printer is realized updating of function, the printer manufacturer need carry out upgrading processing to the firmware of printer.
Common upgrade method has two kinds: a kind of is that printer manufacturer issues the firmware upgrade packet on the internet, and the user downloads this firmware upgrade packet and writes the printer from the internet; Another kind method is to write the firmware upgrade data on the incidental consumable chip of consumable container, after consumable container is installed to printer, printer will detect consumable chip automatically and whether store the firmware upgrade data, if store, then the firmware upgrade data that consumable chip is stored write in the memory of printer, realize firmware upgrade.
But, printer after the firmware upgrade often causes restriction to the use of consumable chip, because the updated firmware data often write the instruction relevant with the consumptive material data, especially relevant with consumable items allowance data instruction, as forbid instruction that consumable items allowance data resets or instruction that consumable items allowance data and a threshold value are compared etc., cause consumable chip to reset, cause consumable container and consumable chip to use once.
In addition, the updated firmware data write the instructions relevant with the consumptive material data such as manufacturer that detect consumable container production time, consumable container, and these instructions also can cause restriction to the use of consumable container, cause consumable container to reuse.Like this, increase the cost that the user uses consumable container undoubtedly, also limited the recycling of consumable chip, cause the wasting of resources, also be unfavorable for environmental protection.
Summary of the invention
Main purpose of the present invention provides a kind of consumable container and reusable printer firmware amending method of consumable chip be convenient to.
Another object of the present invention provides a kind of printer firmware amending method that reduces the printing consumables wasting of resources.
For realizing above-mentioned main purpose, printer firmware amending method provided by the invention comprises the firmware data of obtaining printer, the firmware data of being obtained is carried out dis-assembling to be handled, obtain the machine language code of firmware data correspondence, instruction relevant with the consumptive material data in the machine language code is made amendment, amended machine language code is downloaded in the memory of printer, form new printer firmware data.
By such scheme as seen, after obtaining the printer firmware data it is carried out dis-assembling acquisition machine language code, and according to actual needs instruction relevant with the consumptive material data in the machine language code is made amendment, avoid consumable container and consumable chip to reuse.
A preferred scheme is that the instruction of being revised relevant with the consumptive material data is the instruction relevant with consumable items allowance data.Like this, consumable items allowance data is resetted or printer no longer compares consumable items allowance data and threshold value, be convenient to consumable container and consumable chip and reuse, reduce the wasting of resources.
Further scheme is, the step that machine language code is made amendment is that the instruction that consumable items allowance data resets is forbidden in deletion.Like this, the consumable items allowance data of consumable chip storage hour, consumable chip can reset consumable items allowance data, and the not restriction of subject printer program that firmware comprises, and helps the repeated use of consumable container and consumable chip.
Further scheme is again, amended machine language code is downloaded to printer before, amended machine language code is stored in the external memory of computers such as CD, USB flash disk.As seen, amended machine language code is stored in the external memory of computer, is convenient to carrying of amended machine language code, also be convenient to write amended machine language code, help applying of this method to plurality of printers.
Description of drawings
Fig. 1 is the structural representation of existing a kind of print cartridge.
Fig. 2 is the structure enlarged diagram of existing ink box chip.
Fig. 3 is the STRUCTURE DECOMPOSITION figure of existing a kind of cartridge.
Fig. 4 is the flow chart of the embodiment of the invention.
The invention will be further described below in conjunction with drawings and Examples.
The specific embodiment
Method of the present invention can be applied to the firmware modification of laser printer or ink-jet printer, is that the present invention will be described for embodiment to be applied to laser printer below.
Referring to Fig. 4, use present embodiment the firmware of laser printer is made amendment, at first obtain the original firmware data of laser printer, i.e. execution in step S1.Obtaining original firmware data can realize by two kinds of diverse ways, a kind of is to download the firmware upgrade packet that printer manufacturer announces on the internet, another kind method is to use programmable device that the firmware data of being stored in the printer storage is read out, and second method mainly is not announce what the situation of printer firmware upgrading data packet was used on the internet at printer manufacturer.
After obtaining the firmware data of printer, execution in step S2 carries out dis-assembling to the firmware data of obtaining and handles, thereby obtains the pairing machine language code of original firmware data.Then, execution in step S3 makes amendment to the instruction relevant with consumable items allowance data in the machine language code that obtains.Before machine language code made amendment, should differentiate the represented meaning of each machine language code, and according to actual needs it be made amendment.For example, the program inhibition consumable chip that comprises at firmware data resets to consumable items allowance data, can be with the instruction deletion of forbidding that consumable items allowance data resets; Perhaps, whether the consumable items allowance data that the program real-time judge consumable chip that comprises at firmware data is write down is lower than a certain threshold value, can will judge whether consumable items allowance data is lower than the instruction deletion of a certain threshold value or forbids this instruction execution.
Certainly, modification to machine language code also can be to increase instruction, as adding the instruction that consumable items allowance data is resetted, perhaps before forbidding the reset instruction of consumptive material data, increase jump instruction, allow printer before the consumable items allowance data reset instruction is forbidden in execution, jump to other instructions, do not carry out the instruction of forbidding that consumable items allowance data resets,, can determine according to actual operating position to the deletion and the increase of instruction.
In addition, the instruction relevant with consumable items allowance data is not limited to forbid instruction that consumable items allowance data resets and the instruction that consumable items allowance data and threshold value are compared, can also be in real time to consumable chip write consumable items allowance data instruction, read the instruction of consumable items allowance data in the consumable chip etc., also can realize purpose of the present invention to the modification of these instructions.
After machine language code made amendment, it is stored in the hard disk of computer, then machine language code is write in the CD, i.e. execution in step S4.Like this, help the storage of machine language code, make things convenient for the user to use amended machine language code at any time.
At last, when the user refreshes printer firmware, machine language code in the CD is read in the hard disk of computer, and be sent in the memory of printer by USB interface of computer or parallel interface or serial line interface or no transmission line equipment such as bluetooth or WIFI, form new firmware data, i.e. execution in step S5.
Certainly, before printer writes machine language code, can be according to the actual conditions of printer, the memory of printer is carried out clear operation, be about to original firmware data deletion, write new machine language code again and form new firmware data.Perhaps, write machine language code after, the operation that printer is restarted is to guarantee that printing function receives the machine language code that writes.
In addition; modification to machine language code is not limited to the data relevant with consumable items allowance; can also be the data relevant with consumable container self; modification can be the deletion instruction that detects the consumable container production time, the instruction that deletion detects consumable container manufacturer etc., and the modification of these and consumptive material data dependent instruction also should be included in protection scope of the present invention.
By such scheme as seen; by modification to the printer firmware data; can delete function such as forbid that consumable items allowance data resets; consumable chip can realize that consumable items allowance resets; help the recycling of consumable container and consumable chip; thereby reduce the cost that the user uses consumptive material, also help environmental protection.
Certainly, the foregoing description only is the preferable embodiment of the present invention, during practical application more variation can also be arranged, for example, amended machine language code is stored in the computer external memory such as CD, USB flash disk, portable hard drive, makes things convenient for carrying and revising of machine language code; Perhaps, amended machine language code is write in the consumable chip, by the machine language code in the printer detection consumable chip and its memory that writes printer is medium, these changes can realize purpose of the present invention equally.
It is emphasized that at last to the invention is not restricted to above-mentioned embodiment, write variations such as printer storage mode as the change of delete instruction function, with machine language code and also should be included in the protection domain of claim of the present invention.

Claims (10)

1. the amending method of printer firmware is characterized in that: comprise
Obtain the firmware data of printer;
The described firmware data of being obtained is carried out dis-assembling handle, obtain the machine language code of described firmware data correspondence, instruction relevant with the consumptive material data in the described machine language code is made amendment;
Amended machine language code is downloaded in the memory of printer, form new printer firmware data.
2. printer firmware amending method according to claim 1 is characterized in that:
The instruction that described consumptive material data are relevant comprises the instruction that consumable items allowance data is relevant.
3. printer firmware amending method according to claim 1 is characterized in that:
The described printer firmware data of obtaining are from the Internet download printer firmware data.
4. printer firmware amending method according to claim 1 is characterized in that:
The described printer firmware data of obtaining are with programmable device the described firmware data of being stored in the printer storage to be read.
5. according to each described printer firmware amending method of claim 1 to 4, it is characterized in that:
The described step that machine language code is made amendment is that the instruction that consumable items allowance data resets is forbidden in deletion.
6. according to each described printer firmware amending method of claim 1 to 4, it is characterized in that:
The described step that machine language code is made amendment is that deletion judges whether consumable items allowance data is lower than the instruction of threshold value.
7. according to each described printer firmware amending method of claim 1 to 4, it is characterized in that:
Before amended machine language code downloaded to described printer, the memory of described printer is carried out clear operation.
8. according to each described printer firmware amending method of claim 1 to 4, it is characterized in that:
After amended machine language code downloaded to described printer, restart described printer.
9. according to each described printer firmware amending method of claim 1 to 4, it is characterized in that:
The described step that amended machine language code is downloaded to described printer is to use USB interface of computer or parallel interface or serial line interface or wave point that described machine language code is sent in the described printer.
10. according to each described printer firmware amending method of claim 1 to 4, it is characterized in that:
Before amended machine language code downloaded to described printer, described amended machine language code is stored in the external memory of computer.
CN 201010263353 2010-08-26 2010-08-26 Modification method of printer firmware Pending CN101941330A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN 201010263353 CN101941330A (en) 2010-08-26 2010-08-26 Modification method of printer firmware

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN 201010263353 CN101941330A (en) 2010-08-26 2010-08-26 Modification method of printer firmware

Publications (1)

Publication Number Publication Date
CN101941330A true CN101941330A (en) 2011-01-12

Family

ID=43433616

Family Applications (1)

Application Number Title Priority Date Filing Date
CN 201010263353 Pending CN101941330A (en) 2010-08-26 2010-08-26 Modification method of printer firmware

Country Status (1)

Country Link
CN (1) CN101941330A (en)

Cited By (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102173233A (en) * 2011-02-23 2011-09-07 珠海天威技术开发有限公司 Consumable verification system and method
CN102173230A (en) * 2011-01-24 2011-09-07 珠海天威技术开发有限公司 Method for initializing display languages of printers and consumable container chip
CN103072380A (en) * 2013-01-23 2013-05-01 杭州旗捷科技有限公司 Ink box regeneration control chip and using method thereof
CN105398226A (en) * 2015-12-22 2016-03-16 杭州旗捷科技有限公司 Repair method and repair chip of regeneration ink box and regeneration ink box
CN106610859A (en) * 2016-12-30 2017-05-03 珠海艾派克微电子有限公司 Program update method, device and system, and imaging box
WO2017107045A1 (en) * 2015-12-22 2017-06-29 杭州旗捷科技有限公司 Repair method and repair chip for remanufactured ink cartridge, and remanufactured ink cartridge
CN110210208A (en) * 2019-05-31 2019-09-06 珠海揉博电子科技有限公司 Sequence number operation method, sequence number running gear, consumable chip and imaging cartridge
CN112596690A (en) * 2020-12-30 2021-04-02 珠海艾派克微电子有限公司 Method for resetting and upgrading consumable chip, chip and chip processing equipment

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6113208A (en) * 1996-05-22 2000-09-05 Hewlett-Packard Company Replaceable cartridge for a printer including resident memory with stored message triggering data
CN1622038A (en) * 2005-01-07 2005-06-01 北京北大方正电子有限公司 Process for printing apparatus automatic upgrading through internet
CN2725003Y (en) * 2004-07-07 2005-09-14 刘秀仁 Needle type bill printing machine capable of repeatedly programming
CN101049762A (en) * 2006-04-04 2007-10-10 珠海天威技术开发有限公司 Ink measurement chip, and method for determining ink change in capacity correctly
CN101700715A (en) * 2009-08-20 2010-05-05 珠海纳思达电子科技有限公司 Method of recycling ink-jet printer cartridge and ink-jet printer cartridge recycled with same

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6113208A (en) * 1996-05-22 2000-09-05 Hewlett-Packard Company Replaceable cartridge for a printer including resident memory with stored message triggering data
CN2725003Y (en) * 2004-07-07 2005-09-14 刘秀仁 Needle type bill printing machine capable of repeatedly programming
CN1622038A (en) * 2005-01-07 2005-06-01 北京北大方正电子有限公司 Process for printing apparatus automatic upgrading through internet
CN101049762A (en) * 2006-04-04 2007-10-10 珠海天威技术开发有限公司 Ink measurement chip, and method for determining ink change in capacity correctly
CN101700715A (en) * 2009-08-20 2010-05-05 珠海纳思达电子科技有限公司 Method of recycling ink-jet printer cartridge and ink-jet printer cartridge recycled with same

Cited By (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102173230A (en) * 2011-01-24 2011-09-07 珠海天威技术开发有限公司 Method for initializing display languages of printers and consumable container chip
CN102173230B (en) * 2011-01-24 2012-09-19 珠海天威技术开发有限公司 Method for initializing display languages of printers and consumable container chip
CN102173233A (en) * 2011-02-23 2011-09-07 珠海天威技术开发有限公司 Consumable verification system and method
CN102173233B (en) * 2011-02-23 2013-01-23 珠海天威技术开发有限公司 Consumable verification system and method
CN103072380A (en) * 2013-01-23 2013-05-01 杭州旗捷科技有限公司 Ink box regeneration control chip and using method thereof
CN103072380B (en) * 2013-01-23 2015-07-15 杭州旗捷科技有限公司 Ink box regeneration control chip and using method thereof
CN105398226A (en) * 2015-12-22 2016-03-16 杭州旗捷科技有限公司 Repair method and repair chip of regeneration ink box and regeneration ink box
CN105398226B (en) * 2015-12-22 2017-03-29 杭州旗捷科技有限公司 The restorative procedure of ink horn of regeneration, repair chip and ink horn of regeneration
WO2017107045A1 (en) * 2015-12-22 2017-06-29 杭州旗捷科技有限公司 Repair method and repair chip for remanufactured ink cartridge, and remanufactured ink cartridge
CN106610859A (en) * 2016-12-30 2017-05-03 珠海艾派克微电子有限公司 Program update method, device and system, and imaging box
CN110210208A (en) * 2019-05-31 2019-09-06 珠海揉博电子科技有限公司 Sequence number operation method, sequence number running gear, consumable chip and imaging cartridge
CN112596690A (en) * 2020-12-30 2021-04-02 珠海艾派克微电子有限公司 Method for resetting and upgrading consumable chip, chip and chip processing equipment

Similar Documents

Publication Publication Date Title
CN101941330A (en) Modification method of printer firmware
CN103240999B (en) Storage chip and repositioning method, consumable container, imaging device
CN104070824B (en) A kind of band shower nozzle print cartridge and restorative procedure, ink-jet image forming apparatus
CN108111708A (en) It is imaged consumptive material
CN101913292A (en) Chip, consumable container and working method of chip
CN104199706A (en) Firmware upgrade method and device for eMMC
US9050817B2 (en) Storage device and consumption container
CN103481668B (en) Reset method for imaging box chip, imaging box chip and imaging box
CN101872151B (en) Image forming apparatus and method of controlling the same
JP4970780B2 (en) Electronic device and exchange unit
EP3098077A1 (en) Imaging cartridge memory chip parameter sending method, memory chip, and imaging cartridge
CN105818541A (en) Ink box chip, ink box and operation method responding to printing work
CN101954797A (en) Consumable chip as well as data eliminating method and consumable vessel thereof
CN102205725A (en) Method and system for managing consumable information
CN1963682A (en) Image forming apparatus capable of updating firmware of optional cassette and method thereof
US8775768B2 (en) Information processing apparatus and method of controlling the same
CN102446101A (en) System for mandatorily upgrading firmware and method for mandatorily upgrading firmware thereof
CN103085488A (en) Chip resetting method
CN101973165B (en) Method for correcting firmware of printer
JP2009110089A (en) Information processor, installation method for application software, installation processing program and recording medium recording installation processing program
JP2008162054A (en) Printer
CN110442387B (en) Parameter self-adaption method and device of vehicle-mounted system and vehicle
US20110080611A1 (en) Printer and data updating method
US20220091841A1 (en) Replacement-triggered software updates
JPH1178171A (en) Printer, recording agent supply, and control program updating method for printer

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C12 Rejection of a patent application after its publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20110112