Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Implementing serial device



Hi Rick,

We developed a CDC ACM driver for the Sun SPOT (www.sunspotworld.com)
that, after a degree of pain, will connect to Macs, PCs, and a variety
of Linux builds without the need for any special drivers on the host
(you need a compatible .inf file on Windows, but that's simple). We
use the connection for much the same jobs as you have in mind:
uploading software to the device and as a debug console. You don't
need to support *every* part of the CDC ACM standard to get it to
work.

My main bit of advice is this: don't even dream of doing this without
a USB bus analyzer. We started out without one but we wish we hadn't.

--John

====
Original message
From: Rick Mann <email@hidden>
Date: 13 December 2007
Time: 11:28:59 PM
Subject: Implementing serial device
----
Hi. I'm developing a flight display product on an Intel Xscale PXA320  
CPU. I try to do all my development from a Mac, but there are Windoze  
users on the team that must be supported as well.

We're using the PXA320's USB 2.0 device controller as a development  
communications port. We need to implement some kind of simple device,  
but I'm not sure what I should pursue.

If I understand things correctly, there is a serial port CDC device,  
that if implemented properly, would allow us to talk to the PXA as if  
it were a serial port on the Mac. More importantly, it would show up  
as a serial port automatically, without the need for any host-side  
drivers. Is this the case?

Alternatively, we can implement a CDC Ethernet device, and then use  
higher-level facilities like TFTP (for which we already have source).  
But this is likely much more difficult.

The connection will be used for uploading new firmware to the device  
(JTAG will be used to get the initial bootloader/USB firmware on  
board), and as a debugging console (standard I/O will redirect to the  
host via USB).

Does anyone have any advice or suggestions on what to pursue? I'm  
thinking the serial device would be the easiest thing, But I don't  
know where to start to find the standard I need to implement.

Thank you very much.

-- 
Rick

 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Usb mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/usb/email@hidden

This email sent to email@hidden

 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Usb mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/usb/email@hidden

This email sent to email@hidden

References: 
 >Implementing serial device (From: Rick Mann <email@hidden>)



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.