[flashrom] serprog with arduino UNO

Hugo Petrucci hugopetrucci at hotmail.com
Fri Jul 19 17:01:52 CEST 2013


Hi,
I followed the steps in this link http://flashrom.org/Serprog/Arduino_flasher for write the SST25LF040A flash chip

run first time and asked to specify which chip was using

run specifying the chip, the error not found the chip


follows the commands executed


hugo at hugo-linux ~/flashrom $ sudo ./flashrom -p serprog:dev=/dev/ttyACM0:2000000
flashrom v0.9.6.1-r1701 on Linux 3.5.0-17-generic (i686)
flashrom is free software, get the source code at http://www.flashrom.org

Calibrating delay loop... OK.
serprog: Programmer name is "serprog-duino"
Found SST flash chip "SST25LF040A" (512 kB, SPI) on serprog.
Found SST flash chip "SST25VF040" (512 kB, SPI) on serprog.
Multiple flash chips were detected: "SST25LF040A", "SST25VF040"
Please specify which chip to use with the -c <chipname> option.


specified the chip and verbose

hugo at hugo-linux ~/flashrom $ sudo ./flashrom -c "SST25LF040A" -V -p serprog:dev=/dev/ttyACM0:2000000
flashrom v0.9.6.1-r1701 on Linux 3.5.0-17-generic (i686)
flashrom is free software, get the source code at http://www.flashrom.org

flashrom was built with libpci 3.1.9, GCC 4.7.2, little endian
Command line (5 args): ./flashrom -c SST25LF040A -V -p serprog:dev=/dev/ttyACM0:2000000
Calibrating delay loop... OS timer resolution is 1 usecs, 1004M loops per second, 10 myus = 10 us, 100 myus = 100 us, 1000 myus = 999 us, 10000 myus = 10002 us, 4 myus = 4 us, OK.
Initializing serprog programmer
Baud rate is 2000000.
serprog: connected - attempting to synchronize
.....
serprog: Synchronized
serprog: Interface version ok.
serprog: Bus support: parallel=off, LPC=off, FWH=off, SPI=on
Warning: Automatic command availability check failed for cmd 0x08 - won't execute cmd
Warning: Automatic command availability check failed for cmd 0x11 - won't execute cmd
serprog: Programmer name is "serprog-duino"
serprog: Serial buffer size is 65535
serprog: Warning: Programmer does not support toggling its output drivers
The following protocols are supported: SPI.
Probing for SST SST25LF040A, 512 kB: probe_spi_res2: id1 0x0, id2 0x0
No EEPROM/flash device found.
Note: flashrom can never write if the flash chip isn't found automatically.



 		 	   		  
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.flashrom.org/pipermail/flashrom/attachments/20130719/c9a5e23e/attachment.html>


More information about the flashrom mailing list