serial to usb communication

Started by piyush_pandey_011 July 19, 2011
hello to all

guys I want to develop a code through which I can communicate through the usb to serial communication with my avr board.

So I want to know that how should I proceed in this direction.

and noote I don't want to use the FTDI usb chips for this purpose.

Thank you

Have you decided for which AVR you are going to use? Most of them already have USB-addressed implementations, and some ATMEL Application Notes will surely give you directions (if not a complete solution).

Good luck!

Eng. Luiz C. Vieira
If you do not know the one above, please disregard this e-mail.
Se n conhecer a pessoa acima, por favor desconsidere esse e-mail.
Try the Atmel 90usb162, good little processor with a usb interface. (Although there is no on board a/d functionality).
 
A dev board cab be found here http://www.olimex.com/dev/index.html.
 
And the USB firmware can be downloaded from the Atmel website.
 
Although i can recommend the USB framework from  http://www.fourwalledcubicle.com/LUFA.php
 
Fairly quick to get up and running, and the drivers are the windows system drivers, plenty of examples as well.
 
Regards
--- On Wed, 20/7/11, Luiz Cláudio Vieira wrote:
From: Luiz Cláudio Vieira
Subject: [AVR club] Re: serial to usb communication
To: a...
Date: Wednesday, 20 July, 2011, 2:36
 

Have you decided for which AVR you are going to use? Most of them already have USB-addressed implementations, and some ATMEL Application Notes will surely give you directions (if not a complete solution).

Good luck!

Eng. Luiz C. Vieira
If you do not know the one above, please disregard this e-mail.
Se não conhecer a pessoa acima, por favor desconsidere esse e-mail.



--- In a..., STEVEN HOLDER wrote:
>
> Try the Atmel 90usb162, good little processor with a usb interface. (Although there is no on board a/d functionality).
>  
> A dev board cab be found here http://www.olimex.com/dev/index.html.
>  
> And the USB firmware can be downloaded from the Atmel website.
>  
> Although i can recommend the USB framework from  http://www.fourwalledcubicle.com/LUFA.php
>  
> Fairly quick to get up and running, and the drivers are the windows system drivers, plenty of examples as well.
>  
> Regards
>
>
> --- On Wed, 20/7/11, Luiz Cláudio Vieira wrote:
>
>
> From: Luiz Cláudio Vieira
> Subject: [AVR club] Re: serial to usb communication
> To: a...
> Date: Wednesday, 20 July, 2011, 2:36
>
>
>  
>
>
>
> Have you decided for which AVR you are going to use? Most of them already have USB-addressed implementations, and some ATMEL Application Notes will surely give you directions (if not a complete solution).
>
> Good luck!
>
> Eng. Luiz C. Vieira
> If you do not know the one above, please disregard this e-mail.
> Se não conhecer a pessoa acima, por favor desconsidere esse e-mail.
>
>
>
>
>
>
>
>
>

Hello

ok I forgot to mention the avr which I want to use is the atmega 8 for this purpose which do not support USB in it , and I have to accomplish this with the code and without using any microcontroller which has usb interface in it.

Also I want don't want to use any available usb libraries for this purpose as I want to build it from scratch for the learning process that how the USB protocol works.
Thank you

On Wed, 20 Jul 2011 10:48:34 -0000
"piyush_pandey_011" wrote:

>
>
> --- In a..., STEVEN HOLDER wrote:
> >
> > Try the Atmel 90usb162, good little processor with a usb interface.
> > (Although there is no on board a/d functionality).  
> > A dev board cab be found here http://www.olimex.com/dev/index.html.
> >  
> > And the USB firmware can be downloaded from the Atmel website.
> >  
> > Although i can recommend the USB framework from
> >  http://www.fourwalledcubicle.com/LUFA.php  
> > Fairly quick to get up and running, and the drivers are the windows
> > system drivers, plenty of examples as well.  
> > Regards
> >
> >
> > --- On Wed, 20/7/11, Luiz Cláudio Vieira wrote:
> >
> >
> > From: Luiz Cláudio Vieira
> > Subject: [AVR club] Re: serial to usb communication
> > To: a...
> > Date: Wednesday, 20 July, 2011, 2:36
> >
> >
> >  
> >
> >
> >
> > Have you decided for which AVR you are going to use? Most of them
> > already have USB-addressed implementations, and some ATMEL
> > Application Notes will surely give you directions (if not a
> > complete solution).
> >
> > Good luck!
> >
> > Eng. Luiz C. Vieira
> > If you do not know the one above, please disregard this e-mail.
> > Se não conhecer a pessoa acima, por favor desconsidere esse e-mail.
> >
> >
> >
> >
> >
> >
> >
> >
> >
>
>
>
>
> Hello
>
> ok I forgot to mention the avr which I want to use is the atmega 8
> for this purpose which do not support USB in it , and I have to
> accomplish this with the code and without using any microcontroller
> which has usb interface in it.
>
> Also I want don't want to use any available usb libraries for this
> purpose as I want to build it from scratch for the learning process
> that how the USB protocol works.
>
>
> Thank you
>

