Someone had already reverse engineered the protocol and created an SPI
flasher tool for that:
Using this code it won't be a big issue to add flashrom support.
I can write to log usb activity with operations with
programmer from original 1.18 software with operation read, write..
this log is very happy with support of CH341A in flashrom?
On Tue, 6 Jan 2015 05:20:22 +0500
Sorry, Please tell me about: how add support for this programmer in flashrom?
If you can - please tell me "example" how USB device parallel add in
or other links to support any usb devices in flashrom..
CH341A usb chip:
There is not much information available about that chip. The available
English datasheets do not cover the most important part: the
communication protocol between the chip and the host. Without that it
is not exactly trivial to add support for it in flashrom. One has to
reverse engineer the protocol first. Members of the flashrom community
have done that for the Dediprog SF100 once but they are no longer
active, so please don't expect it to be done. dediprog.c is probably
the most similar programmer flashrom currently supports because it is
the only one that uses a completely custom USB protocol.