Hi. I am new to this group, I have look through the archive (as much of the old archive as possible) but haven't found any solution. I wish to interface a AVR Mega128 to read USB Memory Sticks or worst case PCMCIA Memory Flash Cards. Thus the USB I am loking for is a master rather than the off-the- shelf slave designs. Can anyone kindly point me to a URL with such a interface design and/or such drivers. All correspondence appreciated. Cheers Grahame grahame[at]wildpossum[dot]com
USB iterface to read memory sticks
Started by ●June 3, 2004
Reply by ●June 3, 20042004-06-03
On 2004-06-03, Grahame <news@wildpossum.com> wrote:> I wish to interface a AVR Mega128 to read USB Memory > SticksOuch. All the USB master chipsets I've seen are PCI based.> or worst case PCMCIA Memory Flash Cards.That's easy enough. PCMCIA is pretty much ISA bus with a different connector: 20 address lines, 16 data lines, rd*, wr*, bhe*, and so on. I don't know the details of a Mega128, but if you've got an external bus with enough address and data lines all you need is a bit of glue logic for the bus control lines. -- Grant Edwards grante Yow! My life is a patio at of fun! visi.com
Reply by ●June 3, 20042004-06-03
"Grahame" <news@wildpossum.com> wrote in message news:40be97df$0$2301$61ce578d@news.syd.swiftdsl.com.au...> Hi. > > I am new to this group, I have look through the archive > (as much of the old archive as possible) but haven't found > any solution. > > I wish to interface a AVR Mega128 to read USB Memory > Sticks or worst case PCMCIA Memory Flash Cards. Thus the > USB I am loking for is a master rather than the off-the- > shelf slave designs. > > Can anyone kindly point me to a URL with such a interface > design and/or such drivers.http://www.transdimension.com/www/products/semiconductors/index.html http://www.softconnex.com/products.html Leo Havm�ller.
Reply by ●June 3, 20042004-06-03
Grahame wrote:> Hi. > > I am new to this group, I have look through the archive > (as much of the old archive as possible) but haven't found > any solution. > > I wish to interface a AVR Mega128 to read USB Memory > Sticks or worst case PCMCIA Memory Flash Cards. Thus the > USB I am loking for is a master rather than the off-the- > shelf slave designs. > > Can anyone kindly point me to a URL with such a interface > design and/or such drivers.I was talking to some Atmel tech/sales representative the other day, where I was told they do have such a thing. While they help you with the firmware driver for the embedded controller, you'll get a piece of binary code fitting to your cpu and the specified interrupts. Rene -- Ing.Buero R.Tschaggelar - http://www.ibrtses.com & commercial newsgroups - http://www.talkto.net
Reply by ●June 3, 20042004-06-03
"Grahame" <news@wildpossum.com> wrote in message news:40be97df$0$2301$61ce578d@news.syd.swiftdsl.com.au...> Hi. > > I am new to this group, I have look through the archive > (as much of the old archive as possible) but haven't found > any solution. > > I wish to interface a AVR Mega128 to read USB Memory > Sticks or worst case PCMCIA Memory Flash Cards. Thus the > USB I am loking for is a master rather than the off-the- > shelf slave designs. > > Can anyone kindly point me to a URL with such a interface > design and/or such drivers. > > All correspondence appreciated. > Cheers Grahame > grahame[at]wildpossum[dot]comCheck Cypress's site ( www.cypress.com) ... they have some new small host devices targeted for the embedded applications... - Dejan
Reply by ●June 3, 20042004-06-03
"Grahame" <news@wildpossum.com> skrev i meddelandet news:40be97df$0$2301$61ce578d@news.syd.swiftdsl.com.au...> Hi. > > I am new to this group, I have look through the archive > (as much of the old archive as possible) but haven't found > any solution. > > I wish to interface a AVR Mega128 to read USB Memory > Sticks or worst case PCMCIA Memory Flash Cards. Thus the > USB I am loking for is a master rather than the off-the- > shelf slave designs. > > Can anyone kindly point me to a URL with such a interface > design and/or such drivers. > > All correspondence appreciated. > Cheers Grahame > grahame[at]wildpossum[dot]comAT43USB380 will do the job for you. 8 bit interface, and an embedded CPU that runs the USB host stack. The main CPU, in this case the ATmega128 will have to run the code for the device classes. Atmel will supply a precompiled library for this, and a simple API. There is a library that will allow you to run a USB memory stick. Would be VERY surprised if they do not have it for the AVR ... -- Best Regards, Ulf Samuelsson ulf@a-t-m-e-l.com This is a personal view which may or may not be share by my Employer Atmel Nordic AB
Reply by ●June 3, 20042004-06-03
"Ulf Samuelsson" <ulf@atmel.nospam.com> wrote in message news:<RrJvc.1338$9n5.764@amstwist00>...> "Grahame" <news@wildpossum.com> skrev i meddelandet > news:40be97df$0$2301$61ce578d@news.syd.swiftdsl.com.au... > > Hi. > > > > I am new to this group, I have look through the archive > > (as much of the old archive as possible) but haven't found > > any solution. > > > > I wish to interface a AVR Mega128 to read USB Memory > > Sticks or worst case PCMCIA Memory Flash Cards. Thus theATA Memory cards would be much easiler.> > USB I am loking for is a master rather than the off-the- > > shelf slave designs....> > AT43USB380 will do the job for you.but not much else.> 8 bit interface, and an embedded CPU that runs the USB host stack.Seem like more extra hardware for 8 bits interface (8 bits -> USB -> Flash). Compact Flash has native 8 bits memory mode interface or 16 bits ATA interface.> The main CPU, in this case the ATmega128 will have to run the code for the > device classes. > Atmel will supply a precompiled library for this, and a simple API. > There is a library that will allow you to run a USB memory stick.More cost for the IP core as well.> Would be VERY surprised if they do not have it for the AVR ...Would be surprise to be able to do anything else in addition to the USB stack. If you need USB for something else, it might make sense. If you want USB for flash memory only, it doesn't make sense.
Reply by ●June 3, 20042004-06-03
> > Would be VERY surprised if they do not have it for the AVR ... > > Would be surprise to be able to do anything else in addition to the > USB stack.Why not do your homework first. With the ATmega128 + AT43USB380 you have two CPUs. The ATmega128 running the device class and the AT43USB380 running the USB Stack. The Device Class Library is free of charge, but low volume usage of the device is discouraged, unless the main CPU is already supported.> > If you need USB for something else, it might make sense. If you want > USB for flash memory only, it doesn't make sense.Many people run around with a USB flash device in their pocket or in their briefcase. Very few run around with an ATA Memory card. -- Best Regards, Ulf Samuelsson ulf@a-t-m-e-l.com This is a personal view which may or may not be share by my Employer Atmel Nordic AB
Reply by ●June 4, 20042004-06-04
>I wish to interface a AVR Mega128 to read USB Memory >Sticks or worst case PCMCIA Memory Flash Cards. Thus the >USB I am loking for is a master rather than the off-the- >shelf slave designs.Instead of doing a two CPU solution (Atmel or Cypress or ...), why not go for a CPU which can do USB directly (e.g. here are HC08,HC12, CF, ARM cpus with USB). -- 42Bastian Do not email to bastian42@yahoo.com, it's a spam-only account :-) Use <same-name>@epost.de instead !
Reply by ●June 4, 20042004-06-04