A processing method and system for improving embedded Flash yield

By introducing a redundant page replacement mechanism in embedded Flash, the problem of high failure efficiency of embedded Flash is solved, the yield of Flash and the stability of the system are improved, and the correctness of data reading and writing is ensured.

CN114003515BActive Publication Date: 2024-11-05CHINA KEY SYST & INTEGRATED CIRCUIT
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202111282734.X
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2021-11-01
Publication Date
2024-11-05
Estimated Expiration
2041-11-01

AI Technical Summary

Technical Problem

Embedded Flash has high failure efficiency in MCU and DSP, resulting in errors in system storage and reading data, affecting the yield of the entire circuit.

Method used

By introducing a redundant page replacement mechanism in Flash, using the redundant page address register and the redundant page enable bit, the system bus reads and writes the bad page to map to the redundant page, thereby avoiding direct access to the bad page and ensuring data Read and write correctness.

Benefits of technology

Improves the yield of Flash, reduces failures due to manufacturing processes, and enhances system stability and data accuracy.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN114003515B_ABST
    Figure CN114003515B_ABST
Patent Text Reader

Abstract

The invention discloses a processing method and system for improving the yield of embedded Flash, belonging to the field of integrated circuits. After erasing Flash, write and read operations are performed on each page of Flash to determine whether the page is a normal page or a bad page. When a bad page appears, the page address of the bad page is directly written into a redundant page address register; when a system bus accesses Flash, the address accessed by the system bus is compared with the value in the redundant page address register. If the comparison result is inconsistent, it means that the system bus is accessing a normal page at this time, and there is no need to access the redundant page; if the comparison result is consistent, it means that the system bus is accessing a bad page at this time, then the redundant page enable bit is set, and the system bus directly skips the bad page to access the redundant backup page; when the redundant page enable bit is 1, it means that the replacement of the bad page by the redundant page takes effect, and the read and write operations of the system bus on the Flash bad page will be mapped to the redundant page.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of integrated circuits, and in particular to a processing method and system for improving the yield of embedded Flash. Background Art

[0002] Embedded Flash is increasingly used in MCU (microcontroller unit) and DSP (digital signal processor). Almost all MCU and DSP have embedded Flash. Since the written data needs to be kept for a long time without loss, the design and manufacturing process of embedded Flash is relatively complex, and it has become the main source of failure of the entire circuit. According to statistics, the failure of embedded Flash accounts for more than one-third of the failure of the entire circuit.

[0003] Failure of embedded Flash will cause errors in system storage and reading data, which in turn causes errors in the operation of the entire system. Therefore, the yield rate of embedded Flash directly affects the yield rate of the entire circuit, and methods to improve the yield rate of Flash have received more and more attention. Summary of the invention

[0004] The object of the present invention is to provide a processing method and system for improving the yield of embedded Flash, so as to solve the problem of too high Flash failure rate caused by process manufacturing.

[0005] In order to solve the above technical problems, the present invention provides a processing method for improving the yield of embedded Flash, comprising:

[0006] During the test, after erasing the Flash, write and read operations are performed on each page of the Flash to determine whether the page is a normal page or a bad page. If a bad page appears, the page address of the bad page is directly written into the redundant page address register.

[0007] When the system bus accesses the Flash, the address accessed by the system bus is compared with the value in the redundant page address register. If the comparison result is inconsistent, it means that the system bus is accessing a normal page and does not need to access the redundant page. If the comparison result is consistent, it means that the system bus is accessing a bad page, then the redundant page enable bit is set, and the system bus directly skips the bad page to access the redundant backup page.

[0008] When the redundant page enable bit is 1, it indicates that the replacement of the bad page by the redundant page takes effect, and the read and write operations of the system bus on the Flash bad page will be mapped to the redundant page.

[0009] Optionally, performing a write operation and a read operation on each page of the Flash to determine whether the page is a normal page or a bad page includes:

[0010] Perform write and read operations on each page of Flash. If the data read from each address in the page is consistent with the data written, it means that the page is read and written normally, and the page is a normal page.

