I am trying to use DLP-USB1232H with flashrom for programming SPI flash in Minnowboard MAX.
I connected CS,SCLK,SO,SI (referred https://www.flashrom.org/FT2232SPI_Programmer).
I didn't connect WP# and HOLD# to VCC and not sure whether it is needed in minnowboard max.
I am not able to find where to connect DDP_IO3L in SPI header of Minnowboard MAX. i.e., to which pin in DLP-USB1232H
when I tried to execute "flashrom -p ft2232_spi:type=2232H,port=A" sometimes it does not detect the chip.
when I try again removing and reconnecting the USB wire, chip will get detected.
I am able to read the chip contents any time.
But when I try to write contents, it says done, but verification says error , content at ... not expected.
I tried reading again and checked. the content is not written properly.
Is this due to that I have not connected DDP_IO3L pin from minnowboard max ?
Regards,
B.Sathish Kumar
::DISCLAIMER::
----------------------------------------------------------------------------------------------------------------------------------------------------
The contents of this e-mail and any attachment(s) are confidential and intended for the named recipient(s) only.
E-mail transmission is not guaranteed to be secure or error-free as information could be intercepted, corrupted,
lost, destroyed, arrive late or incomplete, or may contain viruses in transmission. The e mail and its contents
(with or without referred errors) shall therefore not attach any liability on the originator or HCL or its affiliates.
Views or opinions, if any, presented in this email are solely those of the author and may not necessarily reflect the
views or opinions of HCL or its affiliates. Any form of reproduction, dissemination, copying, disclosure, modification,
distribution and / or publication of this message without the prior written consent of authorized representative of
HCL is strictly prohibited. If you have received this email in error please delete it and notify the sender immediately.
Before opening any email and/or attachments, please check them for viruses and other defects.
----------------------------------------------------------------------------------------------------------------------------------------------------
Hi Davinder,
The transaction error is likely caused by the Management Engine:
https://www.flashrom.org/ME
On Fri, Apr 15, 2016 at 10:19 PM, Davinder Pal Singh Sawhney <
davinder.sawhney(a)gmail.com> wrote:
> Dear Sir,
>
> Please help me. Here is complete log
>
> flashrom -p internal -w backup.bin
> flashrom v0.9.9-r1954 on Linux 3.16.0-4-686-pae (i686)
> flashrom is free software, get the source code at https://flashrom.org
>
> Calibrating delay loop... OK.
> No DMI table found.
> Found chipset "Intel Braswell".
> This chipset is marked as untested. If you are using an up-to-date version
> of flashrom *and* were (not) able to successfully update your firmware
> with it,
> then please email a report to flashrom(a)flashrom.org including a verbose
> (-V) log.
> Thank you!
> Enabling flash write... Warning: BIOS region SMM protection is enabled!
> Warning: Setting Bios Control at 0x0 from 0x22 to 0x01 failed.
> New value is 0x22.
> Warning: SPI Configuration Lockdown activated.
> OK.
> Found Winbond flash chip "W25Q64.W" (8192 kB, SPI) mapped at physical
> address 0xff800000.
> Reading old flash chip contents... done.
> Erasing and writing flash chip... Transaction error!
> spi_block_erase_20 failed during command execution at address 0x416000
> Reading current flash chip contents... done. Looking for another erase
> function.
> spi_block_erase_52 failed during command execution at address 0x410000
> Reading current flash chip contents... done. Looking for another erase
> function.
> spi_block_erase_d8 failed during command execution at address 0x410000
> Reading current flash chip contents... done. Looking for another erase
> function.
> spi_chip_erase_60 failed during command execution
> Reading current flash chip contents... done. Looking for another erase
> function.
> spi_chip_erase_c7 failed during command execution
> Looking for another erase function.
> No usable erase functions left.
> FAILED!
> Uh oh. Erase/write failed. Checking if anything has changed.
> Reading current flash chip contents... done.
> Apparently at least some data has changed.
> Your flash chip is in an unknown state.
> Get help on IRC at chat.freenode.net (channel #flashrom) or
> mail flashrom(a)flashrom.org with the subject "FAILED: <your board name>"!
>
> -------------------------------------------------------------------------------
> DO NOT REBOOT OR POWEROFF!
>
>
> flashrom -V
> flashrom v0.9.9-r1954 on Linux 3.16.0-4-686-pae (i686)
> flashrom is free software, get the source code at https://flashrom.org
>
> flashrom was built with libpci 3.2.1, GCC 4.9.2, little endian
> Command line (1 args): flashrom -V
> Please select a programmer with the --programmer parameter.
> Previously this was not necessary because there was a default set.
> To choose the mainboard of this computer use 'internal'. Valid choices are:
> internal, dummy, nic3com, nicrealtek, gfxnvidia, drkaiser, satasii, atavia,
> it8212, ft2232_spi, serprog, buspirate_spi, dediprog, rayer_spi, pony_spi,
> nicintel, nicintel_spi, nicintel_eeprom, ogp_spi, satamv, linux_spi,
> usbblaster_spi, pickit2_spi, ch341a_spi.
>
> --
> Best Regards,
> Davinder
>
> _______________________________________________
> flashrom mailing list
> flashrom(a)flashrom.org
> https://www.flashrom.org/mailman/listinfo/flashrom
>
--
David Hendricks (dhendrix)
Systems Software Engineer, Google Inc.
Dear Sir,
Please help me. Here is complete log
flashrom -p internal -w backup.bin
flashrom v0.9.9-r1954 on Linux 3.16.0-4-686-pae (i686)
flashrom is free software, get the source code at https://flashrom.org
Calibrating delay loop... OK.
No DMI table found.
Found chipset "Intel Braswell".
This chipset is marked as untested. If you are using an up-to-date version
of flashrom *and* were (not) able to successfully update your firmware with
it,
then please email a report to flashrom(a)flashrom.org including a verbose
(-V) log.
Thank you!
Enabling flash write... Warning: BIOS region SMM protection is enabled!
Warning: Setting Bios Control at 0x0 from 0x22 to 0x01 failed.
New value is 0x22.
Warning: SPI Configuration Lockdown activated.
OK.
Found Winbond flash chip "W25Q64.W" (8192 kB, SPI) mapped at physical
address 0xff800000.
Reading old flash chip contents... done.
Erasing and writing flash chip... Transaction error!
spi_block_erase_20 failed during command execution at address 0x416000
Reading current flash chip contents... done. Looking for another erase
function.
spi_block_erase_52 failed during command execution at address 0x410000
Reading current flash chip contents... done. Looking for another erase
function.
spi_block_erase_d8 failed during command execution at address 0x410000
Reading current flash chip contents... done. Looking for another erase
function.
spi_chip_erase_60 failed during command execution
Reading current flash chip contents... done. Looking for another erase
function.
spi_chip_erase_c7 failed during command execution
Looking for another erase function.
No usable erase functions left.
FAILED!
Uh oh. Erase/write failed. Checking if anything has changed.
Reading current flash chip contents... done.
Apparently at least some data has changed.
Your flash chip is in an unknown state.
Get help on IRC at chat.freenode.net (channel #flashrom) or
mail flashrom(a)flashrom.org with the subject "FAILED: <your board name>"!
-------------------------------------------------------------------------------
DO NOT REBOOT OR POWEROFF!
flashrom -V
flashrom v0.9.9-r1954 on Linux 3.16.0-4-686-pae (i686)
flashrom is free software, get the source code at https://flashrom.org
flashrom was built with libpci 3.2.1, GCC 4.9.2, little endian
Command line (1 args): flashrom -V
Please select a programmer with the --programmer parameter.
Previously this was not necessary because there was a default set.
To choose the mainboard of this computer use 'internal'. Valid choices are:
internal, dummy, nic3com, nicrealtek, gfxnvidia, drkaiser, satasii, atavia,
it8212, ft2232_spi, serprog, buspirate_spi, dediprog, rayer_spi, pony_spi,
nicintel, nicintel_spi, nicintel_eeprom, ogp_spi, satamv, linux_spi,
usbblaster_spi, pickit2_spi, ch341a_spi.
--
Best Regards,
Davinder