USB to TTL Serial Console Cable Help

Talk about Adafruit Raspberry Pi® accessories!

Moderators: adafruit_support_bill, adafruit

Forum rules
Talk about Adafruit Raspberry Pi® accessories! Please do not ask for Linux support, this is for Adafruit products only! For Raspberry Pi help please visit: http://www.raspberrypi.org/phpBB3/

USB to TTL Serial Console Cable Help

Postby gdahilig » Wed Jan 16, 2013 2:12 am

I'm trying to connect the TTL Serial Console Cable to my Raspberry Pi, but am having some difficulty.

First off, if my questions/post is out of bounds/scope of this forum, a friendly link to where I should be would be greatly appreciated.

I have a 512mb Raspberry Pi and am trying to connect it with the cable to a MacBook Air 11" running OSX 10.8.2. Following the adaruit tutorial (Raspberry Pi - Lesson 5) I was able to download Zoc and install the osx drivers. I run afoul at the "Test and Configure" step. The com port scan does *not* list the USB Console adapter. I only see two entries: /dev/cu.Bluetooth-PDA-Sync and /dev/cu.Bluetooth-Modem. Neither look right.

Back tracking, I verified that all the wires are connected to the correct GPIO pins. I also rebooted the mac to and I even tried rebooting the Pi just in case. No Joy. I even pulled out USB Prober utility on the mac and it "appears" to see the console cable. I can see in the USB Prober, Bus Probe tab, that the usb entry appear and disappear when I plug in and remove the cable. But, honestly, I don't know much about the USB Prober. It display some information that might be useful, but I can't make any sense of it. Below is the USB Prober entry that appears as soon as I plug in the console cable:
Full Speed device @ 7 (0x24113000): ............................................. Composite device: "USB-Serial Controller"
Port Information: 0x0018
Number Of Endpoints (includes EP0):
Total Endpoints for Configuration 1 (current): 4
Device Descriptor
Descriptor Version Number: 0x0110
Device Class: 0 (Composite)
Device Subclass: 0
Device Protocol: 0
Device MaxPacketSize: 64
Device VendorID/ProductID: 0x067B/0x2303 (Prolific Technology, Inc.)
Device Version Number: 0x0300
Number of Configurations: 1
Manufacturer String: 1 "Prolific Technology Inc."
Product String: 2 "USB-Serial Controller"
Serial Number String: 0 (none)
Configuration Descriptor (current config)
Length (and contents): 39
Number of Interfaces: 1
Configuration Value: 1
Attributes: 0x80 (bus-powered)
MaxPower: 100 ma
Interface #0 - Vendor-specific


Attached are images of the Zoc Serial Port Scan and the USB Prober screen.

Any suggestion on how to get the console cable to show up in Zoc's com-port scan?

Gene
Attachments
Screen Shot 2013-01-15 at 11.10.30 PM.png
Screen shot of Zoc Serial Port Scan
Screen Shot 2013-01-15 at 11.10.30 PM.png (135.96 KiB) Viewed 489 times
Screen Shot 2013-01-15 at 11.06.43 PM.png
Screen shot of USB Prober
Screen Shot 2013-01-15 at 11.06.43 PM.png (94.47 KiB) Viewed 489 times
gdahilig
 
Posts: 11
Joined: Tue Jan 03, 2012 2:07 am

Re: USB to TTL Serial Console Cable Help

Postby gdahilig » Wed Jan 16, 2013 2:16 am

Sorry, the Zoc image shows Baud rate at 38400, but the same error occurs when I enter 115200, per the tutorial instructions.

gene
gdahilig
 
Posts: 11
Joined: Tue Jan 03, 2012 2:07 am

Re: USB to TTL Serial Console Cable Help

Postby adafruit_support_rick » Wed Jan 16, 2013 10:06 am

What does Zoc show under Serial/Modem?

If it's not there, open a Terminal window, and type
Code: Select all
ls /dev

Look in the resulting list for things starting with "tty." You should see tty.Bluetooth-Modem and tty.Bluetooth-PDA-Sync. Is there anything else like that listed? For example, I have an FTDI USB-Serial cable that shows up as tty.usbserial-FTF0Q8XG. My Uno shows up as tty.usbmodem3a21.

