- 1. March 2010: Solve this!
- 29. January 2010: PIC32 Starter Kits Software v2.0
- 27. January 2010: Animation on the MikroE PIC32MX4 Multimedia Board
- 26. December 2009: Merry Christmas and Happy New Year
- 18. November 2009: MikroE MX4 Multimedia Board
- 30. September 2009: Good old printf() (continued)
- 26. August 2009: Changing habits... and dreaming a bit
- 24. July 2009: Where is my RAM?
- 15. July 2009: Olimex PIC-P32MX board
- 28. June 2009: A Great New Board from mikroElektronika
June Bug(s)
I am always grateful to readers that report to me typos and/or issues found with the books listings and the CDROM code, but today I want to thank particularly Laurent Debrauwer not only for pointing out an issue with the SD card fileio.c module (as posted on Chapter 15 of the “Exploring the PIC32″ book) but also for isolating the “bug”.
As it turns out, there is nothing wrong with the code listed in Chapter 15, except that it does not match the code included in the CDROM! The version of the fileio.c module that went to press (on the CDROM) includes an additional botched attempt at optimizing the write speed (by modifying the writeFAT() function to make use of readFAT() instead of fecthing FAT records on its own using readSECTOR() directly). Not only the new function was not tested properly, but I also failed to annotate the changes and rev the file, my apologies!
I have posted the new and improved SD library modules on the companion web site in the download page: SDlib
The second reader I would like to thank today is Jan Dabrowsky, who has brought to my attention an inconsistency in the pin-out of the SDcard connector as posted in the schematic (pdf) on both the PIC24 and PIC32 books’ web sites. The SDI and SDO pins have been swapped!
Fortunately the schematic posted is not the one used by the AV16/32 board, but is an embellished version that I created ad hoc for the web site. The actual board has never been affected! I have just posted the corrected schematics on both websites in the respective Audio and Video pages.
Leave a Reply
You must be logged in to post a comment.