Rules | Recent posts | topic RSS | Search | Register  | Log in

USB Data transmission to MMC(interfaced to ATmega32)

 
Post new topic  Reply to topic    EDAboard.com Forum Index -> PC Programming and Interfacing
Author Message
syte



Joined: 24 May 2008
Posts: 4


Post01 Aug 2008 14:10   USB Data transmission to MMC(interfaced to ATmega32)

Hi everybody,

I have implimented FAT filesystem on ATMega32,where the data is being transmitted from PC to micrcontroller and vice-versa through serial communication(RS232).But,now i am interested to do it all through USB.I have managed to have USB bootloader from serial bootloader in my project,but doing the data communication from USB instead of serial,is asking for a lot of changes in the code...i am really confused..Can someone throw a light on this,so that i can go ahead in the right direction..

Basically,an idea of how a code's data transmission can be changed to USB communication from transmitting its data in serial communication?And,how USB can actually be used for the same?

If needed i can post my code to know how initially things have been impimented.

Thanks in advance.
Back to top
FvM



Joined: 22 Jan 2008
Posts: 2679
Helped: 438
Location: Bochum, Germany


Post01 Aug 2008 14:26   USB Data transmission to MMC(interfaced to ATmega32)

What's your USB hardware? AT90USB1286 or similar? Atmel has several demo projects, including a serial interface (cdc = communication class device) design.
Back to top
syte



Joined: 24 May 2008
Posts: 4


Post01 Aug 2008 20:06   Re: USB Data transmission to MMC(interfaced to ATmega32)

Hi,

well i am using ATmega32,and it does not support any USB hardware..i have to do it all through firmare codes that i am given with..one that i will be needed to communicate with PC and the other to communicate with microcontroller..

i do have USB driver program finding difficult to make any change..

if you want i ca attach my code here..
Back to top
FvM



Joined: 22 Jan 2008
Posts: 2679
Helped: 438
Location: Bochum, Germany


Post01 Aug 2008 20:16   Re: USB Data transmission to MMC(interfaced to ATmega32)

I don't see, how you want to access USB without dedicated hardware. That's gonna be pretty hard even for low speed (1.5 Mb/s) USB.
Back to top
Post new topic  Reply to topic    EDAboard.com Forum Index -> PC Programming and Interfacing
Page 1 of 1 All times are GMT + 1 Hour


Abuse
Administrator
Moderators
topic RSS 
sitemap