As the subject line states, here is the output of 'flashrom -VV -p ch341a_spi':

flashrom v1.1 on Linux 5.0.0-37-generic (x86_64)
flashrom is free software, get the source code at https://flashrom.org

flashrom was built with libpci 3.5.2, GCC 7.4.0, little endian
Command line (3 args): flashrom -VV -p ch341a_spi
Using clock_gettime for delay loops (clk_id: 1, resolution: 1ns).
Initializing ch341a_spi programmer
Device revision is 3.0.4
The following protocols are supported: SPI.
Probing for AMIC A25L05PT, 64 kB: probe_spi_rdid_generic: id1 0x20, id2 0x7017

....

SFDP number of parameter headers is 2 (NPH = 1).

SFDP parameter table header 0/1:
ID 0x00, version 1.0
Length 36 B, Parameter Table Pointer 0x000030
Parsing JEDEC flash parameter table...
3-Byte only addressing.
Status register is non-volatile and the standard does not allow vendors to tell 
us whether EWSR/WREN is needed for status register writes - assuming EWSR.
Write chunk size is at least 64 B.
Flash chip size is 8192 kB.
Block eraser 0: 2048 x 4096 B with opcode 0x20
Tried to add a duplicate block eraser: 2048 x 4096 B with opcode 0x20.
Block eraser 1: 256 x 32768 B with opcode 0x52
Block eraser 2: 128 x 65536 B with opcode 0xd8
done.

SFDP parameter table header 1/1:
ID 0x20, version 1.0
Length 16 B, Parameter Table Pointer 0x000060
===
SFDP has autodetected a flash chip which is not natively supported by flashrom 
yet.
All standard operations (read, verify, erase and write) should work, but to 
support all possible features we need to add them manually.
You can help us by mailing us the output of the following command to 
flashrom@flashrom.org:
'flashrom -VV [plus the -p/--programmer parameter]'
Thanks for your help!
===
Found Unknown flash chip "SFDP-capable chip" (8192 kB, SPI) on ch341a_spi.
Probing for AMIC unknown AMIC SPI chip, 0 kB: probe_spi_rdid_generic: id1 0x20, 
id2 0x7017
Probing for Atmel unknown Atmel SPI chip, 0 kB: probe_spi_rdid_generic: id1 
0x20, id2 0x7017
Probing for Eon unknown Eon SPI chip, 0 kB: probe_spi_rdid_generic: id1 0x20, 
id2 0x7017
Probing for Macronix unknown Macronix SPI chip, 0 kB: probe_spi_rdid_generic: 
id1 0x20, id2 0x7017
Probing for PMC unknown PMC SPI chip, 0 kB: probe_spi_rdid_generic: id1 0x20, 
id2 0x7017
Probing for SST unknown SST SPI chip, 0 kB: probe_spi_rdid_generic: id1 0x20, 
id2 0x7017
Probing for ST unknown ST SPI chip, 0 kB: probe_spi_rdid_generic: id1 0x20, id2 
0x7017
Probing for Sanyo unknown Sanyo SPI chip, 0 kB: probe_spi_rdid_generic: id1 
0x20, id2 0x7017
Probing for Winbond unknown Winbond (ex Nexcom) SPI chip, 0 kB: 
probe_spi_rdid_generic: id1 0x20, id2 0x7017
Probing for Generic unknown SPI chip (RDID), 0 kB: probe_spi_rdid_generic: id1 
0x20, id2 0x7017
Probing for Generic unknown SPI chip (REMS), 0 kB: probe_spi_rems: id1 0x20, 
id2 0x16
Found Unknown flash chip "SFDP-capable chip" (8192 kB, SPI).
No operations were specified.


Maybe I am mistaken, but I have not seen the actual partnumber of the chip in the mail. Do you have opportunity to test read/write/earse functions?

Br,

Miklos
_______________________________________________
flashrom mailing list -- flashrom@flashrom.org
To unsubscribe send an email to flashrom-le...@flashrom.org

Reply via email to