On Tue, 02 Apr 2013 20:32:44 +0800 Chi Zhang zhangchi866@gmail.com wrote:
Recently I got an AT25F512(no A) chip from my old nVidia Geforce FX 5200 card. However, flashrom seems to recognize it as AT25F1024:
flashrom -p serprog:dev=/dev/ttyACM0:4000000,spispeed=1000000 flashrom v0.9.6.1-r1658 on Linux 3.2.0-39-generic (x86_64) flashrom is free software, get the source code at http://www.flashrom.org
Calibrating delay loop... OK. serprog: Programmer name is "serprog-STM32VCP" Found Atmel flash chip "AT25F1024(A)" (128 kB, SPI) on serprog. No operations were specified.
The detailed log with -VV canbe found at: http://paste.flashrom.org/view.php?id=1568
Thank you very much for this information. I had to guess the device IDs because they are not mentioned in the datasheet. The AT25F1024A has 0x60, the AT25F512A has 0x65, the AT25F025B has 0x6500... but apparently assuming at least some sanity has failed to reflect the truth.
So, according to your verbose log your AT25F512 has the same ID as the AT25F1024A (according to its datasheet). *sigh* Before I'll make some changes to the code I'll try to find someone with a AT25F1024 chip to test.