Hi all,

I'm interested in reading from a Winbond's NAND Flash Memory W25M02GV, but unfortunately  flashrom does not support this chip yet. There are few differences between this chip and those already available in the flashchips.h from Winbond.
  1. It uses a SpiStack technology, which means stacking multiple die in one, in this case two nand 1G each. The ID for this nand is W25N01GV. Actually the W25M02GV is composed by two W25N01GV NAND.
  2. this chip, for almost every instruction, has one or more dummy bytes after the instruction. This feature seems not to be implemented in any chip currently listed in flashrom.
Also, my fault, I admit that I don't fully understand all the differences that could be hidden in having more than one die (perhaps more than the ones I mentioned above), and consequently the implications that it could entail in the implementation.

I hope someone will be interested in developing this ability and can help me.

Thanks,
s3th0x

References:
Datasheet: https://www.winbond.com/resource-files/W25M02GV%20Rev%20I%20051721.pdf
Linux Kernel MTD: https://elixir.bootlin.com/linux/latest/source/drivers/mtd/nand/spi/winbond.c
Arduino Library: https://github.com/squaresausage/WinbondW25N