Yahoo Groups archive

AVR-Chat

Index last updated: 2026-04-28 22:41 UTC

Thread

readin USB thumb drive and USB keyboards

readin USB thumb drive and USB keyboards

2005-07-20 by Gus

I though this maybe usefull for some of you. USBwiz alows you to 
connect your AVR to almost any USB device (mouse, keyboard, thumb 
drive...etc.)

http://www.ghielectronics.com/USBhost.htm

RE: [AVR-Chat] readin USB thumb drive and USB keyboards

2005-07-20 by Lasse Madsen

Is it possible to purchase the source code?

Regards
Lasse
Show quoted textHide quoted text
-----Original Message-----
From: AVR-Chat@yahoogroups.com [mailto:AVR-Chat@yahoogroups.com] On Behalf
Of Gus
Sent: 20. juli 2005 14:04
To: AVR-Chat@yahoogroups.com
Subject: [AVR-Chat] readin USB thumb drive and USB keyboards

I though this maybe usefull for some of you. USBwiz alows you to 
connect your AVR to almost any USB device (mouse, keyboard, thumb 
drive...etc.)

http://www.ghielectronics.com/USBhost.htm





 
Yahoo! Groups Links

Re: OT: CCD Cameras ?

2005-07-20 by alwelch93021

--- In AVR-Chat@yahoogroups.com, "Lasse Madsen" <Lasse.Madsen@E...> 
wrote:
> Hi All,
> 
> I'm trying to find information on any IC's that can interface to a 
CCD/CMOS
> camera chip and display its output on a LCD/TFT panel 
> (for view finding purposes) 18fps would be great ... I've located 
some chips
> from a company called Sunplus but it seems that they are not 
selling to
> anyone not willing to purchase a boing 747 packed with their 
devices I'm
> looking for something very integrated, price is really no issue 
but quantity
> of purchase should be around 100-500 devices.
> 
> Any info?
> 
> Regards 

Lasse see my post in the ARM forum

Al Welch
> Lasse Madsen

RE: [AVR-Chat] readin USB thumb drive and USB keyboards

2005-07-20 by Larry Barello

Atmel has an app note detailing how this works.  

http://www.atmel.com/dyn/resources/prod_documents/doc2556.pdf
Show quoted textHide quoted text
-----Original Message-----
From: AVR-Chat@yahoogroups.com [mailto:AVR-Chat@yahoogroups.com]On
Behalf Of Lasse Madsen
Sent: Wednesday, July 20, 2005 5:18 AM
To: AVR-Chat@yahoogroups.com
Subject: RE: [AVR-Chat] readin USB thumb drive and USB keyboards


Is it possible to purchase the source code?

Regards
Lasse

-----Original Message-----
From: AVR-Chat@yahoogroups.com [mailto:AVR-Chat@yahoogroups.com] On Behalf
Of Gus
Sent: 20. juli 2005 14:04
To: AVR-Chat@yahoogroups.com
Subject: [AVR-Chat] readin USB thumb drive and USB keyboards

I though this maybe usefull for some of you. USBwiz alows you to 
connect your AVR to almost any USB device (mouse, keyboard, thumb 
drive...etc.)

http://www.ghielectronics.com/USBhost.htm





 
Yahoo! Groups Links



 





 
Yahoo! Groups Links

OT: CCD Cameras ?

2005-07-20 by Lasse Madsen

Hi All,

I'm trying to find information on any IC's that can interface to a CCD/CMOS
camera chip and display its output on a LCD/TFT panel 
(for view finding purposes) 18fps would be great ... I've located some chips
from a company called Sunplus but it seems that they are not selling to
anyone not willing to purchase a boing 747 packed with their devices I'm
looking for something very integrated, price is really no issue but quantity
of purchase should be around 100-500 devices.

Any info?

Regards 
Lasse Madsen

Re: readin USB thumb drive and USB keyboards

2005-07-20 by Joel Kolstad

