User Tools

Site Tools


notes:flashcart:ezflash5

EZ-Flash V programming

Commands

Card: Read with prefetch (B7 aa bb cc dd nn 00 00)

  • First, B7aaaaaaaa010000 is sent - returns 4 bytes. The final byte may be FF or 00 - if it's 00, prefetch is complete.
  • Next, if prefetch was not complete, B7aaaaaaaa020000 is sent repeatedly - returns 4 bytes, same format as above.
  • Then, B7aaaaaaaa000000 is issued as normal.

SRAM: Read words (B7 01 aa bb cc 00 00 00)

Returns 4 or 512 bytes (maybe more).

NOR: Write byte (B8 F0 aa bb cc 00 00 dd)

Writes byte dd to address aabbcc.

NOR: Write word (B8 F0 aa bb cc 00 ee dd)

Writes word ddee (as two bytes?) to address aabbcc.

SRAM: Write word (B8 F2 aa bb cc 00 ee dd)

Writes word ddee to address aabbcc.

Card: ?? (B8 F4 01 nn 55 AA 55 00)

Card: Configure save emulation (B8 F4 02 nn 55 AA 55 AA)

Card: ?? (B8 F4 03 nn 55 AA 55 AA)

TF: Write data (B8 F6 Fa Fb Fc Fd 00 00)

TF: Start data write (B8 F6 FF FF FF F0 00 00)

  • ab cd - bytes to write (sent as nibbles)

TF: Read 512 bytes (B8 F7 00 00 00 00 00 00)

TF: Read command byte? (B8 F8 00 00 00 00 00 00)

TF: Send command (B8 FA 00 cc pp pp pp pp)

TF: Read response (B8 FA nn 00 00 00 00 00)

  • nn - page to read (1-5).

?? Lock ?? (B9 FF 55 AA 00 00 00 00)

?? Unlock ?? (B9 FF A5 5A 00 00 00 00)

Lock until reset? (B9 FF 5A A5 00 00 00 00)

SRAM

  • 0x7DFE0 - 1 if high-capacity TF card, 0 otherwise
notes/flashcart/ezflash5.txt · Last modified: 2024/11/07 22:50 by asie