Copy Link
Add to Bookmark
Report

The Serial EEPROM

xbox's profile picture
Published in 
xbox
 · 9 months ago

written by Michael Steil, 26 June 2002

The Xbox stores some permanent information such as the serial number, the HD key and the region code in a 256 byte serial EEPROM accessible through the SMBus as device 0x54. Accessing the EEPROM data is quite straightforward: The address of the value is passed as the SMBus command, and the data (either 8 or 16 bits wide) as the SMbus data.

Two routines that read bytes from and write bytes to the serial EEPROM and do no error handling are shown below:

void EepromWrite8(unsigned char address, unsigned char value) { 
SMBusWriteCommand(0x54, address, false, value);
}

void EepromRead8(unsigned char address, unsigned char value) {
SMBusReadCommand(0x54, address, false, &value;);
}

← previous
next →
loading
sending ...
New to Neperos ? Sign Up for free
download Neperos App from Google Play
install Neperos as PWA

Let's discover also

Recent Articles

Recent Comments

Neperos cookies
This website uses cookies to store your preferences and improve the service. Cookies authorization will allow me and / or my partners to process personal data such as browsing behaviour.

By pressing OK you agree to the Terms of Service and acknowledge the Privacy Policy

By pressing REJECT you will be able to continue to use Neperos (like read articles or write comments) but some important cookies will not be set. This may affect certain features and functions of the platform.
OK
REJECT