.Buffernum Property


Sets/returns the number of the RAM buffer that will be used for direct sector access.



Value Range:

0 or 1. Default= 0 (RAM buffer #0 selected).

See Also:

Direct Sector Access,

fd.getbuffer, fd.setbuffer, fd.getsector, fd.setsector, fd.checksum, fd.copyfirmware, fd.copyfirmwarelzo


All file-based operations of the flash disk also load data into the RAM buffers. Switch to the RAM buffer #0 each time before performing direct sector access with this or other related methods — this will guarantee that you won't corrupt the files and/or the file system and cause disk dismounting (fd.ready becoming 0- NO).