I have used Flashrom to backup a memory image in a radio using the AT45DB081E spi flash memory. The read operation worked well using the Flashrom device set as AT45DB081D

I bought some more used AT45DB081E chips to write the saved image and Flashrom objected by stating that the image was too big by 32767 bytes

I edited image by removing the last 32767 bytes and Flashrom wrote the used chips and verified successfully using the device setting AT45DB081D

While reading the datasheet I noticed that the AT45DB081D/E has two page sizes 256 and 264 bytes which explains the 32767 bytes difference in image sizes
It seems FlashROM is aware of the page size setting!

However I cannot see how read the status register to see the page size set or how to change it  using the 0x3D 0x2A 0x80  0xA6 / A7 command as described in Chapter 11 of the AT45DB081E datasheet

To summarise I want to change the page size of an AT45DB081E back to 264 to repair the radio and cannot see how to use Flashrom to do it

Regards
Rob