--- In AVR-Chat@yahoogroups.com, "Larry Barello" <yahoo@b...> wrote:
> Atmel has an app note detailing how this works.  
> http://www.atmel.com/dyn/resources/prod_documents/doc2556.pdf

That's not the same thing at all.  The Atmel app note discusses 
turning your AVR into a USB _peripheral_, whereas the GHI chip acts as 
a USB _master_ -- a considerably more complex undertaking (although 
just getting the AVR working as a USB peripheral is a pretty 
sophisticated undertaking too).

I'd like the GHI part a lot better if the pricing were more like $10-
$15 per chip (less than the current $35-$40) and the binary image 
license was, say, $10k (more than the current $5K) instead.

---Joel Kolstad

Re: readin USB thumb drive and USB keyboards

2005-07-20 by Gus

USBwiz is a host not a device. It actes like your PC NOT the thumb 
drive. it also includes FAT stack. 

So you have FAT and USB (_HOST_) on one chip

Gus

--- In AVR-Chat@yahoogroups.com, "Larry Barello" <yahoo@b...> wrote:
> Atmel has an app note detailing how this works.  
> 
> http://www.atmel.com/dyn/resources/prod_documents/doc2556.pdf
> 
> -----Original Message-----
> From: AVR-Chat@yahoogroups.com [mailto:AVR-Chat@yahoogroups.com]On
> Behalf Of Lasse Madsen
> Sent: Wednesday, July 20, 2005 5:18 AM
> To: AVR-Chat@yahoogroups.com
> Subject: RE: [AVR-Chat] readin USB thumb drive and USB keyboards
> 
> 
> Is it possible to purchase the source code?
> 
> Regards
> Lasse
> 
> -----Original Message-----
> From: AVR-Chat@yahoogroups.com [mailto:AVR-Chat@yahoogroups.com] 
On Behalf
Show quoted textHide quoted text
> Of Gus
> Sent: 20. juli 2005 14:04
> To: AVR-Chat@yahoogroups.com
> Subject: [AVR-Chat] readin USB thumb drive and USB keyboards
> 
> I though this maybe usefull for some of you. USBwiz alows you to 
> connect your AVR to almost any USB device (mouse, keyboard, thumb 
> drive...etc.)
> 
> http://www.ghielectronics.com/USBhost.htm
> 
> 
> 
> 
> 
>  
> Yahoo! Groups Links
> 
> 
> 
>  
> 
> 
> 
> 
> 
>  
> Yahoo! Groups Links

Re: readin USB thumb drive and USB keyboards

2005-07-20 by Gus

There is no plans to sell the source codes yet but you can purchase 
a library license. Details are on website.

We are also going to add interpreter that runs with USB and FAT. 
This way you can do whatever you want from your own code that runs 
on USBwiz


--- In AVR-Chat@yahoogroups.com, "Lasse Madsen" <Lasse.Madsen@E...> 
wrote:
> Is it possible to purchase the source code?
> 
> Regards
> Lasse
> 
> -----Original Message-----
> From: AVR-Chat@yahoogroups.com [mailto:AVR-Chat@yahoogroups.com] 
On Behalf
Show quoted textHide quoted text
> Of Gus
> Sent: 20. juli 2005 14:04
> To: AVR-Chat@yahoogroups.com
> Subject: [AVR-Chat] readin USB thumb drive and USB keyboards
> 
> I though this maybe usefull for some of you. USBwiz alows you to 
> connect your AVR to almost any USB device (mouse, keyboard, thumb 
> drive...etc.)
> 
> http://www.ghielectronics.com/USBhost.htm
> 
> 
> 
> 
> 
>  
> Yahoo! Groups Links

Re: [AVR-Chat] Re: readin USB thumb drive and USB keyboards

2005-07-20 by Jesper Hansen

