Patent application title: ELECTRONIC DEVICE HAVING ESSENTIAL HARDWARE AUTHENTICATION
David William Funk (Balmain, AU)
Kia Silverbrook (Balmain, AU)
IPC8 Class: AB41J2938FI
Class name: Controller of ejector responsive to condition
Publication date: 2010-11-04
Patent application number: 20100277536
An electronic device having an embedded computer system is provided. The
device has a processor supporting a real-time operating system (RTOS).
The processor further supports user and supervisor modes. The computer
system is programmed such that only code portions directly controlling
essential hardware in the device are run in supervisor mode. The code
portion directly controlling essential hardware communicates with at
least one authentication chip in the device before an operation of the
hardware, the authentication chip authorizing the operation
1. An electronic device comprising an embedded computer system, said
device comprising a processor supporting a real-time operating system
(RTOS), said processor supporting user and supervisor modes,wherein said
computer system is programmed such that only code portions directly
controlling essential hardware in said device are run in supervisor mode,
andsaid code portion directly controlling essential hardware communicates
with at least one authentication integrated circuit in said device before
an operation of said hardware, said authentication integrated circuit
authorizing said operation.
2. The electronic device of claim 1, wherein said computer system is programmed such that code portions not directly controlling essential hardware in said device are run in user mode.
3. The electronic device of claim 1, wherein a core of said real-time operating system (RTOS) runs in user mode.
4. The electronic device of claim 1, wherein said computer system is programmed such that a code portion directly controlling essential hardware is callable from an application running in user mode via a trap identifying said code portion.
5. The electronic device of claim 1, wherein a first authentication integrated circuit is associated with a consumable component of said device.
6. The electronic device of claim 5 comprising a plurality of first authentication integrated circuits, each one of said first authentication integrated circuits being associated with a respective consumable component.
7. The electronic device of claim 6, wherein said device is a printer and said consumable component is an ink cartridge having a respective first authentication integrated circuit.
8. The electronic device of claim 7, wherein said authorized operation is selected from:printing only when an ink cartridge of a predetermined type, as determined via the associated authentication integrated circuit, is loaded in said printer; andprinting only when a predetermined amount of ink, as determined via the associated authentication integrated circuit, is remaining in the ink cartridge.
9. The electronic device of claim 1, wherein a second authentication integrated circuit is positioned in a body of said device.
10. The electronic device of claim 9, wherein said device is a printer and said second authentication integrated circuit is mounted in or on a print engine.
11. The electronic device of claim 9, wherein said device is a printer and said authorized operation is selected from:printing at a predetermined speed;printing at a predetermined resolution;full color printing; andmonochrome printing.
12. The electronic device of claim 1, wherein said code portion is programmed to allow only an authorized operation of said hardware.
13. The electronic device of claim 12, wherein said device is a printer and said authorized operation is selected from:printing at a predetermined speed;printing at a predetermined resolution;full color printing; andmonochrome printing.
CROSS REFERENCE TO RELATED APPLICATION
This application is a Continuation of Ser. No. 11/482,967 filed Jul. 10, 2006 all of which is herein incorporated by reference.
FIELD OF THE INVENTION
This invention relates to an electronic device having an embedded computer system. It has been developed primarily for improving security and protecting the computer system from malicious software tampering, whilst still allowing flexibility in software design downstream of the device manufacturer.
The following applications have been filed by the Applicant with the present application:
TABLE-US-00001 7,637,588 7,648,222 7,669,958 7,607,755 7,699,433 7,658,463 7,530,663 7,467,846 7,669,957 11/482,963 11/482,956 7,695,123 11/482,974 7,604,334 11/482,987 7,708,375 7,695,093 7,695,098 7,722,156 7,703,882 7,510,261 7,722,153 7,658,792 7,709,633 11/482,985 7,733,535 11/482,966 11/482,988 7,681,000 7,530,446 7,654,645 11/482,977 7,571,906 7,703,903 7,645,034 7,637,602 7,645,033
The disclosures of these co-pending applications are incorporated herein by reference. The above applications have been identified by their filing docket number, which will be substituted with the corresponding application number, once assigned.
CROSS REFERENCES TO RELATED APPLICATIONS
Various methods, systems and apparatus relating to the present invention are disclosed in the following US patents/patent applications filed by the applicant or assignee of the present invention:
TABLE-US-00002 6,750,901 6,476,863 6,788,336 7,249,108 6,566,858 6,331,946 6,246,970 6,442,525 7,346,586 7,685,423 6,374,354 7,246,098 6,816,968 6,757,832 6,334,190 6,745,331 7,249,109 7,197,642 7,093,139 7,509,292 7,685,424 7,743,262 7,210,038 7,401,223 7,702,926 7,716,098 7,364,256 7,258,417 7,293,853 7,328,968 7,270,395 7,461,916 7,510,264 7,334,864 7,255,419 7,284,819 7,229,148 7,258,416 7,273,263 7,270,393 6,984,017 7,347,526 7,357,477 7,465,015 7,364,255 7,357,476 11/003,614 7,284,820 7,341,328 7,246,875 7,322,669 7,445,311 7,452,052 7,455,383 7,448,724 7,441,864 7,506,958 7,472,981 7,448,722 7,575,297 7,438,381 7,441,863 7,438,382 7,425,051 7,399,057 7,695,097 7,686,419 11/246,669 7,448,720 7,448,723 7,445,310 7,399,054 7,425,049 7,367,648 7,370,936 7,401,886 7,506,952 7,401,887 7,384,119 7,401,888 7,387,358 7,413,281 6,623,101 6,406,129 6,505,916 6,457,809 6,550,895 6,457,812 7,152,962 6,428,133 7,204,941 7,282,164 7,465,342 7,278,727 7,417,141 7,452,989 7,367,665 7,138,391 7,153,956 7,423,145 7,456,277 7,550,585 7,122,076 7,148,345 7,470,315 7,572,327 7,416,280 7,252,366 7,488,051 7,360,865 7,438,371 7,465,017 7,441,862 7,654,636 7,458,659 7,455,376 6,746,105 11/246,687 7,645,026 7,322,681 7,708,387 11/246,703 7,712,884 7,510,267 7,465,041 11/246,712 7,465,032 7,401,890 7,401,910 7,470,010 7,735,971 7,431,432 7,465,037 7,445,317 7,549,735 7,597,425 7,661,800 7,712,869 7,156,508 7,159,972 7,083,271 7,165,834 7,080,894 7,201,469 7,090,336 7,156,489 7,413,283 7,438,385 7,083,257 7,258,422 7,255,423 7,219,980 7,591,533 7,416,274 7,367,649 7,118,192 7,618,121 7,322,672 7,077,505 7,198,354 7,077,504 7,614,724 7,198,355 7,401,894 7,322,676 7,152,959 7,213,906 7,178,901 7,222,938 7,108,353 7,104,629 7,303,930 7,401,405 7,464,466 7,464,465 7,246,886 7,128,400 7,108,355 6,991,322 7,287,836 7,118,197 7,575,298 7,364,269 7,077,493 6,962,402 7,686,429 7,147,308 7,524,034 7,118,198 7,168,790 7,172,270 7,229,155 6,830,318 7,195,342 7,175,261 7,465,035 7,108,356 7,118,202 7,510,269 7,134,744 7,510,270 7,134,743 7,182,439 7,210,768 7,465,036 7,134,745 7,156,484 7,118,201 7,111,926 7,431,433 7,018,021 7,401,901 7,468,139 7,128,402 7,387,369 7,484,832 7,448,729 7,246,876 7,431,431 7,419,249 7,377,623 7,328,978 7,334,876 7,147,306 7,721,948 7,079,712 6,825,945 7,330,974 6,813,039 6,987,506 7,038,797 6,980,318 6,816,274 7,102,772 7,350,236 6,681,045 6,728,000 7,173,722 7,088,459 7,707,082 7,068,382 7,062,651 6,789,194 6,789,191 6,644,642 6,502,614 6,622,999 6,669,385 6,549,935 6,987,573 6,727,996 6,591,884 6,439,706 6,760,119 7,295,332 6,290,349 6,428,155 6,785,016 6,870,966 6,822,639 6,737,591 7,055,739 7,233,320 6,830,196 6,832,717 6,957,768 7,456,820 7,170,499 7,106,888 7,123,239 10/727,162 7,377,608 7,399,043 7,121,639 7,165,824 7,152,942 10/727,157 7,181,572 7,096,137 7,302,592 7,278,034 7,188,282 7,592,829 10/727,180 10/727,179 10/727,192 10/727,274 7,707,621 7,523,111 7,573,301 7,660,998 10/754,536 10/754,938 10/727,160 7,171,323 7,278,697 7,369,270 6,795,215 7,070,098 7,154,638 6,805,419 6,859,289 6,977,751 6,398,332 6,394,573 6,622,923 6,747,760 6,921,144 10/884,881 7,092,112 7,192,106 7,457,001 7,173,739 6,986,560 7,008,033 7,551,324 7,222,780 7,270,391 7,195,328 7,182,422 7,374,266 7,427,117 7,448,707 7,281,330 10/854,503 7,328,956 7,735,944 7,188,928 7,093,989 7,377,609 7,600,843 10/854,498 7,390,071 10/854,526 7,549,715 7,252,353 7,607,757 7,267,417 10/854,505 7,517,036 7,275,805 7,314,261 7,281,777 7,290,852 7,484,831 10/854,523 10/854,527 7,549,718 10/854,520 7,631,190 7,557,941 10/854,499 10/854,501 7,266,661 7,243,193 10/854,518 10/934,628 7,163,345 7,465,033 7,452,055 7,470,002 7,722,161 7,475,963 7,448,735 7,465,042 7,448,739 7,438,399 11/293,794 7,467,853 7,461,922 7,465,020 7,722,185 7,461,910 11/293,828 7,270,494 7,632,032 7,475,961 7,547,088 7,611,239 7,735,955 11/293,818 7,681,876 11/293,816 7,448,734 7,425,050 7,364,263 7,201,468 7,360,868 7,234,802 7,303,255 7,287,846 7,156,511 10/760,264 7,258,432 7,097,291 7,645,025 10/760,248 7,083,273 7,367,647 7,374,355 7,441,880 7,547,092 10/760,206 7,513,598 10/760,270 7,198,352 7,364,264 7,303,251 7,201,470 7,121,655 7,293,861 7,232,208 7,328,985 7,344,232 7,083,272 7,621,620 7,669,961 7,331,663 7,360,861 7,328,973 7,427,121 7,407,262 7,303,252 7,249,822 7,537,309 7,311,382 7,360,860 7,364,257 7,390,075 7,350,896 7,429,096 7,384,135 7,331,660 7,416,287 7,488,052 7,322,684 7,322,685 7,311,381 7,270,405 7,303,268 7,470,007 7,399,072 7,393,076 7,681,967 7,588,301 7,249,833 7,524,016 7,490,927 7,331,661 7,524,043 7,300,140 7,357,492 7,357,493 7,566,106 7,380,902 7,284,816 7,284,845 7,255,430 7,390,080 7,328,984 7,350,913 7,322,671 7,380,910 7,431,424 7,470,006 7,585,054 7,347,534 7,441,865 7,469,989 7,367,650 7,469,990 7,441,882 7,556,364 11/293,812 7,357,496 7,467,863 7,431,440 7,431,443 7,527,353 7,524,023 7,513,603 7,467,852 7,465,045
The disclosures of these applications and patents are incorporated herein by reference.
BACKGROUND OF THE INVENTION
Electronic devices having embedded computer systems are now part of everyday life. Examples of such devices include automatic teller machines (ATMs), mobile telephones, printers, photocopiers, handheld calculators, microwave ovens, televisions, DVD players, washing machines, handheld game consoles etc. Broadly speaking, embedded computer systems are characterized by providing a function (or functions) that is not itself a computer.
Generally, an embedded system contains special-purpose hardware and a processor (CPU) supporting a real-time operating system (RTOS). The system is programmed with special-purpose software tailored to meet the requirements for that particular system. Typically, software written for an embedded system is referred to as `firmware`. Since electronic devices are expected to run continuously for many years without errors, firmware is usually developed and tested more rigorously than software for computers.
Aside from the obvious operational advantages of an embedded computer system, there is a considerable advantage offered in terms of the manufacture and distribution of various product lines. When a new product is released onto the market, it is often desirable to release the product in different versions, each version having a price commensurate with that particular version. For example, a first product may have Feature X, while a second product may have Features X, Y and Z.
In terms of manufacturing, it is relatively expensive to have one production line dedicated to a first product and another production line dedicated to a second product. It is cheaper to manufacture a single product type that includes the necessary hardware for supporting Features X, Y and Z in all products. In this scenario, various product lines may be differentiated via their embedded firmware. The firmware provides a much cheaper means for differentiating between a range of products, compared to the hardware. Moreover, the firmware allows users to upgrade their devices without having to buy a new device. For example, an authorized Internet download via a personal computer may be used to provide an upgrade, which enables Features Y and Z in a product purchased originally with only Feature X.
However, an inherent problem with embedded firmware is that it is susceptible to malicious attack from hackers or willful copyright infringers offering unauthorized firmware upgrades. For example, an unauthorized firmware upgrade may be freely distributed over the Internet, allowing users to upgrade their devices free of charge.
One way of circumventing this problem is to provide upgrades not via the firmware itself, but via an authentication chip in the device. The use of an authentication chip ('QA chip') in a printer environment was described in our earlier applications listed below, the contents of which are herein incorporated by reference:
TABLE-US-00003 10/727,251 10/727,159 10/727,180 10/727,179 10/727,192 10/727,274 10/727,164 10/727,161 10/727,198 10/727,158 10/754,536 10/754,938 10/727,227 10/727,160 10/296,522 6,795,215 10/296,535 09/575,109 6,805,419 6,859,289 6,977,751 6,398,332 6,394,573 6,622,923 6,747,760 6,921,144 10/884,881 10/943,941 10/949,294 11/039,866 11/123,011 6,986,560 7,008,033 11/148,237 11/248,435 11/248,426 11/298,630 09/517,539 6,566,858 6,331,946 6,246,970 6,442,525 09/517,384 09/505,951 6,374,354 09/517,608 09/505,147 6,757,832 6,334,190 6,745,331 09/517,541 10/203,559 10/203,560 10/203,564 10/636,263 10/636,283 10/866,608 10/902,889 10/902,833 10/940,653 10/942,858 10/854,514 10/854,519 10/854,513 10/854,499 10/854,501 10/854,500 10/854,502 10/854,518 10/854,517
As described in our earlier applications, QA chip(s) in a printer perform an array of functions in a secure environment. A QA chip in a print cartridge may be used to allow operation of the printer only in a licensed manner. For example, a printer A may be licensed to print at 10 pages per minute, while a printer B may be licensed to print at 30 pages per minute. The hardware in each printer is identical, but the QA chip allows each printer to be differentiated. Moreover, since the QA chip stores its data in a secure, authenticated fashion, it can only be upgraded or replaced by an authentic source. Hence, the QA chip provides protection against attack from unlicensed users.
A QA chip mounted on an ink cartridge may be used to guarantee that the ink contained in the cartridge is from a particular source or of a particular quality, thereby ensuring that incorrect ink, which may damage the printhead, cannot be used. The same QA chip may similarly be used to store dynamically in its memory a quantity of `virtual ink` remaining in the cartridge, determined with reference to the initial quantity of ink in the cartridge and the number of dots printed using that ink. The quantity of `virtual ink` provides a security mechanism for the printer and prevents unauthorized refilling of ink cartridges--the firmware in the printer communicates with the ink cartridge QA chip before printing and if the amount of `virtual ink` is insufficient, the printer will not print. In this way, the quality of ink can be assured and risk of damaging the printhead using low quality ink from an unauthorized refill is minimized.
QA chips provide an excellent means for preventing unauthorized uses of electronic devices. However, the security of QA chips relies on firmware in the embedded system communicating with the chip. It is conceivable that the most determined hacker may be able to modify the firmware and override its communication with QA chip(s) in the device. In this scenario, the security provided by the QA chip would be compromised. In the above example, unauthorized refills of ink cartridges would be possible, irrespective of the presence of a QA chip on the ink cartridge.
It may seem unlikely that such a determined attack on an embedded computer system would be made. However, in the printer market, sales of unauthorized ink refills is becoming a multimillion dollar industry and provides considerable motivation for a malicious attack on any security systems built in to a printer. From the point of view of a printer manufacturer, the use of low quality ink in its printers, resulting in poor print quality and shortened printhead lifetime, has the potential to do incalculable damage to its goodwill and reputation in the printer market.
It would therefore be desirable to provide an electronic device, having an embedded computer system, with improved security from malicious attack.
It would further be desirable to provide such an electronic device, which still allows flexibility for firmware upgrades or even installation of an alternative core RTOS downstream of the device manufacturer.
It would further be desirable to provide a simple means for upgrading firmware in PictBridge printers.
SUMMARY OF THE INVENTION
In a first aspect, there is provided an electronic device comprising an embedded computer system, said device comprising a processor supporting a real-time operating system (RTOS), said processor supporting user and supervisor modes, wherein said computer system is programmed such that only code portions directly controlling essential hardware in said device are run in supervisor mode.
As used herein, "essential hardware" is used to mean hardware component(s) which are essential for the device to perform its primary function. For example, in the case of a printer, the essential hardware may include drive circuitry for actuating nozzle actuators in a printhead, but does not include an LCD display on the printer, since an LCD display is not essential for the printer to be able to print.
As used herein, the term "code portion" is used to mean any portion of code which performs a specific function. A code portion may be part of a thread or a process.
Processors supporting user and supervisor modes are well known in the computer art. Code running in supervisor mode can only be accessed by a person with special privileges, such as the person who wrote the code originally. By contrast, code running in user mode can be accessed and modified by any person, irrespective of their privileges.
An example of a processor, which supports user and supervisor modes, is the SPARC® processor. Such processors were designed to protect a core (or kernel) of an operating system from potentially buggy applications running on a computer. With the core of the operating system running in supervisor mode, the operating system can continue to run, even if a particular application running in user mode has crashed. This ensures that other applications running in user mode can continue running on the operating system. By protecting the core of the operating system in this way, the risk of crashing the whole computer with a buggy application is minimized--there is a separation between applications and the core of the operating system.
In the present invention, the processor supporting user and supervisor modes is employed in a different manner from its conventional use in non-embedded computer systems. The embedded computer system of the present invention is programmed so that only code portions directly controlling essential hardware in the device are run in supervisor mode, with the remainder of code portions being run in user mode.
A major advantage of running certain code portions (which control essential hardware in the device) in supervisor mode is that these code portions cannot be modified once they have been finalized by the device manufacturer. Hence, the manufacturer, or a licensee, retains ultimate control over how the device may be operated.
For example, a printer manufacturer may program into code portions directly controlling a printhead and paper feed mechanism that the printer should only print at 10 pages per minute. Since this code portion is protected in supervisor mode, it is not possible for a hacker to modify the code and upgrade his printer.
Optionally, the computer system is programmed such that code portions not directly controlling essential hardware in said device are run in user mode. Optionally, a core of the RTOS is run in user mode. The advantages of programming the embedded computer system in this way are twofold. Firstly, the amount of code in supervisor mode is kept to a minimum, which minimizes the risk of bugs being present in this immutable code. Secondly, by having the RTOS and non-essential applications running in user mode, there is an opportunity for a licensed printer manufacturer or distributor, downstream of the original printer manufacturer, to develop its own firmware specific to its requirements on an operating system of its choice. For example, a licensed printer manufacturer may wish to change the format of an LCD display and he may wish to program this using his preferred operating system. In accordance with the present invention, a licensed printer manufacturer has the flexibility to do this, without the security of a QA system in the device being compromised.
Optionally, the computer system is programmed such that a code portion directly controlling essential hardware is callable from an application running in user mode via a trap identifying that code portion. A plurality of code portions, each directly controlling respective essential hardware, may each be independently callable from an application running in user mode via a respective trap identifying a respective code portion.
An advantage of being able to call up a particular code portion from user mode is that it provides further flexibility for programming specific operation sequences into the device. User mode applications may be programmed by a licensed device manufacturer or may even be available via an upgrade, downloadable from the Internet. For example, a printer user may wish to have a default option of printing `5000 pages, full color`. He is able to upgrade his firmware to have this default option, because the print job application(s) programmed into the embedded system run in user mode.
Optionally, the code portion directly controlling essential hardware communicates with at least one authentication chip in the device before an operation of the hardware. The authentication chip (or `QA chip`) authorizes the operation. For example, the code portion may ask the QA chip for the authorized print speed for that printer. The QA chip returns this information (e.g. 10 pages per minute) to the computer system and printing at the authorized print speed can commence. In this way, licensed operation of the device can be controlled securely via the QA chip, without being compromised by a malicious attack on firmware in the device.
Optionally, a first authentication chip is associated with a consumable component of said device. Examples of consumable components in electronic devices include ink cartridges, toner, paper, batteries etc. The first authentication chip may contain static and/or dynamic data relating to the consumable component. For example, static data may relate to a source, batch number, quality (e.g. ink color), initial quantity etc. of the consumable component. Dynamic data may relate to a current quantity (e.g. amount of remaining ink) or quality (e.g. temperature) of the consumable component.
An electronic device may require several consumable components. Accordingly, the device may comprise a plurality of first authentication chips, each one of the first authentication chips being associated with a respective consumable component.
Optionally, the electronic device is a printer and the consumable component is an ink cartridge having a respective first authentication chip. The authentication chip on an ink cartridge may be used to authorize printing only if certain conditions have been met e.g. (i) printing only when an ink cartridge of a predetermined type, as determined via the associated authentication chip, is loaded in the printer; and/or (ii) printing only when a predetermined amount of ink, as determined via the associated authentication chip, is remaining in the ink cartridge. As described earlier, these authentication mechanisms provide a printer manufacturer with assurances regarding the quality of ink used in its printers, thereby preserving the manufacturer's reputation in the printer market.
Optionally, a second authentication chip is positioned in a body of the device, which is not associated with a consumable component. For example, a second authentication chip may be mounted in or on a print engine for a printer. The second authentication chip may be used to authorize certain operations of the device, such as printing at a predetermined speed.
In a second aspect, there is provided a system for upgrading firmware in a PictBridge printer, the system comprising:
a PictBridge printer having an embedded computer system; and
a memory stick for communicating with said embedded computer system, wherein said memory stick contains a firmware upgrade for said embedded computer system.
In a third aspect, there is provided a memory stick containing a firmware upgrade for an embedded computer system of a PictBridge printer.
In a fourth aspect, there is provided a system for upgrading firmware in a PictBridge printer, the system comprising:
a PictBridge printer having an embedded computer system; and
a digital camera for communicating with said embedded computer system, wherein said camera contains a firmware upgrade for said embedded computer system.
In a fifth aspect, there is provided a digital camera containing a firmware upgrade for an embedded computer system of a PictBridge printer.
PictBridge is an industry open standard from the Camera & Imaging Products Association (CIPA) for direct printing. It allows images to be printed directly from digital cameras to a printer, without having to connect the camera to a computer. By connecting a PictBridge-enabled printer to a PictBridge-enabled camera using a single USB cable, users can easily control print settings using their camera and produce high quality photos without using a PC. A major advantage of PictBridge printing is its simplicity for the user, and especially those users for whom complex photo application software may be a barrier.
PictBridge relies on communication between embedded computer systems in the camera and printer. These embedded computer systems effectively replace PC photo applications and, moreover, simplify operability for the user.
From time to time, it may be necessary to upgrade firmware in a PictBridge printer. For example, additional printing options may be required or it may be necessary to upgrade firmware so that it is compatible with new PictBridge-enabled cameras on the market.
In traditional digital camera systems, software upgrades for PC photo applications are provided via internet downloads or CD. However, many PictBridge printer users may not own a computer in the first place. For those that do own a computer, the complexity of downloading new software onto their PC from the internet and upgrading their PictBridge printer by connecting it to their PC is likely to be a significant barrier. After all, PictBridge users are generally attracted to this system, because of its simplicity and because it obviates the need for a PC.
A major advantage of the present invention is its simplicity for the user. Insertion of a memory stick into a USB port of a PictBridge printer requires no computer skills. Therefore, firmware upgrades of a printer may be confidently performed by anyone without risk or fear of upgrading the printer incorrectly.
As used herein, the term "memory stick" is used to mean any portable non-volatile digital memory device.
The memory stick or camera may communicate with the embedded computer system via standard USB connectors.
Optionally, the memory stick or camera is configured to download automatically a firmware upgrade to the printer if it detects that the printer does not already have that upgrade.
Optionally, the portable non-volatile digital memory device is a memory stick.
The camera may be sold with the firmware upgrade already programmed into its memory. Alternatively, the camera may receive the firmware upgrade from an external source. For example, a memory stick may be used to download the firmware upgrade to the camera so that the camera can upgrade the printer when it is next connected.
BRIEF DESCRIPTION OF THE DRAWINGS
A specific embodiment of the invention will now be described in detail, with reference to the following drawings in which:
FIG. 1 is a perspective view of a printer having an embedded computer system; and
FIG. 2 is a diagram showing the interrelationship between various components of the embedded computer system and printer hardware.
DETAILED DESCRIPTION OF A SPECIFIC EMBODIMENT
Embedded System with User and Supervisor Modes
FIG. 1 shows a printer 2 embodying the present invention. Media supply tray 3 supports and supplies media 8 to be printed by a print engine (concealed within a printer casing). Printed sheets of media 8 are fed from the print engine to a media output tray 4 for collection. User interface 5 is an LCD touch screen and enables a user to control the operation of the printer 2. The printer 2 comprises an embedded computer system (not shown), which controls the overall operation of the printer.
Turning to FIG. 2, there is shown schematically the embedded computer system 10 and its interrelationship with printer hardware and other external components. The embedded computer system 10 comprises a processor 11, which supports user and supervisor modes. The processor 11 runs code portions 12 controlling essential printing hardware 13 in supervisor mode only. The essential printing hardware 13 may comprise drive circuitry for actuating nozzle actuators, motors driving a feed mechanism etc. All other code is run in user mode, including the core RTOS 14.
Applications 15 running in user mode control printer operations indirectly via traps which call up code portions 12. In this way, the integrity of the code portions 12 is protected, whilst still allowing some flexibility on exactly how the printer is operated.
The code portions 12 are in communication with a print engine QA chip 16a and one or more ink cartridge QA chips 16b in the printer. Before any operation of essential printing hardware 13, the code portions 12 communicate with the QA chips 16a and 16b to request authorization for that operation.
The print engine QA chip 16a is programmed with an authorized print speed (e.g. 30 pages per minute). This information is returned to the code portions 12 and the essential printing hardware 13 is operated in accordance with the authorized print speed.
The ink cartridge QA chip 16b is programmed with information regarding the ink, including an amount of remaining ink. If, for example, the ink cartridge QA chip 16b returns information that no ink is remaining in the cartridge, then the code portions 12 are not authorized to operate the essential printing hardware 13 and printing is aborted.
Since the code portions 12 are run in supervisor mode only, it is not possible for an unauthorized person to modify these code portions and, hence, it is not possible to change the operation of essential printing hardware 13 or override the security provided by the QA chips 16a and 16b.
On the other hand, code portions 17 controlling non-essential hardware 18, such as the LCD display 5, are run in user mode. These code portions 17, together with the core RTOS 14, can be modified without any authorization privileges, to provide flexibility in operation of non-essential hardware and even flexibility in selecting a desired operating system.
With the embedded system 10 arranged as described above, all printer upgrades and ink refills can be reliably controlled via the QA chips 16a and 16b. The print engine QA chip 16a may receive a print speed upgrade 19 via an authorized internet download or memory stick. Likewise, an ink refill QA chip 20 may communicate with the ink cartridge QA chip 16b during an authorized ink refill, so that the ink cartridge QA chip 16b knows a refill from an authentic source has taken place. Authorized ink refill operations are described in detail in our earlier U.S. patent application Ser. No. 11/014,769 (filed on Dec. 12, 2004), the contents of which is hereby incorporated by reference.
As described above, the majority of firmware in the embedded system 10 for printer 2 may be modified or upgraded without compromising the security of licensed printer operations. Some firmware upgrades may be provided by the user.
Referring to FIG. 2, a firmware upgrade may be provided by a memory stick 30 or a camera 31. The memory stick 30 or camera 31 contains the firmware upgrade in its memory and automatically downloads the upgrade to the embedded system 10 if it detects that the embedded system requires upgrading.
In the case of the memory stick 30, the user simply plugs the memory stick into a USB port of a PictBridge printer.
In the case of the camera 31, the user simply connects the camera to a Pictbridge printer via its USB port in the normal way. The user may even be unaware that a firmware upgrade has taken place if the camera was purchased with the upgrade contained in its memory. Alternatively, the memory stick 30 may be used to download a firmware upgrade into the camera's memory, and the camera 31 used to upgrade firmware in the embedded system 10 when the camera is next connected to the printer 2.
It will, of course, be appreciated that the present invention has been described purely by way of example and that modifications of detail may be made within the scope of the invention, which is defined by the accompanying claims.
Patent applications by David William Funk, Balmain AU
Patent applications by Kia Silverbrook, Balmain AU
Patent applications in class Responsive to condition
Patent applications in all subclasses Responsive to condition