Talk:SC EEPROM: Difference between revisions
Jump to navigation
Jump to search
mNo edit summary |
No edit summary |
||
Line 14: | Line 14: | ||
return 1 | return 1 | ||
</pre> | </pre> | ||
==EEPROM Dumps== | |||
* https://mega.co.nz/#!Bk1ESBZT!pqAB6riHhZSCPAftvjm2MFf3j0It61huT3WT2AbWS-A |
Revision as of 13:49, 13 September 2014
There is a flag at EEPROM which enables a special diagnostic mode at startup.
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