Hi flashrom team,

i try to read the mx25l3255e (https://media.digikey.com/pdf/Data%20Sheets/Macronix/MX25L3255E.pdf) chip. But it don't work. I have tried to patch flashrom but output say:

sudo ./flashrom -f -p buspirate_spi:dev=/dev/ttyUSB0,spispeed=115 -V -r test_mx25l3255e.bin -c MX25L3255E

flashrom unknown on Linux 5.4.0-42-generic (x86_64)
flashrom is free software, get the source code at https://flashrom.org


flashrom was built with libpci 3.6.4, GCC 9.3.0, little endian
Command line (8 args): ./flashrom -f -p buspirate_spi:dev=/dev/ttyUSB0,spispeed=115 -V -r test_mx25l3255e.bin -c MX25L3255E
Using clock_gettime for delay loops (clk_id: 1, resolution: 1ns).
Initializing buspirate_spi programmer
Invalid SPI speed, using default.
Detected Bus Pirate hardware 3.5
Detected Bus Pirate firmware 7.0
Using SPI command set v2.
SPI speed is 8MHz
Bus Pirate v3 or newer detected. Set serial speed to 2M baud.
Serial speed is 2000000 baud
Raw bitbang mode version 1
Raw SPI mode version 1
The following protocols are supported: SPI.
Probing for Macronix MX25L3255E, 4096 kB: probe_spi_rdid_generic: id1 0xc2, id2 0x9e16
Found Macronix flash chip "MX25L3255E" (4096 kB, SPI) on buspirate_spi.
Chip security register: 0x80
    WPSEL is ON
Chip status register is 0x7c.
Chip status register: Status Register Write Disable (SRWD, SRP, ...) is not set
Chip status register: Bit 6 is set
Chip status register: Block Protect 3 (BP3) is set
Chip status register: Block Protect 2 (BP2) is set
Chip status register: Block Protect 1 (BP1) is set
Chip status register: Block Protect 0 (BP0) is set
Chip status register: Write Enable Latch (WEL) is not set
Chip status register: Write In Progress (WIP/BUSY) is not set
This chip may contain one-time programmable memory. flashrom cannot read
and may never be able to write it, hence it may not be able to completely
clone the contents of this chip (see man page for details).
===
This flash part has status UNTESTED for operations: PROBE READ ERASE WRITE
The test status of this chip may have been updated in the latest development
version of flashrom. If you are running the latest development version,
please email a report to flashrom@flashrom.org if any of the above operations
work correctly for you with this flash chip. Please include the flashrom log
file for all operations you tested (see the man page for details), and mention
which mainboard or programmer you tested in the subject line.
Thanks for your help!
Some block protection in effect, disabling... Block protection could not be disabled!
Chip security register: 0x80
    WPSEL is ON
Chip status register is 0x7c.
Chip status register: Status Register Write Disable (SRWD, SRP, ...) is not set
Chip status register: Bit 6 is set
Chip status register: Block Protect 3 (BP3) is set
Chip status register: Block Protect 2 (BP2) is set
Chip status register: Block Protect 1 (BP1) is set
Chip status register: Block Protect 0 (BP0) is set
Chip status register: Write Enable Latch (WEL) is not set
Chip status register: Write In Progress (WIP/BUSY) is not set
Reading flash...

But then nothing happens. Can you help? That would be great!


Best regards

Daniel