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

rom-based spi NOR FLASH identification method, device, system and storage medium

An identification method and identification failure technology, applied in program control devices, instruments, computing, etc., can solve problems such as poor SPINORFLASH compatibility

Active Publication Date: 2020-01-17
珠海亿智电子科技有限公司
View PDF3 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0005] The object of the present invention is to provide a kind of SPI NOR FLASH identification method, device, system and storage medium based on ROM, aim to solve the problem of the poor compatibility of the identification guide SPI NOR FLASH due to the embedded system start-up stage in the prior art

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
  • rom-based spi NOR FLASH identification method, device, system and storage medium
  • rom-based spi NOR FLASH identification method, device, system and storage medium
  • rom-based spi NOR FLASH identification method, device, system and storage medium

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0047] figure 1The implementation process of the ROM-based SPI NOR FLASH identification method provided by Embodiment 1 of the present invention is shown. For the convenience of description, only the parts related to the embodiment of the present invention are shown, and the details are as follows:

[0048] In step S101, a write enable command is sent to the SPI NOR FLASH through the SPI controller.

[0049] In the embodiment of the present invention, send write enabling command (WriteEnable command) to SPI NOR FLASH by SPI controller, so that this SPI NOR FLASH is in writable state, that is, make the writing of SPI NOR FLASH enable locking (Write The state of the Enable Latch) flag is 1. When the state of the SPI NOR FLASH write enable lock (Write EnableLatch) flag is 1, the SPI NOR FLASH is in a writable state, wherein the write enable command is the 0x06 command .

[0050] In step S102, it is judged whether the SPI NOR FLASH is in a writable state.

[0051] In an embodim...

Embodiment 2

[0059] figure 2 The implementation process of the ROM-based SPI NOR FLASH identification provided by the second embodiment of the present invention is shown. For the convenience of description, only the parts related to the embodiment of the present invention are shown, and the details are as follows:

[0060] In step S201, the SPI controller sends a read device ID command to the SPI NOR FLASH.

[0061] In the embodiment of the present invention, when the SPI controller sends the read device ID command to the SPI NOR FLASH, specifically, the SPI controller can send the 0x90 command to the SPI NOR FLASH, preferably, the SPI controller sends the command to the SPINOR FLASH 0x9F command, thus avoiding the sending of invalid data and improving the compatibility of the read device ID command.

[0062] In step S202, the device ID information of the SPI NOR FLASH is read.

[0063] In the embodiment of the present invention, when reading the device ID information in the SPI NOR FLA...

Embodiment 3

[0074] image 3 The implementation process of the ROM-based SPI NOR FLASH identification provided by the third embodiment of the present invention is shown. For the convenience of description, only the parts related to the embodiment of the present invention are shown, and the details are as follows:

[0075] In step S301, the SPI controller sends a read device ID command to the SPI NOR FLASH, and the read device ID command is a 0x9F command.

[0076] In step S302, the device ID information of the SPI NOR FLASH is read.

[0077] In step S303, it is judged whether the read device ID information exists in the preset FLASH support list, if yes, execute step S304, otherwise, execute step S305, the read device ID information is 3 characters section data.

[0078] In the embodiment of the present invention, the implementation manner of steps S301-S303 may refer to the description of steps S201-S203 in the second embodiment above, which will not be repeated here.

[0079] In step ...

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 is suitable for the technical field of SPI NOR FLASH and provides an ROM-based SPI NOR FLASH recognition method, a device, a system and a storage medium. The method comprises the following steps: 1, preparing raw materials; the method comprises the following steps: sending a write enable command to an SPI NOR FLASH through an SPI controller and enabling the SPI NOR FLASH to be in a writable state; judging whether the SPI NOR FLASH is in a writable state or not; when it is judged that the SPI NOR FLASH is in the writable state, the SPI NOR FLASH is in the writable state, sending awrite forbidding command to the SPI NOR FLASH through the SPI controller and enabling the SPI NOR FLASH to be in a write-in forbidding state; judging whether the SPI NOR FLASH is in a write-in forbidding state or not; and when it is judged that the SPI NOR FLASH is in the write-in forbidding state, outputting SPI NOR FLASH identification success information, thereby realizing dynamic identification of the SPI NOR FLASH, and further improving the identification accuracy of the SPI NOR FLASH.

Description

technical field [0001] The invention belongs to the technical field of SPI NOR FLASH, and in particular relates to a ROM-based SPI NOR FLASH identification method, device, system and storage medium. Background technique [0002] With the development of wireless communication technology in consumer electronics, Internet of Things and other fields, small Internet of Things devices, as nodes of the entire network, have a very broad market and application prospects. This small IoT device requires a smaller-capacity external storage medium. SPI (Serial Peripheral Interface, Serial Peripheral Interface) is a full-duplex synchronous serial communication interface proposed by Motorola. SPI NOR FLASH is currently the main non-volatile storage medium based on the SPI interface on the market. As a small-capacity, cost-effective external storage medium, SPI NOR FLASH is widely used in IoT devices. [0003] SOC (System on Chip, system-on-chip) manufacturers generally need to solidify t...

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): G06F9/4401
CPCG06F9/4411
Inventor 不公告发明人
Owner 珠海亿智电子科技有限公司