Long shot: You wouldn't happen to have Parallels running, would you? If so, see if the cable is attached to Parallels instead of MacOS.
User avatar
adafruit_support_rick
 
Posts: 2878
Joined: Tue Mar 15, 2011 10:42 am
Location: Buffalo, NY

Re: USB to TTL Serial Console Cable Help

Postby gdahilig » Thu Jan 17, 2013 6:47 pm

driverblock,

What does Zoc show under Serial/Modem?

Serial/Modem shows the same exact list as Seiral/Direct.

Long shot: You wouldn't happen to have Parallels running, would you? If so, see if the cable is attached to Parallels instead of MacOS

Nope, no Parallels running.

ls /dev

Hopefully, I'll get to my desk tonight and try it.

Thanks!
gene
gdahilig
 
Posts: 11
Joined: Tue Jan 03, 2012 2:07 am

Re: USB to TTL Serial Console Cable Help

Postby gdahilig » Fri Jan 18, 2013 12:36 am

driverblock,

Here's what the ls /dev returns:

Code: Select all
pi@raspberrypi ~ $ ls /dev
autofs           loop5               ram14    tty11  tty32  tty53      vc-mem
block            loop6               ram15    tty12  tty33  tty54      vcs
btrfs-control    loop7               ram2     tty13  tty34  tty55      vcs1
bus              loop-control        ram3     tty14  tty35  tty56      vcs2
cachefiles       MAKEDEV             ram4     tty15  tty36  tty57      vcs3
char             mapper              ram5     tty16  tty37  tty58      vcs4
console          mem                 ram6     tty17  tty38  tty59      vcs5
cpu_dma_latency  mmcblk0             ram7     tty18  tty39  tty6       vcs6
disk             mmcblk0p1           ram8     tty19  tty4   tty60      vcsa
fb0              mmcblk0p2           ram9     tty2   tty40  tty61      vcsa1
fd               net                 random   tty20  tty41  tty62      vcsa2
full             network_latency     raw      tty21  tty42  tty63      vcsa3
fuse             network_throughput  root     tty22  tty43  tty7       vcsa4
i2c-0            null                shm      tty23  tty44  tty8       vcsa5
i2c-1            ppp                 snd      tty24  tty45  tty9       vcsa6
input            ptmx                sndstat  tty25  tty46  ttyAMA0    xconsole
kmsg             pts                 stderr   tty26  tty47  ttyprintk  zero
log              ram0                stdin    tty27  tty48  uinput
loop0            ram1                stdout   tty28  tty49  urandom
loop1            ram10               tty      tty29  tty5   usbdev1.1
loop2            ram11               tty0     tty3   tty50  usbdev1.2
loop3            ram12               tty1     tty30  tty51  usbdev1.3
loop4            ram13               tty10    tty31  tty52  vchiq



Anything useful there?

gene
gdahilig
 
Posts: 11
Joined: Tue Jan 03, 2012 2:07 am

Re: USB to TTL Serial Console Cable Help

Postby adafruit_support_rick » Fri Jan 18, 2013 11:07 am

That looks like the /dev listing from your raspberry pi. We want to look at the /dev directory on your Mac.
User avatar
adafruit_support_rick
 
Posts: 2878
Joined: Tue Mar 15, 2011 10:42 am
Location: Buffalo, NY

Re: USB to TTL Serial Console Cable Help

Postby gdahilig » Sat Jan 19, 2013 12:20 am

Doh! :mrgreen:

Let me try that again:

