To read chip with Flashrom use:
flashrom -p pickit2_spi -r dump.romor
flashrom -p pickit2_spi -c W25Q80.V -r dump.romTo write chip with Flashrom use:
flashrom -p pickit2_spi -w dump.romor
flashrom -p pickit2_spi -c W25Q80.V -r dump.romAn optional voltage parameter specifies the voltage the PICkit2 should use.
The default unit is Volt if no unit is specified.
You can use mV, millivolt, V or Volt as unit specifier. Syntax is
flashrom -p pickit2_spi:voltage=valuewhere value can be 0V, 1.8V, 2.5V, 3.5V or the equivalent in mV.
An optional spispeed parameter specifies the frequency of the SPI bus. Syntax is
flashrom -p pickit2_spi:spispeed=frequencywhere frequency can be 250k, 333k, 500k or 1M (in Hz).
The default is a frequency of 1 MHz.
BaiGeorgi