Hello,
I whant to build a simple logger that can store data (singel bytes) on a sd card.
I dont need a formated fat system i just whant to read it whith a pickit device
I see that there is a sd.h library, but i dont know hos to use it.
Is there any out there ho have a small simple code for a pic 16f1788 or 16f877 (any pic16)
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Unfortunately, the code in sd.h is not yet finished and doesn't really do anything useful. How much data do you need to log? If you're reading data back with a PICkit 2 and only need to store a few entries (up to 256 bytes), then using the memory (either EEPROM or Flash) built in to the PIC may be an easier option.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hugh, the sd.h. I never validated, or, documented it. Should we removed from trunk? and, just post in the forum until someone has time to complete the header?
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I think we should keep everything in SVN, finished or not. It helps to keep everything safe. Perhaps we need a disclaimer that anything in SVN that isn't documented is probably not usable. (Or, a comment at the top of any files that aren't yet finished.)
Last edit: Hugh Considine 2014-05-17
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Thank you for the awnsers,
Well i guess there is a Way to use sd card using spi mode, so mabye it would work to write to it even if the sd.h is not finished. I dont Care if i have to write some rubbish zeros to compleate the 512byte sektor isssue (i probably Will use it to log voltade and current with 1sec simple for a week or so)
I would like to use sd card becaurse it is almost endless in matter of storage.
I havs tested to use e2 memory but i whant mode storage.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hello,
I whant to build a simple logger that can store data (singel bytes) on a sd card.
I dont need a formated fat system i just whant to read it whith a pickit device
I see that there is a sd.h library, but i dont know hos to use it.
Is there any out there ho have a small simple code for a pic 16f1788 or 16f877 (any pic16)
Lets see if we can help.
I guess you are referring to the sd.h in the SF Code\Trunk?
Can you confirm this is that this is the case?
Unfortunately, the code in sd.h is not yet finished and doesn't really do anything useful. How much data do you need to log? If you're reading data back with a PICkit 2 and only need to store a few entries (up to 256 bytes), then using the memory (either EEPROM or Flash) built in to the PIC may be an easier option.
Hugh, the sd.h. I never validated, or, documented it. Should we removed from trunk? and, just post in the forum until someone has time to complete the header?
I think we should keep everything in SVN, finished or not. It helps to keep everything safe. Perhaps we need a disclaimer that anything in SVN that isn't documented is probably not usable. (Or, a comment at the top of any files that aren't yet finished.)
Last edit: Hugh Considine 2014-05-17
Thank you for the awnsers,
Well i guess there is a Way to use sd card using spi mode, so mabye it would work to write to it even if the sd.h is not finished. I dont Care if i have to write some rubbish zeros to compleate the 512byte sektor isssue (i probably Will use it to log voltade and current with 1sec simple for a week or so)
I would like to use sd card becaurse it is almost endless in matter of storage.
I havs tested to use e2 memory but i whant mode storage.