If you only want to talk to USB-memory sticks, the host implementation part 
is
pretty simple. A lot of the regular chit-chat that set up the USB link can 
be
skipped.
I've tried this with a EZ811 chip from Cypress, which is supersimple to 
interface
to the AVR. (sorry, no code is available at the moment).
They have a Powerpoint presentation somewhere on their site, showing how to
shave off the unneeded stuff.

The reduction in complexity should work with other device classes too.

/Jesper

----- Original Message ----- 
Show quoted textHide quoted text
From: "Joel Kolstad" <jkolstad71@yahoo.com>
To: <AVR-Chat@yahoogroups.com>
Sent: Wednesday, July 20, 2005 8:51 PM
Subject: [AVR-Chat] Re: readin USB thumb drive and USB keyboards


> --- In AVR-Chat@yahoogroups.com, "Larry Barello" <yahoo@b...> wrote:
>> Atmel has an app note detailing how this works.
>> http://www.atmel.com/dyn/resources/prod_documents/doc2556.pdf
>
> That's not the same thing at all.  The Atmel app note discusses
> turning your AVR into a USB _peripheral_, whereas the GHI chip acts as
> a USB _master_ -- a considerably more complex undertaking (although
> just getting the AVR working as a USB peripheral is a pretty
> sophisticated undertaking too).
>
> I'd like the GHI part a lot better if the pricing were more like $10-
> $15 per chip (less than the current $35-$40) and the binary image
> license was, say, $10k (more than the current $5K) instead.
>
> ---Joel Kolstad
>
>
>
>
>
>
> Yahoo! Groups Links
>
>
>
>
>
>
>

Re: [AVR-Chat] Re: OT: CCD Cameras ?

2005-07-20 by Don Ingram

Which ARM forum Al?
Show quoted textHide quoted text
> 
> Lasse see my post in the ARM forum
> 
> Al Welch
> 
>>Lasse Madsen
> 
> 
> 
> 
> 
>  
> Yahoo! Groups Links
> 
> 
> 
>  
> 
>

Re: [AVR-Chat] Re: readin USB thumb drive and USB keyboards

2005-07-20 by Jeffrey Engel

Yeah, I liked the USBwiz a lot.  Any idea when they'll
have 802.11b/g?

Jeff Engel
Arlington, TX
--- Gus <gus_is_working@yahoo.com> wrote:

> USBwiz is a host not a device. It actes like your PC
> NOT the thumb 
> drive. it also includes FAT stack. 
> 
> So you have FAT and USB (_HOST_) on one chip
> 
> Gus
> 
> --- In AVR-Chat@yahoogroups.com, "Larry Barello"
> <yahoo@b...> wrote:
> > Atmel has an app note detailing how this works.  
> > 
> >
>
http://www.atmel.com/dyn/resources/prod_documents/doc2556.pdf
> > 
> > -----Original Message-----
> > From: AVR-Chat@yahoogroups.com
> [mailto:AVR-Chat@yahoogroups.com]On
> > Behalf Of Lasse Madsen
> > Sent: Wednesday, July 20, 2005 5:18 AM
> > To: AVR-Chat@yahoogroups.com
> > Subject: RE: [AVR-Chat] readin USB thumb drive and
> USB keyboards
> > 
> > 
> > Is it possible to purchase the source code?
> > 
> > Regards
> > Lasse
> > 
> > -----Original Message-----
> > From: AVR-Chat@yahoogroups.com
> [mailto:AVR-Chat@yahoogroups.com] 
> On Behalf
> > Of Gus
> > Sent: 20. juli 2005 14:04
> > To: AVR-Chat@yahoogroups.com
> > Subject: [AVR-Chat] readin USB thumb drive and USB
> keyboards
> > 
> > I though this maybe usefull for some of you.
> USBwiz alows you to 
> > connect your AVR to almost any USB device (mouse,
> keyboard, thumb 
> > drive...etc.)
> > 
> > http://www.ghielectronics.com/USBhost.htm


Happiness is - positive intake manifold pressure.

__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com

Re: [AVR-Chat] Re: readin USB thumb drive and USB keyboards

