flashrom v1.2-882-g6a3988b on Linux 5.16.10-051610-generic (x86_64) flashrom is free software, get the source code at https://flashrom.org Using clock_gettime for delay loops (clk_id: 1, resolution: 1ns). flashrom was built with GCC 9.4.0, little endian Command line (7 args): ./flashrom -p serprog:dev=/dev/ttyACM0:115200 -c MT25QL512 -r backup.bin -VVV Initializing serprog programmer serprog: connected - attempting to synchronize writecnt 8 wr_bytes 0 wrote 8 bytes write successful writecnt 1 wr_bytes 0 wrote 1 bytes write successful .readcnt 1 rd_bytes 0 read -1 bytes readcnt 1 rd_bytes 0 read -1 bytes readcnt 1 rd_bytes 0 read 1 bytes readcnt 1 rd_bytes 0 read -1 bytes readcnt 1 rd_bytes 0 read -1 bytes readcnt 1 rd_bytes 0 read -1 bytes readcnt 1 rd_bytes 0 read 1 bytes writecnt 1 wr_bytes 0 wrote 1 bytes write successful readcnt 1 rd_bytes 0 read -1 bytes readcnt 1 rd_bytes 0 read 1 bytes readcnt 1 rd_bytes 0 read -1 bytes readcnt 1 rd_bytes 0 read 1 bytes 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: Programmer name is "pico-serprog" serprog: Serial buffer size is 65535 serprog: Output drivers enabled The following protocols are supported: SPI. Probing for Micron MT25QL512, 65536 kB: programmer_map_flash_region: mapping MT25QL512 from 0x00000000fc000000 to 0x0000000000000000 serprog_spi_send_command, writecnt=1, readcnt=3 RDID returned 0x20 0xba 0x20. compare_id: id1 0x20, id2 0xba20 Added layout entry 00000000 - 03ffffff named complete flash Found Micron flash chip "MT25QL512" (65536 kB, SPI) on serprog. serprog_spi_send_command, writecnt=1, readcnt=2 Chip status register is 0x00. Chip status register: Status Register Write Disable (SRWD, SRP, ...) is not set Chip status register: Block Protect 3 (BP3) is not set Chip status register: Top/Bottom (TB) is top Chip status register: Block Protect 2 (BP2) is not set Chip status register: Block Protect 1 (BP1) is not set Chip status register: Block Protect 0 (BP0) is not set Chip status register: Write Enable Latch (WEL) is not set Chip status register: Write In Progress (WIP/BUSY) is not set programmer_unmap_flash_region: unmapped 0x0000000000000000 This chip may contain one-time programmable memory. flashrom cannot read and may never be able to write it, hence it may not be able to completely clone the contents of this chip (see man page for details). serprog_delay usecs=100000 serprog_delay used, but programmer doesn't support delays natively - emulating programmer_map_flash_region: mapping MT25QL512 from 0x00000000fc000000 to 0x0000000000000000 serprog_spi_send_command, writecnt=1, readcnt=2 Block protection is disabled. serprog_spi_send_command, writecnt=1, readcnt=0 serprog_spi_send_command, writecnt=1, readcnt=0 Reading flash... serprog_spi_send_command, writecnt=5, readcnt=65536 serprog_spi_send_command, writecnt=5, readcnt=65536 serprog_spi_send_command, writecnt=5, readcnt=65536 serprog_spi_send_command, writecnt=5, readcnt=65536 serprog_spi_send_command, writecnt=5, readcnt=65536 serprog_spi_send_command, writecnt=5, readcnt=65536 serprog_spi_send_command, writecnt=5, readcnt=65536 serprog_spi_send_command, writecnt=5, readcnt=65536 serprog_spi_send_command, writecnt=5, readcnt=65536 serprog_spi_send_command, writecnt=5, readcnt=65536 serprog_spi_send_command, writecnt=5, readcnt=65536 serprog_spi_send_command, writecnt=5, readcnt=65536 serprog_spi_send_command, writecnt=5, readcnt=65536 serprog_spi_send_command, writecnt=5, readcnt=65536 serprog_spi_send_command, writecnt=5, readcnt=65536 serprog_spi_send_command, writecnt=5, readcnt=65536 serprog_spi_send_command, writecnt=5, readcnt=65536 serprog_spi_send_command, writecnt=5, readcnt=65536 serprog_spi_send_command, writecnt=5, readcnt=65536 serprog_spi_send_command, writecnt=5, readcnt=65536 serprog_spi_send_command, writecnt=5, readcnt=65536 serprog_spi_send_command, writecnt=5, readcnt=65536 serprog_spi_send_command, writecnt=5, readcnt=65536 serprog_spi_send_command, writecnt=5, readcnt=65536 serprog_spi_send_command, writecnt=5, readcnt=65536 serprog_spi_send_command, writecnt=5, readcnt=65536 serprog_spi_send_command, writecnt=5, readcnt=65536 serprog_spi_send_command, writecnt=5, readcnt=65536 serprog_spi_send_command, writecnt=5, readcnt=65536 serprog_spi_send_command, writecnt=5, readcnt=65536 serprog_spi_send_command, writecnt=5, readcnt=65536 serprog_spi_send_command, writecnt=5, readcnt=65536 serprog_spi_send_command, writecnt=5, readcnt=65536 serprog_spi_send_command, writecnt=5, readcnt=65536 serprog_spi_send_command, writecnt=5, readcnt=65536 serprog_spi_send_command, writecnt=5, readcnt=65536 serprog_spi_send_command, writecnt=5, readcnt=65536 serprog_spi_send_command, writecnt=5, readcnt=65536 serprog_spi_send_command, writecnt=5, readcnt=65536 serprog_spi_send_command, writecnt=5, readcnt=65536 serprog_spi_send_command, writecnt=5, readcnt=65536 serprog_spi_send_command, writecnt=5, readcnt=65536 serprog_spi_send_command, writecnt=5, readcnt=65536 serprog_spi_send_command, writecnt=5, readcnt=65536 serprog_spi_send_command, writecnt=5, readcnt=65536 serprog_spi_send_command, writecnt=5, readcnt=65536 serprog_spi_send_command, writecnt=5, readcnt=65536 serprog_spi_send_command, writecnt=5, readcnt=65536 serprog_spi_send_command, writecnt=5, readcnt=65536 serprog_spi_send_command, writecnt=5, readcnt=65536 serprog_spi_send_command, writecnt=5, readcnt=65536 serprog_spi_send_command, writecnt=5, readcnt=65536 serprog_spi_send_command, writecnt=5, readcnt=65536 serprog_spi_send_command, writecnt=5, readcnt=65536 serprog_spi_send_command, writecnt=5, readcnt=65536 serprog_spi_send_command, writecnt=5, readcnt=65536 serprog_spi_send_command, writecnt=5, readcnt=65536 serprog_spi_send_command, writecnt=5, readcnt=65536 serprog_spi_send_command, writecnt=5, readcnt=65536 serprog_spi_send_command, writecnt=5, readcnt=65536 serprog_spi_send_command, writecnt=5, readcnt=65536 serprog_spi_send_command, writecnt=5, readcnt=65536 serprog_spi_send_command, writecnt=5, readcnt=65536 serprog_spi_send_command, writecnt=5, readcnt=65536 serprog_spi_send_command, writecnt=5, readcnt=65536 serprog_spi_send_command, writecnt=5, readcnt=65536 serprog_spi_send_command, writecnt=5, readcnt=65536 serprog_spi_send_command, writecnt=5, readcnt=65536 serprog_spi_send_command, writecnt=5, readcnt=65536 serprog_spi_send_command, writecnt=5, readcnt=65536 serprog_spi_send_command, writecnt=5, readcnt=65536 serprog_spi_send_command, writecnt=5, readcnt=65536 serprog_spi_send_command, writecnt=5, readcnt=65536 serprog_spi_send_command, writecnt=5, readcnt=65536 serprog_spi_send_command, writecnt=5, readcnt=65536 serprog_spi_send_command, writecnt=5, readcnt=65536 serprog_spi_send_command, writecnt=5, readcnt=65536 serprog_spi_send_command, writecnt=5, readcnt=65536 serprog_spi_send_command, writecnt=5, readcnt=65536 serprog_spi_send_command, writecnt=5, readcnt=65536 serprog_spi_send_command, writecnt=5, readcnt=65536 serprog_spi_send_command, writecnt=5, readcnt=65536 serprog_spi_send_command, writecnt=5, readcnt=65536 serprog_spi_send_command, writecnt=5, readcnt=65536 serprog_spi_send_command, writecnt=5, readcnt=65536 serprog_spi_send_command, writecnt=5, readcnt=65536 serprog_spi_send_command, writecnt=5, readcnt=65536 serprog_spi_send_command, writecnt=5, readcnt=65536 serprog_spi_send_command, writecnt=5, readcnt=65536 serprog_spi_send_command, writecnt=5, readcnt=65536 serprog_spi_send_command, writecnt=5, readcnt=65536 serprog_spi_send_command, writecnt=5, readcnt=65536 serprog_spi_send_command, writecnt=5, readcnt=65536 serprog_spi_send_command, writecnt=5, readcnt=65536 serprog_spi_send_command, writecnt=5, readcnt=65536 serprog_spi_send_command, writecnt=5, readcnt=65536 serprog_spi_send_command, writecnt=5, readcnt=65536 serprog_spi_send_command, writecnt=5, readcnt=65536 serprog_spi_send_command, writecnt=5, readcnt=65536 serprog_spi_send_command, writecnt=5, readcnt=65536 serprog_spi_send_command, writecnt=5, readcnt=65536 serprog_spi_send_command, writecnt=5, readcnt=65536 serprog_spi_send_command, writecnt=5, readcnt=65536 serprog_spi_send_command, writecnt=5, readcnt=65536 serprog_spi_send_command, writecnt=5, readcnt=65536 serprog_spi_send_command, writecnt=5, readcnt=65536 serprog_spi_send_command, writecnt=5, readcnt=65536 serprog_spi_send_command, writecnt=5, readcnt=65536 serprog_spi_send_command, writecnt=5, readcnt=65536 serprog_spi_send_command, writecnt=5, readcnt=65536 serprog_spi_send_command, writecnt=5, readcnt=65536 serprog_spi_send_command, writecnt=5, readcnt=65536 serprog_spi_send_command, writecnt=5, readcnt=65536 serprog_spi_send_command, writecnt=5, readcnt=65536 serprog_spi_send_command, writecnt=5, readcnt=65536 serprog_spi_send_command, writecnt=5, readcnt=65536 serprog_spi_send_command, writecnt=5, readcnt=65536 serprog_spi_send_command, writecnt=5, readcnt=65536 serprog_spi_send_command, writecnt=5, readcnt=65536 serprog_spi_send_command, writecnt=5, readcnt=65536 serprog_spi_send_command, writecnt=5, readcnt=65536 serprog_spi_send_command, writecnt=5, readcnt=65536 serprog_spi_send_command, writecnt=5, readcnt=65536 serprog_spi_send_command, writecnt=5, readcnt=65536 serprog_spi_send_command, writecnt=5, readcnt=65536 serprog_spi_send_command, writecnt=5, readcnt=65536 serprog_spi_send_command, writecnt=5, readcnt=65536 serprog_spi_send_command, writecnt=5, readcnt=65536 serprog_spi_send_command, writecnt=5, readcnt=65536 serprog_spi_send_command, writecnt=5, readcnt=65536 serprog_spi_send_command, writecnt=5, readcnt=65536 serprog_spi_send_command, writecnt=5, readcnt=65536 serprog_spi_send_command, writecnt=5, readcnt=65536 serprog_spi_send_command, writecnt=5, readcnt=65536 serprog_spi_send_command, writecnt=5, readcnt=65536 serprog_spi_send_command, writecnt=5, readcnt=65536 serprog_spi_send_command, writecnt=5, readcnt=65536 serprog_spi_send_command, writecnt=5, readcnt=65536 serprog_spi_send_command, writecnt=5, readcnt=65536 serprog_spi_send_command, writecnt=5, readcnt=65536 serprog_spi_send_command, writecnt=5, readcnt=65536 serprog_spi_send_command, writecnt=5, readcnt=65536 serprog_spi_send_command, writecnt=5, readcnt=65536 serprog_spi_send_command, writecnt=5, readcnt=65536 serprog_spi_send_command, writecnt=5, readcnt=65536 serprog_spi_send_command, writecnt=5, readcnt=65536 serprog_spi_send_command, writecnt=5, readcnt=65536 serprog_spi_send_command, writecnt=5, readcnt=65536 serprog_spi_send_command, writecnt=5, readcnt=65536 serprog_spi_send_command, writecnt=5, readcnt=65536 serprog_spi_send_command, writecnt=5, readcnt=65536 serprog_spi_send_command, writecnt=5, readcnt=65536 serprog_spi_send_command, writecnt=5, readcnt=65536 serprog_spi_send_command, writecnt=5, readcnt=65536 serprog_spi_send_command, writecnt=5, readcnt=65536 serprog_spi_send_command, writecnt=5, readcnt=65536 serprog_spi_send_command, writecnt=5, readcnt=65536 serprog_spi_send_command, writecnt=5, readcnt=65536 serprog_spi_send_command, writecnt=5, readcnt=65536 serprog_spi_send_command, writecnt=5, readcnt=65536 serprog_spi_send_command, writecnt=5, readcnt=65536 serprog_spi_send_command, writecnt=5, readcnt=65536 serprog_spi_send_command, writecnt=5, readcnt=65536 serprog_spi_send_command, writecnt=5, readcnt=65536 serprog_spi_send_command, writecnt=5, readcnt=65536 serprog_spi_send_command, writecnt=5, readcnt=65536 serprog_spi_send_command, writecnt=5, readcnt=65536 serprog_spi_send_command, writecnt=5, readcnt=65536 serprog_spi_send_command, writecnt=5, readcnt=65536 serprog_spi_send_command, writecnt=5, readcnt=65536 serprog_spi_send_command, writecnt=5, readcnt=65536 serprog_spi_send_command, writecnt=5, readcnt=65536 serprog_spi_send_command, writecnt=5, readcnt=65536 serprog_spi_send_command, writecnt=5, readcnt=65536 serprog_spi_send_command, writecnt=5, readcnt=65536 serprog_spi_send_command, writecnt=5, readcnt=65536 serprog_spi_send_command, writecnt=5, readcnt=65536 serprog_spi_send_command, writecnt=5, readcnt=65536 serprog_spi_send_command, writecnt=5, readcnt=65536 serprog_spi_send_command, writecnt=5, readcnt=65536 serprog_spi_send_command, writecnt=5, readcnt=65536 serprog_spi_send_command, writecnt=5, readcnt=65536 serprog_spi_send_command, writecnt=5, readcnt=65536 serprog_spi_send_command, writecnt=5, readcnt=65536 serprog_spi_send_command, writecnt=5, readcnt=65536 serprog_spi_send_command, writecnt=5, readcnt=65536 serprog_spi_send_command, writecnt=5, readcnt=65536 serprog_spi_send_command, writecnt=5, readcnt=65536 serprog_spi_send_command, writecnt=5, readcnt=65536 serprog_spi_send_command, writecnt=5, readcnt=65536 serprog_spi_send_command, writecnt=5, readcnt=65536 serprog_spi_send_command, writecnt=5, readcnt=65536 serprog_spi_send_command, writecnt=5, readcnt=65536 serprog_spi_send_command, writecnt=5, readcnt=65536 serprog_spi_send_command, writecnt=5, readcnt=65536 serprog_spi_send_command, writecnt=5, readcnt=65536 serprog_spi_send_command, writecnt=5, readcnt=65536 serprog_spi_send_command, writecnt=5, readcnt=65536 serprog_spi_send_command, writecnt=5, readcnt=65536 serprog_spi_send_command, writecnt=5, readcnt=65536 serprog_spi_send_command, writecnt=5, readcnt=65536 serprog_spi_send_command, writecnt=5, readcnt=65536 serprog_spi_send_command, writecnt=5, readcnt=65536 serprog_spi_send_command, writecnt=5, readcnt=65536 serprog_spi_send_command, writecnt=5, readcnt=65536 serprog_spi_send_command, writecnt=5, readcnt=65536 serprog_spi_send_command, writecnt=5, readcnt=65536 serprog_spi_send_command, writecnt=5, readcnt=65536 serprog_spi_send_command, writecnt=5, readcnt=65536 serprog_spi_send_command, writecnt=5, readcnt=65536 serprog_spi_send_command, writecnt=5, readcnt=65536 serprog_spi_send_command, writecnt=5, readcnt=65536 serprog_spi_send_command, writecnt=5, readcnt=65536 serprog_spi_send_command, writecnt=5, readcnt=65536 serprog_spi_send_command, writecnt=5, readcnt=65536 serprog_spi_send_command, writecnt=5, readcnt=65536 serprog_spi_send_command, writecnt=5, readcnt=65536 serprog_spi_send_command, writecnt=5, readcnt=65536 serprog_spi_send_command, writecnt=5, readcnt=65536 serprog_spi_send_command, writecnt=5, readcnt=65536 serprog_spi_send_command, writecnt=5, readcnt=65536 serprog_spi_send_command, writecnt=5, readcnt=65536 serprog_spi_send_command, writecnt=5, readcnt=65536 serprog_spi_send_command, writecnt=5, readcnt=65536 serprog_spi_send_command, writecnt=5, readcnt=65536 serprog_spi_send_command, writecnt=5, readcnt=65536 serprog_spi_send_command, writecnt=5, readcnt=65536 serprog_spi_send_command, writecnt=5, readcnt=65536 serprog_spi_send_command, writecnt=5, readcnt=65536 serprog_spi_send_command, writecnt=5, readcnt=65536 serprog_spi_send_command, writecnt=5, readcnt=65536 serprog_spi_send_command, writecnt=5, readcnt=65536 serprog_spi_send_command, writecnt=5, readcnt=65536 serprog_spi_send_command, writecnt=5, readcnt=65536 serprog_spi_send_command, writecnt=5, readcnt=65536 serprog_spi_send_command, writecnt=5, readcnt=65536 serprog_spi_send_command, writecnt=5, readcnt=65536 serprog_spi_send_command, writecnt=5, readcnt=65536 serprog_spi_send_command, writecnt=5, readcnt=65536 serprog_spi_send_command, writecnt=5, readcnt=65536 serprog_spi_send_command, writecnt=5, readcnt=65536 serprog_spi_send_command, writecnt=5, readcnt=65536 serprog_spi_send_command, writecnt=5, readcnt=65536 serprog_spi_send_command, writecnt=5, readcnt=65536 serprog_spi_send_command, writecnt=5, readcnt=65536 serprog_spi_send_command, writecnt=5, readcnt=65536 serprog_spi_send_command, writecnt=5, readcnt=65536 serprog_spi_send_command, writecnt=5, readcnt=65536 serprog_spi_send_command, writecnt=5, readcnt=65536 serprog_spi_send_command, writecnt=5, readcnt=65536 serprog_spi_send_command, writecnt=5, readcnt=65536 serprog_spi_send_command, writecnt=5, readcnt=65536 serprog_spi_send_command, writecnt=5, readcnt=65536 serprog_spi_send_command, writecnt=5, readcnt=65536 serprog_spi_send_command, writecnt=5, readcnt=65536 serprog_spi_send_command, writecnt=5, readcnt=65536 serprog_spi_send_command, writecnt=5, readcnt=65536 serprog_spi_send_command, writecnt=5, readcnt=65536 serprog_spi_send_command, writecnt=5, readcnt=65536 serprog_spi_send_command, writecnt=5, readcnt=65536 serprog_spi_send_command, writecnt=5, readcnt=65536 serprog_spi_send_command, writecnt=5, readcnt=65536 serprog_spi_send_command, writecnt=5, readcnt=65536 serprog_spi_send_command, writecnt=5, readcnt=65536 serprog_spi_send_command, writecnt=5, readcnt=65536 serprog_spi_send_command, writecnt=5, readcnt=65536 serprog_spi_send_command, writecnt=5, readcnt=65536 serprog_spi_send_command, writecnt=5, readcnt=65536 serprog_spi_send_command, writecnt=5, readcnt=65536 serprog_spi_send_command, writecnt=5, readcnt=65536 serprog_spi_send_command, writecnt=5, readcnt=65536 serprog_spi_send_command, writecnt=5, readcnt=65536 serprog_spi_send_command, writecnt=5, readcnt=65536 serprog_spi_send_command, writecnt=5, readcnt=65536 serprog_spi_send_command, writecnt=5, readcnt=65536 serprog_spi_send_command, writecnt=5, readcnt=65536 serprog_spi_send_command, writecnt=5, readcnt=65536 serprog_spi_send_command, writecnt=5, readcnt=65536 serprog_spi_send_command, writecnt=5, readcnt=65536 serprog_spi_send_command, writecnt=5, readcnt=65536 serprog_spi_send_command, writecnt=5, readcnt=65536 serprog_spi_send_command, writecnt=5, readcnt=65536 serprog_spi_send_command, writecnt=5, readcnt=65536 serprog_spi_send_command, writecnt=5, readcnt=65536 serprog_spi_send_command, writecnt=5, readcnt=65536 serprog_spi_send_command, writecnt=5, readcnt=65536 serprog_spi_send_command, writecnt=5, readcnt=65536 serprog_spi_send_command, writecnt=5, readcnt=65536 serprog_spi_send_command, writecnt=5, readcnt=65536 serprog_spi_send_command, writecnt=5, readcnt=65536 serprog_spi_send_command, writecnt=5, readcnt=65536 serprog_spi_send_command, writecnt=5, readcnt=65536 serprog_spi_send_command, writecnt=5, readcnt=65536 serprog_spi_send_command, writecnt=5, readcnt=65536 serprog_spi_send_command, writecnt=5, readcnt=65536 serprog_spi_send_command, writecnt=5, readcnt=65536 serprog_spi_send_command, writecnt=5, readcnt=65536 serprog_spi_send_command, writecnt=5, readcnt=65536 serprog_spi_send_command, writecnt=5, readcnt=65536 serprog_spi_send_command, writecnt=5, readcnt=65536 serprog_spi_send_command, writecnt=5, readcnt=65536 serprog_spi_send_command, writecnt=5, readcnt=65536 serprog_spi_send_command, writecnt=5, readcnt=65536 serprog_spi_send_command, writecnt=5, readcnt=65536 serprog_spi_send_command, writecnt=5, readcnt=65536 serprog_spi_send_command, writecnt=5, readcnt=65536 serprog_spi_send_command, writecnt=5, readcnt=65536 serprog_spi_send_command, writecnt=5, readcnt=65536 serprog_spi_send_command, writecnt=5, readcnt=65536 serprog_spi_send_command, writecnt=5, readcnt=65536 serprog_spi_send_command, writecnt=5, readcnt=65536 serprog_spi_send_command, writecnt=5, readcnt=65536 serprog_spi_send_command, writecnt=5, readcnt=65536 serprog_spi_send_command, writecnt=5, readcnt=65536 serprog_spi_send_command, writecnt=5, readcnt=65536 serprog_spi_send_command, writecnt=5, readcnt=65536 serprog_spi_send_command, writecnt=5, readcnt=65536 serprog_spi_send_command, writecnt=5, readcnt=65536 serprog_spi_send_command, writecnt=5, readcnt=65536 serprog_spi_send_command, writecnt=5, readcnt=65536 serprog_spi_send_command, writecnt=5, readcnt=65536 serprog_spi_send_command, writecnt=5, readcnt=65536 serprog_spi_send_command, writecnt=5, readcnt=65536 serprog_spi_send_command, writecnt=5, readcnt=65536 serprog_spi_send_command, writecnt=5, readcnt=65536 serprog_spi_send_command, writecnt=5, readcnt=65536 serprog_spi_send_command, writecnt=5, readcnt=65536 serprog_spi_send_command, writecnt=5, readcnt=65536 serprog_spi_send_command, writecnt=5, readcnt=65536 serprog_spi_send_command, writecnt=5, readcnt=65536 serprog_spi_send_command, writecnt=5, readcnt=65536 serprog_spi_send_command, writecnt=5, readcnt=65536 serprog_spi_send_command, writecnt=5, readcnt=65536 serprog_spi_send_command, writecnt=5, readcnt=65536 serprog_spi_send_command, writecnt=5, readcnt=65536 serprog_spi_send_command, writecnt=5, readcnt=65536 serprog_spi_send_command, writecnt=5, readcnt=65536 serprog_spi_send_command, writecnt=5, readcnt=65536 serprog_spi_send_command, writecnt=5, readcnt=65536 serprog_spi_send_command, writecnt=5, readcnt=65536 serprog_spi_send_command, writecnt=5, readcnt=65536 serprog_spi_send_command, writecnt=5, readcnt=65536 serprog_spi_send_command, writecnt=5, readcnt=65536 serprog_spi_send_command, writecnt=5, readcnt=65536 serprog_spi_send_command, writecnt=5, readcnt=65536 serprog_spi_send_command, writecnt=5, readcnt=65536 serprog_spi_send_command, writecnt=5, readcnt=65536 serprog_spi_send_command, writecnt=5, readcnt=65536 serprog_spi_send_command, writecnt=5, readcnt=65536 serprog_spi_send_command, writecnt=5, readcnt=65536 serprog_spi_send_command, writecnt=5, readcnt=65536 serprog_spi_send_command, writecnt=5, readcnt=65536 serprog_spi_send_command, writecnt=5, readcnt=65536 serprog_spi_send_command, writecnt=5, readcnt=65536 serprog_spi_send_command, writecnt=5, readcnt=65536 serprog_spi_send_command, writecnt=5, readcnt=65536 serprog_spi_send_command, writecnt=5, readcnt=65536 serprog_spi_send_command, writecnt=5, readcnt=65536 serprog_spi_send_command, writecnt=5, readcnt=65536 serprog_spi_send_command, writecnt=5, readcnt=65536 serprog_spi_send_command, writecnt=5, readcnt=65536 serprog_spi_send_command, writecnt=5, readcnt=65536 serprog_spi_send_command, writecnt=5, readcnt=65536 serprog_spi_send_command, writecnt=5, readcnt=65536 serprog_spi_send_command, writecnt=5, readcnt=65536 serprog_spi_send_command, writecnt=5, readcnt=65536 serprog_spi_send_command, writecnt=5, readcnt=65536 serprog_spi_send_command, writecnt=5, readcnt=65536 serprog_spi_send_command, writecnt=5, readcnt=65536 serprog_spi_send_command, writecnt=5, readcnt=65536 serprog_spi_send_command, writecnt=5, readcnt=65536 serprog_spi_send_command, writecnt=5, readcnt=65536 serprog_spi_send_command, writecnt=5, readcnt=65536 serprog_spi_send_command, writecnt=5, readcnt=65536 serprog_spi_send_command, writecnt=5, readcnt=65536 serprog_spi_send_command, writecnt=5, readcnt=65536 serprog_spi_send_command, writecnt=5, readcnt=65536 serprog_spi_send_command, writecnt=5, readcnt=65536 serprog_spi_send_command, writecnt=5, readcnt=65536 serprog_spi_send_command, writecnt=5, readcnt=65536 serprog_spi_send_command, writecnt=5, readcnt=65536 serprog_spi_send_command, writecnt=5, readcnt=65536 serprog_spi_send_command, writecnt=5, readcnt=65536 serprog_spi_send_command, writecnt=5, readcnt=65536 serprog_spi_send_command, writecnt=5, readcnt=65536 serprog_spi_send_command, writecnt=5, readcnt=65536 serprog_spi_send_command, writecnt=5, readcnt=65536 serprog_spi_send_command, writecnt=5, readcnt=65536 serprog_spi_send_command, writecnt=5, readcnt=65536 serprog_spi_send_command, writecnt=5, readcnt=65536 serprog_spi_send_command, writecnt=5, readcnt=65536 serprog_spi_send_command, writecnt=5, readcnt=65536 serprog_spi_send_command, writecnt=5, readcnt=65536 serprog_spi_send_command, writecnt=5, readcnt=65536 serprog_spi_send_command, writecnt=5, readcnt=65536 serprog_spi_send_command, writecnt=5, readcnt=65536 serprog_spi_send_command, writecnt=5, readcnt=65536 serprog_spi_send_command, writecnt=5, readcnt=65536 serprog_spi_send_command, writecnt=5, readcnt=65536 serprog_spi_send_command, writecnt=5, readcnt=65536 serprog_spi_send_command, writecnt=5, readcnt=65536 serprog_spi_send_command, writecnt=5, readcnt=65536 serprog_spi_send_command, writecnt=5, readcnt=65536 serprog_spi_send_command, writecnt=5, readcnt=65536 serprog_spi_send_command, writecnt=5, readcnt=65536 serprog_spi_send_command, writecnt=5, readcnt=65536 serprog_spi_send_command, writecnt=5, readcnt=65536 serprog_spi_send_command, writecnt=5, readcnt=65536 serprog_spi_send_command, writecnt=5, readcnt=65536 serprog_spi_send_command, writecnt=5, readcnt=65536 serprog_spi_send_command, writecnt=5, readcnt=65536 serprog_spi_send_command, writecnt=5, readcnt=65536 serprog_spi_send_command, writecnt=5, readcnt=65536 serprog_spi_send_command, writecnt=5, readcnt=65536 serprog_spi_send_command, writecnt=5, readcnt=65536 serprog_spi_send_command, writecnt=5, readcnt=65536 serprog_spi_send_command, writecnt=5, readcnt=65536 serprog_spi_send_command, writecnt=5, readcnt=65536 serprog_spi_send_command, writecnt=5, readcnt=65536 serprog_spi_send_command, writecnt=5, readcnt=65536 serprog_spi_send_command, writecnt=5, readcnt=65536 serprog_spi_send_command, writecnt=5, readcnt=65536 serprog_spi_send_command, writecnt=5, readcnt=65536 serprog_spi_send_command, writecnt=5, readcnt=65536 serprog_spi_send_command, writecnt=5, readcnt=65536 serprog_spi_send_command, writecnt=5, readcnt=65536 serprog_spi_send_command, writecnt=5, readcnt=65536 serprog_spi_send_command, writecnt=5, readcnt=65536 serprog_spi_send_command, writecnt=5, readcnt=65536 serprog_spi_send_command, writecnt=5, readcnt=65536 serprog_spi_send_command, writecnt=5, readcnt=65536 serprog_spi_send_command, writecnt=5, readcnt=65536 serprog_spi_send_command, writecnt=5, readcnt=65536 serprog_spi_send_command, writecnt=5, readcnt=65536 serprog_spi_send_command, writecnt=5, readcnt=65536 serprog_spi_send_command, writecnt=5, readcnt=65536 serprog_spi_send_command, writecnt=5, readcnt=65536 serprog_spi_send_command, writecnt=5, readcnt=65536 serprog_spi_send_command, writecnt=5, readcnt=65536 serprog_spi_send_command, writecnt=5, readcnt=65536 serprog_spi_send_command, writecnt=5, readcnt=65536 serprog_spi_send_command, writecnt=5, readcnt=65536 serprog_spi_send_command, writecnt=5, readcnt=65536 serprog_spi_send_command, writecnt=5, readcnt=65536 serprog_spi_send_command, writecnt=5, readcnt=65536 serprog_spi_send_command, writecnt=5, readcnt=65536 serprog_spi_send_command, writecnt=5, readcnt=65536 serprog_spi_send_command, writecnt=5, readcnt=65536 serprog_spi_send_command, writecnt=5, readcnt=65536 serprog_spi_send_command, writecnt=5, readcnt=65536 serprog_spi_send_command, writecnt=5, readcnt=65536 serprog_spi_send_command, writecnt=5, readcnt=65536 serprog_spi_send_command, writecnt=5, readcnt=65536 serprog_spi_send_command, writecnt=5, readcnt=65536 serprog_spi_send_command, writecnt=5, readcnt=65536 serprog_spi_send_command, writecnt=5, readcnt=65536 serprog_spi_send_command, writecnt=5, readcnt=65536 serprog_spi_send_command, writecnt=5, readcnt=65536 serprog_spi_send_command, writecnt=5, readcnt=65536 serprog_spi_send_command, writecnt=5, readcnt=65536 serprog_spi_send_command, writecnt=5, readcnt=65536 serprog_spi_send_command, writecnt=5, readcnt=65536 serprog_spi_send_command, writecnt=5, readcnt=65536 serprog_spi_send_command, writecnt=5, readcnt=65536 serprog_spi_send_command, writecnt=5, readcnt=65536 serprog_spi_send_command, writecnt=5, readcnt=65536 serprog_spi_send_command, writecnt=5, readcnt=65536 serprog_spi_send_command, writecnt=5, readcnt=65536 serprog_spi_send_command, writecnt=5, readcnt=65536 serprog_spi_send_command, writecnt=5, readcnt=65536 serprog_spi_send_command, writecnt=5, readcnt=65536 serprog_spi_send_command, writecnt=5, readcnt=65536 serprog_spi_send_command, writecnt=5, readcnt=65536 serprog_spi_send_command, writecnt=5, readcnt=65536 serprog_spi_send_command, writecnt=5, readcnt=65536 serprog_spi_send_command, writecnt=5, readcnt=65536 serprog_spi_send_command, writecnt=5, readcnt=65536 serprog_spi_send_command, writecnt=5, readcnt=65536 serprog_spi_send_command, writecnt=5, readcnt=65536 serprog_spi_send_command, writecnt=5, readcnt=65536 serprog_spi_send_command, writecnt=5, readcnt=65536 serprog_spi_send_command, writecnt=5, readcnt=65536 serprog_spi_send_command, writecnt=5, readcnt=65536 serprog_spi_send_command, writecnt=5, readcnt=65536 serprog_spi_send_command, writecnt=5, readcnt=65536 serprog_spi_send_command, writecnt=5, readcnt=65536 serprog_spi_send_command, writecnt=5, readcnt=65536 serprog_spi_send_command, writecnt=5, readcnt=65536 serprog_spi_send_command, writecnt=5, readcnt=65536 serprog_spi_send_command, writecnt=5, readcnt=65536 serprog_spi_send_command, writecnt=5, readcnt=65536 serprog_spi_send_command, writecnt=5, readcnt=65536 serprog_spi_send_command, writecnt=5, readcnt=65536 serprog_spi_send_command, writecnt=5, readcnt=65536 serprog_spi_send_command, writecnt=5, readcnt=65536 serprog_spi_send_command, writecnt=5, readcnt=65536 serprog_spi_send_command, writecnt=5, readcnt=65536 serprog_spi_send_command, writecnt=5, readcnt=65536 serprog_spi_send_command, writecnt=5, readcnt=65536 serprog_spi_send_command, writecnt=5, readcnt=65536 serprog_spi_send_command, writecnt=5, readcnt=65536 serprog_spi_send_command, writecnt=5, readcnt=65536 serprog_spi_send_command, writecnt=5, readcnt=65536 serprog_spi_send_command, writecnt=5, readcnt=65536 serprog_spi_send_command, writecnt=5, readcnt=65536 serprog_spi_send_command, writecnt=5, readcnt=65536 serprog_spi_send_command, writecnt=5, readcnt=65536 serprog_spi_send_command, writecnt=5, readcnt=65536 serprog_spi_send_command, writecnt=5, readcnt=65536 serprog_spi_send_command, writecnt=5, readcnt=65536 serprog_spi_send_command, writecnt=5, readcnt=65536 serprog_spi_send_command, writecnt=5, readcnt=65536 serprog_spi_send_command, writecnt=5, readcnt=65536 serprog_spi_send_command, writecnt=5, readcnt=65536 serprog_spi_send_command, writecnt=5, readcnt=65536 serprog_spi_send_command, writecnt=5, readcnt=65536 serprog_spi_send_command, writecnt=5, readcnt=65536 serprog_spi_send_command, writecnt=5, readcnt=65536 serprog_spi_send_command, writecnt=5, readcnt=65536 serprog_spi_send_command, writecnt=5, readcnt=65536 serprog_spi_send_command, writecnt=5, readcnt=65536 serprog_spi_send_command, writecnt=5, readcnt=65536 serprog_spi_send_command, writecnt=5, readcnt=65536 serprog_spi_send_command, writecnt=5, readcnt=65536 serprog_spi_send_command, writecnt=5, readcnt=65536 serprog_spi_send_command, writecnt=5, readcnt=65536 serprog_spi_send_command, writecnt=5, readcnt=65536 serprog_spi_send_command, writecnt=5, readcnt=65536 serprog_spi_send_command, writecnt=5, readcnt=65536 serprog_spi_send_command, writecnt=5, readcnt=65536 serprog_spi_send_command, writecnt=5, readcnt=65536 serprog_spi_send_command, writecnt=5, readcnt=65536 serprog_spi_send_command, writecnt=5, readcnt=65536 serprog_spi_send_command, writecnt=5, readcnt=65536 serprog_spi_send_command, writecnt=5, readcnt=65536 serprog_spi_send_command, writecnt=5, readcnt=65536 serprog_spi_send_command, writecnt=5, readcnt=65536 serprog_spi_send_command, writecnt=5, readcnt=65536 serprog_spi_send_command, writecnt=5, readcnt=65536 serprog_spi_send_command, writecnt=5, readcnt=65536 serprog_spi_send_command, writecnt=5, readcnt=65536 serprog_spi_send_command, writecnt=5, readcnt=65536 serprog_spi_send_command, writecnt=5, readcnt=65536 serprog_spi_send_command, writecnt=5, readcnt=65536 serprog_spi_send_command, writecnt=5, readcnt=65536 serprog_spi_send_command, writecnt=5, readcnt=65536 serprog_spi_send_command, writecnt=5, readcnt=65536 serprog_spi_send_command, writecnt=5, readcnt=65536 serprog_spi_send_command, writecnt=5, readcnt=65536 serprog_spi_send_command, writecnt=5, readcnt=65536 serprog_spi_send_command, writecnt=5, readcnt=65536 serprog_spi_send_command, writecnt=5, readcnt=65536 serprog_spi_send_command, writecnt=5, readcnt=65536 serprog_spi_send_command, writecnt=5, readcnt=65536 serprog_spi_send_command, writecnt=5, readcnt=65536 serprog_spi_send_command, writecnt=5, readcnt=65536 serprog_spi_send_command, writecnt=5, readcnt=65536 serprog_spi_send_command, writecnt=5, readcnt=65536 serprog_spi_send_command, writecnt=5, readcnt=65536 serprog_spi_send_command, writecnt=5, readcnt=65536 serprog_spi_send_command, writecnt=5, readcnt=65536 serprog_spi_send_command, writecnt=5, readcnt=65536 serprog_spi_send_command, writecnt=5, readcnt=65536 serprog_spi_send_command, writecnt=5, readcnt=65536 serprog_spi_send_command, writecnt=5, readcnt=65536 serprog_spi_send_command, writecnt=5, readcnt=65536 serprog_spi_send_command, writecnt=5, readcnt=65536 serprog_spi_send_command, writecnt=5, readcnt=65536 serprog_spi_send_command, writecnt=5, readcnt=65536 serprog_spi_send_command, writecnt=5, readcnt=65536 serprog_spi_send_command, writecnt=5, readcnt=65536 serprog_spi_send_command, writecnt=5, readcnt=65536 serprog_spi_send_command, writecnt=5, readcnt=65536 serprog_spi_send_command, writecnt=5, readcnt=65536 serprog_spi_send_command, writecnt=5, readcnt=65536 serprog_spi_send_command, writecnt=5, readcnt=65536 serprog_spi_send_command, writecnt=5, readcnt=65536 serprog_spi_send_command, writecnt=5, readcnt=65536 serprog_spi_send_command, writecnt=5, readcnt=65536 serprog_spi_send_command, writecnt=5, readcnt=65536 serprog_spi_send_command, writecnt=5, readcnt=65536 serprog_spi_send_command, writecnt=5, readcnt=65536 serprog_spi_send_command, writecnt=5, readcnt=65536 serprog_spi_send_command, writecnt=5, readcnt=65536 serprog_spi_send_command, writecnt=5, readcnt=65536 serprog_spi_send_command, writecnt=5, readcnt=65536 serprog_spi_send_command, writecnt=5, readcnt=65536 serprog_spi_send_command, writecnt=5, readcnt=65536 serprog_spi_send_command, writecnt=5, readcnt=65536 serprog_spi_send_command, writecnt=5, readcnt=65536 serprog_spi_send_command, writecnt=5, readcnt=65536 serprog_spi_send_command, writecnt=5, readcnt=65536 serprog_spi_send_command, writecnt=5, readcnt=65536 serprog_spi_send_command, writecnt=5, readcnt=65536 serprog_spi_send_command, writecnt=5, readcnt=65536 serprog_spi_send_command, writecnt=5, readcnt=65536 serprog_spi_send_command, writecnt=5, readcnt=65536 serprog_spi_send_command, writecnt=5, readcnt=65536 serprog_spi_send_command, writecnt=5, readcnt=65536 serprog_spi_send_command, writecnt=5, readcnt=65536 serprog_spi_send_command, writecnt=5, readcnt=65536 serprog_spi_send_command, writecnt=5, readcnt=65536 serprog_spi_send_command, writecnt=5, readcnt=65536 serprog_spi_send_command, writecnt=5, readcnt=65536 serprog_spi_send_command, writecnt=5, readcnt=65536 serprog_spi_send_command, writecnt=5, readcnt=65536 serprog_spi_send_command, writecnt=5, readcnt=65536 serprog_spi_send_command, writecnt=5, readcnt=65536 serprog_spi_send_command, writecnt=5, readcnt=65536 serprog_spi_send_command, writecnt=5, readcnt=65536 serprog_spi_send_command, writecnt=5, readcnt=65536 serprog_spi_send_command, writecnt=5, readcnt=65536 serprog_spi_send_command, writecnt=5, readcnt=65536 serprog_spi_send_command, writecnt=5, readcnt=65536 serprog_spi_send_command, writecnt=5, readcnt=65536 serprog_spi_send_command, writecnt=5, readcnt=65536 serprog_spi_send_command, writecnt=5, readcnt=65536 serprog_spi_send_command, writecnt=5, readcnt=65536 serprog_spi_send_command, writecnt=5, readcnt=65536 serprog_spi_send_command, writecnt=5, readcnt=65536 serprog_spi_send_command, writecnt=5, readcnt=65536 serprog_spi_send_command, writecnt=5, readcnt=65536 serprog_spi_send_command, writecnt=5, readcnt=65536 serprog_spi_send_command, writecnt=5, readcnt=65536 serprog_spi_send_command, writecnt=5, readcnt=65536 flashrom v1.2-882-g6a3988b on Linux 5.16.10-051610-generic (x86_64) flashrom is free software, get the source code at https://flashrom.org Using clock_gettime for delay loops (clk_id: 1, resolution: 1ns). flashrom was built with GCC 9.4.0, little endian Command line (11 args): ./flashrom -p serprog:dev=/dev/ttyACM0:115200 --layout MT25QL512.layout --image normal -c MT25QL512 -r backup.bin -VVV Added layout entry 00040000 - 00000000 named normal Looking for region "normal"... found. Using region: "normal". Initializing serprog programmer serprog: connected - attempting to synchronize writecnt 8 wr_bytes 0 wrote 8 bytes write successful writecnt 1 wr_bytes 0 wrote 1 bytes write successful .readcnt 1 rd_bytes 0 read -1 bytes readcnt 1 rd_bytes 0 read 1 bytes readcnt 1 rd_bytes 0 read -1 bytes readcnt 1 rd_bytes 0 read -1 bytes readcnt 1 rd_bytes 0 read -1 bytes readcnt 1 rd_bytes 0 read 1 bytes writecnt 1 wr_bytes 0 wrote 1 bytes write successful readcnt 1 rd_bytes 0 read -1 bytes readcnt 1 rd_bytes 0 read 1 bytes readcnt 1 rd_bytes 0 read -1 bytes readcnt 1 rd_bytes 0 read 1 bytes 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: Programmer name is "pico-serprog" serprog: Serial buffer size is 65535 serprog: Output drivers enabled The following protocols are supported: SPI. Probing for Micron MT25QL512, 65536 kB: programmer_map_flash_region: mapping MT25QL512 from 0x00000000fc000000 to 0x0000000000000000 serprog_spi_send_command, writecnt=1, readcnt=3 RDID returned 0x20 0xba 0x20. compare_id: id1 0x20, id2 0xba20 Added layout entry 00000000 - 03ffffff named complete flash Found Micron flash chip "MT25QL512" (65536 kB, SPI) on serprog. serprog_spi_send_command, writecnt=1, readcnt=2 Chip status register is 0x00. Chip status register: Status Register Write Disable (SRWD, SRP, ...) is not set Chip status register: Block Protect 3 (BP3) is not set Chip status register: Top/Bottom (TB) is top Chip status register: Block Protect 2 (BP2) is not set Chip status register: Block Protect 1 (BP1) is not set Chip status register: Block Protect 0 (BP0) is not set Chip status register: Write Enable Latch (WEL) is not set Chip status register: Write In Progress (WIP/BUSY) is not set programmer_unmap_flash_region: unmapped 0x0000000000000000 This chip may contain one-time programmable memory. flashrom cannot read and may never be able to write it, hence it may not be able to completely clone the contents of this chip (see man page for details). serprog_delay usecs=100000 serprog_delay used, but programmer doesn't support delays natively - emulating serprog: Output drivers disabled flashrom v1.2-882-g6a3988b on Linux 5.16.10-051610-generic (x86_64) flashrom is free software, get the source code at https://flashrom.org Using clock_gettime for delay loops (clk_id: 1, resolution: 1ns). flashrom was built with GCC 9.4.0, little endian Command line (11 args): ./flashrom -p serprog:dev=/dev/ttyACM0:115200 --layout MT25QL512.layout --image normal -c MT25QL512 -r backup.bin -VVV Added layout entry 00000000 - 40000000 named normal Looking for region "normal"... found. Using region: "normal". Initializing serprog programmer serprog: connected - attempting to synchronize writecnt 8 wr_bytes 0 wrote 8 bytes write successful writecnt 1 wr_bytes 0 wrote 1 bytes write successful .readcnt 1 rd_bytes 0 read -1 bytes readcnt 1 rd_bytes 0 read -1 bytes readcnt 1 rd_bytes 0 read 1 bytes readcnt 1 rd_bytes 0 read 1 bytes writecnt 1 wr_bytes 0 wrote 1 bytes write successful readcnt 1 rd_bytes 0 read -1 bytes readcnt 1 rd_bytes 0 read -1 bytes readcnt 1 rd_bytes 0 read 1 bytes readcnt 1 rd_bytes 0 read -1 bytes readcnt 1 rd_bytes 0 read 1 bytes