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

Write protection method and controller for spi FLASH

A controller and write protection technology, applied in the field of communication, can solve the problem of space being easily written by mistake, increase the complexity of software processing, etc., and achieve the effect of avoiding miswriting

Active Publication Date: 2018-06-05
SHANGHAI HUAWEI TECH CO LTD
View PDF6 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

In this process, the space to be protected in SPI FLASH is easily written by mistake
Moreover, there are differences between the configuration processes and configuration methods of the write protection of FLASH devices from different manufacturers, and the software needs to be distinguished during configuration, which increases the complexity of software processing
In addition, the write protection function provided by SPI FLASH can only start from the head or end of the address space of the SPI FLASH, and protect it in multiples of a fixed space unit, and the protected address space must be continuous

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
  • Write protection method and controller for spi FLASH
  • Write protection method and controller for spi FLASH
  • Write protection method and controller for spi FLASH

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0031] Embodiments of the present invention provide a write protection method and controller for SPI FLASH, which are used to avoid the problem of wrong writing of the protected space of SPI FLASH, and can be compatible with SPI FLASH of different factories or models.

[0032] In order to enable those skilled in the art to better understand the solutions of the present invention, the following will clearly and completely describe the technical solutions in the embodiments of the present invention in conjunction with the drawings in the embodiments of the present invention. Obviously, the described embodiments are only It is an embodiment of a part of the present invention, but not all embodiments. Based on the embodiments of the present invention, all other embodiments obtained by persons of ordinary skill in the art without making creative efforts shall fall within the protection scope of the present invention.

[0033] The terms "comprising" and "having" and any variations t...

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

A write protection method for SPI FLASH and a controller. The method comprises: a controller acquires an access address range of to-be-accessed SPI FLASH, the controller being configured with a protection address range of preset SPI FLASH, and the access comprising write or erase (101); and the controller determines whether the access address range of the to-be-accessed SPI FLASH is at least partially overlapped with the protection address range of the preset SPI FLASH; and if the access address range is at least partially overlapped with the protection address range, the controller triggers a protection mechanism of some addresses in the access address range of the to-be-accessed SPI FLASH overlapped with the protection address range of the preset SPI FLASH (102). By means of the write protection method for SPI FLASH and the controller, the problem that a protected space of SPI FLASH is written by mistake can be avoided; moreover, SPI FLASH of different manufacturers or different models can be compatible.

Description

technical field [0001] The invention relates to the technical field of communication, in particular to a write protection method and controller for SPI FLASH. Background technique [0002] FLASH is generally used in existing communication devices or electronic devices to store key data. In most scenarios, these critical data cannot be rewritten or lost, otherwise it will cause irreversible damage to the entire device. With the development of technology, an important development direction of communication equipment or electronic equipment is product miniaturization. In product design, device selection is more inclined to select devices with fewer pins and smaller PCB area. Therefore, serial interface FLASH (SPI FLASH) is gradually used in general equipment or electronic equipment to replace parallel FLASH, so as to reduce the number of pins for reading and writing FLASH, and reduce the hardware PCB area. [0003] The existing SPI FLASH device itself provides a write protec...

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/14G06F12/02G11C7/24
CPCG06F12/14
Inventor 王明亮雷震
Owner SHANGHAI HUAWEI TECH CO LTD