AT91SAM7S USB Example

Guest #1171768
Rate this post
• ▲ 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
Guest #1171769
Rate this post
• ▲ 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

Reply

Note: the original post is older than 6 months. Please don't ask any new questions in this thread, but start a new one.

Formatting
  • [c]C-Code[/c]
  • [code]code in other languages, ASCII drawings[/code]
  • [math]formula (LaTeX syntax)[/math]
  • [[Title]] – link to an article
  • Link to another post: right-click its post ID (#8078628), copy the address, paste it into the text

More about formatting

Post long source code as an attachment, not in the text.

Already registered? Log in

Not shown to anyone. We send you a link; your post appears once you confirm it there.

By submitting you create a free account and accept the terms of use.