Good luck!
I am not totally aware of the Atmega8 specs, but some external interfacing (signal conditioning and compatibility) might be needed. Considering that the Atmega8 has no provisions for USB (is there a basic USART built in?), I'd guess existing literature might give you some directions. I have already seen some schematics with ATMEL µcontrollers (e.g. ATTiny2313, ATmega168) implementing USB with just resistors and protection diodes, but I do not recall seeing an ATMega8 in this same circumstance.

Fact is that I am also interested in such implementations, but I found no more than this.

Success!

Eng. Luiz C. Vieira

If you do not know the one above, please disregard this e-mail.

Se não conhecer a pessoa acima, por favor desconsidere esse e-mail.

--- Em qua, 20/7/11, piyush_pandey_011 escreveu:

De: piyush_pandey_011
Assunto: [AVR club] Re: serial to usb communication
Para: a...
Data: Quarta-feira, 20 de Julho de 2011, 7:48


 







--- In a..., STEVEN HOLDER wrote:

>

> Try the Atmel 90usb162, good little processor with a usb interface. (Although there is no on board a/d functionality).

>  

> A dev board cab be found here http://www.olimex.com/dev/index.html.

>  

> And the USB firmware can be downloaded from the Atmel website.

>  

> Although i can recommend the USB framework from  http://www.fourwalledcubicle.com/LUFA.php

>  

> Fairly quick to get up and running, and the drivers are the windows system drivers, plenty of examples as well.

>  

> Regards

>

>

> --- On Wed, 20/7/11, Luiz Cláudio Vieira wrote:

>

>

> From: Luiz Cláudio Vieira

> Subject: [AVR club] Re: serial to usb communication

> To: a...

> Date: Wednesday, 20 July, 2011, 2:36

>

>

>  

>

>

>

> Have you decided for which AVR you are going to use? Most of them already have USB-addressed implementations, and some ATMEL Application Notes will surely give you directions (if not a complete solution).

>

> Good luck!

>

> Eng. Luiz C. Vieira

> If you do not know the one above, please disregard this e-mail.

> Se não conhecer a pessoa acima, por favor desconsidere esse e-mail.

>

>

>

>

>

>

>

>

>

Hello

ok I forgot to mention the avr which I want to use is the atmega 8 for this purpose which do not support USB in it , and I have to accomplish this with the code and without using any microcontroller which has usb interface in it.

Also I want don't want to use any available usb libraries for this purpose as I want to build it from scratch for the learning process that how the USB protocol works.

Thank you












Good Luck then.
 
Regards
--- On Wed, 20/7/11, piyush_pandey_011 wrote:
From: piyush_pandey_011
Subject: [AVR club] Re: serial to usb communication
To: a...
Date: Wednesday, 20 July, 2011, 11:48
 

--- In a..., STEVEN HOLDER wrote:
>
> Try the Atmel 90usb162, good little processor with a usb interface. (Although there is no on board a/d functionality).
>  
> A dev board cab be found here http://www.olimex.com/dev/index.html.
>  
> And the USB firmware can be downloaded from the Atmel website.
>  
> Although i can recommend the USB framework from  http://www.fourwalledcubicle.com/LUFA.php
>  
> Fairly quick to get up and running, and the drivers are the windows system drivers, plenty of examples as well.
>  
> Regards
>
>
> --- On Wed, 20/7/11, Luiz Cláudio Vieira wrote:
>
>
> From: Luiz Cláudio Vieira
> Subject: [AVR club] Re: serial to usb communication
> To: a...
> Date: Wednesday, 20 July, 2011, 2:36
>
>
>  
>
>
>
> Have you decided for which AVR you are going to use? Most of them already have USB-addressed implementations, and some ATMEL Application Notes will surely give you directions (if not a complete solution).
>
> Good luck!
>
> Eng. Luiz C. Vieira
> If you do not know the one above, please disregard this e-mail.
> Se não conhecer a pessoa acima, por favor desconsidere esse e-mail.
>
>
>
>
>
>
>
>
>

