Hi Delevic,
On 28.08.22 22:56, Delevic via flashrom wrote:
Found Winbond flash chip "W25Q40EW" (512 kB, SPI) on ch341a_spi.
note this is a 1.8V chip and that might be the cause of your problems. If you don't have a voltage adapter between your CH341A and the flash chip, a safety circuit in the flash will trigger and prevent erasing (as that would damage the chip at higher voltage).
If you already have a voltage adapter, it might be a write-protection. Make sure that all the input pins have a defined state and that the /WP pin is at a high level.
Hope that helps, Nico