Hello,

Stefanct on freenode:#flashrom requested I email this to you.

I've successfully reprogrammed a M25PE40 device, which was listed as untested by SVN flashrom.  Setup info and related TTY log follows.

http://pix.jbevren.net/e/LTV/leaptv-debrick

The ROM is left in-circuit, and the LeapTV is powered up after the Raspberry Pi boots.  Power is provided by the LeapTV system board.  More relevant information is available on the page linked above, including an image of the setup.

root@raspberrypi:~# flashrom -p linux_spi:dev=/dev/spidev0.0 -r 2016010801.bin
flashrom v0.9.8-r1916 on Linux 4.1.15+ (armv6l)
flashrom is free software, get the source code at https://flashrom.org

Calibrating delay loop... OK.
Found Micron/Numonyx/ST flash chip "M25PE40" (512 kB, SPI) on linux_spi.
===
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!
Reading flash... done.
root@raspberrypi:~# ls

(removed unrelated tty history)

root@raspberrypi:~# flashrom -p linux_spi:dev=/dev/spidev0.0 -E
flashrom v0.9.8-r1916 on Linux 4.1.15+ (armv6l)
flashrom is free software, get the source code at https://flashrom.org

Calibrating delay loop... OK.
Found Micron/Numonyx/ST flash chip "M25PE40" (512 kB, SPI) on linux_spi.
===
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!
Erasing and writing flash chip... Erase/write done.
root@raspberrypi:~# flashrom -p linux_spi:dev=/dev/spidev0.0 -w rewrite.bin
flashrom v0.9.8-r1916 on Linux 4.1.15+ (armv6l)
flashrom is free software, get the source code at https://flashrom.org

Calibrating delay loop... OK.
Found Micron/Numonyx/ST flash chip "M25PE40" (512 kB, SPI) on linux_spi.
===
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!
Reading old flash chip contents... done.
Erasing and writing flash chip... Erase/write done.
Verifying flash... VERIFIED.
root@raspberrypi:~#