USB problem

OP #1173183
I'm trying to devellop on AT91SAM7SE-EK an USB application.
I tried to use the ATSAM7S64_basicUSB example that I found on
http://www.siwawi.arubi.uni-
kl.de/avr_projects/arm_projects/index_at91.html#at91_usb1
I modified the makefile to obtain the main.bin file to download on my
board. I build all the project and I used SAM-BA program to download the
file on the board, and its all OK.
But when I connect USB cable on my PC (with XP Professional), my PC
dosen't recognize the new connection and does nothing. I switch off and
switch on my board but nothing changes.

Then I download the AT91SAM7SEEK_CDC.bin file that I found on
application note AT91 USB Framework - Core 1.02 + CDC 1.00 for
AT91SAM7SE256 and finally, when I plug my USB on PC, my PC discover the
new hardware and ask me for the driver. After the installation the PC
sees a new COM port and the board transfers the data from USB to DBGUART
port (connected on another COM) and it's works correctly.

But, I prefer to start to devellop from the ATSAM7S64_basicUSB example.
Does anyone have good idea to make it works on AT91SAM7SE-EK? Thanks.
Moderator #1173184
Jacopo Charmet wrote:
> I'm trying to devellop on AT91SAM7SE-EK an USB application.
> I tried to use the ATSAM7S64_basicUSB example that I found on
> http://www.siwawi.arubi.uni-
> kl.de/avr_projects/arm_projects/index_at91.html#at91_usb1
> I modified the makefile to obtain the main.bin file to download on my
> board. I build all the project and I used SAM-BA program to download the
> file on the board, and its all OK.
> But when I connect USB cable on my PC (with XP Professional), my PC
> dosen't recognize the new connection and does nothing. I switch off and
> switch on my board but nothing changes.
>
> Then I download the AT91SAM7SEEK_CDC.bin file that I found on
> application note AT91 USB Framework - Core 1.02 + CDC 1.00 for
> AT91SAM7SE256 and finally, when I plug my USB on PC, my PC discover the
> new hardware and ask me for the driver. After the installation the PC
> sees a new COM port and the board transfers the data from USB to DBGUART
> port (connected on another COM) and it's works correctly.
>
> But, I prefer to start to devellop from the ATSAM7S64_basicUSB example.
> Does anyone have good idea to make it works on AT91SAM7SE-EK? Thanks.

I expect there are small differences between SAM7S and SAM7SE (I only
have boards with SAM7S64 and SAM7S256 here for tests). Since the
"basicUSB" example from my page is just a gcc-port of an older example
made by Atmel for the SAM7S64 you may ask Atmel (IRC
at91<at>atmel<dot>com) if they have a version of the example for the
SAM7SE too. Porting can be done using the SAM7S-port as template.
Although the basicUSB example may look easier to used I think the AT91
USB framework is now the prefered method to implement code for USB on
SAM7/9.
#1173185
I have a similar problem

I compile project in WinARM and try to load hex file to at91sam7s-ek
(with at91sam7s256). I want to do it by SAM-BA. When i connect PC with
board through RS-232 Cable DBGU it recognize the target, but whet I try
to connect by USB an error appears:

-F- No Device     (or something like that)


Can somebody help me?

Reply

A question of your own? This thread is over 18 years old. Ask it in a thread of its own – more people read along there, and it gets answered more often and sooner.

Start a new thread

A fix, an addition or feedback on this thread? Then reply here.

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.