sudo flashprog -VV -p serprog:dev=/dev/ttyACM0,spispeed=16M
flashprog v1.6-dirty on Linux 7.2.6-arch2-1 (x86_64)
flashprog is free software, get the source code at https://flashprog.org
Using clock_gettime for delay loops (clk_id: 1, resolution: 1ns).
flashprog was built with GCC 16.2.1 20260810, little endian
Command line (3 args): flashprog -VV -p
serprog:dev=/dev/ttyACM0,spispeed=16M
Initializing serprog programmer
No baudrate specified, using the hardware's defaults.
serprog: connected
serprog: Synchronized
serprog: Interface version ok.
serprog: Bus support: parallel=off, LPC=off, FWH=off, SPI=on
Warning: Automatic command availability check failed for cmd 0x08 -
won't execute cmd
Warning: Automatic command availability check failed for cmd 0x11 -
won't execute cmd
serprog: Requested to set SPI clock frequency to 16000000 Hz. It was
actually set to 15625000 Hz
serprog: Programmer name is "pico-serprog"
serprog: Serial buffer size is 65535
serprog: Output drivers enabled
The following protocols are supported: SPI.
probe_spi_rdid: id1 0x5e, id2 0x4018
probe_spi_rems: id1 0x5e, id2 0x17
probe_spi_res: id1 0x1717, id2 0x17
probe_spi_res: id1 0x17, id2 0x17
Ignoring RES in favour of RDID.
SFDP revision = 1.6
SFDP number of parameter headers is 1 (NPH = 0).
SFDP parameter table header 0/0:
ID 0x00, version 1.6
Length 64 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 16384 kB.
Block eraser 0: 4096 x 4096 B with opcode 0x20
Tried to add a duplicate block eraser: 4096 x 4096 B with opcode 0x20.
Block eraser 1: 512 x 32768 B with opcode 0x52
Block eraser 2: 256 x 65536 B with opcode 0xd8
done.
===
SFDP has autodetected a flash chip which is not natively supported
by flashprog 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
flashprog(a)flashprog.org:
'flashprog -VV [plus the -p/--programmer parameter]'
Thanks for your help!
===
Added layout entry 00000000 - 00ffffff named complete flash
Using Unknown flash chip "SFDP-capable chip" (16384 kB, SPI) on serprog.
No operations were specified.
serprog: Output drivers disabled