Continue to Site

Welcome to EDAboard.com

Welcome to our site! EDAboard.com is an international Electronics Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.

interface compact flash card with 8051

Status
Not open for further replies.

nirav1983

Junior Member level 2
Joined
Sep 22, 2003
Messages
23
Helped
2
Reputation
4
Reaction score
1
Trophy points
1,283
Activity points
285
project by vlsi vs1000

hi friends,
i am working on making an mp3 player.
is it possible to interface a USB pen drive to an 8051? if so how?
i am a student and is my first with microcontrollers....need some advice.

thanks,
bye
 

sta013 8051

Evrething is possible ..
In the case of the USB .. you need a USB master .or HOST
Because the USB pen is a SLAVE .. NOw there is a big problem
I never seen a USB host chip as STAND alone peripheral ..

Other problem is that you will have to create a FILE system

Why don't you use a SDM card or other flash card standard .!
their prices are competitively low this days ..
 

circuit cellar compact flash

thanks eltonjohn,

i have done some reading on the usb slave but donno much bout the host.
since u say its difficult ill take it.
i think ill go back to my original plan of using Compact Flash.

well, ill tell u what i have planned.
the sta013 is an mp3 decoder chip. it uses i2c for interface for its control
operations. the mp3 data is given by a SPI. if i use a serial flash, i could
do this directly between the chip and the memory.
the 8051 microcontroller is there for giving the memory the file's starting
and end address so that the memory can keep supplying the data to the sta013 every time it puts its data required line high. it will also read the id3
tag and display it (LCD). it will give the config and start-stop commands to the sta013. also the decoder has support for volume control, bass, treble etc which i can change at runtime using the 8051 with a keybord interface.

sounds well planned but the truth is that ive seen an 8051 just 5 times in
my life (i am in the final year of engineering).
i am good at programming and have made many simulations but never a pratical circuit.
i have absolutely no clue about memory interface (secondary memory like Compact flash).
well, its a step in the right direction...hopefully by the time i finish
this project ill know a bit.
i have seen a 128 MB smart card in my friends' nokia handset which looked
pretty neat. how does that work?
so tell me......
 

flash card 8051

Hi all,

Nirav 1983, an article written by Jan Szymanski ("Build an MP3 Player", Circuit Cellar, Issue 152, March 2003, page 46) may help you out. It details how to build a compact MP3 player using the MSP430F149 microcontroller from TI, VS1001K MP3 decoder chip, and the SmartMedia card. All schematic diagrams and source codes are available for download from the Circuit Cellar's website. Also, I believe that you can download the Circuit cellar magazine (issue 152) from the e-book up/download forum.

HTH
 

cf card interface 8051

:arrow: nirav1983 Please have a look at YAMPP project. It may interest You since it is completed project of mp3 player with IDE support (You can use CF card in TrueIDE mode)
 

interface pendrive to 8051

Hi elektryk & DSPnut,
I have set my mind up on the STA013. Ill use a microcontroller to generate its i2c.
My new problem is the IDE interface with the Compact Flash using an 8051. I dont have much clue about the IDE standards and how this works.....ive gone through the faqs and the specs but havent been able to figure out a lot of things.
details like:
number of
bytes per sector...sectors per track...tracks per cylinder...etc and their addressing.
can anyone suggest a flowchart or pseudocode of how to go about reading and writing.
thanks all,
Nirav
 

cf-card 8051

nirav1983 said:
details like:
number of
bytes per sector...sectors per track...tracks per cylinder...etc and their addressing.
I don`t know if You mean logical or physical disc parameters. You can obtain physical parameters from Identify Drive (0xEC) command and logical parameters from bootsector/MBR.
BTW did You manage to comunicate with CF card? I stucked :(
 

8051 + cf card

hi all,
i wasnt familiar with the IDE...but thats all clear now...one more detail reqd:
can i connect a compact flash card directly to my IDE as a slave....will i need additional drives for it?
 

true ide mode cf card connect

nirav1983 said:
can i connect a compact flash card directly to my IDE as a slave....will i need additional drives for it?
The answer is YES, just hardwire appropriate pins.
 

compact flash parameters commands

www.pjrc.com may be useful for u. There is a mp3 player, using 8051, interface HDD, use STA013 mp3 decoder chip.
 

vs1001k bascom

Hello all,

More information about IDE-MCU interfacing...

Using an IDE Hard Drive with a 8051 Board and 82C55 Chip
http://www.pjrc.com/tech/8051/ide/
This page describes a simple design that connects a standard IDE interface hard drive to a 8051 board, such as the newer development board, using the 82C55 chip.... (assembly codes :) )

IDE Harddisk interface for micro controllers
http://home.cybervillage.de/heesch/english/ide.htm
This projects interfaces IDE harddisks with a microcontroller. The interface itself is build with an ATMEL AVR 90S8515 which has 32 IO pins and 8 KByte build-in FLASH memory.

IDE devices (HD or CF card) to PIC mcu interface (including source codes)
http://barrymichels.com/ide/


HTH :wink:
 

8051 cf card

hi freinds,
i am working on an mp3 player ....u can read its deatils on my previous post
Can anyone give me a pseudo-code for accessing the CF card in True IDE mode?
Also...can i directly connect this card to my IDE as a slvae?
If so, will i have to then study the fat32 file system if i store songs into it through Windows?
 

sta013 bascom

Try Bascom from www.mcselec.com. It's a basic compiler and it includes commands for communication with compact flash and commands for managing fat 16 file system
 

interfacing ide hard drive with 82c55

Thanks....but its all made!!! ive just started learning and wanted to write the codes myself...are there any pseudo codes or some other info thatll help me ?
 

cf card controller to microcontroller

There have been some discussions about this here:

**broken link removed**

best regards
 

interfacing pendrive to 8051

Hi see the attached file
CF to IDE
This file may be found some where else on net or may be at Elektroda.
Can be deleted.
 

8051 compact flash

Hi friends....

a little stuck again.
what exactly is LBA addressing? what is its conversion relation with the CHS addressing. if their isnt then there has to be a register in which ill have to specify the kind of addressing i am using.

please help...
 

interfacing cf card to microcontroller

Hi
Where I can buy compact slot for install on PCB
 

Status
Not open for further replies.

Similar threads

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top