[flashrom] Add support for WCH CH341A as an SPI programmer.

novoagansk at gmail.com novoagansk at gmail.com
Sun Feb 14 17:17:48 CET 2016


Здравствуйте, Stefan.

Вы писали 1 февраля 2016 г., 3:23:13:

Hi!

i have ch341a china programmer and tested this feature on W25Q32 chip

./flashrom -p ch341a_spi -r 1
flashrom v0.9.8-r1925 on Linux 3.2.75-imq (i686)
flashrom is free software, get the source code at https://flashrom.org

Calibrating delay loop... OK.
Found Winbond flash chip "W25Q32.V" (4096 kB, SPI) on ch341a_spi.
Reading flash... done.

--

./flashrom -p ch341a_spi -E
flashrom v0.9.8-r1925 on Linux 3.2.75-imq (i686)
flashrom is free software, get the source code at https://flashrom.org

Calibrating delay loop... OK.
Found Winbond flash chip "W25Q32.V" (4096 kB, SPI) on ch341a_spi.
Erasing and writing flash chip... Erase/write done.

---

./flashrom -p ch341a_spi -r 1erase
flashrom v0.9.8-r1925 on Linux 3.2.75-imq (i686)
flashrom is free software, get the source code at https://flashrom.org

Calibrating delay loop... OK.
Found Winbond flash chip "W25Q32.V" (4096 kB, SPI) on ch341a_spi.
Reading flash... done.

---

 ./flashrom -p ch341a_spi -w 1
flashrom v0.9.8-r1925 on Linux 3.2.75-imq (i686)
flashrom is free software, get the source code at https://flashrom.org

Calibrating delay loop... OK.
Found Winbond flash chip "W25Q32.V" (4096 kB, SPI) on ch341a_spi.
Reading old flash chip contents... done.
Erasing and writing flash chip... Erase/write done.
Verifying flash... VERIFIED.

--

./flashrom -p ch341a_spi -r 1r
flashrom v0.9.8-r1925 on Linux 3.2.75-imq (i686)
flashrom is free software, get the source code at https://flashrom.org

Calibrating delay loop... OK.
Found Winbond flash chip "W25Q32.V" (4096 kB, SPI) on ch341a_spi.
Reading flash... done.

---

diff 1 1r

- no diff!


if you want, i may tested other chips?



CH341A  programmer  support  24C1024  chips  and other 24XX chips, but
flashrom not support it.

CH341A  programmer  have  other 8 pin in 16 pin panel to support 24CXX
chips.

how i can help to support 24CXX chips ?

---

Thank to you for support CH341A programmer in open source!



> Hi,

> I am writing to you because you were interested in CH341A support in
> flashrom in the past. I am happy to announce that we have merged the
> respective patch in r1921 and it should work fine on any operating
> system that supports libusb1. It will be included in the upcoming 0.9.9
> release of flashrom as well.




-- 
С уважением,
 Novoagansk                          mailto:novoagansk at gmail.com





More information about the flashrom mailing list