Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
PIC32 PINGUIONO's and SD
07-05-2012, 02:38 PM, (This post was last modified: 07-05-2012, 02:39 PM by mf01.)
#74
RE: PIC32 PINGUIONO's and SD
Hi Dale,

Could you confirm that in your post #72 you mean the diskio.c file attached to my post #70. Sorry to be pedantic but I just want to make sure we are one the same page.

With regard to your item 3 in Post #72, I think that rather than hard coding for a particular board in any of the library files this should be covered by the SD.mount( ) function as we have been using. I have started drafting something on the wiki SD.Library which will hopefully makes clear what I am thinking. By doing it this way I think that the same code could also be used with an external SD card connector (assuming that people remember that the pin connections are slightly different for SD cards, miniSD cards and microSD cards) by only changing the Pinguino Pin Number in the SD.mount function call and connecting the SPI2 lines for the other three connections as appropriate.

Item 4 needs expanding to remove all of the other #if defines and #if !defines we have remmed out over the last few days in SD library various files.

If you can accept what I say about item 3 above, I will undertake to clean up the various SD library files and get them submitted to one of the core developers for inclusion in a future revision of x.3. I will then update the SD Library wiki page accordingly.

Finally re Item 6. I think that this is one to park for the time being until you have details of how you are getting the GPS date and time. There is a way of having optional parameters in a function call but it generally needs a way of telling the called function how many parameters there are, for example CDC.printf has a format string and then an optional number of other parameters to be printed, the format string telling the function how many parameters to expect. The other thing is it might be too specialised an application to warrant including it in the core - you could just "tweak" a local copy of diskio.c so that get-fattime calls you own GPSdatetime function as required.

Finally just one response to pingotg's first comment in Post#73 - remember this is an open source/open hardware project and relies on people giving their time and effort freely for the benefit of all, hence my offer to do the necessary for the SD library files.

Regards
Board = PIC32-Pinguino-OTG Rev C
OS = Linux Unbuntu 11.10 till 26 Apr 2012
OS = Linux Unbuntu 12:04 from 27 Apr 2012
Reply


