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  [ 4 posts ] 
Author Message
 Post subject: USB driver does not work
PostPosted: Sun Sep 20, 2009 10:41 pm 
Offline

Joined: Sun Sep 20, 2009 9:38 pm
Posts: 11
I have a custom made AT91SAM7256 board. The USB works fine with SAM-BA. This implies that the hardware is OK. the USb works according to the specification and also as ROM code expects.

However, when I try to run usb-device-cdc-serial demo it does not work. The UDP always get Suspend interrupt and I can never enumerate the device. I have tried to use the external pull-up but nothing happens. I also tried not usie the Pull-up and again nothing happens.

can anybody help me ?

It would be fine if somebidy send me the pice of code of the SAM-BA rom code.


Top
 Profile  
 
 Post subject: Re: USB driver does not work
PostPosted: Fri Sep 25, 2009 5:30 pm 
Offline

Joined: Thu Mar 02, 2006 1:32 pm
Posts: 127
Location: Switzerland
Hi

Check out the uTasker project. This included USB CDC operation as described here:
http://www.utasker.com/docs/uTasker/USB_User_Guide.PDF
Code for SAM7X boards can be loaded from here: http://www.utasker.com/software/software.html - follow guide: http://www.utasker.com/docs/uTasker/uTaskerV1.3_USB_Demo.PDF

Regards

Mark

http://www.uTasker.com


Top
 Profile  
 
 Post subject: Re: USB driver does not work
PostPosted: Tue Sep 29, 2009 1:47 pm 
Offline

Joined: Sun Sep 20, 2009 9:38 pm
Posts: 11
Thanks but I don´t want to use any OS.


Top
 Profile  
 
 Post subject: Re: USB driver does not work
PostPosted: Wed Sep 30, 2009 2:15 pm 
Offline

Joined: Sun Sep 20, 2009 9:38 pm
Posts: 11
I solvwe hee probelm. The Pull up was ibnverted and I had to clear the register, wait 500ms and set the Pull up again.


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

All times are UTC + 1 hour [ DST ]


Who is online

Users browsing this forum: Bing [Bot] and 3 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: