Looking for breakthrough ideas for innovation challenges? Try Patsnap Eureka!

ROM code repairing method and device, readable storage medium and terminal

A repair method and code technology, which is applied in the computer field, can solve problems such as difficult to meet user needs, poor information security, and high repair costs, and achieve the effects of improving repair accuracy, reducing excessive power consumption, and improving information security

Pending Publication Date: 2021-08-27
SPREADTRUM COMM (SHANGHAI) CO LTD
View PDF3 Cites 2 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

However, because there may be errors and omissions in the production of ROM, or the manufacturer intentionally modifies the ROM code to meet the ever-changing market demand, it is necessary to repair the ROM code that has been solidified on the chip.
[0004] However, in the existing ROM code repair methods, either there is a problem that the repair cost is too high, or the information security is poor, and it is difficult to meet the needs of users

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • ROM code repairing method and device, readable storage medium and terminal
  • ROM code repairing method and device, readable storage medium and terminal
  • ROM code repairing method and device, readable storage medium and terminal

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0027] In the prior art, the ROM code is a program stored in the on-chip ROM of the CPU, and is used to implement functions such as CPU core initialization, boot program storage device interface initialization, and loading of SPL or FDL.

[0028] Specifically, you can start the mode selection and read the SPL from the off-chip storage; you can also download it through the tool via the Universal Asynchronous Receiver / Transmitter (UART) or the Universal Serial Bus (USB). FDL; SPL or FDL can also be verified to ensure data accuracy and security.

[0029] ROM code generally involves booting from various storage media, downloading via USB and UART, and multiple sets of security verification mechanisms, so there are many related items, similar to a miniature system. It not only needs to complete the relevant configuration of the system on chip (SOC), but also interacts with off-chip storage media, and needs to adapt to various communication protocols. Such a complicated set of oper...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

PUM

No PUM Login to View More

Abstract

The invention discloses an ROM code repairing method and device, a readable storage medium and a terminal, and the method comprises the steps of reading patch information from a programmable memory with limited programming times, wherein the patch information comprises patch data and patch address information; storing the patch data to a peripheral register, wherein the patch address information is used for indicating the address of the peripheral register; and when the stored patch data exists, controlling the ROM to select to run the patch data in the peripheral register. According to the invention, the information security can be improved, and the repair cost can be reduced.

Description

technical field [0001] The invention relates to the technical field of computers, in particular to a method and device for repairing ROM codes, a readable storage medium and a terminal. Background technique [0002] The read-only memory (Read-Only Memory, ROM) works in a non-destructive readout mode, and can only read but not write information. Once the information is written, it is fixed, even if the power is cut off, the information will not be lost, so it is also called fixed memory. The ROM code (code) is a program stored in the on-chip ROM of the central processing unit (CPU), which is used to realize the initialization of the CPU core, the initialization of the boot program storage device interface, and loading into the secondary program loader (Secondary Program Loader, SPL) or file download loader (File download loader, FDL) and other functions. [0003] Since the ROM code is stored in the ROM on the chip, it is theoretically difficult to modify it after the chip i...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

Application Information

Patent Timeline
no application Login to View More
Patent Type & Authority Applications(China)
IPC IPC(8): G06F11/36G06F8/65G06F8/658
CPCG06F11/3628G06F8/658G06F8/66
Inventor 张如泉
Owner SPREADTRUM COMM (SHANGHAI) CO LTD
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Patsnap Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Patsnap Eureka Blog
Learn More
PatSnap group products