i am new to pic programming and having a problem with this project:
an mp3 player with no large storage memory that reads the mp3 songs from a usb flash memory(not SD) connected to it and output some text on lcd
the lcd part was completed
and now iam facing several problem on how to interface the pic to the usb flash memory.
can anybody help me to understand the interface and how to communicate whith the usb flash memory(for example reading or writing files)
You have a large problem, because suitable processors with USB interfaces (like the 18F series) are slave only, you require a USB host to read a USB Flash memory. It would be far easier to use an SD card instead, which can be easily read via SPI.
However, if you search these forums it has been mentioned a number of times before, and I believe that there is a USB host interface that you can buy?.
Its a fairly complex project, an SD card is the only practical way to go. Lots of projects of this type can be found on the net. You'll also need an MP3 codec IC.
MP3 was not his main topic but im now too interested... It would be nice to use a flash drive since they go for like $5 to 10 and hold a nice amount of space.
Nice eye but not eveyone who buys a sd card buys from online and most retail stores especially in NYC it cost anywhere from $15-20 for a 1gb card and for a 2gb card its like $40. I guess its somewhat cheap but online i can still get a 1gb flash drive for like $5 so i save like $5-$15 depending where i shop