Hello

ok I forgot to mention the avr which I want to use is the atmega 8 for this purpose which do not support USB in it , and I have to accomplish this with the code and without using any microcontroller which has usb interface in it.

Also I want don't want to use any available usb libraries for this purpose as I want to build it from scratch for the learning process that how the USB protocol works.

Thank you



Some inspiration:
http://www.obdev.at/products/vusb/index.html

Good luck!
/Janne

On Wed, 20 Jul 2011 08:05:25 -0700 (PDT)
Luiz Cláudio Vieira wrote:

> I am not totally aware of the Atmega8 specs, but some external
> interfacing (signal conditioning and compatibility) might be needed.
> Considering that the Atmega8 has no provisions for USB (is there a
> basic USART built in?), I'd guess existing literature might give you
> some directions. I have already seen some schematics with ATMEL
> µcontrollers (e.g. ATTiny2313, ATmega168) implementing USB with just
> resistors and protection diodes, but I do not recall seeing an
> ATMega8 in this same circumstance.
>
> Fact is that I am also interested in such implementations, but I
> found no more than this.
>
> Success!
>
> Eng. Luiz C. Vieira
>
> If you do not know the one above, please disregard this e-mail.
>
> Se não conhecer a pessoa acima, por favor desconsidere esse e-mail.
>
> --- Em qua, 20/7/11, piyush_pandey_011
> escreveu:
>
> De: piyush_pandey_011
> Assunto: [AVR club] Re: serial to usb communication
> Para: a...
> Data: Quarta-feira, 20 de Julho de 2011, 7:48
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>  
>
>
>
>
>
>
>
>
>
>
>
>
>
> --- In a..., STEVEN HOLDER wrote:
>
> >
>
> > Try the Atmel 90usb162, good little processor with a usb interface.
> > (Although there is no on board a/d functionality).
>
> >  
>
> > A dev board cab be found here http://www.olimex.com/dev/index.html.
>
> >  
>
> > And the USB firmware can be downloaded from the Atmel website.
>
> >  
>
> > Although i can recommend the USB framework from
> >  http://www.fourwalledcubicle.com/LUFA.php
>
> >  
>
> > Fairly quick to get up and running, and the drivers are the windows
> > system drivers, plenty of examples as well.
>
> >  
>
> > Regards
>
> >
>
> >
>
> > --- On Wed, 20/7/11, Luiz Cláudio Vieira wrote:
>
> >
>
> >
>
> > From: Luiz Cláudio Vieira
>
> > Subject: [AVR club] Re: serial to usb communication
>
> > To: a...
>
> > Date: Wednesday, 20 July, 2011, 2:36
>
> >
>
> >
>
> >  
>
> >
>
> >
>
> >
>
> > Have you decided for which AVR you are going to use? Most of them
> > already have USB-addressed implementations, and some ATMEL
> > Application Notes will surely give you directions (if not a
> > complete solution).
>
> >
>
> > Good luck!
>
> >
>
> > Eng. Luiz C. Vieira
>
> > If you do not know the one above, please disregard this e-mail.
>
> > Se não conhecer a pessoa acima, por favor desconsidere esse e-mail.
>
> >
>
> >
>
> >
>
> >
>
> >
>
> >
>
> >
>
> >
>
> >
>
>
>
> Hello
>
>
>
> ok I forgot to mention the avr which I want to use is the atmega 8
> for this purpose which do not support USB in it , and I have to
> accomplish this with the code and without using any microcontroller
> which has usb interface in it.
>
>
>
> Also I want don't want to use any available usb libraries for this
> purpose as I want to build it from scratch for the learning process
> that how the USB protocol works.
>
>
>
> Thank you
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>