Table of Contents

NeoFlash MK6/R6 (NDS) programming

Commands

Unlock cartridge (SPI: FE FD FB F5)

Lock cartridge (SPI: FE FD FB F7)

TF: Write command byte (D7 57 xx 00 00 00 00 00)

TF: Read command bits (D7 6x 00 00 00 00 00 00)

TF: Read data, 4 bits (D7 46 00 00 00 00 00 00)

TF: Read data, 1024 x 4 bits (D7 4E 00 00 00 00 00 00)

Returns 1024 bytes; each byte has bits 0-3 set to the 4 bits read.

TF: Write data, 4 bits (D7 38 0x 00 00 00 00 00)

Read halfword (F1 tt aa aa aa aa 00 00)

Returns 2 bytes, little endian.

Write halfword (F3 0t aa aa aa aa dd dd)

aa and dd are specified in reverse endianness.