1. Home
  2. Guides
  3. Flashing an SPI flash chip with a CH341A programmer (laptop BIOS and TV firmware)

Flashing an SPI flash chip with a CH341A programmer (laptop BIOS and TV firmware)

Read, back up and write 25-series SPI flash chips in circuit or off the board — clip placement, voltage, software settings and the checks that prevent bricked boards.

CSS3Wizardry editorial team Updated

The CH341A is the cheapest USB programmer for 25-series SPI NOR flash chips — the 8-pin chips that hold a laptop’s BIOS and EC firmware, or the whole firmware of a non-smart TV board.

What you need

  • A CH341A programmer and a SOIC-8 test clip (or a SOIC-to-DIP adapter if you desolder the chip).
  • A 1.8 V adapter if the chip is a 1.8 V part — the part number tells you (W25Q…FW, MX25U…, GD25LQ… are typical 1.8 V series).
  • Programming software that knows your chip: AsProgrammer, NeoProgrammer, IMSProg or flashrom.

Some CH341A boards put 5 V on the data lines even when VCC is 3.3 V. Measure your programmer before the first use and fix it if needed — 5 V signals can damage a 3.3 V chip.

Step by step

  1. Disconnect all power — battery, charger, mains. On laptops, also the CMOS battery if the board back-feeds the chip.
  2. Find pin 1 — the dot on the chip. The red wire of the clip goes to pin 1.
  3. Detect the chip and confirm the detected part matches the marking.
  4. Read twice and compare the two files (checksum or byte compare). If they differ, the contact is bad — fix it before going on.
  5. Save the original somewhere safe. It holds the board’s serial, MAC address and settings.
  6. Check the new file size — it must equal the chip size exactly (4, 8, 16 or 32 MB). Use the dump size checker.
  7. Erase, write, verify. Do not skip verify.

Laptop specifics

  • A laptop SPI dump usually contains descriptor, ME and BIOS regions. Dumps marked clean ME or ME region help when the board does not start after a CPU or PCH change — see EC/KBC firmware for boards that keep EC code in the same chip.
  • Match the board number and revision printed on the PCB, not only the model.

TV specifics

  • Non-smart TV boards keep the full firmware in one SPI chip; the dump must match the board variant and the panel. Smart boards use eMMC instead — see eMMC vs SPI dumps.
  • If the board still boots, a USB update is safer than a programmer.

Quick answers

The programmer cannot detect the chip in circuit. What can I do?

Re-seat the clip so every jaw bites a leg, remove the board's battery and power, and try again. Some boards back-power other parts through the chip's VCC pin; then lift the chip or its VCC pin, or remove the chip and program it in the socket.

Can I write a dump from another board of the same model?

Only if it is a full dump for the same board number and revision (and, on TVs, the same panel). Laptop dumps also carry serial numbers, MAC addresses and ME settings from the donor board — a clean or service dump avoids most of that.