Hi, i have installed flashrom 0.9.7 in my acer laptop with ubuntu 12.04 32 bits. I have a ch341a serial programmer and i am trying to flash a windbond 25q64 memory. I run this:
sudo flashrom -V -f -w bravissimo.abs -p serprog:dev=/dev/bus/usb/002/003:19200
and I get this:
flashrom v0.9.7-r1711 on Linux 3.2.0-58-generic-pae (i686) flashrom is free software, get the source code athttp://www.flashrom.org http://www.flashrom.org/flashrom was built with libpci 3.1.8, GCC 4.6.3, little endian Command line (6 args): flashrom -V -f -w bravissimo.abs -p serprog:dev=/dev/bus/usb/002/003:19200 Calibrating delay loop... OS timer resolution is 1 usecs, 1995M loops per second, 10 myus = 11 us, 100 myus = 101 us, 1000 myus = 1007 us, 10000 myus = 10002 us, 4 Initializing serprog programmer Error: Could not fetch original serial port configuration: Inappropriate ioctl for device Error: Programmer initialization failed.
Any ideas?
Best Regards.
Juan. Argentina.-
PS: would you like me to translate flashrom to spanish?
On Wed, 8 Jan 2014 13:35:51 -0300 Juan Lucero juan_lucero@hotmail.com wrote:
Hi, i have installed flashrom 0.9.7 in my acer laptop with ubuntu 12.04 32 bits. I have a ch341a serial programmer and i am trying to flash a windbond 25q64 memory. I run this:
sudo flashrom -V -f -w bravissimo.abs -p serprog:dev=/dev/bus/usb/002/003:19200 […] Any ideas?
That's wrong on many levels. The ch341a does not support the serprog protocol (probably), the serprog driver does not expect a usb device but a tty device as parameter, and -f should never be used. We would need to reverse engineer the ch341a protocol to add dedicated support for it to flashrom. It is currently not supported at all by flashrom AFAIK, sorry.
PS: would you like me to translate flashrom to spanish?
I am pretty much against i18n of low-level software. How am I supposed to help someone that is not even able to work with an english flashrom UI? :) The manpage OTOH is quite detailed and may be more easily understood in the user's first language. Translating that is probably way more effort than flashrom itself but IMHO it would be way more useful and I would certainly include it in the repo. The main problem I see there is how to keep it updated? Thank you very much for your kind offer anyway.