[0011] If the data read from and written to one of the addresses in the page are inconsistent, it indicates a read / write error at the address, and the page where the address is located is defined as a bad page.

[0012] Optionally, when performing a read / write test on a certain page of Flash, the page will be defined as a bad page only when the read data is inconsistent with the written data. At this time, if there are redundant pages remaining, the page address of the bad page is directly written into the redundant page address register; then the read / write test is performed on the next page. If a bad page appears again and there are redundant pages remaining, the page address of the bad page is also written into the redundant page address register; if a bad page still appears after all redundant page address registers corresponding to the redundant pages are written, the Flash test result is considered to have failed, and the circuit is classified as a defective product;

[0013] When the test is completed, if the redundant page address registers corresponding to all redundant pages are used up or have some remaining, it is considered that the Flash test result is normal.

[0014] Optionally, multiple redundant pages are set according to the Flash capacity, wherein each redundant page corresponds to a redundant page enable bit and a redundant page address register, and multiple redundant pages are replaced to improve the Flash yield.

[0015] The present invention also provides a processing system for improving the yield of embedded Flash, comprising:

[0016] Redundant pages are used to replace bad pages in Flash. Once a bad Flash page appears, all read and write operations of the bad page by the system bus are mapped to the read and write operations of the redundant page to ensure the correctness of data reading and writing.

[0017] Redundant page enable bit, indicating whether the redundant page replacement corresponding to the enable bit is effective. When the bit value is 1, it indicates that the redundant page replacement corresponding to the enable bit is effective, and the system bus access to the bad page will be transferred to the redundant page; when the bit value is 0, it indicates that the redundant page corresponding to the enable bit has not been replaced;

[0018] The redundant page address register is used to store the page address of the bad page in the Flash. When the page address of the bad page is written to the redundant page address register, it indicates that the redundant page corresponding to the redundant page address register corresponds to the bad page.

[0019] The address mapping controller is used to write to the redundant page enable bit. When the system bus sends an access address, it is compared with the redundant page address register. If they are consistent, 1 is written to the redundant page enable bit. If they are inconsistent, 0 is written to the redundant page enable bit.

[0020] In the processing method and system for improving the yield of embedded Flash provided by the present invention, after erasing Flash, write and read operations are performed on each page of Flash to determine whether the page is a normal page or a bad page. When a bad page appears, the page address of the bad page is directly written into the redundant page address register; when the system bus accesses Flash, the address accessed by the system bus is compared with the value in the redundant page address register. If the comparison result is inconsistent, it means that the system bus is accessing a normal page at this time and there is no need to access the redundant page; if the comparison result is consistent, it means that the system bus is accessing a bad page at this time, then the redundant page enable bit is set, and the system bus directly skips the bad page to access the redundant backup page; when the redundant page enable bit is 1, it means that the replacement of the bad page by the redundant page takes effect, and the system bus read and write operations on the Flash bad page will be mapped to the redundant page. The present invention replaces the bad page of Flash with the redundant page by address mapping by adding a small amount of hardware control logic, so that the system bus operations on the Flash bad page are mapped to the redundant page, and the correctness of the system bus access data is guaranteed. By replacing the redundant page, the yield of Flash is improved, and then the yield of the entire chip is improved. BRIEF DESCRIPTION OF THE DRAWINGS

[0021] Figure 1 It is a schematic diagram of a processing system for improving the yield of embedded Flash;

[0022] Figure 2 It is a redundant page replacement Flash test flow chart;

[0023] Figure 3 It is the flow chart of the system bus accessing Flash;

[0024] Figure 4 This is the system bus access Flash data path diagram. DETAILED DESCRIPTION

[0025] The following is a further detailed description of a processing method and system for improving the yield of embedded Flash proposed by the present invention in combination with the accompanying drawings and specific embodiments. The advantages and features of the present invention will become clearer according to the following description and claims. It should be noted that the accompanying drawings are all in a very simplified form and are not in precise proportions, and are only used to conveniently and clearly assist in explaining the purpose of the embodiments of the present invention.

[0026] Embodiment 1

