juluciano@juluciano-System-Product-Name:~$ sudo flashrom --programmer ch341a_spi -E
flashrom v1.2 on Linux 5.4.0-37-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).
Found Macronix flash chip "MX25L8005/MX25L8006E/MX25L8008E/MX25V8005" (1024 kB, SPI) on ch341a_spi.
Erasing and writing flash chip... FAILED at 0x00000000! Expected=0xff, Found=0x02, failed byte count from 0x00000000-0x00000fff: 0xfdf
ERASE FAILED!
Looking for another erase function.
FAILED at 0x00000000! Expected=0xff, Found=0x02, failed byte count from 0x00000000-0x0000ffff: 0xfe83
ERASE FAILED!
Looking for another erase function.
FAILED at 0x00000000! Expected=0xff, Found=0x02, failed byte count from 0x00000000-0x0000ffff: 0xfe83
ERASE FAILED!
Looking for another erase function.
FAILED at 0x00000000! Expected=0xff, Found=0x02, failed byte count from 0x00000000-0x000fffff: 0xd658b
ERASE FAILED!
Looking for another erase function.
FAILED at 0x00000000! Expected=0xff, Found=0x02, failed byte count from 0x00000000-0x000fffff: 0xd658b
ERASE FAILED!
Looking for another erase function.
Looking for another erase function.
Looking for another erase function.
No usable erase functions left.
FAILED!
Your flash chip is in an unknown state.
Please report this on IRC at chat.freenode.net (channel #flashrom) or
mail flashrom@flashrom.org, thanks!