Menu

Interesting sd card project, need help understanding.

Help
2016-08-29
2016-09-06
  • tony golding

    tony golding - 2016-08-29

    as per the title i found yet another interesting project to add to my growing list ( i need to stop googling random things ) http://dmitry.gr/index.php?r=05.Projects&proj=02.%20Single-chip%20audio%20Player

    im just a bit lost about the whole process of reading data from an sd card and how its file sytem works, i did have a look over the gcb include sd.h and another sd file evan shared with me a little while ago but im still baffled by the whole thing, some forum searches have returned many different topics for writing to a card but im still clueless as to how to read from it or if i have to always read a specific sized chunk of data, initialization ect.

    tony

     
    • Anobium

      Anobium - 2016-08-29

      SD card. The code i provided works in read only mode. It supports MS-DOS fat 32 structures. The code supports many of the key fole operations. Did you get the driver operational?

      There is an alternative method which simply uses the block structure to read \write blocks. So, this does not support directories/files etc.

      I would love help to complete the SD Csrd driver to add write functionality - We can also easily adapt to provide the same capabilities in the URL.

       

      Last edit: Anobium 2016-08-29
    • Anobium

      Anobium - 2016-08-29

      Regarding the project in the URL.

      He uses the same approach as we used. As a microcontroller does not have enough memory he reads the sdcard essentially raw. The code reads the sdcard and the WAV is played. It assumes WAV file format.

      Apart from that you can now pick up MP3 & WAV player for $2 from eBay... Is this a viable project? I have one. I use my £1.31 player everyday.

      You adapt the current GCB sdcard to do the same. It will play file by file, starting at the first thru to the last, non shdc cards, no ms dos functionality.

      Email me, if this is something you want to do. I am not using the forum for development discussions.

       
      • Anobium

        Anobium - 2016-08-31
         

        Last edit: Anobium 2016-08-31
  • tony golding

    tony golding - 2016-09-05

    hi evan,

    sorry been busy here with getting kids ready for back to school so not much time to play with anything.

    i will have to try and get some form of understanding of how the sd file works to make some progress on this,

    as yet i have easily got lost/overwhelmed ect just trying to understand what commands i need to use or how to set up the chip to try, this is more of an attempt to see if i can get some form of sound module created to add some sounds to my rc vehicle just to simulate engine sounds based on throttle input ect but it seems there is alot of reading and understanding to try and do first.

    tony.

     

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.