On Mon, 5 Jan 2015 07:36:42 +0500 novoagansk@gmail.com wrote:
Здравствуйте, Flashrom.
I try read chip cFeon EN25P64 - 16 pins, through adapter SPI 16 to 8 but flashrom show two INVALID variants:
#flashrom -p ft2232_spi:type=arm-usb-tiny-h
flashrom v0.9.7-r1852 on Linux 3.2.66 (i686) flashrom is free software, get the source code at http://www.flashrom.org
Calibrating delay loop... OK. Found Eon flash chip "EN25B64" (8192 kB, SPI) on ft2232_spi. Found Eon flash chip "EN25B64T" (8192 kB, SPI) on ft2232_spi. Multiple flash chip definitions match the detected chip(s): "EN25B64", "EN25B64T" Please specify which chip definition to use with the -c <chipname> option.
read normally:
date flashrom -p ft2232_spi:type=arm-usb-tiny-h -c EN25B64 -r 234 date
1 min 5 sec
write okey:
flashrom -p ft2232_spi:type=arm-usb-tiny-h -c EN25B64 -w 3883 flashrom v0.9.7-r1852 on Linux 3.2.66 (i686) flashrom is free software, get the source code at http://www.flashrom.org
Calibrating delay loop... OK. Found Eon flash chip "EN25B64" (8192 kB, SPI) on ft2232_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.
Здравствуйте! :)
Thank you for your report. The reason why you see the "EN25B64" and "EN25B64T" variants be detect is that they have the same RDID as the EN25P64, which is not uncommon. However if I interpret your email correctly, then you have written your EN25P64 successfully and without warnings or error messages by using the flash chip definition of EN25B64. This is confusing for me because it should actually not work. The EN25P64 and EN25B64 have very different block layouts. The P variant has a unified sector size of 64kB while the B variants have "Two 4-Kbyte, one 8-Kbyte, one 16-Kbyte, one 32-Kbyte, and one hundred twenty-seven 64-Kbyte sectors".
Did I miss something?