Issue in Micron NOR Flash Memory (MT25QU01GBBB) Write/Read using Generic Serial Flash Interface
Issue in Micron flash memory (MT25QU01GBBB ) write/read through QSPI interface using Generic Serial Flash Interface
1. In default Single IO mode, data written to the memory is different from the data read from a location
Ex: master_write_32 0x00000000 0x1234ABCD
master_read_32 0x00000000 0x000000f0
2. Able to read device id (0x1021bb20 )
3. Not able to change micron flash memory to Quad I/O Mode, tried changing the mode by writing to both volatile and non volatile configuration register.
Operating Clock : 100MHz
SPI Clock Baud Rate Divisor : /32 (default value)
Script used for write/read:
Write Memory:
Write Enable (06h)
Chip Select delay : 5 (as mentioned in GSFI UG for 100MHz)
Operating Protocol Register : 0x00000000
Control Register : 0x00000101
Write Instruction : 0x00007002
master_write_32 0x00000000 0x1234ABCD
Status Register Values:
Status Register : 0x00000000
Flag Status Register : 0x00000081
Non Volatile Configuration Register : 0x0000ffff
Enhanced Volatile Configuration Register : 0x000000ff
Read Memory:
Operating Protocol Register : 0x00000000
Control Register : 0x00000101
Read Instruction : 0x00000403
master_read_32 0x00000000
Using the Reference Quartus Design from Generic Serial Flash Interface User Guide - Flash Access Using the Generic Serial Flash Interface Intel FPGA IP Section