2005-07-20 by Jeffrey Engel

(displaying sure signs of age by replying to myself)

I just read my last post and realized I wasn't clear. 
I'd like to use some of those 802.11 WiFi USB dongles.

Jeff Engel
--- Jeffrey Engel <jengeltx@yahoo.com> wrote:

> Yeah, I liked the USBwiz a lot.  Any idea when
> they'll
> have 802.11b/g?
> 
> Jeff Engel
> Arlington, TX
> --- Gus <gus_is_working@yahoo.com> wrote:
> 
> > USBwiz is a host not a device. It actes like your
> PC
> > NOT the thumb 
> > drive. it also includes FAT stack. 
> > 
> > So you have FAT and USB (_HOST_) on one chip
> > 
> > Gus
> > 
> > --- In AVR-Chat@yahoogroups.com, "Larry Barello"
> > <yahoo@b...> wrote:
> > > Atmel has an app note detailing how this works. 
> 
> > > 
> > >
> >
>
http://www.atmel.com/dyn/resources/prod_documents/doc2556.pdf
> > > 
> > > -----Original Message-----
> > > From: AVR-Chat@yahoogroups.com
> > [mailto:AVR-Chat@yahoogroups.com]On
> > > Behalf Of Lasse Madsen
> > > Sent: Wednesday, July 20, 2005 5:18 AM
> > > To: AVR-Chat@yahoogroups.com
> > > Subject: RE: [AVR-Chat] readin USB thumb drive
> and
> > USB keyboards
> > > 
> > > 
> > > Is it possible to purchase the source code?
> > > 
> > > Regards
> > > Lasse
> > > 
> > > -----Original Message-----
> > > From: AVR-Chat@yahoogroups.com
> > [mailto:AVR-Chat@yahoogroups.com] 
> > On Behalf
> > > Of Gus
> > > Sent: 20. juli 2005 14:04
> > > To: AVR-Chat@yahoogroups.com
> > > Subject: [AVR-Chat] readin USB thumb drive and
> USB
> > keyboards
> > > 
> > > I though this maybe usefull for some of you.
> > USBwiz alows you to 
> > > connect your AVR to almost any USB device
> (mouse,
> > keyboard, thumb 
> > > drive...etc.)
> > > 
> > > http://www.ghielectronics.com/USBhost.htm
> 
> 
> Happiness is - positive intake manifold pressure.
> 
> __________________________________________________
> Do You Yahoo!?
> Tired of spam?  Yahoo! Mail has the best spam
> protection around 
> http://mail.yahoo.com 
> 
> 
>  
> Yahoo! Groups Links
> 
> 
>     AVR-Chat-unsubscribe@yahoogroups.com
> 
>  
> 
> 
> 


Happiness is - positive intake manifold pressure.

__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com

RE: [AVR-Chat] Re: OT: CCD Cameras ?

2005-07-21 by Lasse Madsen

Hi Don,

It's the AT91SAM7 group Al's referring to: AT91SAM7@yahoogroups.com

Regards
Lasse
Show quoted textHide quoted text
-----Original Message-----
From: AVR-Chat@yahoogroups.com [mailto:AVR-Chat@yahoogroups.com] On Behalf
Of Don Ingram
Sent: 21. juli 2005 00:52
To: AVR-Chat@yahoogroups.com
Subject: Re: [AVR-Chat] Re: OT: CCD Cameras ?

Which ARM forum Al?
> 
> Lasse see my post in the ARM forum
> 
> Al Welch
> 
>>Lasse Madsen
> 
> 
> 
> 
> 
>  
> Yahoo! Groups Links
> 
> 
> 
>  
> 
> 



 
Yahoo! Groups Links

Re: readin USB thumb drive and USB keyboards

2005-07-21 by Gus

This is what we are working on. So maybe in couple months

