Nick: kapcom01 E-mail: manolis@kapcom.gr Board: kapcom01 Contents: two example: $ sudo flashrom -V -p linux_spi:dev=/dev/spidev0.0,spispeed=10000 -c "MX25L6405D" -r romread1.rom flashrom v1.1-rc1-108-g1a11949 on Linux 4.19.58-v7l+ (armv7l) flashrom is free software, get the source code at https://flashrom.org flashrom was built with libpci 3.5.2, GCC 8.3.0, little endian Command line (7 args): flashrom -V -p linux_spi:dev=/dev/spidev0.0,spispeed=10000 -c MX25L6405D -r romread1.rom Using clock_gettime for delay loops (clk_id: 1, resolution: 1ns). Initializing linux_spi programmer Using device /dev/spidev0.0 Using 10000kHz clock linux_spi_init: Using value from /sys/module/spidev/parameters/bufsiz as max buffer size. linux_spi_init: max_kernel_buf_size: 4096 The following protocols are supported: SPI. Probing for Macronix MX25L6405D, 8192 kB: probe_spi_rdid_generic: id1 0xc2, id2 0x2017 Found Macronix flash chip "MX25L6405D" (8192 kB, SPI) on linux_spi. Chip status register is 0xc0. Chip status register: Status Register Write Disable (SRWD, SRP, ...) is set Chip status register: Bit 6 is set Chip status register: Block Protect 3 (BP3) is not set Chip status register: Block Protect 2 (BP2) is not set Chip status register: Block Protect 1 (BP1) is not set Chip status register: Block Protect 0 (BP0) is not 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). Some block protection in effect, disabling... Need to disable the register lock first... Error: WIP bit after WRSR never cleared spi_write_status_register failed. Reading flash... done. $ sudo flashrom -p linux_spi:dev=/dev/spidev0.0,spispeed=5000 -r romread5.rom flashrom v1.1-rc1-108-g1a11949 on Linux 4.19.58-v7l+ (armv7l) flashrom is free software, get the source code at https://flashrom.org Using clock_gettime for delay loops (clk_id: 1, resolution: 1ns). Found Macronix flash chip "MX25L6405" (8192 kB, SPI) on linux_spi. Error: WIP bit after WRSR never cleared spi_write_status_register failed. Reading flash... done