Code: Select all
Genos-MacBook-Air-1072:~ geno$ ls /dev
afsc_type5      ptyra         ptywa         ttys9
auditpipe      ptyrb         ptywb         ttysa
auditsessions      ptyrc         ptywc         ttysb
autofs         ptyrd         ptywd         ttysc
autofs_control      ptyre         ptywe         ttysd
autofs_homedirmounter   ptyrf         ptywf         ttyse
autofs_notrigger   ptys0         random         ttysf
autofs_nowait      ptys1         rdisk0         ttyt0
bpf0         ptys2         rdisk0s1      ttyt1
bpf1         ptys3         rdisk0s2      ttyt2
bpf2         ptys4         rdisk0s3      ttyt3
bpf3         ptys5         rdisk1         ttyt4
bpf4         ptys6         rdisk1s1      ttyt5
console         ptys7         sdt         ttyt6
cu.Bluetooth-Modem   ptys8         stderr         ttyt7
cu.Bluetooth-PDA-Sync   ptys9         stdin         ttyt8
disk0         ptysa         stdout         ttyt9
disk0s1         ptysb         systrace      ttyta
disk0s2         ptysc         tty         ttytb
disk0s3         ptysd         tty.Bluetooth-Modem   ttytc
disk1         ptyse         tty.Bluetooth-PDA-Sync   ttytd
disk1s1         ptysf         ttyp0         ttyte
dtrace         ptyt0         ttyp1         ttytf
dtracehelper      ptyt1         ttyp2         ttyu0
fbt         ptyt2         ttyp3         ttyu1
fd         ptyt3         ttyp4         ttyu2
fsevents      ptyt4         ttyp5         ttyu3
io8log         ptyt5         ttyp6         ttyu4
io8logmt      ptyt6         ttyp7         ttyu5
klog         ptyt7         ttyp8         ttyu6
lockstat      ptyt8         ttyp9         ttyu7
machtrace      ptyt9         ttypa         ttyu8
null         ptyta         ttypb         ttyu9
pf         ptytb         ttypc         ttyua
pfm         ptytc         ttypd         ttyub
pmCPU         ptytd         ttype         ttyuc
profile         ptyte         ttypf         ttyud
ptmx         ptytf         ttyq0         ttyue
ptyp0         ptyu0         ttyq1         ttyuf
ptyp1         ptyu1         ttyq2         ttyv0
ptyp2         ptyu2         ttyq3         ttyv1
ptyp3         ptyu3         ttyq4         ttyv2
ptyp4         ptyu4         ttyq5         ttyv3
ptyp5         ptyu5         ttyq6         ttyv4
ptyp6         ptyu6         ttyq7         ttyv5
ptyp7         ptyu7         ttyq8         ttyv6
ptyp8         ptyu8         ttyq9         ttyv7
ptyp9         ptyu9         ttyqa         ttyv8
ptypa         ptyua         ttyqb         ttyv9
ptypb         ptyub         ttyqc         ttyva
ptypc         ptyuc         ttyqd         ttyvb
ptypd         ptyud         ttyqe         ttyvc
ptype         ptyue         ttyqf         ttyvd
ptypf         ptyuf         ttyr0         ttyve
ptyq0         ptyv0         ttyr1         ttyvf
ptyq1         ptyv1         ttyr2         ttyw0
ptyq2         ptyv2         ttyr3         ttyw1
ptyq3         ptyv3         ttyr4         ttyw2
ptyq4         ptyv4         ttyr5         ttyw3
ptyq5         ptyv5         ttyr6         ttyw4
ptyq6         ptyv6         ttyr7         ttyw5
ptyq7         ptyv7         ttyr8         ttyw6
ptyq8         ptyv8         ttyr9         ttyw7
ptyq9         ptyv9         ttyra         ttyw8
ptyqa         ptyva         ttyrb         ttyw9
ptyqb         ptyvb         ttyrc         ttywa
ptyqc         ptyvc         ttyrd         ttywb
ptyqd         ptyvd         ttyre         ttywc
ptyqe         ptyve         ttyrf         ttywd
ptyqf         ptyvf         ttys0         ttywe
ptyr0         ptyw0         ttys000         ttywf
ptyr1         ptyw1         ttys001         urandom
ptyr2         ptyw2         ttys1         vboxdrv
ptyr3         ptyw3         ttys2         vboxnetctl
ptyr4         ptyw4         ttys3         vn0
ptyr5         ptyw5         ttys4         vn1
ptyr6         ptyw6         ttys5         vn2
ptyr7         ptyw7         ttys6         vn3
ptyr8         ptyw8         ttys7         zero
ptyr9         ptyw9         ttys8