--- In AVR-Chat@yahoogroups.com, Jeffrey Engel <jengeltx@y...> wrote:
Show quoted textHide quoted text
> (displaying sure signs of age by replying to myself)
> 
> I just read my last post and realized I wasn't clear. 
> I'd like to use some of those 802.11 WiFi USB dongles.
> 
> Jeff Engel
> --- Jeffrey Engel <jengeltx@y...> wrote:
> 
> > Yeah, I liked the USBwiz a lot.  Any idea when
> > they'll
> > have 802.11b/g?
> > 
> > Jeff Engel
> > Arlington, TX
> > --- Gus <gus_is_working@y...> wrote:
> > 
> > > USBwiz is a host not a device. It actes like your
> > PC
> > > NOT the thumb 
> > > drive. it also includes FAT stack. 
> > > 
> > > So you have FAT and USB (_HOST_) on one chip
> > > 
> > > Gus
> > > 
> > > --- In AVR-Chat@yahoogroups.com, "Larry Barello"
> > > <yahoo@b...> wrote:
> > > > Atmel has an app note detailing how this works. 
> > 
> > > > 
> > > >
> > >
> >
> http://www.atmel.com/dyn/resources/prod_documents/doc2556.pdf
> > > > 
> > > > -----Original Message-----
> > > > From: AVR-Chat@yahoogroups.com
> > > [mailto:AVR-Chat@yahoogroups.com]On
> > > > Behalf Of Lasse Madsen
> > > > Sent: Wednesday, July 20, 2005 5:18 AM
> > > > To: AVR-Chat@yahoogroups.com
> > > > Subject: RE: [AVR-Chat] readin USB thumb drive
> > and
> > > USB keyboards
> > > > 
> > > > 
> > > > Is it possible to purchase the source code?
> > > > 
> > > > Regards
> > > > Lasse
> > > > 
> > > > -----Original Message-----
> > > > From: AVR-Chat@yahoogroups.com
> > > [mailto:AVR-Chat@yahoogroups.com] 
> > > On Behalf
> > > > Of Gus
> > > > Sent: 20. juli 2005 14:04
> > > > To: AVR-Chat@yahoogroups.com
> > > > Subject: [AVR-Chat] readin USB thumb drive and
> > USB
> > > keyboards
> > > > 
> > > > I though this maybe usefull for some of you.
> > > USBwiz alows you to 
> > > > connect your AVR to almost any USB device
> > (mouse,
> > > keyboard, thumb 
> > > > drive...etc.)
> > > > 
> > > > http://www.ghielectronics.com/USBhost.htm
> > 
> > 
> > Happiness is - positive intake manifold pressure.
> > 
> > __________________________________________________
> > Do You Yahoo!?
> > Tired of spam?  Yahoo! Mail has the best spam
> > protection around 
> > http://mail.yahoo.com 
> > 
> > 
> >  
> > Yahoo! Groups Links
> > 
> > 
> >     AVR-Chat-unsubscribe@yahoogroups.com
> > 
> >  
> > 
> > 
> > 
> 
> 
> Happiness is - positive intake manifold pressure.
> 
> __________________________________________________
> Do You Yahoo!?
> Tired of spam?  Yahoo! Mail has the best spam protection around 
> http://mail.yahoo.com

Re: readin USB thumb drive and USB keyboards

2005-07-21 by Joel Kolstad

Hi Jesper,

--- In AVR-Chat@yahoogroups.com, "Jesper Hansen" <jesperh@t...> 
wrote:
> If you only want to talk to USB-memory sticks, the host 
implementation part 
> is
> pretty simple. A lot of the regular chit-chat that set up the USB 
link can 
> be
> skipped.

By the time you get as far as having all the code to read and write 
FAT and FAT32, I'm not sure if I'd call it "simple" anymore -- we're 
talking thousands of lines of code!  But I agree that getting USB 
talking to a single peripheral is significantly simpler than a 
general purpose USB stack.

