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

A mobile phone camera otp memory allocation, information writing and reading method

A mobile phone camera and memory allocation technology, applied in memory address/allocation/relocation, image communication, television, etc., can solve problems such as failure to write information once, scrapping of camera modules, etc.

Active Publication Date: 2015-08-19
TRULY OPTO ELECTRONICS
View PDF4 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0005] In view of this, the present invention provides a method for OTP memory allocation, information writing and reading of a mobile phone camera, to solve the problem in the prior art that the OTP fails to write information once, and the camera module is scrapped

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
  • A mobile phone camera otp memory allocation, information writing and reading method
  • A mobile phone camera otp memory allocation, information writing and reading method
  • A mobile phone camera otp memory allocation, information writing and reading method

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0038] Embodiment 1 is a mobile phone camera OTP memory allocation method provided by the present invention. combine figure 1 . figure 1 It is a flowchart of Embodiment 1 of the present invention. The mobile phone camera OTP memory allocation method that the present embodiment provides, comprises the following steps:

[0039] S101. Obtain the capacity of the OTP memory:

[0040] The OTP of the mobile phone camera module will be equipped with a certain capacity of OTP memory when it is manufactured, and the capacity of the OTP memory is obtained, assuming that the capacity of the OTP memory is A bytes.

[0041] S102. Obtain the total number of bytes of all parameters to be written into the OTP memory:

[0042] The mobile phone camera module has various parameters, such as the basic parameters of the module, white balance parameters, lens correction parameters and so on. Each parameter will occupy a certain memory space when it is written into the OTP, and the total number ...

Embodiment 2

[0053] Embodiment 2 provides a method for writing OTP memory information of a mobile phone camera.

[0054] combine figure 2 . figure 2 It is a flow chart of the method for writing OTP memory information of the mobile phone camera of the present embodiment. The method for writing OTP memory information of the mobile phone camera includes the following steps:

[0055] S201. Allocate the OTP memory:

[0056] The OTP memory is allocated according to any one of the mobile phone camera OTP memory allocation methods provided in Embodiment 1 above.

[0057] In order to clearly understand the solution of the present invention, this embodiment is described with the example of Embodiment 1. That is: the capacity of the OTP memory is 256 bytes, including 8 layer addresses (bank0, bank1, ..., bank7). The capacity of each layer address is 32 bytes. Among them, a layer address bank0 is selected as a predetermined layer address, and only predetermined parameters can be stored, and oth...

Embodiment 3

[0089] Embodiment 3 provides a method for reading OTP memory information of a mobile phone camera. see image 3 . image 3 It is a flowchart of a method for reading OTP memory information of a mobile phone camera. The reading method comprises the following steps:

[0090] S301. Read the flag register of the first section of the predetermined layer address:

[0091] Start OTP, and read the flag register of the first section on the predetermined layer address. The flag register contains information about whether the predetermined parameter x1 is successfully written: if the write is successful, the highest bit of information in the flag register is 0, and other bits are not all 0; if the write fails, the highest bit of information in the flag register is 1. The information in the flag register is stored when writing information into the OTP memory. When reading, it is best to write in the same order as the information, so that the information stored in the OTP memory can b...

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 relates to a one time programmable (OTP) internal memory allocation and information writing and reading method for a mobile phone camera. The OTP internal memory allocation method comprises the following steps: acquiring the capacity of an OTP internal memory, wherein the capacity of the OTP internal memory is A bytes; acquiring byte number of parameters to be written into the OTP internal memory, wherein the total byte number of the parameters is S; and dividing the OTP internal memory into P groups according to the capacity of the OTP internal memory and the total byte number of the parameter. According to the internal memory allocation method, the space of the OTP internal memory is divided into multiple groups, so parameters can be written into the space of the OTP internal memory for many times. The space of the OTP internal memory is divided into multiple groups and can realize possibility of writing the parameters for a few times, so the parameters can be written into other groups of the space of the OTP internal memory continuously during failure in one-time writing of the information of the OTP internal memory, and the problem that a mobile phone camera module is rejected during failure in one-time writing of the OTP in the prior art is solved.

Description

technical field [0001] The invention relates to a mobile phone camera module, in particular to a method for OTP memory allocation, information writing and reading of the mobile phone camera. Background technique [0002] With the rapid development of mobile phone cameras, the requirements for image effects and consistency are getting higher and higher. Each camera module has different image effects due to its individual differences. In order to achieve the consistency of image effects of similar products, it is necessary to perform certain effect corrections on a single module. This requires that when the camera module of the mobile phone leaves the factory, it is best to write each parameter information into OTPM (one time programmable memory). When the client uses the camera module, it only needs to read from OTPM and write it into the The parameter information in the OTPM and applying it to the camera module can achieve a high degree of consistency in the camera effect o...

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 Patents(China)
IPC IPC(8): G06F12/02H04N5/232
Inventor 郑泽桦张粦钢李建华
Owner TRULY OPTO ELECTRONICS