<div dir="ltr"><div><div>Hello,<br><br></div>Stefanct on freenode:#flashrom requested I email this to you.<br><br></div><div>I've successfully reprogrammed a M25PE40 device, which was listed as untested by SVN flashrom.  Setup info and related TTY log follows.<br><br><a href="http://pix.jbevren.net/e/LTV/leaptv-debrick">http://pix.jbevren.net/e/LTV/leaptv-debrick</a><br><br></div><div>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.<br></div><div><br>root@raspberrypi:~# flashrom -p linux_spi:dev=/dev/spidev0.0 -r 2016010801.bin<br>flashrom v0.9.8-r1916 on Linux 4.1.15+ (armv6l)<br>flashrom is free software, get the source code at <a href="https://flashrom.org">https://flashrom.org</a><br><br>Calibrating delay loop... OK.<br>Found Micron/Numonyx/ST flash chip "M25PE40" (512 kB, SPI) on linux_spi.<br>===<br>This flash part has status UNTESTED for operations: PROBE READ ERASE WRITE<br>The test status of this chip may have been updated in the latest development<br>version of flashrom. If you are running the latest development version,<br>please email a report to <a href="mailto:flashrom@flashrom.org">flashrom@flashrom.org</a> if any of the above operations<br>work correctly for you with this flash chip. Please include the flashrom log<br>file for all operations you tested (see the man page for details), and mention<br>which mainboard or programmer you tested in the subject line.<br>Thanks for your help!<br>Reading flash... done.<br>root@raspberrypi:~# ls<br><br></div>(removed unrelated tty history)<br><br>root@raspberrypi:~# flashrom -p linux_spi:dev=/dev/spidev0.0 -E<br>flashrom v0.9.8-r1916 on Linux 4.1.15+ (armv6l)<br>flashrom is free software, get the source code at <a href="https://flashrom.org">https://flashrom.org</a><br><br>Calibrating delay loop... OK.<br>Found Micron/Numonyx/ST flash chip "M25PE40" (512 kB, SPI) on linux_spi.<br>===<br>This flash part has status UNTESTED for operations: PROBE READ ERASE WRITE<br>The test status of this chip may have been updated in the latest development<br>version of flashrom. If you are running the latest development version,<br>please email a report to <a href="mailto:flashrom@flashrom.org">flashrom@flashrom.org</a> if any of the above operations<br>work correctly for you with this flash chip. Please include the flashrom log<br>file for all operations you tested (see the man page for details), and mention<br>which mainboard or programmer you tested in the subject line.<br>Thanks for your help!<br>Erasing and writing flash chip... Erase/write done.<br>root@raspberrypi:~# flashrom -p linux_spi:dev=/dev/spidev0.0 -w rewrite.bin <br>flashrom v0.9.8-r1916 on Linux 4.1.15+ (armv6l)<br>flashrom is free software, get the source code at <a href="https://flashrom.org">https://flashrom.org</a><br><br>Calibrating delay loop... OK.<br>Found Micron/Numonyx/ST flash chip "M25PE40" (512 kB, SPI) on linux_spi.<br>===<br>This flash part has status UNTESTED for operations: PROBE READ ERASE WRITE<br>The test status of this chip may have been updated in the latest development<br>version of flashrom. If you are running the latest development version,<br>please email a report to <a href="mailto:flashrom@flashrom.org">flashrom@flashrom.org</a> if any of the above operations<br>work correctly for you with this flash chip. Please include the flashrom log<br>file for all operations you tested (see the man page for details), and mention<br>which mainboard or programmer you tested in the subject line.<br>Thanks for your help!<br>Reading old flash chip contents... done.<br>Erasing and writing flash chip... Erase/write done.<br>Verifying flash... VERIFIED.<br>root@raspberrypi:~#<br><br></div>