Droid-MAX / SNANDer

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

try NOR before NAND #7

Closed themactep closed 1 year ago

themactep commented 1 year ago

This fixes the detection issue:

before

$ build/snander -i

SNANDer - Serial Nor/nAND/Eeprom programmeR v.1.7.8 by McMCC <mcmcc@mail.ru>

Found programmer device: WinChipHead (WCH) - CH341A
Device revision is 3.0.4
spi_nand_probe: mfr_id = 0xc2, dev_id = 0x20, dev_id_2 = 0x17
Get Status Register 1: 0xff
Get Status Register 2: 0xff
Using Flash ECC.
Detected SPI NAND Flash: MXIC MX35LF2G14AC, Flash Size: 256MB, OOB Size: 64B

after

$ build/snander -i

SNANDer - Serial Nor/nAND/Eeprom programmeR v.1.7.8 by McMCC <mcmcc@mail.ru>

Found programmer device: WinChipHead (WCH) - CH341A
Device revision is 3.0.4
spi device id: c2 20 17 c2 20 (2017c220)
Detected SPI NOR Flash: MX25L6405D, Flash Size: 8 MB