Reading SPD information?

David S. Madole david at madole.net
Mon Jan 29 16:15:33 UTC 2007


> From LI Xin Monday, January 29, 2007 10:49 AM
> 
> Just curious: is there any way to read RAM's SPD information on a
> running system?

Yes, not only can you read them, on many systems you can write to them too.

There is an unfinished program here that decodes and displays data for SDRAMs and has an example of reprogramming bytes:

http://madole.net/spd/spd.c

I used this to re-program some SDRAM after adding parity chips to them.

Note that there is a write-protect pin on the DIMMs that motherboards are supposed to activate to prevent writing in a system (i.e. so that a virus does not trash your DIMMs) but none of the systems I have tested on actually implement this.

It's fairly easy to find the specs of the SPD contents with Google -- sorry I don't have a direct reference handy.

David




More information about the freebsd-hackers mailing list