bbogush/nand_programmer

EN25Q32B 4Mbyte SPI flash issue

kooroshi60 opened this issue · 4 comments

SPI Chip Database

Name: EN25Q32B
Page size: 0x100 (256 bytes)
Block size: 0x1000 (4096 bytes)
Total size: 0x400000 (4194304 bytes)
Page offset: 8
Read: 0xb
Read Id: 0x9f
Write: 0x2
Write enable: 0x6
Erase: 0x20
Status: 0x5
Busy bit: 0
Busy bit state: 1
Frequency: 104000

Programmer can successfully read the chip ID and the flash memory contents but it won't erase and program it entirely. This can be seen every time memory is read into buffer.
I was wondering if I am doing something wrong!?

Well I just compared this with a BlackCatUSB programmer. The results are kind of the same! I will test this chip with a working firmware and will do some real tests to see if the device turns on. I'll let you know the results.

EN25Q32B has some write protection mechanisms so they can be activated on this chip.

In datasheet it describes how to enable/disable the write protection by connecting pin 3 WP# to gnd and vcc respectively. It can also be floating in SPI mode.
I tested another chip from EON (En25F16). The data read from the chip is not a equal copy of chip memory; so can't be verified.
(device (modem) did not turn on with duplicated new chip).
I will do more tests with other chips from different manufacturers.

I just tested NANDO with SPANSION S25FL016A chip and it worked flawlessly. I definitely need to test some Atmel and Winbond chips as well; but so far, I can tell that there is something about EON SPI chips that doesn't go well in NANDO.