EmbDev.net

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


von Thomas (Guest)


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

von Martin Thomas (Guest)


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

von Martin Thomas (Guest)


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

von Hamide M. (hamide)


Rate this post
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?

Please log in before posting. Registration is free and takes only a minute.
Existing account
Do you have a Google/GoogleMail account? No registration required!
Log in with Google account
No account? Register here.