[flashrom] M25P16, erase (ok) and write (not ok)

Raven originalraven at hotmail.com
Thu Oct 17 14:13:31 CEST 2013


Hallo Stefan,
anhand des "at" am Ende denke (oder hoffe) ich du sprichst deutsch.

Der Chip ist ein 3.3V, ich Depp habe es aber mit dem 5V Adapter probiert.
Daher kann es sein das der Chip nun nicht mehr so toll ist... :-\
Jetzt verwende ich den 3.3V Adapter den ich mir vorhin schnell zusammen 
gebaut habe.
Habe den Flash nun mehrmals Veryfied, manchmal geht es manchmal nicht.
Aber wenn der Chip nun einen Knacks hat sind jegliche weitere tests 
zwecklos.
Der Fehler kommt übrigens immer an einem anderen Ort. Mal hier, mal da...
Läuft etwas unstabil.

*Geht:*
/Reading old flash chip contents... done.//
//Verifying flash... VERIFIED./

*Geht nicht:*
/Reading old flash chip contents... done.//
//Verifying flash... FAILED at 0x00096a02! Expected=0x0b, Found=0x47, 
failed byte count from 0x00000000-0x001fffff: 0x39d/

oder mit version 0.9.5.2-r1517
Reading old flash chip contents... done.
Verifying flash... VERIFY FAILED at 0x00148489! Expected=0x02, 
Read=0x00, failed byte count from 0x00000000-0x001fffff: 0xe9
/
Reading old flash chip contents... done.//
//Verifying flash... VERIFY FAILED at 0x0002369b! Expected=0x5a, 
Read=0xc6, failed byte count from 0x00000000-0x001fffff: 0x39//
/

Habe auch versucht den Speed runter zu stellen 
(serprog:dev=/dev/ttyACM0:1500000).
Was aber nicht funktioniert hat. Wenn ich weiter runter gehe bekomme ich 
einen Sync error:
/
//Calibrating delay loop... OK.//
//Error: cannot synchronize protocol - check communications and reset 
device?//
//Error: Programmer initialization failed./

An der Kabellänge kann es auch nicht liegen, denn die beträgt weniger 
als 10cm.

Lange Rede kurzer Sinn:
Ich schaue das ich einen neuen Chip organisieren kann und teste damit.
Bez. es kann auch sein das es am Programmer und gar nicht an flashrom liegt!

Eine andere Frage:
Wiso werden die AT45DBxxx Chips nicht unterstützt? Gibt es da eine 
möglichkeit diese
zu unterstützen?

Danke für die Hilfe!

Gruss

Marc


Am 17.10.2013 11:58, schrieb Stefan Tauner:
> On Thu, 17 Oct 2013 10:20:47 +0200
> Raven <originalraven at hotmail.com> wrote:
>
>> Hello,
>> here are the test results for "Found Micron/Numonyx/ST flash chip
>> "M25P16" (2048 kB, SPI)".
>> Erase seems to work, but write fails.
>> I tried it with an Arduino Uno
>> (http://www.flashrom.org/Serprog/Arduino_flasher).
> Hi and thanks for your report!
>
> I think the most probable causes are 1) a flaky chip, 2) flaky
> connections, but I am not sure.
>
> To test for flaky connections please re-read the chip a few times
> and compare the results. One way to do that is using the verify
> command multiple times:
> ./flashrom -p serprog:dev=/dev/ttyACM0:2000000 -Vv test.rom
>
> If it always fails like it did for writing (first byte/failure being
> Expected=0x55, Found=0x4b, and a total of 0x8399d unexpected bytes),
> then at least the clock, MISO and MOSI connections should be ok.
>
> What happens if you write the same image again? The number of
> unexpected bytes seems rather huge to me (more than half a MB) to be
> just a flaky chip, but erasing apparently works, so it cant be a simple
> write protection. What does the following command print out?
> hexdump  -e '/1 "%02X\n"' test.rom | grep -v FF -c
> (it should show the number of bytes in test.rom that are not all ones,
> i.e. 0xFF).
>
>> Output is attached.
> Please do not compress log files in mails here.

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.flashrom.org/pipermail/flashrom/attachments/20131017/dee4c6ba/attachment.html>


More information about the flashrom mailing list