[0027] The present invention provides a processing system for improving the yield of embedded Flash, the structure of which is as follows: Figure 1 As shown, the redundant page replaces the bad page of the Flash, and the read and write operations of the system bus on the bad page of the Flash are all mapped to the redundant page, which makes no difference to the user's use.

[0028] The processing system comprises a redundant page, a redundant page enable bit, a redundant page address register and an address mapping controller; the redundant page is used to replace a bad page in the Flash. Once a bad page of the Flash appears, all the reading and writing of the bad page by the system bus is mapped to the reading and writing of the redundant page to ensure the correctness of data reading and writing; the redundant page enable bit indicates whether the replacement of the redundant page corresponding to the enable bit is effective. When the bit value is 1, it indicates that the replacement of the redundant page corresponding to the enable bit is effective, and the access of the bad page by the system bus will be transferred to the redundant page; when the bit value is 0, it indicates that the redundant page corresponding to the enable bit has not been replaced; the redundant page address register is used to store the page address of the bad page in the Flash when measuring. When the page address of the bad page is written to the redundant page address register, it indicates that the redundant page corresponding to the redundant page address register corresponds to the bad page; the address mapping controller is used to write the redundant page enable bit. When the system bus sends an access address and compares it with the redundant page address register, if they are consistent, 1 is written to the redundant page enable bit, and if they are inconsistent, 0 is written to the redundant page enable bit.

[0029] Flash is composed of pages. When the page size is fixed, the larger the Flash capacity, the more pages it has. The more pages there are, the greater the probability of a bad page. During the test, after erasing the Flash, a certain page of the Flash is tested for read and write. Only when the read data is inconsistent with the written data, the page is defined as a bad page, and the bad page address is directly written into the redundant page address register. Then the next page is tested for read and write. If a bad page appears again, the bad page address is also written into the second redundant page address register. By analogy, if a bad page still appears after all the redundant page address registers corresponding to the redundant pages are written, the Flash test result is considered to have failed, and the circuit is classified as a defective product; when the test is completed, if the redundant page address registers corresponding to all the redundant pages are just used up or there are still some left, the Flash test result is considered to be normal.

[0030] When the system bus accesses the Flash, the address accessed by the system bus is compared with the value in the redundant page address register. If the comparison result is inconsistent, it means that the system bus is accessing a normal page and does not need to access the redundant page. If the comparison result is consistent, it means that the system bus is accessing a bad page, then the redundant page enable bit is set, and the system bus directly skips the bad page to access the redundant backup page.

[0031] When the redundant page enable bit is 1, it indicates that the replacement of the bad page by the redundant page takes effect, and the read and write operations of the system bus on the Flash bad page will be mapped to the redundant page, avoiding the operation on the bad page.

[0032] According to the Flash capacity, multiple redundant pages are set, each of which corresponds to a redundant page enable bit and a redundant page address register, and multiple redundant pages are replaced to improve the Flash yield. However, in general, when the page size is fixed, the larger the Flash capacity, the more Flash page redundant pages are required. However, the number of redundant pages cannot be increased blindly to improve the yield, making the number of redundant pages greater than the actual required number, which will increase the chip area. Therefore, the number of redundant pages should be balanced between the yield and the Flash size.

[0033] Figure 2 The redundant page replacement Flash test flow chart is shown. During the Flash test, each address of each page is tested for read and write. If each address in the page can be read and written normally, the page is considered normal and the next page test is started. If the data read from a certain address in the page is inconsistent with the data written, the page is considered to be a bad page. At this time, it is determined whether there are redundant pages remaining. If all redundant pages have been used up, the circuit Flash is considered to be invalid. If there are redundant pages remaining, the page address of the bad page is written into the redundant page address register and the next page test is started. The Flash redundant page replaces the bad page by address mapping. Even if the Flash has a bad page caused by the manufacturing process, it can still be used as a qualified circuit, which greatly improves the yield of the Flash.

