Nevar pievienot vairāk kā 25 tēmas Tēmai ir jāsākas ar burtu vai ciparu, tā var saturēt domu zīmes ('-') un var būt līdz 35 simboliem gara.

394 rindas
11KB

  1. 24 Aug 2014
  2. Added support for Software SPI on Due and Teensy 3.1
  3. Added support for SPI transacrions.
  4. 05 Aug 2014
  5. New examples.
  6. Teensy 3.x SPI mods.
  7. Test version of StdioStream.
  8. 25 Dec 2013
  9. Improved cluster allocation speed.
  10. Fix for Teensy 3.0
  11. 21 Jun 2013
  12. Improved speed of single block write.
  13. Added StressTest example.
  14. 04 May 2013
  15. Fix FreeRam() for 1.05/1.53 malloc.
  16. Reorganised SPI code.
  17. SPI speed set by SCK divisor.
  18. Faster directory search in file open.
  19. Removed deprecated functions.
  20. 13 Mar 2013
  21. Fix for 1.0.4 malloc
  22. New Software SPI
  23. 07 Feb 2013
  24. Patch for 1.5.2 version of malloc.
  25. Updated SPI driver for Teensy 3.0
  26. Added fast printField() functions.
  27. 19 Dec 2012
  28. Fixed SoftSPI bug
  29. 01 Dec 2012
  30. Added support for the Arduino Due.
  31. The default for ALLOW_DEPRECATED_FUNCTIONS has been changed to
  32. false. If you get compile errors for these functions, either
  33. change to the preferred replacement function indicated in the
  34. error message or set ALLOW_DEPRECATED_FUNCTIONS nonzero.
  35. A key change was to remove sd.init(spiRateID, chipSelect) in favor of
  36. sd.begin(chipSelect, spiRateID). The difference between these two is
  37. the order of the arguments which has caused serious confusion at times.
  38. A massive number of internal changes have been made. There are over 2600
  39. lines in the diff file of this version and the 20120719 version.
  40. 20 Oct 2012
  41. Changes to support ARM processors. Tested with a Teensy 3.0.
  42. Changes for higher performance with large reads and writes.
  43. 25 Aug 2012
  44. Added uint32_t available();
  45. Support for new industrial SD cards
  46. Better support for MiniSerial and MiniSerial example
  47. Changes to support newer versions of avr-gcc
  48. Changed RawWrite example to use micros() for delay between blocks.
  49. Changed SdFatSize example to use MiniSerial
  50. 19 Jul 2012
  51. Require Arduino 1.0 or greater. Change file type for all examples to *.ino.
  52. Modify the SdFormatter example to format SDXC cards as FAT32. This is not the
  53. SDXC standard which is exFAT.
  54. 30 May 2012
  55. Added << operator for Arduino flash string macro F().
  56. New RawWrite example for fast write of contiguous files.
  57. New faster software SPI
  58. Software SPI for Leonardo boards
  59. Don't use __cxa_pure_virtual by default for Arduino 1.0 or greater.
  60. 26 Mar 2012
  61. Removed definition for SS_PIN, MISO_PIN, MOSI_PIN, and SCK_PIN. Used the
  62. Arduino 1.0 symbols SS, MISO, MOSI, and SCK.
  63. Added Arduino style SdFat::begin(chipSelect, spiSpeed);
  64. Added options for SD crc checking. Enabling crc checking increases reliability
  65. at the cost of speed. Edit SdFatConfig.h to select CRC options.
  66. Override Print::getWriteError() and Print::clearWriteError() to use
  67. SdBaseFile functions.
  68. Many internal changes.
  69. 08 Jan 2012
  70. Changes to allow use of the SerialPort library.
  71. Error messages and output from programs are now sent to a stdOut Print
  72. stream.
  73. The default stdOut is a small non-interrupt driven class that outputs messages
  74. to serial port zero. This allows an alternate Serial library like SerialPort
  75. to be used with SdFat.
  76. You can redirect stdOut with SdFat::setStdOut(Print* stream) and
  77. get the current stdOut stream with SdFat::stdOut().
  78. If USE_SERIAL_FOR_STD_OUT in SdFatConfig.h is nonzero, the Arduino Serial
  79. object will be used as the default for stdOut.
  80. 05 Dec 2011
  81. Changes for Arduino 1.0
  82. 17 Sep 2011
  83. Changes for Arduino 1.0 beta 4
  84. Improved SPI handling
  85. 02 Sep 2011
  86. --------------------------------------------------------------------------------
  87. Warning:
  88. Several changes are not backward compatible with the previous
  89. version of SdFat.
  90. The function cwd() was renamed vwd() to allow multiple SD cards.
  91. The type SdBaseFile was added to the class hierarchy to avoid conflicts with
  92. other Arduino libraries that are derived from the Print class. Directory
  93. files should be declared type SdBaseFile.
  94. --------------------------------------------------------------------------------
  95. Added support for multiple SD cards.
  96. Change the name of SdFat::cwd() to SdFat::vwd() since the volume
  97. working directory is not the current working directory with
  98. multiple SD cards.
  99. Added the static function SdBaseFile::cwd() to return a pointer
  100. to the current working directory.
  101. Added the TwoCards.pde example to demonstrate use of multiple SD cards.
  102. Added readCSV.pde example to demonstrate iostream extractors.
  103. Added bool SdBaseFile::timestamp(SdBaseFile* file) to copy one
  104. file's timestamps to another file.
  105. Improved messages in the QuickStart.pde example.
  106. Added maximum latency test to the bench.pde example.
  107. Rearanged class hierarchy to fix conflicts with Flash.h and other Adruino
  108. libraries. Print is no longer a private parent of file stream classes.
  109. Added high speed multiple block read functions to Sd2Card.
  110. Changed include files in SdFatUtil.h
  111. Removed option to write protect block zero of an SD card.
  112. Changes for Arduino 1.0.
  113. 02 Jul 2011
  114. This is a major update based on previous beta versions.
  115. Read all changes since 10 Oct 2001
  116. Simplified examples in extra/examplesV1
  117. 28 Jun 2011
  118. This is a release candidate to replace sdfatlib20101010.
  119. Initialize SPI bus before every access.
  120. Improved write multiple block functions for fast data logging.
  121. SdVolume::cacheClear() returns zero if it fails.
  122. Documentation changes.
  123. 04 Jun 2011
  124. Added SdFatTestSuite and fixed bugs found by test programs.
  125. Added functions:
  126. bool SdFat::truncate(const char* path, uint32_t length);
  127. int16_t SdFile::fgets(char* str, int16_t num, char* delim);
  128. 11 May 2011
  129. Added QuickStart sketch and QuickStart.txt file for fast hardware test.
  130. Added several new examples.
  131. Version of ls() that can write to any Print object.
  132. New functions including freeClusterCount(), openNext() rename().
  133. 14 Apr 2011
  134. Total rewrite to add iostreams and SdFat class with current working directory.
  135. Old API maintained for backward compatibility.
  136. 27 Nov 2010
  137. Added experimental support for FAT12. This can be enabled by setting
  138. FAT12_SUPPORT nonzero in SdFatConfig.h.
  139. Added an experimental sketch, SdFatFormatter.pde, to format SD cards as
  140. FAT16 and SDHC cards as FAT32. See SdFat/examples/SdFormatter.
  141. The return type of SdVolume::cacheClear was changed to cache_t*.
  142. Many internal changes to support FAT12 and formatting SD/SDHC cards.
  143. 10 Oct 2010
  144. Added Mega 2560.
  145. Fixed rmRfStar() bug.
  146. Fixed Sanguino NULL definition.
  147. 18 Aug 2010
  148. Optimized write() for append at end of file. Up to 50% faster sequential write.
  149. 13 Aug 2010
  150. Added the following function to allow the SD chip select pin to be set
  151. at runtime. Warning - if the hardware SS pin is not used as chip select,
  152. the hardware SS pin will be set to output mode by init(). An avr processor
  153. will not function as an SPI master unless SS is set to output mode.
  154. uint8_t Sd2Card::init(uint8_t sckRateID, uint8_t chipSelectPin);
  155. Added more SPI clock rate choices. The above init() function and
  156. uint8_t Sd2Card::init(uint8_t sckRateID) call the new function
  157. uint8_t Sd2Card::setSckRate(uint8_t sckRateID).
  158. setSckRate() sets the SPI clock rate to F_CPU/pow(2, 1 + sckRateID).
  159. On an 16 MHz cpu this ranges from 8 MHz for sckRateId = 0 to 125 kHz
  160. for sckRateID = 6. This function must be called after the init() call.
  161. Modified most examples to call card.init(SPI_HALF_SPEED) to avoid SPI bus
  162. errors with breadboards and jumpers. This sets the SPI speed to F_CPU/4.
  163. Defined SPI_FULL_SPEED so init(SPI_FULL_SPEED) sets the SPI speed to F_CPU/2.
  164. Added the following function to cancel date/time callback. This function
  165. must now be used instead of dateTimeCallback(NULL).
  166. static void SdFat::dateTimeCallbackCancel(void);
  167. The following member functions have been added for users who wish to avoid
  168. calls to functions with non-const references.
  169. uint8_t SdFile::contiguousRange(uint32_t* bgnBlock, uint32_t* endBlock);
  170. uint8_t SdFile::createContiguous(SdFile* dirFile,
  171. const char* fileName, uint32_t size);
  172. static void SdFile::dateTimeCallback(
  173. void (*dateTime)(uint16_t* date, uint16_t* time));
  174. uint8_t SdFile::dirEntry(dir_t* dir);
  175. uint8_t SdFile::makeDir(SdFile* dir, const char* dirName);
  176. uint8_t SdFile::open(SdFile* dirFile, const char* fileName, uint8_t oflag);
  177. uint8_t SdFile::open(SdFile* dirFile, const char* fileName);
  178. uint8_t SdFile::open(SdFile* dirFile, uint16_t index, uint8_t oflag);
  179. uint8_t SdFile::openRoot(SdVolume* vol);
  180. int8_t SdFile::readDir(dir_t* dir);
  181. static uint8_t remove(SdFile* dirFile, const char* fileName);
  182. uint8_t SdVolume::init(Sd2Card* dev);
  183. uint8_t SdVolume::init(Sd2Card* dev, uint8_t part);
  184. The following member functions have been marked as deprecated since they
  185. are now wrappers for the new functions. dateTimeCallback is the only wrapper
  186. with extra overhead. The other wrappers are squeezed out by the complier.
  187. These wrappers will be maintained in the future for backward compatibility.
  188. uint8_t SdFile::contiguousRange(uint32_t& bgnBlock, uint32_t& endBlock);
  189. uint8_t SdFile::createContiguous(SdFile& dirFile,
  190. const char* fileName, uint32_t size);
  191. static void SdFile::dateTimeCallback(
  192. void (*dateTime)(uint16_t& date, uint16_t& time));
  193. uint8_t SdFile::dirEntry(dir_t& dir);
  194. uint8_t SdFile::makeDir(SdFile& dir, const char* dirName);
  195. uint8_t SdFile::open(SdFile& dirFile, const char* fileName, uint8_t oflag);
  196. uint8_t SdFile::open(SdFile& dirFile, const char* fileName);
  197. uint8_t SdFile::open(SdFile& dirFile, uint16_t index, uint8_t oflag);
  198. uint8_t SdFile::openRoot(SdVolume& vol);
  199. int8_t SdFile::readDir(dir_t& dir);
  200. static uint8_t remove(SdFile& dirFile, const char* fileName);
  201. uint8_t SdVolume::init(Sd2Card& dev);
  202. uint8_t SdVolume::init(Sd2Card& dev, uint8_t part);
  203. The deprecated function can be disabled by editing SdFat.h and setting
  204. #define ALLOW_DEPRECATED_FUNCTIONS 0
  205. Fixed file modify time for file rewrite.
  206. Major internal cleanup/reformat based on Google cpplint.py code style.
  207. New Sd2Card::init() algorithm.
  208. New SdFatInfo sketch for modified SdReadData() and other internal changes.
  209. Modified examples to eliminate deprecated functions.
  210. 11 Jun 2010
  211. Added definitions for Teensy to ArduinoPins.h (Paul Stoffregen)
  212. Added troubleshooting.txt
  213. 23 Dec 2009
  214. Added Software SPI capability. See Sd2Card.h
  215. Defining MEGA_SOFT_SPI allows an unmodified Adafruit GPS Shield to be used
  216. on Mega Arduinos. Software SPI works well with GPS Shield V1.1
  217. but many SD cards will fail with GPS Shield V1.0.
  218. Added file ArduinoPins.h for pin definitions.
  219. More error printout in examples.
  220. 25 Nov 2009
  221. Added new functions for SdFile class:
  222. dateTimeCallback(), dirEntry(), isRoot(), isSubDir, ls(),
  223. makeDir(), printDirName(), printFatDate(), printFatTime(),
  224. printTwoDigits(), rmDir(), and rmRStar().
  225. Added new examples to test and illustrate use of new functions.
  226. Removed sdCard() from SdFile class.
  227. Fixed several bugs.
  228. 12 Nov 2009
  229. Major rewrite of the version of SdFat that was included with
  230. the WaveRP library.
  231. This is a preview that is being released to obtain comments
  232. from several colleagues and future users.