CN110058951A - A kind of method and apparatus for repairing low volume data mistake inside ROM - Google Patents
A kind of method and apparatus for repairing low volume data mistake inside ROM Download PDFInfo
- Publication number
- CN110058951A CN110058951A CN201910335358.2A CN201910335358A CN110058951A CN 110058951 A CN110058951 A CN 110058951A CN 201910335358 A CN201910335358 A CN 201910335358A CN 110058951 A CN110058951 A CN 110058951A
- Authority
- CN
- China
- Prior art keywords
- rom
- data
- replacement
- system bus
- module
- 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
Links
- 238000000034 method Methods 0.000 title claims abstract description 24
- LHMQDVIHBXWNII-UHFFFAOYSA-N 3-amino-4-methoxy-n-phenylbenzamide Chemical compound C1=C(N)C(OC)=CC=C1C(=O)NC1=CC=CC=C1 LHMQDVIHBXWNII-UHFFFAOYSA-N 0.000 claims description 7
- 230000008439 repair process Effects 0.000 abstract description 10
- 238000005516 engineering process Methods 0.000 abstract description 6
- 238000011084 recovery Methods 0.000 abstract description 2
- 101100524645 Toxoplasma gondii ROM5 gene Proteins 0.000 description 8
- 230000004048 modification Effects 0.000 description 6
- 238000012986 modification Methods 0.000 description 6
- 238000004321 preservation Methods 0.000 description 3
- 230000008569 process Effects 0.000 description 3
- 238000010586 diagram Methods 0.000 description 2
- 230000006870 function Effects 0.000 description 2
- 230000008859 change Effects 0.000 description 1
- 230000000694 effects Effects 0.000 description 1
- 238000005194 fractionation Methods 0.000 description 1
- 238000012797 qualification Methods 0.000 description 1
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F11/00—Error detection; Error correction; Monitoring
- G06F11/07—Responding to the occurrence of a fault, e.g. fault tolerance
- G06F11/0703—Error or fault processing not based on redundancy, i.e. by taking additional measures to deal with the error or fault not making use of redundancy in operation, in hardware, or in data representation
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Quality & Reliability (AREA)
- Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Stored Programmes (AREA)
Abstract
The embodiment of the invention discloses a kind of method and apparatus of low volume data mistake inside reparation ROM, it is related to ROM recovery technique field, the present invention increases read control module in the channel that system bus reads ROM, when low volume data needs to modify or there is mistake in ROM, by system register and increase less circuit logic, it needs the data replaced to be replaced during system bus reads ROM by read control module small part in ROM, modifies to realize capable of repairing wrong or realization in the case where changing the data in ROM.Compared with the existing technology, the ROM that the present invention does not need one piece of backup goes to repair the mistake in ROM, is increased without chip area and save the cost;When leading to a small amount of address spatial error inside ROM because of technological reason, can through the invention in technical solution go to repair, improve yields.
Description
Technical field
The present embodiments relate to ROM recovery technique fields, and in particular to a kind of to repair low volume data mistake inside ROM
Method and apparatus.
Background technique
In embedded systems, in chip electrifying startup ROM, low volume data mistake in ROM can be encountered or needed quick
The case where carrying out the replacement of ROM internal data, the prior art can generally back up ROM, using primary ROM as the first storage
Medium, spare ROM is as the second storage medium, and when primary ROM breaks down, the piece of processor is selected letter by hardware logic
Number it is switched to spare ROM.
But often in actual deployment and in use, prior art can have following difficulties and problems:
The first, it in the case where ROM internal data only has only a few mistake, is gone spare, increased with an equal amount of ROM
Chip area and cost;
The second, leading to corrupt data in ROM because of Product Process reason, even if the ROM using backup is equally possible meeting
Error;
Third, the restorative procedure of the prior art and device may require that the participation of CPU, operating process with structure is complicated;
Based on above problem, a kind of a kind of method and apparatus of the new inside reparation ROM low volume data mistake are needed
Technical solution.
Summary of the invention
For this purpose, the embodiment of the present invention provides a kind of method and apparatus of the inside reparation ROM low volume data mistake, it is existing to solve
Have in technology due to caused by backing up an equal amount of ROM technical solution it is at high cost, operating process and the problem of structure is complicated.
To achieve the goals above, the embodiment of the present invention provides the following technical solutions:
According to a first aspect of the embodiments of the present invention, a method of repairing low volume data mistake inside ROM, including following
Step:
The replacement address of the replacement unit saved in configuration system registers module and replacement data;
System bus reads the data in ROM to read control module;
Read control module is according to the enable signal and the replacement address saved in the system register module to system
Bus returns to the data in the replacement data or ROM.
Further, the replacement unit is the read-only memory unit for needing the ROM replaced.
Further, before data of the system bus into read control module reading ROM, further includes:
The enable signal saved in configuration system registers module.
Further, the system bus uses standard AMBA bus.
Further, the enable signal is 0 or 1.
Further, the read control module is according to the enable signal state and institute saved in the system register module
It states replacement address and returns to data in the replacement data or ROM to system bus, specifically include:
If the enable signal saved in the system register module be 1 and system bus read ROM address with it is described
It is identical to replace address, then read control module returns to the replacement data to system bus;Otherwise read control module is to system bus
Return to the data in ROM.
According to a second aspect of the embodiments of the present invention, a kind of device for repairing low volume data mistake inside ROM, including ROM,
Described device further include:
System register module: for saving replacement address and the replacement data of replacement unit, enable signal is saved;
Debug interface module: the replacement address of the replacement unit for being saved in configuration system registers module and replacement
Data configure the enable signal saved in the system register module;
System bus: for connecting each module, the data in ROM are read to read control module;
Read control module: for according to the enable signal and the replacement address saved in the system register module to
System bus returns to the data in the replacement data or ROM.
Further, the Debug interface module, including jtag interface.
Further, the system bus uses standard AMBA bus, and the enable signal is 0 or 1.
Further, it is described according to the enable signal saved in the system register module and the replacement address to being
System bus returns to the data in the replacement data or ROM, specifically includes:
If the enable signal saved in the system register module be 1 and system bus read ROM address with it is described
It is identical to replace address, then read control module returns to the replacement data to system bus;Otherwise read control module is to system bus
Return to the data in ROM.
The embodiment of the present invention has the advantages that
Increase read control module in the channel that system bus reads ROM, when low volume data needs to modify or exist mistake in ROM
It mistakes, by system register and increases less circuit logic, need the data replaced in system bus small part in ROM
It is replaced during reading ROM by read control module, to realize in energy in the case where changing the data in ROM
It repairs mistake or realizes modification.Compared with the existing technology, the ROM that the present invention does not need one piece of backup goes to repair the mistake in ROM,
It is increased without chip area and save the cost;When leading to a small amount of address spatial error inside ROM because of technological reason, this can be passed through
Technical solution in invention goes to repair, and improves yields.
Detailed description of the invention
It, below will be to embodiment party in order to illustrate more clearly of embodiments of the present invention or technical solution in the prior art
Formula or attached drawing needed to be used in the description of the prior art are briefly described.It should be evident that the accompanying drawings in the following description is only
It is merely exemplary, it for those of ordinary skill in the art, without creative efforts, can also basis
The attached drawing of offer, which is extended, obtains other implementation attached drawings.
Structure depicted in this specification, ratio, size etc., only to cooperate the revealed content of specification, for
Those skilled in the art understands and reads, and is not intended to limit the invention enforceable qualifications, therefore does not have technical
Essential meaning, the modification of any structure, the change of proportionate relationship or the adjustment of size are not influencing the function of the invention that can be generated
Under effect and the purpose that can reach, should all still it fall in the range of disclosed technology contents obtain and can cover.
Fig. 1 is the method flow diagram of low volume data mistake inside a kind of reparation ROM provided in the embodiment of the present invention;
Fig. 2 is the structure drawing of device of low volume data mistake inside a kind of reparation ROM provided in the embodiment of the present invention.
Specific embodiment
Embodiments of the present invention are illustrated by particular specific embodiment below, those skilled in the art can be by this explanation
Content disclosed by book is understood other advantages and efficacy of the present invention easily, it is clear that described embodiment is the present invention one
Section Example, instead of all the embodiments.Based on the embodiments of the present invention, those of ordinary skill in the art are not doing
Every other embodiment obtained under the premise of creative work out, shall fall within the protection scope of the present invention.
Fig. 1 is the method flow diagram of low volume data mistake inside a kind of reparation ROM provided in the embodiment of the present invention, referring to
Fig. 1, comprising the following steps:
The replacement address for needing to replace ROM cell saved in related register in S1, configuration system registers module with
Replacement data;
The enable signal saved in related register in S2, configuration system registers module;
S3, system bus read ROM data to read control module;
The replacement data that S4 (a), read control module are saved into system bus return register;
S4 (b), read control module return to the data in ROM to system bus.
Specifically, Debug interface module passes through related register in the pre-configured system register module of system bus
Replacement data corresponding to the replacement address for needing to replace ROM cell of interior preservation and the replacement address is reconfigured good described
The enable signal saved in register.During system bus reads ROM data to read control module, if in the register
The enable signal of preservation is 1 and system bus will read any one saved in the address and the register of ROM alternatively
When location is identical, read control module returns to the replacement data saved in the register to system bus;Otherwise, control mould is read
Block will read data corresponding to the address of ROM to system bus return.
The method of low volume data mistake inside a kind of reparation ROM provided in the embodiment of the present invention, by system bus
It reads to increase read control module in the channel of ROM, the data that small part needs are replaced in ROM is read with the mistake of ROM in system bus
Be replaced in journey by read control module, thus realize can be repaired in the case where changing the data in ROM it is wrong or
Realize modification.Compared with the existing technology, the ROM that the present invention does not need one piece of backup goes to repair the mistake in ROM, is increased without core
Piece area and save the cost;When leading to a small amount of address spatial error inside ROM because of technological reason, can through the invention in skill
Art scheme goes to repair, and improves yields.
In the above-described embodiments, the system bus uses standard AMBA bus.
Specifically, the AMBA bus includes AXI bus, ahb bus, asb bus and APB bus.
In the above-described embodiments, the enable signal is 0 or 1.
Those of ordinary skill in the art will appreciate that all or part of processing in above-described embodiment method is can to pass through
Program instructs relevant hardware to complete, and the program can store in a kind of computer readable storage medium.
Fig. 2 is the structure drawing of device of low volume data mistake inside a kind of reparation ROM provided in the embodiment of the present invention, referring to
Fig. 2, including Debug interface module 1, system bus 2, read control module 3, system register module 4 and ROM5 are provided;And
Debug interface module 1 is connect with system register module 4 by system bus 2, and system bus 2 passes through read control module 3 and is
System register module 4 is connected with ROM5.Wherein:
Debug interface module 1: the ground of the replacement unit for being saved in the register in configuration system registers module 4
Location and data configure the enable signal saved in the register;System bus 2: for connecting each module, to read control module
3 read the data in ROM5;Read control module 3: for according to the enable signal that is saved in the register and it is described alternatively
Location returns to the data in the replacement data or ROM5 to system bus 2;System register module 4: for saving replacement unit
Replacement address and replacement data, save enable signal;
Specifically, Debug interface module 1 passes through deposit related in the pre-configured system register module 4 of system bus 2
Replacement data corresponding to the replacement address for needing to replace ROM5 unit and the replacement address saved in device, has been reconfigured institute
State the enable signal saved in register.During system bus 2 reads ROM5 data to read control module 3, if described post
The enable signal saved in storage is 1 and system bus 2 will read any one of preservation in the address and the register of ROM5
When a replacement address is identical, read control module 3 returns to the replacement data saved in the register to system bus 2;It is no
Then, read control module 3 will read data corresponding to the address of ROM5 to the return of system bus 2.
The device of low volume data mistake inside a kind of reparation ROM provided in the embodiment of the present invention, by system bus
It reads to increase read control module in the channel of ROM, the data that small part needs are replaced in ROM is read with the mistake of ROM in system bus
Be replaced in journey by read control module, thus realize can be repaired in the case where changing the data in ROM it is wrong or
Realize modification.Compared with the existing technology, the ROM that the present invention does not need one piece of backup goes to repair the mistake in ROM, is increased without core
Piece area and save the cost;When leading to a small amount of address spatial error inside ROM because of technological reason, can through the invention in skill
Art scheme goes to repair, and improves yields.
In the above-described embodiments, the Debug interface module, including jtag interface.
In the above-described embodiments, the system bus uses standard AMBA bus, and the enable signal is 0 or 1.
In the above-described embodiments, it is described according to the enable signal saved in the register and the replacement address to system
Bus returns to the data in the replacement data or ROM, specifically includes:
If the enable signal saved in the register is 1 and system bus reads the address and the replacement address of ROM
Identical, then read control module returns to the replacement data to system bus;Otherwise read control module returns in ROM to system bus
Data.
It should be appreciated by those skilled in the art that apparatus module is divided into function division in the embodiment of the present invention, it is practical have
Body structure can be the fractionation or merging of above-mentioned functional module.
Although above having used general explanation and specific embodiment, the present invention is described in detail, at this
On the basis of invention, it can be made some modifications or improvements, this will be apparent to those skilled in the art.Therefore,
These modifications or improvements without departing from theon the basis of the spirit of the present invention are fallen within the scope of the claimed invention.
Claims (10)
1. a kind of method for repairing low volume data mistake inside ROM, which comprises the following steps:
The replacement address of the replacement unit saved in configuration system registers module and replacement data;
System bus reads the data in ROM to read control module;
Read control module is according to the enable signal and the replacement address saved in the system register module to system bus
Return to the data in the replacement data or ROM.
2. the method according to claim 1 for repairing low volume data mistake inside ROM, which is characterized in that the replacement is single
Member is the read-only memory unit for the ROM for needing to replace.
3. the method according to claim 2 for repairing low volume data mistake inside ROM, which is characterized in that the system is total
Line is read to read control module before the data in ROM, further includes:
The enable signal saved in configuration system registers module.
4. the method according to claim 2 or 3 for repairing low volume data mistake inside ROM, which is characterized in that the system
Bus uses standard AMBA bus.
5. the method according to claim 3 for repairing low volume data mistake inside ROM, which is characterized in that the enabled letter
Number be 0 or 1.
6. the method according to claim 5 for repairing low volume data mistake inside ROM, which is characterized in that the reading control
Module returns to institute to system bus according to the enable signal state and the replacement address saved in the system register module
The data in replacement data or ROM are stated, are specifically included:
If the enable signal saved in the system register module is address and the replacement of 1 and system bus reading ROM
Address is identical, then read control module returns to the replacement data to system bus;Otherwise read control module is returned to system bus
Data in ROM.
7. a kind of device for repairing low volume data mistake inside ROM, including ROM, which is characterized in that described device further include:
System register module: for saving replacement address and the replacement data of replacement unit, enable signal is saved;
Debug interface module: the replacement address of the replacement unit for being saved in configuration system registers module and replacement data,
Configure the enable signal saved in the system register module;
System bus: for connecting each module, the data in ROM are read to read control module;
Read control module: for according to the enable signal and the replacement address saved in the system register module to system
Bus returns to the data in the replacement data or ROM.
8. the device according to claim 7 for repairing low volume data mistake inside ROM, which is characterized in that the Debug connects
Mouth mold block, including jtag interface.
9. the device according to claim 7 for repairing low volume data mistake inside ROM, which is characterized in that the system is total
Line uses standard AMBA bus, and the enable signal is 0 or 1.
10. the device according to claim 9 for repairing low volume data mistake inside ROM, which is characterized in that described according to institute
It states the enable signal saved in system register module and the replacement address and returns to the replacement data or ROM to system bus
In data, specifically include:
If the enable signal saved in the system register module is address and the replacement of 1 and system bus reading ROM
Address is identical, then read control module returns to the replacement data to system bus;Otherwise read control module is returned to system bus
Data in ROM.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910335358.2A CN110058951A (en) | 2019-04-24 | 2019-04-24 | A kind of method and apparatus for repairing low volume data mistake inside ROM |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910335358.2A CN110058951A (en) | 2019-04-24 | 2019-04-24 | A kind of method and apparatus for repairing low volume data mistake inside ROM |
Publications (1)
Publication Number | Publication Date |
---|---|
CN110058951A true CN110058951A (en) | 2019-07-26 |
Family
ID=67320583
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201910335358.2A Pending CN110058951A (en) | 2019-04-24 | 2019-04-24 | A kind of method and apparatus for repairing low volume data mistake inside ROM |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN110058951A (en) |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN112231136A (en) * | 2020-11-04 | 2021-01-15 | 炬芯科技股份有限公司 | SoC chip, method for acquiring repair information, storage medium and electronic equipment |
CN115168115A (en) * | 2022-09-06 | 2022-10-11 | 北京象帝先计算技术有限公司 | Data repair method based on OTP module, OTP controller and chip |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20090248955A1 (en) * | 2008-03-31 | 2009-10-01 | Satoru Tamada | Redundancy for code in rom |
CN101604248A (en) * | 2009-07-20 | 2009-12-16 | 北京海尔集成电路设计有限公司 | A kind of embedded system and its implementation of revising program in the ROM (read-only memory) |
CN103019873A (en) * | 2012-12-03 | 2013-04-03 | 华为技术有限公司 | Replacing method and device for storage fault unit and data storage system |
CN207557929U (en) * | 2017-10-31 | 2018-06-29 | 无锡华润矽科微电子有限公司 | Available for realizing the low capacity OTPROM memories and chip of fault tolerance |
CN108256358A (en) * | 2018-01-11 | 2018-07-06 | 北京智行鸿远汽车有限公司 | A kind of EEPROM data guard methods |
-
2019
- 2019-04-24 CN CN201910335358.2A patent/CN110058951A/en active Pending
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20090248955A1 (en) * | 2008-03-31 | 2009-10-01 | Satoru Tamada | Redundancy for code in rom |
CN101604248A (en) * | 2009-07-20 | 2009-12-16 | 北京海尔集成电路设计有限公司 | A kind of embedded system and its implementation of revising program in the ROM (read-only memory) |
CN103019873A (en) * | 2012-12-03 | 2013-04-03 | 华为技术有限公司 | Replacing method and device for storage fault unit and data storage system |
CN207557929U (en) * | 2017-10-31 | 2018-06-29 | 无锡华润矽科微电子有限公司 | Available for realizing the low capacity OTPROM memories and chip of fault tolerance |
CN108256358A (en) * | 2018-01-11 | 2018-07-06 | 北京智行鸿远汽车有限公司 | A kind of EEPROM data guard methods |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN112231136A (en) * | 2020-11-04 | 2021-01-15 | 炬芯科技股份有限公司 | SoC chip, method for acquiring repair information, storage medium and electronic equipment |
CN115168115A (en) * | 2022-09-06 | 2022-10-11 | 北京象帝先计算技术有限公司 | Data repair method based on OTP module, OTP controller and chip |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US11830867B2 (en) | Memory device with a multiplexed command/address bus | |
US9606175B2 (en) | Reprogramming a port controller via its own external port | |
CN106569806A (en) | Method achieving adaptive PCIE bandwidth distribution of BIOS, BIOS and motherboard | |
CN202614902U (en) | Function testing device for digital signal processor (DSP) chip | |
CN105320553A (en) | Method and system for updating network card firmware on basis of domestic processor platform | |
CN110058951A (en) | A kind of method and apparatus for repairing low volume data mistake inside ROM | |
CN102323964A (en) | Digital circuit net list data processing method | |
CN115146568B (en) | Chip verification system and verification method based on UVM | |
US20170011138A1 (en) | System and method for hierarchical power verification | |
CN107070795A (en) | Channel selecting in multichannel exchange network | |
CN108140067A (en) | Interactive multi-step physics synthesis | |
JP2018531457A6 (en) | Interactive multi-step physical synthesis | |
CN109032062A (en) | A kind of PCIE switching chip | |
CN206623537U (en) | Consumptive material equipment and print system | |
CN103475514B (en) | Node, group system and BIOS without BMC repair and upgrade method | |
US20050273540A1 (en) | Interrupt handling system | |
CN105912488A (en) | Computer apparatus and control method therefor | |
US9378027B2 (en) | Field-programmable module for interface bridging and input/output expansion | |
CN108459876A (en) | The method and apparatus of control register circuit for acreage reduction | |
CN106293531B (en) | A method of prevent flash in SD use process from surprisingly being distorted based on flash write-protect | |
US11609878B2 (en) | Programmed input/output message control circuit | |
US7234127B2 (en) | Integrated circuit designing support apparatus and method for the same | |
CN112519234B (en) | Temperature control chip for 3D printing nozzle, debugging system and 3D printer | |
CN105138929A (en) | Register protection method and device with miswriting-prevention operation | |
CN114880045A (en) | Register configuration method, device and related equipment |
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 | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20190726 |
|
RJ01 | Rejection of invention patent application after publication |