Talk:SC EEPROM: Difference between revisions
Jump to navigation
Jump to search
Line 40: | Line 40: | ||
* Reads 0x26D0 (0x10) | * Reads 0x26D0 (0x10) | ||
* Reads some configs? (around 0x3900) | * Reads some configs? (around 0x3900) | ||
* Reads some configs? (around 0x3200) |
Revision as of 18:08, 2 June 2019
There is a flag at EEPROM which enables a special diagnostic mode at startup.
Note: This flag is enabled on Proto/DECR. It allows memtest diagnose
Pseudo-code:
def check_bootrom_diag_mode(mode, param) diag_mode = get_eeprom_bootrom_diag() if diag_mode & 0x1: if diag_mode & 0x100: return 0 mode = (diag_mode >> 3) & 0x1 param = (diag_mode >> 3) & 0x1 else: mode = (diag_mode >> 1) & 0x1 param = -1 return 1
EEPROM Dumps
EEPROM Strings (CP memory dump, DECR)
http://pastie.org/private/usd2zi8mw3igycsh1a395q
Bus Pirate stuff
http://i.imgur.com/48rbR51.png
(needs more wikifying)
On standby
- Checks status
- Unlocks Write Command
- Reads PATCH top half region
- Reads PATCH bottom half region
- Reads 0x2790?(0x20)
- Reads 0x27B0?(0x10)
- Reads 0x26D0 (0x10)
- Reads some configs? (around 0x3900)
- Reads some configs? (around 0x3200)