On Wed, Jan 22, 2020 at 8:46 PM Dennis Dale-Green firstname.lastname@example.org wrote:
The BIOS I'm trying to flash is for a Gigabyte Brix mini PC. I originally tried flashing with the surface mounted chip in place using windows software but the flash failed to verify the data so would not compete the operation. I unsoldered the chip and tried again with the same failed result. I thought perhaps the chip was broken so I bought a new one and tried programming it again through windows. This also failed.
So I thought I'd try Flashing using Linux, both the old and new chip failed with the result shown in my original email.
I'll solder the chip onto the programmer's piggyback board and give that a try (got nothing to loose!) that will bypass any test clip issue.
On Wed, 22 Jan 2020 at 15:04, Mike Banon email@example.com wrote:
On Wed, Jan 22, 2020 at 2:07 PM Dennis firstname.lastname@example.org wrote:
Hi. Please see the report below. I've tried flashing 2 eproms but get the same result. Any ideas? Thanks, Dennis
Calibrating delay loop... OK. Found Macronix flash chip "MX25U6435E/F" (8192 kB, SPI) on ch341a_spi. Reading old flash chip contents... done. Erasing and writing flash chip... Erase/write done. Verifying flash... FAILED at 0x00000010! Expected=0x5a, Found=0x5b, failed byte count from 0x00000000-0x007fffff: 0x332be2 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!
Please describe your flashing setup. Are you trying the ISP (in-system programming) using a SOIC clip? Maybe the wires between ch341a and this test clip are too long or poor quality (have a high resistance, i.e. aluminium has 1.5x higher resistance than copper)
Yes, flashing using Linux is preferable. Some faulty CH341A are giving 5V instead of 3.3V, please test yours with a multimeter. Have you ever successfully flashed any chip with your CH341A? By the way I've stumbled upon two CH341A (two posts on reddit's r/coreboot), one CH341A had a badly soldered chip leg and another was missing a capacitor. Easy to fix, but only if you have at least one working CH341A to compare i.e. the voltages at various points of a faulty vs working one.