Atmel website | ARM Community | AVR freaks | Technical Support
Banner
 FAQ •  Search •  Register •  Login 

All times are UTC + 1 hour [ DST ]




Post new topic Reply to topic  [ 10 posts ] 
Author Message
 Post subject: USB Device does not accept address
PostPosted: Wed May 31, 2006 12:48 am 
Offline

Joined: Wed May 31, 2006 12:35 am
Posts: 7
Location: Germany
Hello,
I try to program a at91SAM7x256 ( at91sam7x-ek) as a device having 1 BulkIN, 1 BulkOUT and INTIN (and EP0) and now.. at the very first beginning, this thing does not initialize correctly.
I've tried to strap down a CDC example from Atmel, but probably I've made a mistake.
I've tried to find a simple example (not HID or CDC), but I didn't find anything like a stupid In/Out communication. Can anybody help me with that..?

thanks in advance


Top
 Profile  
 
 Post subject:
PostPosted: Wed May 31, 2006 9:12 am 
Offline

Joined: Tue Mar 07, 2006 4:25 pm
Posts: 63
Hello,
you can take the basic-usb for the AT91SAM7S64 and transform it
for the SAM7X256. (minor change)
An other way is to go to www.at91.com and ask for the Mass Storage
Regards,
JCB


Top
 Profile  
 
 Post subject:
PostPosted: Wed May 31, 2006 9:30 am 
Offline

Joined: Wed May 31, 2006 12:35 am
Posts: 7
Location: Germany
Hello,
jcb wrote:
Hello,
you can take the basic-usb for the AT91SAM7S64 and transform it
for the SAM7X256. (minor change)
...... JCB

there is only 1 example for the SAM7S64 on my DVD. This is the CDC USB-2-COM interface.
My distributer told me on a recent DVD there have been more examples for USB programming.. but he dumped the old DVDs.. Great ehh? :o|
Do you know a source where I can download the old files?

Regards
R.


Top
 Profile  
 
 Post subject:
PostPosted: Wed May 31, 2006 9:40 am 
Offline

Joined: Tue Mar 07, 2006 4:25 pm
Posts: 63
Go to www.at91.com, then "KIT", "AT91SAM7S-EK", and you can find:
"This zip files embeds all related AT91SAM7S64 software projects for IAR Embedded Workbench Software Development Tools."
With "KIT" "AT91SAM7X-EK" you have others softwares, but not the basic-USB...
Regards,
JCB


Top
 Profile  
 
 Post subject:
PostPosted: Fri Jun 02, 2006 12:46 am 
Offline

Joined: Wed May 31, 2006 12:35 am
Posts: 7
Location: Germany
Hello,

ah... thx! I didn't calculate the correct length...
.. now it works..

regards
R.


Top
 Profile  
 
 Post subject:
PostPosted: Wed Jul 12, 2006 10:03 am 
Offline

Joined: Wed Jul 12, 2006 9:41 am
Posts: 2
Location: Germany
Hello,

i'm looking for an USB example for the AT91SAM7X-EK with an AT91SAM7XC256. You say the basic-usb for the AT91SAM7S64 just needs some minor changes to function properly. Could someone please tell me this minor changes? I would be very gratefull.

By default the AT91SAM7X-EK enumerates as a HID when connected to the PC. Then the Mouse cursor can be controlled with the little joystick. Does someone know where i can get the source code for this Programm?


Top
 Profile  
 
 Post subject:
PostPosted: Wed Jul 12, 2006 4:05 pm 
Offline

Joined: Tue Mar 07, 2006 4:25 pm
Posts: 63
Hello,
The main difference is the Pull-UP:
#define AT91C_PULLUP (AT91C_PIO_PB1)
#define AT91C_BASE_PULLUP (AT91C_BASE_PIOB)

For the HID software, I don't find the file for the AT91SAM7X, but you can find the file for the AT91SAM7S64 on www.at91.com
"kit", "SAM7S-EK", "software", in the "text file" you can find
the BASIC_MOUSE, then download the zip file.

I hope this help,
Regards,
JCB


Top
 Profile  
 
 Post subject:
PostPosted: Mon Jul 17, 2006 12:50 pm 
Offline

Joined: Wed Jul 12, 2006 9:41 am
Posts: 2
Location: Germany
I tried to get the USBMouse programm for the ..S64 running on the ..XC256 but it didn't work. The USBBasic Example isn't very helpfull either.
Besides I am trying to get the DBGU working, so I can see what's happening, but I cannot find an example for the DBGU. I tried to strip the CAN example (for the ..XC256) and just use the DBGU initialisation code, but there is no output on the debug port.


Top
 Profile  
 
 Post subject:
PostPosted: Tue Jul 18, 2006 4:20 am 
Offline

Joined: Thu Aug 25, 2005 10:16 pm
Posts: 53
h-Fire wrote:
I tried to get the USBMouse programm for the ..S64 running on the ..XC256 but it didn't work. The USBBasic Example isn't very helpfull either.
Besides I am trying to get the DBGU working, so I can see what's happening, but I cannot find an example for the DBGU. I tried to strip the CAN example (for the ..XC256) and just use the DBGU initialisation code, but there is no output on the debug port.


The BasicUSB example has functional interrupt-driven DBGU code.


Top
 Profile  
 
 Post subject: BAsic Mouse USB
PostPosted: Tue Aug 15, 2006 5:57 pm 
Offline

Joined: Thu Jan 12, 2006 11:29 pm
Posts: 11
Anybody is having the Basic Mouse USB example for AT91SAM7S64/256 for IAR...? It seems to be removed from the kits-> Software files. The zip file no more contains mouse example and the text file says 'Suppress' for mouse code. I am assuming that Suppress means removed.


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 10 posts ] 

All times are UTC + 1 hour [ DST ]


Who is online

Users browsing this forum: No registered users and 2 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
cron