Good day. MacOS+Homebrew+flashrom.
Flashrom does not understand 4 byte addressing (chips > 16MB). With 3 byte addressing work perfectly (chips <= 16MB).
May you add 4 byte addressing for SPI flash? Example MX25L25635E - 32MB uses in different new routers.
CH341 in Windows work with 4 byte and read/write flash and registers from this SPI flash:
JEDEC ID(9F) = 0xC22019 RES ID(AB) = 0x001818 REMS ID(90) = 0x00C218
Sreg: 00000000(0x00), 11111111(0xFF), 00000111(0x07)
but on MacOS not software that can do it.