nofeletru / UsbAsp-flash

Program allow you to program flash memory on the protocols spi, I2C, MicroWire. Supports CH341a, CH347, UsbAsp, AVRISP(LUFA), Arduino, FT232H.
MIT License
931 stars 192 forks source link

Cannot Read ID after playing with SREG bits #27

Closed yderi closed 1 year ago

yderi commented 3 years ago

Hello all

Using Dell Inspiron 15-3567 Bios version: 2.13.0 Programer: CH341a BIOS chip: MACRONIX 25L12873F

I made a full dump of the working BIOS before the changes.

Made some changes to the dump image. Flashed it back despite the warning message "Possible protection is enabled. Press "Unprotect" and check datasheet". Then I was able to successfully boot up the laptop using this modded image. Took some inconvenience with modded bios and decide to flashback the original image. Taking into account previous warning about chip protection was trying to remove protection, by

  1. Read SREG
  2. Edit SREG
  3. Unprotect" but it says that failed, then I try to stop and reconnect. After so I was unable to read ID, and cannot write any image. Still learning how to program chips, so asking for help on how to recover and flashback the original dump to chip

Thank you for any help.

Here si the sreg bit after read "Read SREG" image

yderi commented 3 years ago

Sorry, the problem with detection was with a SOP8 clip.

But still have a problem with writing SREG bits. If I change the SREG bits, press Write, and then press Read again, they a not changed, and stay the same as it was in the previous read step.

Please help.