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  [ 2 posts ] 
Author Message
 Post subject: SAM-BA problems on Ubuntu 9.10
PostPosted: Sat Feb 13, 2010 11:32 am 
Offline

Joined: Fri Feb 12, 2010 11:45 pm
Posts: 4
Hello Forum,

My first post on the AT91SAM community forum!

I have a problem that I would appreciate some help with. I am trying to connect to an AT91SAM-7X using SAM-BA running on Ubuntu 9.10 Karmic Koala (2.6.31-19-generic).

The version of SAM-BA I using is: sam-ba_cdc_2.9.linux_cdc_linux obtained from http://www.atmel.com/dyn/resources/prod ... _linux.zip

I followed the instructions given in the README.linux paying careful attention to removing and then loading the appropriate usbserial module.

The problem I see is that when I try load the Atmel usbserial module it does not either load or is not the correct version. I came to this conclusion because the usbserial module is unable to enumerate my SAM7 board.

Here is an extract of the bash session demonstrating what happens:

t7@t7-desktop:~$ lsmod | grep usbserial

[Nothing seen so assume usbserial is not loaded]

t7@t7-desktop:~$ sudo modprobe usbserial vendor=0x03eb product=0x6124
[sudo] password for t7:

t7@t7-desktop:~$ sudo lsusb -d 03eb:6124

[No output seen on my linux box. I would expect to see something like]:

Bus 004 Device 006: ID 03eb:6124 Atmel Corp

NOTE: The above line is cut and paste from the README.linux and is not
seen on my machine.



Here is the relevant dmesg output before and after connecting the
board to my USB port.

Dmesg before I connect SAM7 board:
[ 3689.991479] usbcore: registered new interface driver usbserial
[ 3689.991535] USB Serial support registered for generic
[ 3689.991603] usbcore: registered new interface driver usbserial_generic
[ 3689.991611] usbserial: USB Serial Driver core

Dmesg output after I connect the SAM7 board:
[ 3745.152062] usb 3-1: new full speed USB device using uhci_hcd and address 6
[ 3745.276039] usb 3-1: device descriptor read/64, error -71
[ 3745.504035] usb 3-1: device descriptor read/64, error -71
[ 3745.720102] usb 3-1: new full speed USB device using uhci_hcd and address 7
[ 3745.844046] usb 3-1: device descriptor read/64, error -71
[ 3746.128035] usb 3-1: device descriptor read/64, error -71
[ 3746.344058] usb 3-1: new full speed USB device using uhci_hcd and address 8
[ 3746.760036] usb 3-1: device not accepting address 8, error -71
[ 3746.872050] usb 3-1: new full speed USB device using uhci_hcd and address 9
[ 3747.288035] usb 3-1: device not accepting address 9, error -71
[ 3747.288075] hub 3-0:1.0: unable to enumerate USB device on port 1

Now I did see in the Ubuntu forums that the usbserial module is now built in to the kernel from I believe 8.04, but this raised a whole bunch of bug reports from people using 3G modems. Can anyone shed any light on how to work around this?

Thank you in advance,

Neil.


Top
 Profile  
 
 Post subject: Re: SAM-BA problems on Ubuntu 9.10
PostPosted: Mon Feb 15, 2010 1:50 pm 
Offline

Joined: Fri Feb 12, 2010 11:45 pm
Posts: 4
Well if anyone's interested I found the solution to this problem. It was a bad case of not RTFM. I did not enable the SAM-BA copying process. This done it all connects now. Apologies to the people at Ubuntu for blaming them for my incompetence.


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

All times are UTC + 1 hour [ DST ]


Who is online

Users browsing this forum: No registered users and 19 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: