Droid-MAX / SNANDer

SNANDer - Serial Nor/nAND/Eeprom programmeR (based on CH341A)
GNU General Public License v2.0
121 stars 44 forks source link

NM25Q Series programming issues #8

Closed Droid-MAX closed 1 year ago

Droid-MAX commented 1 year ago

NM25Q series flash memory chips still have problems with reading and writing and need to be fixed.

Droid-MAX commented 1 year ago

read-1

erase

Droid-MAX commented 1 year ago

Failed to read the status register with the return value FF

Droid-MAX commented 1 year ago

连续性操作时,例如:读取器件ID(9F)极大概率会出错,读取状态寄存器1的值极大概率会出错,但是单独读取器件ID或状态寄存器时是正常的 单独读取状态寄存器 #1 的值是1F 单独读取状态寄存器 #2 的值是00 而写入,读取,擦除操作是由多条指令组合而成的,写入跟擦除操作除了WIP位为1,WEL位也会置为1,所以写入跟擦除时读取到的状态寄存器的值应为3F(00111111),而读取操作时WEL应为0,即为1F(00011111)

Droid-MAX commented 1 year ago

在拉低CS脚后,如果不发送指令再拉高的话,是不会响应下一条指令的

Droid-MAX commented 1 year ago

https://github.com/Droid-MAX/SNANDer/commit/f4e71772cf12f1ccbd5a5023b7afb5790649e475