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: Usb2Serial Driver for Mac OS X
PostPosted: Tue Aug 18, 2009 3:04 pm 
Offline

Joined: Fri Mar 13, 2009 1:25 pm
Posts: 5
Hello,

in the last days i was searching for a Mac OS driver for the usb to serial implementation of Atmel. In my project i used the cdc-serial device of the AT91 lib. But now i can not attach the device to my mac os.

Can anyone help me? Has anyone done this already?

Thanks.


Top
 Profile  
 
 Post subject: Re: Usb2Serial Driver for Mac OS X
PostPosted: Wed Aug 19, 2009 12:03 am 
Offline

Joined: Fri Mar 13, 2009 1:25 pm
Posts: 5
So after a few more research there are new facts and unfortunatally new problems.

I found out that mac should detect the usb cdc serial device automatically without the need of a driver. In my case this is not. I think the reason is the error that is shown in the log files:

kernel[0]: 0 0 AppleUSBCDCACMControl: getFunctionalDescriptors - Descriptors are incorrect, checking...
kernel[0]: AppleUSBCDCACMData: start: InterfaceMappings dictionary not found for this device. Assume CDC Device...
kernel[0]: 0 0 AppleUSBCDCACMData: start - Find CDC driver failed

To make sure that i have not made a mistake by editing the descriptor i flashed the original usb-serial-cdc bin file from the softpack. The result was the same!

But i found out: If Sam-Ba runs on the device the descriptor is ok, and the device is detected.


So there is a problem in the descriptor of the usb serial cdc example, that windows can handle but mac not.

Has anyone had the same problem?
Does anyone know how to find the error in the descriptor?

Thanks.


Top
 Profile  
 
 Post subject: Re: Usb2Serial Driver for Mac OS X
PostPosted: Wed Oct 14, 2009 9:33 pm 
Offline

Joined: Mon Apr 18, 2005 12:36 pm
Posts: 2
Location: Sweden
I am not shure that I am experiancing the exact same problem as Stefan but I am also trying to get the CDC to work on OS X. I am currently running OS X version 10.5.8. I am using the CDC implementation used in the FreeRTOS example and I beleive it is based on the Atmel at91 lib.

I have tried to comunicate with the device using cutecom but with no sucsess.

The following is my log messages:
kernel[0]: AppleUSBCDCACMData: start: InterfaceMappings dictionary not found for this device. Assume CDC Device...
kernel[0]: AppleUSBCDC::createSerialStream NON WAN CDC Device
kernel[0]: AppleUSBCDC::createSerialStream using default naming and suffix...
kernel[0]: AppleUSBCDCACMData: Version number - 3.2.13, Input buffers 8, Output buffers 16

Can someone please help me interpret the log mesages?

Thanks,
/Lars


Top
 Profile  
 
 Post subject: Re: Usb2Serial Driver for Mac OS X
PostPosted: Tue Nov 10, 2009 1:57 am 
Offline

Joined: Tue Nov 10, 2009 1:49 am
Posts: 1
Same problem here. I really think this involves a broken driver (Apple?), or an incorrect device hookup (Atmel?). The current at91lib just carries an incompatible USB-descriptor for MAC OS X 10.5.8

Code:
kernel[0]: 0        0 AppleUSBCDCACMControl: getFunctionalDescriptors - Descriptors are incorrect, checking...
kernel[0]: AppleUSBCDCACMData: start: InterfaceMappings dictionary not found for this device. Assume CDC Device...
kernel[0]: 0        0 AppleUSBCDCACMData: start - Find CDC driver failed


Anyone an idea how to proceed from here?


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: 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: