Upon a raspberrypi I hooked up a macronix MX35LF1GE4AB flash memory chip. For that I hooked the chip into a raspberrypi zero w like this:
The chip is connected as:
| Flash Memory | Raspberry Pi | GPIO pin |
|---|---|---|
| CS | Pin 24 | GPIO 8 |
| SI/SIO0 | Pin 19 | GPIO 10 |
| SO/SIO1 | Pin 21 | GPIO 9 |
| WP#/SIO2 | Pin 18 | GPIO 24 |
| HOLD#/SIO3 | Pin 16 | GPIO 23 |
| SCLK | Pin 23 | GPIO 11 |
| VCC | Pin 1 | 3.3V |
| GND | Pin 20 | GND |
And then once sshing into raspberrypi I run:
sudo flashrom -p linux_spi:dev=/dev/spidev0.0,spispeed=512 -r ./flashrom.bin flashrom 1.4.0 on Linux 6.12.47+rpt-rpi-v6 (armv6l) flashrom is free software, get the source code at https://flashrom.org No EEPROM/flash device found. Note: flashrom can never write if the flash chip isn't found automatically. I also tried another spi device as well
sudo flashrom -p linux_spi:dev=/dev/spidev0.1,spispeed=512 -r ./flashrom.bin flashrom 1.4.0 on Linux 6.12.47+rpt-rpi-v6 (armv6l) flashrom is free software, get the source code at https://flashrom.org No EEPROM/flash device found. Note: flashrom can never write if the flash chip isn't found automatically. But as you can see I am unable to dump the flash memory chip. Do you know why?

How to dump Macronix flash memory chip?