Antonio, seems you have purchased typical Chineese VT6421 card with fake ROM. VT6421 supports only LPC chips. Nowadays China manufacturers simply utilizes old parallel flash chips by this manner. Look thoroughly, this IC, most likely, even not connected to flash chip interface pins of VT6421 (sometimes it even soldered only on corner pins).
Look with Google translate on this thread: http://forum.ixbt.com/topic.cgi?id=11:38403, with this key post: http://forum.ixbt.com/topic.cgi?id=11:38403:488#488. There's enthusiast who developed flash tool and heavily modified RAID BIOS and explored Chinese flash chip phenomenon. There are also described flash addressing issues. It's possible to desolder fake chip, add required few component and set real working BIOS chip. Actually, I done all that, soldered IC socket for BIOs chip and nowadays searching for supported LPC flash chip.
=================================== Message: 2 Date: Tue, 5 Apr 2016 14:01:43 +0200 From: "Antonio Estrada Respeto" firstname.lastname@example.org To: email@example.com Subject: Re: [flashrom] VT6421 sata card with sst39Vf512 eprom Message-ID: 6FBFE9CEFEF54581B7BA6A024BA7C6B3@Asrock960gm Content-Type: text/plain; format=flowed; charset="UTF-8"; reply-type=original
Thank you for your support.
I have tried to take the output file as you request, but no luck. I always start freedos in my usb sdcard boot choosing the number 3 option, then input cswdpr0, and then execute flashrom comand. But if I try to make -o logfilename.txt, the system refuses to save the file (it says that the file does not exists). If I do not execute cswdpr0 at first time, always have a disk write error. I suppose it will be related to the file log error.
Best regards, Max Arephin.
2016-04-05 20:05 GMT+03:00 firstname.lastname@example.org:
Send flashrom mailing list submissions to email@example.com
To subscribe or unsubscribe via the World Wide Web, visit https://www.flashrom.org/mailman/listinfo/flashrom or, via email, send a message with subject or body 'help' to firstname.lastname@example.org
You can reach the person managing the list at email@example.com
When replying, please edit your Subject line so it is more specific than "Re: Contents of flashrom digest..."
- Re: [PATCH] 4 byte address mode for Macronix MX25L25735F (Peter Martini)
- Re: VT6421 sata card with sst39Vf512 eprom (Antonio Estrada Respeto)
- Re: MX25L6445E erase and write failed! (The Raven)
- Adding support for MX25L6455EMI (The Raven)
- Adding some functionality to the FTDI driver (Salvador Eduardo Tropea)
Message: 1 Date: Tue, 5 Apr 2016 05:06:56 -0400 From: Peter Martini firstname.lastname@example.org To: Tim Chick Tim.Chick@mediatek.com Cc: David Hendricks email@example.com, "firstname.lastname@example.org" email@example.com Subject: Re: [flashrom] [PATCH] 4 byte address mode for Macronix MX25L25735F Message-ID: < CAFyW6MS_YkaA2_wM2H8RCeSHK2xDAFjEdCFyHv55_+TtMdw+NA@mail.gmail.com> Content-Type: text/plain; charset="utf-8"
I'd asked about support for the MX25L25635E earlier on this list [ https://www.flashrom.org/pipermail/flashrom/2015-September/013855.html], and have confirmed with the patches referenced there that I can read and flash my chip. I'll try this patch tonight when I get home and report back; I'd love to see this support main-lined.
On Tue, Apr 5, 2016 at 3:18 AM, Tim Chick Tim.Chick@mediatek.com wrote:
There was a mistake in the logic, which I have corrected.
I was also asked by someone else on the list if it worked with the MX25L25635F, which is 32Mbytes, but uses 3-byte addressing by default.
So I made the attached changes, which switch the chip to 4-byte mode. It also has some dedicated 4-byte commands, and a BAR register, but it
easiest to just use what I had tested for the MX25L25735F. I can?t
test the MX25L25635F though, as I don?t have one.
*From:* David Hendricks [mailto:firstname.lastname@example.org] *Sent:* 04 April 2016 23:21 *To:* Tim Chick *Cc:* email@example.com *Subject:* Re: [flashrom] [PATCH] 4 byte address mode for Macronix MX25L25735F
On Thu, Mar 31, 2016 at 8:21 AM, Tim Chick Tim.Chick@mediatek.com
Flashrom would not detect this chip. When the definition was added, everything failed as the chip only supports 4 byte address operation.
Interesting - I didn't know such chips existed. The ones I've used have backwards-compatible commands that support 3-byte addresses. FYI - Some other high-capacity chips have 4-byte address enable bit in a config register that will make the usual read/write/erase instructions accept 4 byte addresses. And yet other large chips have alternative instructions that function the same but only accept a 4-byte address.
The attached patch adds 4 byte address support for 4 byte only chips, as determined by the JEDEC flash parameter table, and support for this chip specifically.
I?ve only allowed it to work with the SPI_CONTROLLER_FT2232 controller,
that is the only one I have to test.
I?ve also only ported spi_block_erase_20 ? the other block erase
Please let me know what you think!
Good stuff! FWIW, I have a work-in-progress patch on chromium.org ( https://chromium-review.googlesource.com/#/c/323359/) for the other
of high-capacity flash chips. I've tested on a Spansion S25FS256 using linux_spi and ft2232. It needs a lot of clean-up, but might be of help. Most of the changes were to convert read/write/erase functions to use allocated buffers whose length depends on whether we're using a 3- or 4-byte address.
I'll borrow some ideas from your patch as well to support the "4-byte address only" chips.
David Hendricks (dhendrix) Systems Software Engineer, Google Inc.
************* Email Confidentiality Notice ******************** The information contained in this e-mail message (including any attachments) may be confidential, proprietary, privileged, or otherwise exempt from disclosure under applicable laws. It is intended to be conveyed only to the designated recipient(s). Any use, dissemination, distribution, printing, retaining or copying of this e-mail (including
attachments) by unintended recipient(s) is strictly prohibited and may be unlawful. If you are not an intended recipient of this e-mail, or
that you have received this e-mail in error, please notify the sender immediately (by replying to this e-mail), delete any and all copies of this e-mail (including any attachments) from your system, and do not disclose the content of this e-mail to any other person. Thank you!
flashrom mailing list firstname.lastname@example.org https://www.flashrom.org/mailman/listinfo/flashrom