[0034] Figure 3 The flowchart of the system bus accessing Flash is shown. When the system bus accesses Flash, the access address (page address part) issued by the system bus is compared with the value in the redundant page address register. If the address does not match, it is considered that the system bus accesses a normal page, and the system bus directly performs read and write operations on the page; if the address matches, it is considered that the system bus accesses a bad page, at which time the redundant page enable bit is set, and the system bus skips the bad page and directly accesses the Flash redundant page.

[0035] Figure 4 The diagram shows the data path of the system bus accessing the Flash. The page address part of the access address sent by the system bus is compared with the value in the redundant page address register. If the comparison result is consistent, the redundant page enable bit is set. At this time, all accesses of the system bus to the Flash are mapped to the corresponding redundant page.

[0036] The above description is only a description of the preferred embodiments of the present invention, and is not intended to limit the scope of the present invention. Any changes or modifications made by a person skilled in the art in the field of the present invention based on the above disclosure shall fall within the scope of protection of the claims.

Claims

1. A processing method for improving the yield of embedded Flash, It is characterized in that include: During the test, after erasing the Flash, write and read operations are performed on each page of the Flash to determine whether the page is a normal page or a bad page. If a bad page appears, the page address of the bad page is directly written into the redundant page address register. When the system bus accesses the Flash, the address accessed by the system bus is compared with the value in the redundant page address register. If the comparison result is inconsistent, it means that the system bus is accessing a normal page and there is no need to access the redundant page. If the comparison results are consistent, it means that the system bus is accessing a bad page at this time, then the redundant page enable bit is set, and the system bus directly skips the bad page to access the redundant backup page; When the redundant page enable bit is 1, it indicates that the replacement of the bad page by the redundant page takes effect, and the read and write operations of the system bus on the Flash bad page will be mapped to the redundant page.

2. The method for improving the yield of embedded Flash as claimed in claim 1, It is characterized in that Perform write and read operations on each page of Flash to determine whether the page is a normal page or a bad page, including: Perform write and read operations on each page of Flash. If the data read from each address in the page is consistent with the data written, it means that the page is read and written normally, and the page is a normal page. If the data read from and written to an address in the page are inconsistent, it indicates a read / write error at the address, and the page where the address is located is defined as a bad page.

3. The method for improving the yield of embedded Flash as claimed in claim 2, It is characterized in that When performing a read / write test on a page of Flash, the page will be defined as a bad page only when the read data is inconsistent with the written data. At this time, if there are redundant pages remaining, the page address of the bad page is directly written into the redundant page address register; then the next page is read / write tested. If a bad page appears again and there are redundant pages remaining, the page address of the bad page is also written into the redundant page address register; If bad pages still appear after all redundant page address registers corresponding to the redundant pages have been written, the Flash test result is considered to have failed, and the circuit is classified as a defective product; When the test is completed, if the redundant page address registers corresponding to all redundant pages are used up or have some remaining, it is considered that the Flash test result is normal.

4. The method for improving the yield of embedded Flash as claimed in claim 3, It is characterized in that Multiple redundant pages are set according to the Flash capacity, wherein each redundant page corresponds to a redundant page enable bit and a redundant page address register, and multiple redundant pages are replaced to improve the Flash yield.

5. A processing system for improving the yield of embedded Flash, It is characterized in that include: Redundant pages are used to replace bad pages in Flash. Once a bad Flash page appears, all read and write operations of the bad page by the system bus are mapped to the read and write operations of the redundant page to ensure the correctness of data reading and writing. Redundant page enable bit, indicating whether the redundant page replacement corresponding to the enable bit is effective. When the bit value is 1, it indicates that the redundant page replacement corresponding to the enable bit is effective, and the system bus access to the bad page will be transferred to the redundant page; when the bit value is 0, it indicates that the redundant page corresponding to the enable bit has not been replaced; The redundant page address register is used to store the page address of the bad page in the Flash. When the page address of the bad page is written to the redundant page address register, it indicates that the redundant page corresponding to the redundant page address register corresponds to the bad page. The address mapping controller is used to write to the redundant page enable bit. When the system bus sends an access address, it is compared with the redundant page address register. If they are consistent, 1 is written to the redundant page enable bit. If they are inconsistent, 0 is written to the redundant page enable bit.