I've checked voltages on write protect and hold pins and searched through the code hoping for some extra bit of insight. I've now changed to the Microchip SST26VF016B flash chip that I wanted originally and have added the part to the flashrom flashchips.h and .c. Flashrom now recognizes the SST26VF016B flash chip and tries to program it but can't verify the code. The SST26VF016B doesn't have the block protection that the others do and programs once the write enable command is sent. Flashrom looks like its sending the right enable code so I'm not sure what's going on.
Thanks,
LaMont
... flashrom> sudo flashrom -VVVV -p nicintel_spi:pci=01:00.0 -w Dev_Start_I210_Copper_MCTP_16Mb_A2_3.25_0.03.bin
flashrom v0.9.9-r1954 on Linux 4.4.38-tegra (aarch64)
flashrom is free software, get the source code at
https://flashrom.orgflashrom was built with libpci 3.3.1, GCC 5.4.0 20160609, little endian
Command line (5 args): flashrom -VVVV -p nicintel_spi:pci=01:00.0 -w Dev_Start_I210_Copper_MCTP_16Mb_A2_3.25_0.03.bin
Calibrating delay loop... OS timer resolution is 1 usecs, 2524M loops per second, 10 myus = 16 us, 100 myus = 106 us, 1000 myus = 1000 us, 10000 myus = 9988 us, 4 myus = 12 us, OK.
Initializing nicintel_spi programmer
Found "Intel Unprogrammed i210 Gigabit Ethernet Controller" (8086:1531, BDF 01:00.0).
===
This PCI device is UNTESTED. Please report the 'flashrom -p xxxx' output
to
flashrom@flashrom.org if it works for you. Please add the name of your
PCI device to the subject. Thank you for your help!
===
PCI header type 0x00
Requested BAR is of type MEM, 32bit, not prefetchable
PCI header type 0x00
Requested BAR is of type MEM, 32bit, not prefetchable
page_size=1000
pre-rounding: start=0x0000000050800000, len=0x1000, end=0x0000000050801000
post-rounding: start=0x0000000050800000, len=0x1000, end=0x0000000050801000
The following protocols are supported: SPI.
Probing for AMIC A25L05PT, 64 kB: programmer_map_flash_region: mapping A25L05PT from 0x00000000ffff0000 to 0x0000000000000000
RDID returned 0xbf 0x26 0x41 0xbf. probe_spi_rdid_generic: id1 0xbf, id2 0x2641
...
"depreciated"
...
Probing for Generic unknown SPI chip (REMS), 0 kB: REMS returned 0xff 0xff. probe_spi_rems: id1 0xff, id2 0xff
Found SST flash chip "SST26VF016B" (2048 kB, 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!
programmer_map_flash_region: mapping SST26VF016B from 0x00000000ffe00000 to 0x0000000000000000
Block protection is disabled.
Reading old flash chip contents... done.
Erasing and writing flash chip... Trying erase function 0... 0x000000-0x000fff:W, 0x001000-0x001fff:S, 0x002000-0x002fff:S, 0x003000-0x003fff:S, 0x004000-0x004fff:S, 0x005000-0x005fff:S, 0x006000-0x006fff:S, 0x007000-0x007fff:S, 0x008000-0x008fff:S, 0x009000-0x009fff:S, 0x00a000-0x00afff:S, 0x00b000-0x00bfff:S, 0x00c000-0x00cfff:S, 0x00d000-0x00dfff:S, 0x00e000-0x00efff:S, 0x00f000-0x00ffff:S, 0x010000-0x010fff:S, 0x011000-0x011fff:S, 0x012000-0x012fff:S, 0x013000-0x013fff:S, 0x014000-0x014fff:S, 0x015000-0x015fff:S, 0x016000-0x016fff:S,
...
"depreciated"
...
0x1ec000-0x1ecfff:S, 0x1ed000-0x1edfff:S, 0x1ee000-0x1eefff:S, 0x1ef000-0x1effff:S, 0x1f0000-0x1f0fff:S, 0x1f1000-0x1f1fff:S, 0x1f2000-0x1f2fff:S, 0x1f3000-0x1f3fff:S, 0x1f4000-0x1f4fff:S, 0x1f5000-0x1f5fff:S, 0x1f6000-0x1f6fff:S, 0x1f7000-0x1f7fff:S, 0x1f8000-0x1f8fff:S, 0x1f9000-0x1f9fff:S, 0x1fa000-0x1fafff:S, 0x1fb000-0x1fbfff:S, 0x1fc000-0x1fcfff:S, 0x1fd000-0x1fdfff:S, 0x1fe000-0x1fefff:S, 0x1ff000-0x1fffff:S
Erase/write done.
Verifying flash... FAILED at 0x00000000! Expected=0x00, Found=0xff, failed byte count from 0x00000000-0x001fffff: 0x352ba
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!
programmer_unmap_flash_region: unmapped 0x0000000000000000