Am 16.06.2010 um 16:05 schrieb Carl-Daniel Hailfinger:
Calibrating delay loop... OS timer resolution is 1 usecs, 299M loops per second, 10 myus = 11 us, 100 myus = 101 us, 1000 myus = 999 us, 10000 myus = 10113 us, 4 myus = 5 us, OK. Initializing buspirate_spi programmer SPI speed is 8MHz Raw bitbang mode version 1 Raw SPI mode version 1 Probing for Atmel AT25DF021, 256 KB: RDID byte 0 parity violation. probe_spi_rdid_generic: id1 0x00, id2 0x00
WTF?!? This looks like data corruption. Such a response is absolutely unacceptable. Can you run
flashrom -p buspirate_spi:dev=/dev/ttyUSB0 -V
a few times (should be a matter of a few seconds) and check if any probe_spi_rdid_generic complains about a parity violation? If yes, there is a bug somewhere which needs to be fixed.
Just that one with AT25DF021 (constantly). See:
root@zwerg:~# date ; flashrom -p buspirate_spi:dev=/dev/ttyUSB0 -V|grep vio Wed Jun 16 20:38:12 CEST 2010 Probing for Atmel AT25DF021, 256 KB: RDID byte 0 parity violation. probe_spi_rdid_generic: id1 0x00, id2 0x00
root@zwerg:~# date ; flashrom -p buspirate_spi:dev=/dev/ttyUSB0 -V|grep vio Wed Jun 16 20:38:17 CEST 2010 Probing for Atmel AT25DF021, 256 KB: RDID byte 0 parity violation. probe_spi_rdid_generic: id1 0x00, id2 0x00
root@zwerg:~# date ; flashrom -p buspirate_spi:dev=/dev/ttyUSB0 -V|grep vio Wed Jun 16 20:38:23 CEST 2010 Probing for Atmel AT25DF021, 256 KB: RDID byte 0 parity violation. probe_spi_rdid_generic: id1 0x00, id2 0x00
root@zwerg:~# date ; flashrom -p buspirate_spi:dev=/dev/ttyUSB0 -V|grep vio Wed Jun 16 20:38:28 CEST 2010 Probing for Atmel AT25DF021, 256 KB: RDID byte 0 parity violation. probe_spi_rdid_generic: id1 0x00, id2 0x00
root@zwerg:~# date ; flashrom -p buspirate_spi:dev=/dev/ttyUSB0 -V|grep vio Wed Jun 16 20:38:34 CEST 2010 Probing for Atmel AT25DF021, 256 KB: RDID byte 0 parity violation. probe_spi_rdid_generic: id1 0x00, id2 0x00
root@zwerg:~# date ; flashrom -p buspirate_spi:dev=/dev/ttyUSB0 -V|grep vio Wed Jun 16 20:38:38 CEST 2010 Probing for Atmel AT25DF021, 256 KB: RDID byte 0 parity violation. probe_spi_rdid_generic: id1 0x00, id2 0x00
root@zwerg:~# date ; flashrom -p buspirate_spi:dev=/dev/ttyUSB0 -V|grep vio Wed Jun 16 20:38:45 CEST 2010 Probing for Atmel AT25DF021, 256 KB: RDID byte 0 parity violation. probe_spi_rdid_generic: id1 0x00, id2 0x00
I will give you more updates later tonight.
Cheers,
Daniel