Unlock instant, AI-driven research and patent intelligence for your innovation.

Replacement method and system for curing code

A technology of code and starting address, which is applied in the replacement method and system field of solidified code, can solve problems such as waste of resources, and achieve the effects of avoiding waste of resources, reducing implementation costs and difficulties

Inactive Publication Date: 2018-08-24
珠海昇生微电子有限责任公司
View PDF7 Cites 4 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0004] The present invention provides a method and system for replacing solidified codes, which are used to solve the problems in the prior art that using re-address mapping to solve the problem of resource waste and high implementation cost and difficulty

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
  • Replacement method and system for curing code
  • Replacement method and system for curing code
  • Replacement method and system for curing code

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0028] The technical solutions of the present invention will be described in detail below through the accompanying drawings and specific embodiments. It should be understood that the embodiments of the present invention and the specific technical features in the embodiments are only descriptions of the technical solutions of the present invention, rather than limitations. , the embodiments of the present invention and specific technical features in the embodiments may be combined with each other.

[0029] like figure 1 Shown is a flow chart of a method for replacing solidified codes in an embodiment of the present invention, the method comprising:

[0030] S101, comparing the address currently executed by the CPU with the starting address of the solidified code to be replaced;

[0031] Before executing S101, it is first necessary to configure the register, that is, to configure multiple starting addresses of the solidified code in the register, such as figure 2 Shown is the...

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 a replacement method and system for a curing code. The method comprises the following steps that: comparing an address executed by a CPU (Central Processing Unit) at present with the starting address of the curing code which needs to be replaced; if the address which is executed at present is the same with the starting address of the curing code, receiving a hardware jumping instruction, and jumping to the starting address used for replacing the curing code according to the hardware jumping instruction; and if the address which is executed at present is different from the starting address of the curing code, continuously executing an original program. Through the method provided by the invention, the register jumping instruction of the CPU can be used for realizingthe replacement of the curing code, the direct replacement of a function or the replacement of the curing code of any length can be realized, the size of the replaced code is not restricted, so that resource waste is avoided, and in addition, implementation cost and difficulties are lowered.

Description

technical field [0001] The present application relates to the technical field of integrated circuit chips, in particular to a method and system for replacing solidified codes. Background technique [0002] As a system on a chip (SOC), fixed code (Fixed Code) is an indispensable part of it. Because the fixed code is generally the most basic operating system or the core algorithm, which is closely related to the entire system. The fixed code is often verified by multiple parties and does not want users to change it, and it is generally stored in a read-only memory (ROM). ROM cannot be changed unless we redo the mask and re-produce the chip. Undoubtedly, this corresponds to a large amount of production costs and expensive time costs. That being the case, it would be nice to ensure that the solidified code is absolutely correct. However, due to various reasons (lack of experience, tight schedule, etc.), the verification of the solidified code is often insufficient, and there...

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): G06F12/10G06F9/30
CPCG06F9/30098G06F12/10
Inventor 李鹏
Owner 珠海昇生微电子有限责任公司