you know the nintendo exi bus? used in gamecube and wii? today i learned that st...
✧✦Catherine✦✧ @whitequark@treehouse.systems
you know the nintendo exi bus? used in gamecube and wii?
today i learned that stock #GlasgowInterfaceExplorer makes a pretty good sniffer for it
e.g. you can grab exi_decode_uart.py from here...
import sys
import struct
while item := sys.stdin.readline():
req, rsp = map(bytes.fromhex, item.split(","))
header, = struct.unpack(">L", req[:4])
addr = (header & 0x7fffffff) >> 6
if header & 0x80000000: # write
data = req[4:]
if addr == 0xc0_0004:
for byte in data[0::4]:
print(chr(byte), end="")
if byte == 0xd:
print()
and then run glasgow run spi-analyzer -V 3.3 | python exi_decode_uart.py and it prints boot logs if you tap into the exi bus on which the weird macronix rtc asic is