User Tools

Site Tools


notes:flashcart:ezflash5

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Next revision
Previous revision
notes:flashcart:ezflash5 [2024/11/06 16:19] – created asienotes:flashcart:ezflash5 [2024/11/07 22:50] (current) asie
Line 1: Line 1:
-====== EZ Flash V programming ======+====== EZ-Flash V programming ======
  
 ===== Commands ===== ===== Commands =====
  
-==== SRAM: Read byte (B7 01 aa aa aa 00 00 00) ====+==== Card: Read with prefetch (B7 aa bb cc dd nn 00 00) ====
  
-Returns four bytes; the first byte is the read byte.+  * 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.
  
-==== TFSend command (B8 FA 00 cc pp pp pp pp) ====+==== SRAMRead words (B7 01 aa bb cc 00 00 00) ====
  
-==== TF: Read response (B8 FA nn 00 00 00 00 00====+Returns 4 or 512 bytes (maybe more).
  
-''nn'' - page to read (1-5).+==== NOR: Write byte (B8 F0 aa bb cc 00 00 dd====
  
-==== TF: Read 512 bytes (B8 F7 00 00 00 00 00 00) ====+Writes byte ''dd'' to address ''aabbcc''.
  
-==== TFStart data write (B8 F6 FF FF FF F0 00 00) ====+==== NORWrite 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: Write data (B8 F6 Fa Fb Fc Fd 00 00) ====
  
-''ab cd'' - bytes to write (sent as nibbles)+==== 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: 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 ===== ===== SRAM =====
  
-''0x7DFE0'' - 1 if high-capacity TF card, 0 otherwise+  * ''0x7DFE0'' - 1 if high-capacity TF card, 0 otherwise
  
notes/flashcart/ezflash5.1730909940.txt.gz · Last modified: 2024/11/06 16:19 by asie