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.

USB flash drive to memory card

Status
Not open for further replies.

blackridinghood

Newbie level 3
Joined
Jan 19, 2011
Messages
4
Helped
0
Reputation
0
Reaction score
0
Trophy points
1,281
Activity points
1,310
I want to convert USB flash drive to a memory card that can be inserted in devices that have an MMC ports. This is like mobidapter. I've read that I need a USB host before to work with USB devices, but what if I'll connect it to a phone? Please suggest the cheap ones components? Thanks in advance..:lol::lol:
 

The USB drives have totally different protocols than regular memory cards. Memory cards can be interfaced using simple "SPI" protocol but, USB drives use totally different protocols. USB devices require host controllers (Master device that will initiate the communication with the slave device) then, you will implement a driver for that flash drive before you can communicate with it.
To do so, you need a powerful microcontroller and, a very good programming knowledge.
 

I think this IC works the other way, that is interfacing SD cards or SDIO to devices those have USB ports but not SD slots.
From what I understood from blackridinghood, he needs a solution to interface his USB flash drive to his phone via the SD or MMC card slot.
Please correct me if I'm wrong.
 

I don't expect, that a bridge chip with the requested functionality exists. As said, the other way around is quite common, you can buy the adpaters at a computer store next door. So your design idea involves an USB host and a MMC card emulation. SPI slave would be almost easy, but you can't be sure that the device isn't using the generic MMC interface mode. Fortunately you can restrict the clock speed in the emulated CSD (card specific data) register. A minimum of 400 kBit/s must be supported in initial MMC identification mode. So all in all, it can be most likely done with a uP with USB host functionality, e.g. PIC24, ATmega or ARM7.
 

It goes like this:

USB flash drive ---->>>[Circuit that convert USB flash drive to MMC (like mini sd)] ------->>> Phone that supports mini sd

Doesn't a cellphone easily gets the data in the USB when connected to the data lines of the mmc port of the cellphone? But I guess it wasn't that easy. arrgghh confused.. What pic24 can you recommend? It has a USB host right?

Thank you so much for replying guys..
 

Is Pic24fj64gb002 is ok? This is w/ nano watt technology(XLP), is this the same w/ others that don't have XLP?
 

Pic24fj64gb002 also has the host capability, if it's sufficient for your application can be decided, when you know about the code size. You can refer to the USB Host - Mass Storage demo applications downloadable from Microchip to get an idea about the USB code size.
 

I also agree with FvM. if your need is like mobidapter. you can go for PIC24FJ64GB002 itself. it is having USB Host. :) All the best.
 

Status
Not open for further replies.

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top