Description: Mm36sb020's spi interface, which has been debugged
/* define the command *//*
#define ERSC 0x90f6 // remove the entire chip
#define SRC 0xfffffffe // software reset chip //
#define RSE 0x94 // read status register //
#define RBE 0x98 // read a byte of data from the buffer //
#define RME 0x9c // read a byte data from Flash memory //
#define RMEC 0xa0 // continuously read a byte of data from Flash memory, automatic address increase //
#define RMB 0xa4 // read a page of data (128 bytes) from Flash memory to buffer //
#define WEB 0xa8 // write a byte data to the buffer //
#define WEBC 0xac // continuously write a byte data to the buffer, and the automatic address is increased //
#define WBMEP 0xb0 // write buffer data to Flash memory, automatic page erring //
The #define WBME 0xb4 // write buffer data to Flash memory, without automatic page polishing
File list (Check if you may need any files):