====== DSTT (NDS) programming ====== Original research provided primarily by HandsomeMatt. ===== Hardware variants ===== The DSTT is notorious for using pretty much every flash chip its manufacturing team could get its hands on throughout its lifecycle. There's over fifty of them - an incomplete list is available [[https://github.com/ntrteam/flashcart_core/blob/master/devices/dstt.cpp|here]]. ===== Commands ===== ==== ? Initialize ? (86 00 00 00 00 00 00 00) ==== ==== ? Shutdown ? (88 00 00 00 00 00 00 00) ==== ==== Read byte from flash (00 ad ac ab aa 00 00 00) ==== * (MSB) ad, ac, ab, aa (LSB) - address ==== Write byte to flash (87 ad ac ab aa 00 va 00) ==== * (MSB) ad, ac, ab, aa (LSB) - address * va - byte to write