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 firstname.lastname@example.org 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 email@example.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 firstname.lastname@example.org 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 email@example.com wrote:
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 firstname.lastname@example.org wrote:
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 email@example.com, thanks! _______________________________________________ flashrom mailing list -- firstname.lastname@example.org To unsubscribe send an email to email@example.com