User Tools

Site Tools


notes:flashcart:mkr6

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)

  • 66: Read 1 bit
  • 67: Read 2 bits
  • 68: Read 3 bits
  • 69: Read 4 bits

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)

  • tt: target (00 - SRAM, 01 - NOR)

Returns 2 bytes, little endian.

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

  • tt: target (00 - SRAM, 01 - NOR)

aa and dd are specified in reverse endianness.

notes/flashcart/mkr6.txt · Last modified: 2024/09/21 09:26 by asie