Unfortunately, I've been told that even some memory sticks (in 
particular, some made by Sony) contain embedded hubs so that they 
can present multiple devices (e.g., the "memory" itself as a mass 
storage class device, and then a proprietary encryption device or 
whatever); I would be pleasantly surprised if the GHI chip worked 
with such 'sticks.

I know for a fact that those cheap ($29) "plug into the cigarette 
light MP3 players that read a USB memory stick for data" don't work 
with a Creative Labs Muvo memory stick/MP3 player/FM radio (that, on 
a PC, does just end up as a "disk drive").  I haven't taken a look 
at how the Muvo presents itself on the USB, but I wouldn't be 
surprised if it's a similar problem.

---Joel

Re: [AVR-Chat] Re: readin USB thumb drive and USB keyboards

2005-07-21 by Jesper Hansen

> Hi Jesper,
> 
> --- In AVR-Chat@yahoogroups.com, "Jesper Hansen" <jesperh@t...> 
> wrote:
>> If you only want to talk to USB-memory sticks, the host 
>> implementation part is pretty simple. A lot of the regular 
>> chit-chat that set up the USB link can be skipped.
> 
> By the time you get as far as having all the code to read and write 
> FAT and FAT32, I'm not sure if I'd call it "simple" anymore -- we're 
> talking thousands of lines of code!  But I agree that getting USB 
> talking to a single peripheral is significantly simpler than a 
> general purpose USB stack.

Thousands of lines ? Not at all. I've been working with FAT for years,
and it's not that complex.
I even have a FAT capable bootloader in a mega8 ! About 750 bytes
complete with CF card driver, programming and support routines.

And the USB enumeration and handling is also really small. I haven't
cleaned up the routines, but when it's done, I'll report on the sizes.

/Jesper

Re: readin USB thumb drive and USB keyboards

2005-07-21 by Gus

a reliable FAT 12,16 and 32 with read and write is a lot of code. I 
don't what you are talking about but with our optomized code it is 
about 50K flash and 5K RAM

adding on USB is another 50K flash and mass storage class is another 
30K!!!

Gus
--- In AVR-Chat@yahoogroups.com, "Jesper Hansen" <jesperh@t...> 
wrote:
> > Hi Jesper,
> > 
> > --- In AVR-Chat@yahoogroups.com, "Jesper Hansen" <jesperh@t...> 
> > wrote:
> >> If you only want to talk to USB-memory sticks, the host 
> >> implementation part is pretty simple. A lot of the regular 
> >> chit-chat that set up the USB link can be skipped.
> > 
> > By the time you get as far as having all the code to read and 
write 
> > FAT and FAT32, I'm not sure if I'd call it "simple" anymore -- 
we're 
> > talking thousands of lines of code!  But I agree that getting 
USB 
> > talking to a single peripheral is significantly simpler than a 
> > general purpose USB stack.
> 
> Thousands of lines ? Not at all. I've been working with FAT for 
years,
> and it's not that complex.
> I even have a FAT capable bootloader in a mega8 ! About 750 bytes
> complete with CF card driver, programming and support routines.
> 
> And the USB enumeration and handling is also really small. I 
haven't
> cleaned up the routines, but when it's done, I'll report on the 
sizes.
> 
> /Jesper

Re: [AVR-Chat] Re: readin USB thumb drive and USB keyboards

2005-07-21 by Jesper Hansen

>a reliable FAT 12,16 and 32 with read and write is a lot of code. I 
> don't what you are talking about but with our optomized code it is 
> about 50K flash and 5K RAM

My FAT16/FAT32 read/write system, with directory and long filename
handling is about 10-15K including fopen/fclose e.t.c. support.
 
> adding on USB is another 50K flash and mass storage class is another 
> 30K!!!

I'm pretty sure my handling of USB memory sticks will be less than 5K. 
This is obviously not full class support by the book, but it will handle
>95% of the thumb drives out there. That's what counts for me.

/Jesper

Move to quarantaine

This moves the raw source file on disk only. The archive index is not changed automatically, so you still need to run a manual refresh afterward.