To read chip with Flashrom use:

flashrom -p pickit2_spi -r dump.rom

 or

flashrom -p pickit2_spi -c W25Q80.V -r dump.rom

To write chip with Flashrom use:

flashrom -p pickit2_spi -w dump.rom

 or

flashrom -p pickit2_spi -c W25Q80.V -r dump.rom

An 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=value

where 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=frequency

where frequency can be 250k, 333k, 500k or 1M (in Hz).

The default is a frequency of 1 MHz.