SanDisk CompactFlash 5000 Bedienerhandbuch Seite 50

  • Herunterladen
  • Zu meinen Handbüchern hinzufügen
  • Drucken
  • Seite
    / 56
  • Inhaltsverzeichnis
  • LESEZEICHEN
  • Bewertet. / 5. Basierend auf Kundenbewertungen
Seitenansicht 49
Publication LOGIX-AP007B-EN-P - January 2007
50 Expand the Code to Support More than 4500 Bytes of Data
Access 10,000 Bytes Example
For example, if you want to access 10,000 bytes:
Step 1:
Actual_Bytes_to_RW = 10,000 + (TRN (10,000/442) * 8) + (If the MOD
(10,000/442) > 0 then 8 else 0)
= 10,000 + 22(8) + 8
= 10,184
Step 2:
450[(TRN(10,184/450)) + (If the MOD (10,148/450) > 0 then 1 else 0)]
= 450 [22+1]
= 450(23)
= 10350 bytes
You need to increase the arrays to a minimum of 10,350 elements. Do not
place this value in the Actual_Bytes_to_RW. This value is calculated when a
file command is executed.
Seitenansicht 49
1 2 ... 45 46 47 48 49 50 51 52 53 54 55 56

Kommentare zu diesen Handbüchern

Keine Kommentare