<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
</head>
<body>
<p>Hallo!</p>
<div class="moz-cite-prefix">Sven A. Huerlimann via tiptoi-hw wrote:<br>
</div>
<blockquote type="cite"
cite="mid:9da8ef97-a5b2-c561-0cc2-5cb4369b69bb@sighup.ch">
<pre class="moz-quote-pre" wrap="">Hallo zusammen, ein gutes Neues!
Ich hab nochmals ein Verständnisproblem beim NAND Controller, ev. kann
mir da jemand weiterhelfen:
Ich hab ein halbwegs brauchbares Fundament für die NFC-Emulation. Ein
ungefähres Gespür für die Register und den Ablauf einer Flash-Read
Operation.</pre>
</blockquote>
<p>Uh, war kurz verwirrt. NFC = NAND Flash Controller?</p>
<p>Für mich hat sich NFC als <span>Near Field Communication
eingebrannt.<br>
</span></p>
<p><br>
</p>
<blockquote type="cite"
cite="mid:9da8ef97-a5b2-c561-0cc2-5cb4369b69bb@sighup.ch">
<pre class="moz-quote-pre" wrap="">Was ich jetzt sehe, ist das die FW folgendes macht:
- NAND-Reset (0xff, no cycles)
- NAND-Read (0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x30)
- und dann ein weiteres Command mit dem "Continue" bit gesetzt, aber nur
"ein" write ins command register.</pre>
</blockquote>
<p>Kannst du kurz nochmal erläutern, was du mit der Beschreibung in
den Klammern meinst? Beziehst du dich immer auf das Kommando?<br>
</p>
<p>Ich habe gerade das Datenblatt eines HY27UF084G2B und
<a class="moz-txt-link-freetext" href="https://github.com/maehw/ftdi-nand-flash-reader/blob/master/bitbang_ft2232.c">https://github.com/maehw/ftdi-nand-flash-reader/blob/master/bitbang_ft2232.c</a>
befragt.</p>
<p>0x00 0x30 ist ein Page Read (READ1) Kommando. Zwischen 0x00 und
0x30 kommen 5 Adress-Bytes (2x Spalte, 3x Zeile).<br>
</p>
<p>Und dann werden bei einer Page wahrscheinlich <span
class="pl-c1">2112 Bytes am Stück gelesen. Vielleicht siehst du
das und ein interner Puffer füllt sich?<br>
</span></p>
<blockquote type="cite"
cite="mid:9da8ef97-a5b2-c561-0cc2-5cb4369b69bb@sighup.ch">
<pre class="moz-quote-pre" wrap="">Meine naive Annahme: Read-Cycle setzt mal auf (Startadresse, etc. etc.)
und danach kann mit diesem "Continue" einfach die nächste
Page?Block?Sector?Huga abgefragt werden?</pre>
</blockquote>
<p>Bei SPI-Flash kenne ich das, dass man keine weiteren Adressen
explizit angeben muss. Hier könnte ich mir vorstellen, dass der
NAND Flash Controller einen Autoinkrement durchführt.<br>
</p>
Gruß<br>
Matthias<br>
</body>
</html>