Adding logs.



ср, 18 нояб. 2020 г. в 09:00, Igor Omelchenko <odinigoromel@gmail.com>:
Hello!

Tried to flash BIOS on "W25Q256.V" chip, got below  errors:
 (Tried with 24-45k spispeed. tried with -n and without -n)
Thanks for your amazing work!
  
squid@squid:~$ sudo flashrom -p linux_spi:dev=/dev/spidev1.0,spispeed=24000 -n -w  /squid/Squid/Files/SES5_000000_2020WW45.1.01.bin
flashrom  on Linux 4.14.108-ti-r137 (armv7l)
flashrom is free software, get the source code at https://flashrom.org

Using clock_gettime for delay loops (clk_id: 1, resolution: 1ns).
Found Winbond flash chip "W25Q256.V" (32768 kB, SPI) on linux_spi.
Reading old flash chip contents... done.
Erasing and writing flash chip... FAILED at 0x00000002! Expected=0xff, Found=0x7f, failed byte count from 0x00000000-0x00000fff: 0xffc
ERASE FAILED!
Reading current flash chip contents... done. Looking for another erase function.
FAILED at 0x00000002! Expected=0xff, Found=0x7f, failed byte count from 0x00000000-0x00007fff: 0x7fee
ERASE FAILED!
Reading current flash chip contents... done. Looking for another erase function.
FAILED at 0x00000002! Expected=0xff, Found=0x7f, failed byte count from 0x00000000-0x0000ffff: 0xffde
ERASE FAILED!
Reading current flash chip contents... done. Looking for another erase function.
FAILED at 0x00000002! Expected=0xff, Found=0x7f, failed byte count from 0x00000000-0x01ffffff: 0x1ffbf90
ERASE FAILED!
Reading current flash chip contents... done. Looking for another erase function.
FAILED at 0x00000002! Expected=0xff, Found=0x7f, failed byte count from 0x00000000-0x01ffffff: 0x1ffbe3a
ERASE FAILED!
Reading current flash chip contents... done. Looking for another erase function.
Looking for another erase function.
Looking for another erase function.
No usable erase functions left.
FAILED!
Uh oh. Erase/write failed. Checking if anything has changed.
Reading current flash chip contents... done.
Apparently at least some data has changed.
Your flash chip is in an unknown state.
Please report this on IRC at chat.freenode.net (channel #flashrom) or
mail flashrom@flashrom.org, thanks!

--
Omelchenko Igor
0543-066-855


--
Omelchenko Igor
0543-066-855