malinov.com

Malinov Family Web Presence

SPI Flash ROM Programmer

Introduction

Many recent motherboards use SPI flash memory instead of regular (parallel) NOR flash devices. And in unfortunate case of failed BIOS upgrade, it’s no longer possible to use good old “hot swap” flash programming method, because SPI is not socketed.

I designed a very simple SPI flash programmer, that includes only one IC. But yet it fully functional and allows user to read, write and erase SPI flash devices.

The programmer’s software supports only SST25VF016B devices, found on many Intels’ motherboards. But I believe that only minor code modifications are required to add support for other types of SPI.

Hardware

PC’s parallel port is used to control the programmer (I know that some recent motherboards don’t have such a port, but I am sure that you still have some older system with such port around ;-).

The only (active) component in the programmer is a CD4049UB inverting buffer IC. The programmer requires a 3.3V power supply. You can find this voltage on an ATX power supply (orange wires) installed in your computer, or simply use a pair of AA batteries.

SPI Flash ROM Programmer

Software

Programmer’s software is written for Linux. It uses some sample SPI programming code provided by SST.

Following modes of operation are supported: id, read, write, and erase.

You may notice that verify mode is not provided, but you can easily verify a device by reading its content and comparing it to the original file (diff is your friend).

See attachments for programmer’s software source code.

Few tips

Downloads