EmbDev.net

Forum: ARM programming with GCC/GNU tools AT91SAM7S USB Example


Author: Thomas (Guest)
Posted on:

Rate this post
0 useful
not useful
Hello

I looked at the example above and thought it might be useful for my
project. I want to use the USB as a substitue of the UART/COM.

Instead of connecting the SAM7S-USART to the PC the USB will connect to
the PC and behave like a Serial. However, the application on the SAM7 is
currently using the USART. Now, everything should be diverted to the
USB. On the side of the PC the USB should behave like a COM substitute.

WHAT I TRiED SO FAR
I looked at the example, but I don't get a clue what I have to do. I
compiled and loaded the given example application onto the EVB. I tried
to copy some inf/dll ontothe PC. But no success. The PC does not show a
COM. The EVB does not run with the program.

(1) Can you help me to get the example prog running plus PC
installation.
(2) Alter the example program that I can use it as a simple Serial

Thanks indeed

Author: Martin Thomas (Guest)
Posted on:

Rate this post
0 useful
not useful
Thomas wrote:

> I looked at the example, but I don't get a clue what I have to do. I
> compiled and loaded the given example application onto the EVB. I tried
> to copy some inf/dll ontothe PC. But no success. The PC does not show a
> COM. The EVB does not run with the program.

There is an inf-file for "usbser" included in the archive. When the
board is plugged in Windows should detect a new USB-Hardware, manualy
select the PC exec/inf_ser_WinARM (based on an inf-file found in
FreeRTOS.

> (1) Can you help me to get the example prog running plus PC
> installation.

The detection of the device and the "serial-emulation"  worked for me
the last time I have tested it. Can you give more details?

> (2) Alter the example program that I can use it as a simple Serial

The example should demonstrate this already as far as I remember.

Martin Thomas

Author: Martin Thomas (Guest)
Posted on:

Rate this post
0 useful
not useful
A forgot to mention: FreeRTOS comes with an example-appliaction
AT91+"serial port emulation"

Author: Hamide Mahan (hamide)
Posted on:

Rate this post
0 useful
not useful
Hi
I am working on project that  i want to send data from at91sam7s64 to 
pc. i should send data over usb of at91 to usb of pc.is there any driver 
on pc to do this and do you have any source code for this?

Reply

Entering an e-mail address is optional. If you want to receive reply notifications by e-mail, please log in.

Rules — please read before posting

  • Post long source code as attachment, not in the text
  • Posting advertisements is forbidden.

Formatting options

  • [c]C code[/c]
  • [avrasm]AVR assembler code[/avrasm]
  • [code]code in other languages, ASCII drawings[/code]
  • [math]formula (LaTeX syntax)[/math]




Bild automatisch verkleinern, falls nötig
Note: the original post is older than 6 months. Please don't ask any new questions in this thread, but start a new one.