GB2379754A - Hardware revision identification apparatus using an oscillating R-C circuit - Google Patents
Hardware revision identification apparatus using an oscillating R-C circuit Download PDFInfo
- Publication number
- GB2379754A GB2379754A GB0122176A GB0122176A GB2379754A GB 2379754 A GB2379754 A GB 2379754A GB 0122176 A GB0122176 A GB 0122176A GB 0122176 A GB0122176 A GB 0122176A GB 2379754 A GB2379754 A GB 2379754A
- Authority
- GB
- United Kingdom
- Prior art keywords
- circuit
- oscillating
- electronic device
- revision
- identification
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Granted
Links
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F21/00—Security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
- G06F21/50—Monitoring users, programs or devices to maintain the integrity of platforms, e.g. of processors, firmware or operating systems
- G06F21/51—Monitoring users, programs or devices to maintain the integrity of platforms, e.g. of processors, firmware or operating systems at application loading time, e.g. accepting, rejecting, starting or inhibiting executable software based on integrity or source reliability
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F1/00—Details not covered by groups G06F3/00 - G06F13/00 and G06F21/00
- G06F1/22—Means for limiting or controlling the pin/gate ratio
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Computer Security & Cryptography (AREA)
- Software Systems (AREA)
- Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Computer Hardware Design (AREA)
- Semiconductor Integrated Circuits (AREA)
Abstract
An apparatus for revision identification in an electronic device comprises an electronic oscillating circuit having a selectable oscillating frequency, means for measuring the oscillating frequency of the circuit and means for executing software suitable for operating the current revision of the device in dependence on the measured oscillating frequency of the oscillating circuit. An identification list associates oscillating frequencies to hardware states of the device.
Description
<Desc/Clms Page number 1>
An Apparatus for Hardware Revision Identification Using an
R-C Circuit This invention relates to an apparatus for hardware revision identification using an R-C circuit.
Modern electronic products are frequently updated or changed resulting in different revisions or versions of the product. These revisions may be variations in the hardware state of the product. An example of a system in which hardware revisions are frequent are mobile telephone devices. The revisions are typically introduced to improve the performance of the device or to expel the effects of bugs.
Within a device, multiple hardware revisions need to be supported by a common software build. The software for operating multiple versions or hardware revisions of the device will typically be programmed into the microprocessor during manufacture. Each hardware revision will require unique software. Therefore the CPU must know the hardware state of the device and then run the software associated with that particular hardware state.
Typically an identity signal is associated with each hardware state. The CPU also contains a look up table which lists which identity signal is associated with which hardware state and software. Therefore when a particular identification signal is received by the CPU that signal will be recognised and the CPU will execute the software required by that version of the device.
Typically the identity signal for a hardware revision is implemented by use of dedicated CPU 1/0 ports. A CPU typically dedicates four pins to hardware identification
<Desc/Clms Page number 2>
although other numbers are possible. Each pin can be set to high or low. Therefore four pins can support 16 different signals. Each individual signal corresponds to a particular hardware state. In this example the device can support 16 hardware states.
In modern systems it is beneficial to support a large number of hardware revisions. However increasing the number of pins available for hardware revision is problematic since both size and cost are important factors in production of electronic devices.
Preferred embodiments of the present invention to reduce the number of pins required to be dedicated to hardware identity and increase the possible number of hardware states supported by the device.
Embodiments of the present invention use an R-C circuit in which the value of the components can be changed in order to vary the oscillating frequency of the circuit. Part of the R-C circuit is internal to the device but the circuit is left open across two pins which protrude from the device. The R-C circuit is completed by electrically connecting the pins. Embodiments of the invention further enable the CPU to calculate the oscillation frequency of the circuit. A look up table is programmed into the CPU to associate a given oscillation frequency to a particular hardware state and software. In this way the CPU can recognise the hardware state of the device from the frequency of oscillation of the R-C circuit and execute the associated software.
Preferred embodiments of the invention only require two CPU I/O pins to be dedicated to hardware revision.
Furthermore the number of possible hardware revisions supported by the device is equal to the number of possible oscillation frequencies of the R-C circuit.
<Desc/Clms Page number 3>
According to the present invention there is provided an apparatus for revision identification in an electronic device comprising; an electronic oscillating circuit having a selectable oscillating frequency, means for measuring the oscillating frequency of the oscillating circuit, and means for executing software suitable for operating the current revision of the device in dependence on the measured oscillating frequency of the oscillating circuit.
According to a further embodiment of the present invention there is provided a method for revision identification in an electronic device comprising the steps of; enabling an electronic oscillating circuit having a selectable oscillating frequency, measuring the oscillating frequency of the oscillating circuit, and executing software suitable for operating the current revision of the device in dependence on the measured oscillating frequency of the oscillating circuit.
Preferred embodiments of the present invention will now be described with reference to the accompanying drawings in which; Figure 1 shows a preferred embodiment of the R-C oscillatory circuit, Figure 2 is a block diagram showing a method for calculating the frequency of the circuit, Figure 3 is a block diagram showing the procedure for activating the software associated with a particular frequency of the R-C circuit.
<Desc/Clms Page number 4>
Figure 1 shows a preferred embodiment of an R-C oscillating circuit 10 containing a first resistor 12, a second resistor 14, a first inverting gate 16, a second inverting gate 18, a capacitor 20, a first pin 22 and a second pin 24. The oscillating circuit is also referred to as the ID oscillator (identification oscillator).
The first resistor 12, second resistor 14, first inverter 16 and second inverter 18 are positioned within the device. The first pin 22 and second pin 24 protrude from the device. The capacitor 20 is positioned external to the device and completes the oscillating circuit.
The oscillating frequency of the R-C circuit 10 is determined by the value of the first resistor 12 and the capacitor 20 by the formula given by equation 1; f = 1/ (RIC1) Equation 1 where R2 Rl.
In general the components inside the device will be fixed after manufacture. The value of the external capacitor 20 can easily be changed by electrically connecting a capacitor of different value across the pins 22 and 24 thus changing the oscillation frequency of the circuit.
The circuit of Figure 1 is enabled by an enabling signal at 26. On enabling the circuit an oscillating signal is generated at the frequency peculiar to the components in the circuit as defined by Equation 1. The circuit can be enabled each time a hardware revision has been made and also the circuit would typically be enabled at power up.
In order to save power, embodiments of the invention may disable the oscillating circuit between these times.
<Desc/Clms Page number 5>
Generally a greater variation in the value of capacitors is available compared with resistors. Therefore if a single component is positioned externally to the device it would be more efficient to position the capacitor in that location.
Further embodiments of the invention include R-C circuits with different combinations of capacitors and resistors positioned inside and outside the device.
Figure 2 shows the method for determining the frequency of the R-C circuit. The frequency of the ID oscillator 30 is measured against the internal clock 32 of the device.
Typically the internal clock will have a tolerance of better than 1 part per million allowing precise measurement of the frequency of the ID oscillator.
The number of oscillations of the ID oscillator is counted by counter 34 over a known number of clock oscillations.
The CPU knows the frequency of the internal clock 32. The number of clock oscillations during which the count was taken is also known by the CPU 36. The number of ID oscillations within the time period as counted by counter 34 is forwarded to the CPU 36.
The frequency of the ID oscillator is then calculated by the CPU using the known frequency of the internal clock, the number of oscillations of the internal clock over which the count was taken and the number of oscillations of the ID oscillator within that time period.
In Figure 3 the frequency of the ID oscillator is known at 40. The frequency is compared with an identification (ID) list which is stored within the CPU at 42. The ID list stores the association of each frequency of oscillation with a given hardware state. At 44 the hardware state of the system associated with the particular frequency is
<Desc/Clms Page number 6>
identified. At 46 the software associated with the identified hardware state is identified. At 48 the correct software for the hardware state is executed.
It can been seen that preferred embodiments of the invention require only two dedicated I/O pins on the CPU and the number of hardware states supported by the device is only limited by the number of ID frequencies of the electrical circuit.
Claims (15)
- Claims 1. An apparatus for revision identification in an electronic device comprising; an electronic oscillating circuit having a selectable oscillating frequency, means for measuring the oscillating frequency of the oscillating circuit and means for executing software suitable for operating the current revision of the device in dependence on the measured oscillating frequency of the oscillating circuit.
- 2. An apparatus for revision identification in an electronic device of claim 1 where the electronic oscillating circuit is an R-C circuit.
- 3. An apparatus for revision identification in an electronic device of claim 1 or 2 where at least one component can be replaced.
- 4. An apparatus for revision identification in an electronic device of claim 1,2 or 3 where the oscillating frequency is measured against an internal clock.
- 5. An apparatus for revision identification in an electronic device of claim 1,2, 3 or 4 where access is available to software associated with each revision of the device.
- 6. An apparatus for revision identification in an electronic device of claim 1,2, 3,4 or 5 where the electronic oscillating circuit is enabled by an enabling signal.
- 7. An apparatus for revision identification in an electronic device of claim 1,2, 3,4, 5 or 6 where an<Desc/Clms Page number 8>identification list is accessible which associates oscillation frequencies to hardware states of the device.
- 8. An apparatus for revision identification in an electronic device as claimed in claim 1 substantially as herein described, with reference to the accompanying drawings.
- 9. A method for revision identification in an electronic device comprising the steps of; enabling an electronic oscillating circuit having a selectable oscillating frequency, measuring the oscillating frequency of the oscillating circuit, and executing software suitable for operating the current revision of the device in dependence on the measured oscillating frequency of the oscillating circuit.
- 10. A method for revision identification in an electronic device of claim 9 where the electronic oscillating circuit is an R-C circuit.
- 11. A method for revision identification in an electronic device of claim 9 or 10 where at least one component can be replaced.
- 12. A method for revision identification in an electronic device of claim 9,10 or 11 where the oscillating frequency is measured against an internal clock.
- 13. A method for revision identification in an electronic device of claims 9,10, 11 or 12 where an identification list is accessible which associates oscillation frequencies to hardware states of the device.<Desc/Clms Page number 9>
- 14. A method for revision identification in an electronic device of claim 9,10, 11,12 or 13 where the electronic oscillating circuit is enabled by an enabling signal.
- 15. An apparatus for revision identification in an electronic device as claimed in claim 9 substantially as herein described, with reference to the accompanying drawings.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
GB0122176A GB2379754B (en) | 2001-09-13 | 2001-09-13 | An apparatus for harware revision identification using a R-C circuit |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
GB0122176A GB2379754B (en) | 2001-09-13 | 2001-09-13 | An apparatus for harware revision identification using a R-C circuit |
Publications (3)
Publication Number | Publication Date |
---|---|
GB0122176D0 GB0122176D0 (en) | 2001-10-31 |
GB2379754A true GB2379754A (en) | 2003-03-19 |
GB2379754B GB2379754B (en) | 2005-08-24 |
Family
ID=9922043
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
GB0122176A Expired - Fee Related GB2379754B (en) | 2001-09-13 | 2001-09-13 | An apparatus for harware revision identification using a R-C circuit |
Country Status (1)
Country | Link |
---|---|
GB (1) | GB2379754B (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2008071675A2 (en) * | 2006-12-11 | 2008-06-19 | Arcelik Anonim Sirketi | A switching circuit |
Families Citing this family (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN111782276A (en) * | 2019-04-04 | 2020-10-16 | 福州瑞芯微电子股份有限公司 | Method and terminal for automatically identifying hardware version |
CN111641419B (en) * | 2020-04-29 | 2022-02-11 | 厦门紫光展锐科技有限公司 | Version identification method, control method and system of radio frequency power amplifier of terminal |
Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPS58114262A (en) * | 1981-12-28 | 1983-07-07 | Fujitsu Ltd | Floppy disk controlling circuit |
JPS6188320A (en) * | 1984-10-05 | 1986-05-06 | Hitachi Heating Appliance Co Ltd | Key switch of microcomputer |
JPH031284A (en) * | 1989-03-04 | 1991-01-07 | Fujitsu Ten Ltd | Constant setting device of microcomputer |
JPH0553966A (en) * | 1991-08-26 | 1993-03-05 | Toshiba Corp | Electronic computer system |
EP0665491A2 (en) * | 1994-01-28 | 1995-08-02 | Compaq Computer Corporation | Identification of liquid crystal display panels |
US6035416A (en) * | 1997-10-15 | 2000-03-07 | International Business Machines Corp. | Method and apparatus for interface dual modular redundancy |
-
2001
- 2001-09-13 GB GB0122176A patent/GB2379754B/en not_active Expired - Fee Related
Patent Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPS58114262A (en) * | 1981-12-28 | 1983-07-07 | Fujitsu Ltd | Floppy disk controlling circuit |
JPS6188320A (en) * | 1984-10-05 | 1986-05-06 | Hitachi Heating Appliance Co Ltd | Key switch of microcomputer |
JPH031284A (en) * | 1989-03-04 | 1991-01-07 | Fujitsu Ten Ltd | Constant setting device of microcomputer |
JPH0553966A (en) * | 1991-08-26 | 1993-03-05 | Toshiba Corp | Electronic computer system |
EP0665491A2 (en) * | 1994-01-28 | 1995-08-02 | Compaq Computer Corporation | Identification of liquid crystal display panels |
US6035416A (en) * | 1997-10-15 | 2000-03-07 | International Business Machines Corp. | Method and apparatus for interface dual modular redundancy |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2008071675A2 (en) * | 2006-12-11 | 2008-06-19 | Arcelik Anonim Sirketi | A switching circuit |
WO2008071675A3 (en) * | 2006-12-11 | 2008-12-11 | Arcelik As | A switching circuit |
Also Published As
Publication number | Publication date |
---|---|
GB0122176D0 (en) | 2001-10-31 |
GB2379754B (en) | 2005-08-24 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US6154095A (en) | Phase locked loop clock source provided with a plurality of frequency adjustments | |
TW525349B (en) | System and method for programming oscillators | |
CN109302181B (en) | Oscillator Calibration System | |
US20100060306A1 (en) | Frequency specific closed loop feedback control of integrated circuits | |
EP1777604A1 (en) | USB apparatus without frequency oscillator | |
KR20110027639A (en) | Automatic synchronization of an internal oscillator to an external frequency reference | |
US11356105B2 (en) | Method for calibrating crystal frequency offset through internal loop of central processing unit | |
US6345172B1 (en) | Radio system which overcomes signal interference from clock oscillation circuit | |
US20110156821A1 (en) | Circuit and method for generating a clock signal | |
CN109690948A (en) | Method and apparatus for low-power relaxor | |
GB2379754A (en) | Hardware revision identification apparatus using an oscillating R-C circuit | |
KR19990077877A (en) | Electronic apparatus comprising a frequency synthesizer, and method of controlling a frequency synthesizer | |
US6326825B1 (en) | Accurate time delay system and method utilizing an inaccurate oscillator | |
SE507698C2 (en) | Method and system for tuning resonance modules | |
CN108418580B (en) | Method for measuring stability of phase-locked loop in central processing unit through frequency meter | |
JPH04102910A (en) | Microcomputer | |
KR100323370B1 (en) | Device with a clock output circuit | |
CN112015221B (en) | Voltage control circuit, voltage control method and integrated circuit | |
CN116436408A (en) | Square wave generating circuit | |
CN207200668U (en) | Temperature compensating crystal oscillator | |
US2973476A (en) | Test circuit for distributed capacity of inductances | |
KR960001887Y1 (en) | Micro-computer | |
KR0152899B1 (en) | High-frequency rf oscillation circuit | |
JPH10320371A (en) | Control processor | |
CN113162608A (en) | Compensation circuit applied to logic chip and time sequence compensation method |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
732E | Amendments to the register in respect of changes of name or changes affecting rights (sect. 32/1977) | ||
PCNP | Patent ceased through non-payment of renewal fee |
Effective date: 20060913 |