Search International and National Patent Collections

1. (WO2016050140) WRITE PROTECTION METHOD FOR SPI FLASH AND CONTROLLER

Pub. No.:    WO/2016/050140    International Application No.:    PCT/CN2015/089516
Publication Date: Fri Apr 08 01:59:59 CEST 2016 International Filing Date: Tue Sep 15 01:59:59 CEST 2015
IPC: G06F 12/14
Applicants: HUAWEI TECHNOLOGIES CO., LTD.
华为技术有限公司
Inventors: WANG, Mingliang
王明亮
LEI, Zhen
雷震
Title: WRITE PROTECTION METHOD FOR SPI FLASH AND CONTROLLER
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.