Messages In This Thread
PIC32 PINGUIONO's and SD - by KiloOne - 19-03-2012, 02:32 AM
RE: PIC32 PINGUIONO's and SD - by mf01 - 21-03-2012, 10:47 PM
RE: PIC32 PINGUIONO's and SD - by KiloOne - 22-03-2012, 08:17 AM
RE: PIC32 PINGUIONO's and SD - by mf01 - 22-03-2012, 08:27 PM
RE: PIC32 PINGUIONO's and SD - by KiloOne - 23-03-2012, 10:36 PM
RE: PIC32 PINGUIONO's and SD - by KiloOne - 02-05-2012, 02:34 PM
RE: PIC32 PINGUIONO's and SD - by mf01 - 02-05-2012, 04:08 PM
RE: PIC32 PINGUIONO's and SD - by KiloOne - 02-05-2012, 07:53 PM
RE: PIC32 PINGUIONO's and SD - by mf01 - 02-05-2012, 09:33 PM
RE: PIC32 PINGUIONO's and SD - by mf01 - 03-05-2012, 12:17 PM
RE: PIC32 PINGUIONO's and SD - by KiloOne - 03-05-2012, 04:35 PM
RE: PIC32 PINGUIONO's and SD - by KiloOne - 04-05-2012, 03:20 AM
RE: PIC32 PINGUIONO's and SD - by mf01 - 04-05-2012, 09:53 AM
RE: PIC32 PINGUIONO's and SD - by pingotg - 04-05-2012, 03:35 PM
RE: PIC32 PINGUIONO's and SD - by mf01 - 04-05-2012, 09:44 PM
RE: PIC32 PINGUIONO's and SD - by KiloOne - 04-05-2012, 11:25 PM
RE: PIC32 PINGUIONO's and SD - by mf01 - 05-05-2012, 12:23 AM
RE: PIC32 PINGUIONO's and SD - by KiloOne - 05-05-2012, 12:46 AM
RE: PIC32 PINGUIONO's and SD - by mf01 - 05-05-2012, 01:14 AM
RE: PIC32 PINGUIONO's and SD - by KiloOne - 05-05-2012, 01:27 AM
RE: PIC32 PINGUIONO's and SD - by mf01 - 05-05-2012, 10:58 AM
RE: PIC32 PINGUIONO's and SD - by KiloOne - 05-05-2012, 01:19 PM
RE: PIC32 PINGUIONO's and SD - by mf01 - 05-05-2012, 01:51 PM
RE: PIC32 PINGUIONO's and SD - by KiloOne - 05-05-2012, 02:36 PM
RE: PIC32 PINGUIONO's and SD - by mf01 - 05-05-2012, 04:51 PM
RE: PIC32 PINGUIONO's and SD - by KiloOne - 05-05-2012, 05:58 PM
RE: PIC32 PINGUIONO's and SD - by mf01 - 05-05-2012, 07:22 PM
RE: PIC32 PINGUIONO's and SD - by KiloOne - 05-05-2012, 08:04 PM
RE: PIC32 PINGUIONO's and SD - by KiloOne - 05-05-2012, 09:18 PM
RE: PIC32 PINGUIONO's and SD - by mf01 - 05-05-2012, 09:22 PM
RE: PIC32 PINGUIONO's and SD - by KiloOne - 05-05-2012, 10:37 PM
RE: PIC32 PINGUIONO's and SD - by mf01 - 05-05-2012, 11:01 PM
RE: PIC32 PINGUIONO's and SD - by KiloOne - 05-05-2012, 11:05 PM
RE: PIC32 PINGUIONO's and SD - by mf01 - 05-05-2012, 11:50 PM
RE: PIC32 PINGUIONO's and SD - by KiloOne - 05-05-2012, 11:57 PM
RE: PIC32 PINGUIONO's and SD - by mf01 - 06-05-2012, 10:42 AM
RE: PIC32 PINGUIONO's and SD - by KiloOne - 06-05-2012, 10:47 AM
RE: PIC32 PINGUIONO's and SD - by mf01 - 06-05-2012, 11:30 AM
RE: PIC32 PINGUIONO's and SD - by KiloOne - 06-05-2012, 02:01 PM
RE: PIC32 PINGUIONO's and SD - by mf01 - 06-05-2012, 03:30 PM
RE: PIC32 PINGUIONO's and SD - by KiloOne - 06-05-2012, 03:36 PM
RE: PIC32 PINGUIONO's and SD - by mf01 - 06-05-2012, 03:43 PM
RE: PIC32 PINGUIONO's and SD - by KiloOne - 06-05-2012, 03:53 PM
RE: PIC32 PINGUIONO's and SD - by mf01 - 06-05-2012, 05:41 PM
RE: PIC32 PINGUIONO's and SD - by KiloOne - 06-05-2012, 07:04 PM
RE: PIC32 PINGUIONO's and SD - by pingotg - 06-05-2012, 07:18 PM
RE: PIC32 PINGUIONO's and SD - by KiloOne - 06-05-2012, 07:41 PM
RE: PIC32 PINGUIONO's and SD - by mf01 - 06-05-2012, 07:57 PM
RE: PIC32 PINGUIONO's and SD - by KiloOne - 06-05-2012, 09:42 PM
RE: PIC32 PINGUIONO's and SD - by pingotg - 06-05-2012, 08:21 PM
RE: PIC32 PINGUIONO's and SD - by KiloOne - 06-05-2012, 08:39 PM
RE: PIC32 PINGUIONO's and SD - by pingotg - 06-05-2012, 08:47 PM
RE: PIC32 PINGUIONO's and SD - by KiloOne - 06-05-2012, 09:12 PM
RE: PIC32 PINGUIONO's and SD - by mf01 - 06-05-2012, 09:20 PM
RE: PIC32 PINGUIONO's and SD - by pingotg - 06-05-2012, 09:23 PM
RE: PIC32 PINGUIONO's and SD - by KiloOne - 06-05-2012, 09:27 PM
RE: PIC32 PINGUIONO's and SD - by pingotg - 06-05-2012, 09:30 PM
RE: PIC32 PINGUIONO's and SD - by mf01 - 06-05-2012, 09:39 PM
RE: PIC32 PINGUIONO's and SD - by mf01 - 06-05-2012, 09:47 PM
RE: PIC32 PINGUIONO's and SD - by KiloOne - 06-05-2012, 10:19 PM
RE: PIC32 PINGUIONO's and SD - by pingotg - 06-05-2012, 11:04 PM
RE: PIC32 PINGUIONO's and SD - by KiloOne - 06-05-2012, 11:53 PM
RE: PIC32 PINGUIONO's and SD - by pingotg - 07-05-2012, 12:09 AM
RE: PIC32 PINGUIONO's and SD - by KiloOne - 07-05-2012, 12:25 AM
RE: PIC32 PINGUIONO's and SD - by pingotg - 07-05-2012, 12:33 AM
RE: PIC32 PINGUIONO's and SD - by KiloOne - 07-05-2012, 12:34 AM
RE: PIC32 PINGUIONO's and SD - by mf01 - 07-05-2012, 09:09 AM
RE: PIC32 PINGUIONO's and SD - by pingotg - 07-05-2012, 09:43 AM
RE: PIC32 PINGUIONO's and SD - by KiloOne - 07-05-2012, 01:24 PM
RE: PIC32 PINGUIONO's and SD - by pingotg - 07-05-2012, 02:01 PM
RE: PIC32 PINGUIONO's and SD - by mf01 - 07-05-2012, 02:38 PM
RE: PIC32 PINGUIONO's and SD - by KiloOne - 07-05-2012, 03:28 PM
RE: PIC32 PINGUIONO's and SD - by mf01 - 07-05-2012, 04:05 PM
RE: PIC32 PINGUIONO's and SD - by KiloOne - 07-05-2012, 04:39 PM
RE: PIC32 PINGUIONO's and SD - by mf01 - 07-05-2012, 04:52 PM

Forum Jump:


Users browsing this thread: 1 Guest(s)