gene
gdahilig
 
Posts: 11
Joined: Tue Jan 03, 2012 2:07 am

Re: USB to TTL Serial Console Cable Help

Postby adafruit_support_rick » Sat Jan 19, 2013 12:32 am

Not there. But the mac is seeing it. Try installing the drivers again. You've got a Prolific chip in the cable. Make sure you're installing a Prolific driver and not an FTDI driver.
User avatar
adafruit_support_rick
 
Posts: 2878
Joined: Tue Mar 15, 2011 10:42 am
Location: Buffalo, NY

Re: USB to TTL Serial Console Cable Help

Postby gdahilig » Sat Jan 19, 2013 1:10 am

driverblock,

Ah! Progress! I went back to the tutorial to re-download the drivers (http://sourceforge.net/projects/osx-pl2303). Reading the description on that sourceforge page, I see a note stating that the author is having problems compiling for OSX Lion (10.7). Although I'm running Mountain Lion (10.8), I figure maybe that would get me further. I d/l and install and sure enough, my port scan now has an additional item: "/dev.cu.PL2303-00301124"! Progress!

Here's my latest ls/dev from my MBA:
Code: Select all
Last login: Fri Jan 18 21:52:38 on ttys000
Genos-MacBook-Air-1072:~ geno$ ls /dev
afsc_type5      ptyqa         ptyub         ttypc         ttytb
auditpipe      ptyqb         ptyuc         ttypd         ttytc
auditsessions      ptyqc         ptyud         ttype         ttytd
autofs         ptyqd         ptyue         ttypf         ttyte
autofs_control      ptyqe         ptyuf         ttyq0         ttytf
autofs_homedirmounter   ptyqf         ptyv0         ttyq1         ttyu0
autofs_notrigger   ptyr0         ptyv1         ttyq2         ttyu1
autofs_nowait      ptyr1         ptyv2         ttyq3         ttyu2
bpf0         ptyr2         ptyv3         ttyq4         ttyu3
bpf1         ptyr3         ptyv4         ttyq5         ttyu4
bpf2         ptyr4         ptyv5         ttyq6         ttyu5
bpf3         ptyr5         ptyv6         ttyq7         ttyu6
bpf4         ptyr6         ptyv7         ttyq8         ttyu7
console         ptyr7         ptyv8         ttyq9         ttyu8
cu.Bluetooth-Modem   ptyr8         ptyv9         ttyqa         ttyu9
cu.Bluetooth-PDA-Sync   ptyr9         ptyva         ttyqb         ttyua
cu.PL2303-00301124   ptyra         ptyvb         ttyqc         ttyub
disk0         ptyrb         ptyvc         ttyqd         ttyuc
disk0s1         ptyrc         ptyvd         ttyqe         ttyud
disk0s2         ptyrd         ptyve         ttyqf         ttyue
disk0s3         ptyre         ptyvf         ttyr0         ttyuf
disk1         ptyrf         ptyw0         ttyr1         ttyv0
disk1s1         ptys0         ptyw1         ttyr2         ttyv1
dtrace         ptys1         ptyw2         ttyr3         ttyv2
dtracehelper      ptys2         ptyw3         ttyr4         ttyv3
fbt         ptys3         ptyw4         ttyr5         ttyv4
fd         ptys4         ptyw5         ttyr6         ttyv5
fsevents      ptys5         ptyw6         ttyr7         ttyv6
io8log         ptys6         ptyw7         ttyr8         ttyv7
io8logmt      ptys7         ptyw8         ttyr9         ttyv8
klog         ptys8         ptyw9         ttyra         ttyv9
lockstat      ptys9         ptywa         ttyrb         ttyva
machtrace      ptysa         ptywb         ttyrc         ttyvb
null         ptysb         ptywc         ttyrd         ttyvc
pf         ptysc         ptywd         ttyre         ttyvd
pfm         ptysd         ptywe         ttyrf         ttyve
pmCPU         ptyse         ptywf         ttys0         ttyvf
profile         ptysf         random         ttys000         ttyw0
ptmx         ptyt0         rdisk0         ttys001         ttyw1
ptyp0         ptyt1         rdisk0s1      ttys1         ttyw2
ptyp1         ptyt2         rdisk0s2      ttys2         ttyw3
ptyp2         ptyt3         rdisk0s3      ttys3         ttyw4
ptyp3         ptyt4         rdisk1         ttys4         ttyw5
ptyp4         ptyt5         rdisk1s1      ttys5         ttyw6
ptyp5         ptyt6         sdt         ttys6         ttyw7
ptyp6         ptyt7         stderr         ttys7         ttyw8
ptyp7         ptyt8         stdin         ttys8         ttyw9
ptyp8         ptyt9         stdout         ttys9         ttywa
ptyp9         ptyta         systrace      ttysa         ttywb
ptypa         ptytb         tty         ttysb         ttywc
ptypb         ptytc         tty.Bluetooth-Modem   ttysc         ttywd
ptypc         ptytd         tty.Bluetooth-PDA-Sync   ttysd         ttywe
ptypd         ptyte         tty.PL2303-00301124   ttyse         ttywf
ptype         ptytf         ttyp0         ttysf         urandom
ptypf         ptyu0         ttyp1         ttyt0         vboxdrv
ptyq0         ptyu1         ttyp2         ttyt1         vboxnetctl
ptyq1         ptyu2         ttyp3         ttyt2         vn0
ptyq2         ptyu3         ttyp4         ttyt3         vn1
ptyq3         ptyu4         ttyp5         ttyt4         vn2
ptyq4         ptyu5         ttyp6         ttyt5         vn3
ptyq5         ptyu6         ttyp7         ttyt6         zero
ptyq6         ptyu7         ttyp8         ttyt7
ptyq7         ptyu8         ttyp9         ttyt8
ptyq8         ptyu9         ttypa         ttyt9
ptyq9         ptyua         ttypb         ttyta


I see the entry: tty.PL2303-00301124.

Now, Zoc doesn't seem to be connecting correctly, but it may be pilot error. I need to go back and look at the tutorial for something I might have missed. I'll report back my continuing results.

Thanks driverblock! your help is much appreciated!

gene
gdahilig
 
Posts: 11
Joined: Tue Jan 03, 2012 2:07 am


Return to Adafruit Raspberry Pi® accessories

Who is online

Users browsing this forum: No registered users and 3 guests

Stuff to buy from the Adafruit store and links to product documentation!


New Products [102]

Raspberry Pi[80]
 
FLORA[23]
 
Bunnie Studios[9]
 
FPGA[1]
 
mbed[11]
Arduino[60]
 
NETduino[14]
 
BeagleBone[24]
 
Android[6]
 
XBee[10]
More Dev Boards[30]


 
BoArduino[8]
 
SpokePOV[4]
 
TV-B-Gone[4]
 
MiniPOV[3]
 
SIM reader[3]
 
Microtouch[5]
 
Clocks & Watches[18]
 
Drawdio[4]
 
Brain Machine[1]
 
Game of Life[2]
 
MintyBoost[2]
More DIY Kits[16]


 
MaKey MaKey[3]
 
Tweet-a-Watt[5]
 
Young Engineers[33]
 
Discover Electronics[2]
 
Snap Circuits[4]
 
littleBits[3]
 
Project packs[8]


 
Breakout Boards[33]
LCDs & Displays[48]
Components & Parts[69]
Batteries & Power[49]
EL Wire/Tape/Panel[52]
LEDs[108]
 
Wireless[14]
Cables[60]
 
Lasers[6]
Sensors/Parts[145]
 
Enclosures/Cases[11]
 
Solar[11]
 
RFID / NFC[13]
Prototyping[69]
 
iDevices[13]
Tools[71]
 
Wearables[39]
 
CNC[37]
 
Robotics[29]
 
3D printing[1]
 
Materials[24]


 
Stickers[41]
 
Skill badges[55]
 
Books[25]
 
Circuit Playground[7]
 
Gift Certificates[4]