Hello
My pull request has already been created that had occurred *several months*
previously. I added support for ST 95XXX chips . The following chipsets
have been successfully tested for read, erase and write operations: ST [
95080, 95160, 95320, 95640, 95128, 95256 ]. I would like to discuss a new
features.
Maybe someone in the community will spent a bit of time and review my pull
request. Don't worry about the conflicting files. The part of the code has
already been merged into effect.
*I'm open-minded and ready. *
Try to shorten the wires between SOIC8 and CH341A and/or replace them
with the copper ones, maybe that would help.
On Sun, Dec 29, 2019 at 9:00 PM AL VAN DER LAAN <aelaan(a)rogers.com> wrote:
>
> I am trying to flash the HP Elitebook 850 G2 - as mentioned three went succesful but the one I forgot to erase first did not. I have read up a lot about this in the various forums. I tried with -f and it seems part of the bios chip is actually locked. The laptop still boots properly and I can install Windows on it but cannot change any of the bios settings as the TPM is preventing me to manipulate it. I mean it is not too bad these units are going into the resale channel but not the one with the locked bios. I will see if there are any samples, and if I am successful I will upload my process.
>
>
> > On Dec 29, 2019, at 12:42 PM, Mike Banon <mikebdp2(a)gmail.com> wrote:
> >
> > You haven't described what device you are trying to flash. Usually
> > there's nothing wrong with using SOIC8 test clip, for the laptops.
> > However, some routers/hdmi recorders/other devices of this type, may
> > try powering its' main CPU from a test clip and interfere with your
> > programming through a test clip. In example, here's a flashrom mod I
> > had to do for making it possible to read a firmware of one router
> > through a test clip https://review.coreboot.org/c/flashrom/+/31830
> > (because a CPU tries to power itself from a test clip and access a
> > flash chip, its' only available for 30% of each second to a programmer
> > behind a test clip), however - despite a similar code for read and
> > write - this router becomes software bricked if a write has been
> > attempted, and then a chip is inaccessible at all without a
> > desoldering.
> >
> > So a chip itself could be fine, and such problems could be caused by
> > an imperfection in your device's hardware design. Other problems could
> > be i.e. too long cables between a SOIC8 test clip and a programmer, or
> > their poor quality (i.e. electrical resistance of aluminium wires is
> > about 1.5x times higher than of the copper ones with the same
> > properties).
> >
> > On Sun, Dec 29, 2019 at 8:32 PM AL VAN DER LAAN <aelaan(a)rogers.com> wrote:
> >>
> >> Hi Mike, thanks for responding. I tried with Linux as well and am using the SOIC8. I think I did mess up when I forgot to Erase and performed a write to it (it should still erase before the write but here we are). I performed the same tasks on three other units that came out of an auction and successfully reprogrammed them with a bios file obtained from HP.
> >>
> >> I am thinking of ordering a couple clean ones from eBay and desolder the defective one.
> >>
> >> And I know, everyone keeps telling me to stop using the SOIC8, but I simply have too much volume with a huge backlog.
> >>
> >>
> >>
> >>> On Dec 29, 2019, at 11:18 AM, Mike Banon <mikebdp2(a)gmail.com> wrote:
> >>>
> >>>> MX25L12835F/MX25L12845E/MX25L12865E
> >>> This doesn't seem to be one-time-programmable. Have you tried flashing
> >>> it on Linux instead of OS X ? Are you doing ISP (In system
> >>> programming, i.e. with a test clip like SOIC8 or SOIC16) ? At the
> >>> moment it's unclear to me why your erase operation is failing...
> >>>
> >>> On Fri, Dec 27, 2019 at 10:34 PM AL VAN DER LAAN <aelaan(a)rogers.com> wrote:
> >>>>
> >>>> Happy Holidays,
> >>>>
> >>>>
> >>>> So this happened: I forgot to Erase the EEPROM, which clearly is my fault, but it was late and I was tired.
> >>>>
> >>>> Just trying to see if I can recover this EEprom at all or if I am better getting a couple of new ones from eBay?
> >>>>
> >>>>
> >>>>
> >>>>
> >>>> flashrom -p ch341a_spi -E -c MX25L12835F/MX25L12845E/MX25L12865E -f
> >>>> flashrom v1.1 on Darwin 19.2.0 (x86_64)
> >>>> flashrom is free software, get the source code at https://flashrom.org
> >>>>
> >>>> Calibrating delay loop... OK.
> >>>> Found Macronix flash chip "MX25L12835F/MX25L12845E/MX25L12865E" (16384 kB, SPI) on ch341a_spi.
> >>>> Erasing and writing flash chip... FAILED at 0x00000000! Expected=0xff, Found=0x40, failed byte count from 0x00000000-0x00000fff: 0x1000
> >>>> ERASE FAILED!
> >>>> Looking for another erase function.
> >>>> FAILED at 0x00000000! Expected=0xff, Found=0x40, failed byte count from 0x00000000-0x00007fff: 0x8000
> >>>> ERASE FAILED!
> >>>> Looking for another erase function.
> >>>> FAILED at 0x00000000! Expected=0xff, Found=0x40, failed byte count from 0x00000000-0x0000ffff: 0x10000
> >>>> ERASE FAILED!
> >>>> Looking for another erase function.
> >>>> ^[[B^[[B^[[B^[[BFAILED at 0x00000000! Expected=0xff, Found=0x40, failed byte count from 0x00000000-0x00ffffff: 0x1000000
> >>>> ERASE FAILED!
> >>>> Looking for another erase function.
> >>>> FAILED at 0x00000000! Expected=0xff, Found=0x40, failed byte count from 0x00000000-0x00ffffff: 0x1000000
> >>>> ERASE FAILED!
> >>>> Looking for another erase function.
> >>>> Looking for another erase function.
> >>>> Looking for another erase function.
> >>>> No usable erase functions left.
> >>>> FAILED!
> >>>> Your flash chip is in an unknown state.
> >>>> Please report this on IRC at chat.freenode.net (channel #flashrom) or
> >>>> mail flashrom(a)flashrom.org, thanks!
> >>>> _______________________________________________
> >>>> flashrom mailing list -- flashrom(a)flashrom.org
> >>>> To unsubscribe send an email to flashrom-leave(a)flashrom.org
> >>
>
I've had success flashing internally on a C232 chipset, an ASUS P10S-I
motherboard with a partially working in-progress coreboot port.
flashrom picks it up as an opaque chip when flashing internally. It's a
W25Q128.V according to the ch341a.
Output attached.
- Kevin
Hi,
I would like to thank you for development of the flashrom tool, as I was
able to fix my bios via the tool.
The chip I have is gigadevice GD25B128C and I was able to use the settings
for GD25Q128C.
The software informed me that reading or writing to this chip wasn't tested
so I thought it would help to inform you that both functions worked for me.
Sencirely,
Omer basri
You haven't described what device you are trying to flash. Usually
there's nothing wrong with using SOIC8 test clip, for the laptops.
However, some routers/hdmi recorders/other devices of this type, may
try powering its' main CPU from a test clip and interfere with your
programming through a test clip. In example, here's a flashrom mod I
had to do for making it possible to read a firmware of one router
through a test clip https://review.coreboot.org/c/flashrom/+/31830
(because a CPU tries to power itself from a test clip and access a
flash chip, its' only available for 30% of each second to a programmer
behind a test clip), however - despite a similar code for read and
write - this router becomes software bricked if a write has been
attempted, and then a chip is inaccessible at all without a
desoldering.
So a chip itself could be fine, and such problems could be caused by
an imperfection in your device's hardware design. Other problems could
be i.e. too long cables between a SOIC8 test clip and a programmer, or
their poor quality (i.e. electrical resistance of aluminium wires is
about 1.5x times higher than of the copper ones with the same
properties).
On Sun, Dec 29, 2019 at 8:32 PM AL VAN DER LAAN <aelaan(a)rogers.com> wrote:
>
> Hi Mike, thanks for responding. I tried with Linux as well and am using the SOIC8. I think I did mess up when I forgot to Erase and performed a write to it (it should still erase before the write but here we are). I performed the same tasks on three other units that came out of an auction and successfully reprogrammed them with a bios file obtained from HP.
>
> I am thinking of ordering a couple clean ones from eBay and desolder the defective one.
>
> And I know, everyone keeps telling me to stop using the SOIC8, but I simply have too much volume with a huge backlog.
>
>
>
> > On Dec 29, 2019, at 11:18 AM, Mike Banon <mikebdp2(a)gmail.com> wrote:
> >
> >> MX25L12835F/MX25L12845E/MX25L12865E
> > This doesn't seem to be one-time-programmable. Have you tried flashing
> > it on Linux instead of OS X ? Are you doing ISP (In system
> > programming, i.e. with a test clip like SOIC8 or SOIC16) ? At the
> > moment it's unclear to me why your erase operation is failing...
> >
> > On Fri, Dec 27, 2019 at 10:34 PM AL VAN DER LAAN <aelaan(a)rogers.com> wrote:
> >>
> >> Happy Holidays,
> >>
> >>
> >> So this happened: I forgot to Erase the EEPROM, which clearly is my fault, but it was late and I was tired.
> >>
> >> Just trying to see if I can recover this EEprom at all or if I am better getting a couple of new ones from eBay?
> >>
> >>
> >>
> >>
> >> flashrom -p ch341a_spi -E -c MX25L12835F/MX25L12845E/MX25L12865E -f
> >> flashrom v1.1 on Darwin 19.2.0 (x86_64)
> >> flashrom is free software, get the source code at https://flashrom.org
> >>
> >> Calibrating delay loop... OK.
> >> Found Macronix flash chip "MX25L12835F/MX25L12845E/MX25L12865E" (16384 kB, SPI) on ch341a_spi.
> >> Erasing and writing flash chip... FAILED at 0x00000000! Expected=0xff, Found=0x40, failed byte count from 0x00000000-0x00000fff: 0x1000
> >> ERASE FAILED!
> >> Looking for another erase function.
> >> FAILED at 0x00000000! Expected=0xff, Found=0x40, failed byte count from 0x00000000-0x00007fff: 0x8000
> >> ERASE FAILED!
> >> Looking for another erase function.
> >> FAILED at 0x00000000! Expected=0xff, Found=0x40, failed byte count from 0x00000000-0x0000ffff: 0x10000
> >> ERASE FAILED!
> >> Looking for another erase function.
> >> ^[[B^[[B^[[B^[[BFAILED at 0x00000000! Expected=0xff, Found=0x40, failed byte count from 0x00000000-0x00ffffff: 0x1000000
> >> ERASE FAILED!
> >> Looking for another erase function.
> >> FAILED at 0x00000000! Expected=0xff, Found=0x40, failed byte count from 0x00000000-0x00ffffff: 0x1000000
> >> ERASE FAILED!
> >> Looking for another erase function.
> >> Looking for another erase function.
> >> Looking for another erase function.
> >> No usable erase functions left.
> >> FAILED!
> >> Your flash chip is in an unknown state.
> >> Please report this on IRC at chat.freenode.net (channel #flashrom) or
> >> mail flashrom(a)flashrom.org, thanks!
> >> _______________________________________________
> >> flashrom mailing list -- flashrom(a)flashrom.org
> >> To unsubscribe send an email to flashrom-leave(a)flashrom.org
>
try to flash this bios chip and this is the log
ubuntu@ubuntu:~$ sudo ./flashrom -p ch341a_spi
flashrom p1.0-23-g34b0ff2f on Linux 5.0.0-23-generic (x86_64)
flashrom is free software, get the source code at https://flashrom.org
Using clock_gettime for delay loops (clk_id: 1, resolution: 1ns).
Found Winbond flash chip "unknown Winbond (ex Nexcom) SPI chip" (0 kB, SPI)
on ch341a_spi.
===
This flash part has status NOT WORKING for operations: PROBE READ ERASE
WRITE
The test status of this chip may have been updated in the latest development
version of flashrom. If you are running the latest development version,
please email a report to flashrom(a)flashrom.org if any of the above
operations
work correctly for you with this flash chip. Please include the flashrom log
file for all operations you tested (see the man page for details), and
mention
which mainboard or programmer you tested in the subject line.
Thanks for your help!
No operations were specified.
another one
sudo ./flashrom -p ch341a_spi -r badflash.rom
flashrom p1.0-23-g34b0ff2f on Linux 5.0.0-23-generic (x86_64)
flashrom is free software, get the source code at https://flashrom.org
Using clock_gettime for delay loops (clk_id: 1, resolution: 1ns).
Found Winbond flash chip "unknown Winbond (ex Nexcom) SPI chip" (0 kB, SPI)
on ch341a_spi.
===
This flash part has status NOT WORKING for operations: PROBE READ ERASE
WRITE
The test status of this chip may have been updated in the latest development
version of flashrom. If you are running the latest development version,
please email a report to flashrom(a)flashrom.org if any of the above
operations
work correctly for you with this flash chip. Please include the flashrom log
file for all operations you tested (see the man page for details), and
mention
which mainboard or programmer you tested in the subject line.
Thanks for your help!
Read is not working on this chip. Aborting.
hoping for your help
tnx so much in advance
---------- Forwarded message ---------
From: *Eds Orioque* <conradoorioque(a)gmail.com>
Date: Fri, Dec 27, 2019, 4:58 PM
Subject: winbond w25128jvsm bios chip for asus chromebox cn65
To: <flashrom(a)flashrom.org>
try to flash this bios chip and this is the log
ubuntu@ubuntu:~$ sudo ./flashrom -p ch341a_spi
flashrom p1.0-23-g34b0ff2f on Linux 5.0.0-23-generic (x86_64)
flashrom is free software, get the source code at https://flashrom.org
Using clock_gettime for delay loops (clk_id: 1, resolution: 1ns).
Found Winbond flash chip "unknown Winbond (ex Nexcom) SPI chip" (0 kB, SPI)
on ch341a_spi.
===
This flash part has status NOT WORKING for operations: PROBE READ ERASE
WRITE
The test status of this chip may have been updated in the latest development
version of flashrom. If you are running the latest development version,
please email a report to flashrom(a)flashrom.org if any of the above
operations
work correctly for you with this flash chip. Please include the flashrom log
file for all operations you tested (see the man page for details), and
mention
which mainboard or programmer you tested in the subject line.
Thanks for your help!
No operations were specified.
another one
sudo ./flashrom -p ch341a_spi -r badflash.rom
flashrom p1.0-23-g34b0ff2f on Linux 5.0.0-23-generic (x86_64)
flashrom is free software, get the source code at https://flashrom.org
Using clock_gettime for delay loops (clk_id: 1, resolution: 1ns).
Found Winbond flash chip "unknown Winbond (ex Nexcom) SPI chip" (0 kB, SPI)
on ch341a_spi.
===
This flash part has status NOT WORKING for operations: PROBE READ ERASE
WRITE
The test status of this chip may have been updated in the latest development
version of flashrom. If you are running the latest development version,
please email a report to flashrom(a)flashrom.org if any of the above
operations
work correctly for you with this flash chip. Please include the flashrom log
file for all operations you tested (see the man page for details), and
mention
which mainboard or programmer you tested in the subject line.
Thanks for your help!
Read is not working on this chip. Aborting.
hoping for your help
tnx so much in advance
Happy Holidays,
So this happened: I forgot to Erase the EEPROM, which clearly is my fault, but it was late and I was tired.
Just trying to see if I can recover this EEprom at all or if I am better getting a couple of new ones from eBay?
flashrom -p ch341a_spi -E -c MX25L12835F/MX25L12845E/MX25L12865E -f
flashrom v1.1 on Darwin 19.2.0 (x86_64)
flashrom is free software, get the source code at https://flashrom.org
Calibrating delay loop... OK.
Found Macronix flash chip "MX25L12835F/MX25L12845E/MX25L12865E" (16384 kB, SPI) on ch341a_spi.
Erasing and writing flash chip... FAILED at 0x00000000! Expected=0xff, Found=0x40, failed byte count from 0x00000000-0x00000fff: 0x1000
ERASE FAILED!
Looking for another erase function.
FAILED at 0x00000000! Expected=0xff, Found=0x40, failed byte count from 0x00000000-0x00007fff: 0x8000
ERASE FAILED!
Looking for another erase function.
FAILED at 0x00000000! Expected=0xff, Found=0x40, failed byte count from 0x00000000-0x0000ffff: 0x10000
ERASE FAILED!
Looking for another erase function.
^[[B^[[B^[[B^[[BFAILED at 0x00000000! Expected=0xff, Found=0x40, failed byte count from 0x00000000-0x00ffffff: 0x1000000
ERASE FAILED!
Looking for another erase function.
FAILED at 0x00000000! Expected=0xff, Found=0x40, failed byte count from 0x00000000-0x00ffffff: 0x1000000
ERASE FAILED!
Looking for another erase function.
Looking for another erase function.
Looking for another erase function.
No usable erase functions left.
FAILED!
Your flash chip is in an unknown state.
Please report this on IRC at chat.freenode.net (channel #flashrom) or
mail flashrom(a)flashrom.org, thanks!
Hi flashrom community!
Long time no see. Just want to report success on probe & read of
GigaDevice GD25Q40(B). The chip itself has different markings; 25Q41BT,
as in
https://ae01.alicdn.com/kf/HTB11jcQJVXXXXaeXVXXq6xXFXXXg/FREE-SHIPPING-SOP8…,
which points which is probably same or similar GigaDevice SPI flash (?)...
The chip is found on PowerColor RX5700 ITX graphics card, and according
to the read ROM contents, reading was successful.
I do not dare to try erasing/writing, as this card is too damn expensive
to risk it...
R,
S