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
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
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
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
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.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
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.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
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
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
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.
1. Rolands sdcard solution
Last edit: Anobium 2016-08-31
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.
Then, the struggle to get this going is not really justified.
Go and get one of these - I use mine everyday.
Ebay. MP3 Format TF card U disk decoder board amplifier decoding audio Player module