Serial console not working
-
I have a recent Omega2+ running b160.
I'm connecting to the micro-usb port to my Mac running 10.11.6.
I installed the Silicon Labs CP2102 package, but I don't ever see anything in /dev/tty that resembles the name in the instructions.
Can anyone suggest what might fix the issue?
Thank you.
-
@Matt-Gessner "micro-usb port" so you have got a Dock too. Please let us know which one.
-
Somewhere in your arrangement, there has to be a USB-serial dongle (or chip if that's in a specific dock that has it),
such that Omega2's UART (Rx/Tx pins) will go thru that chip to talk to your Mac's USB port.It's not just load the software CP2102 device driver then the actual physical device: CP2102 (which is a USB to serial interface IC) will show up from the thin air...
BTW, that CP2102 driver needs to be installed on the Mac side.
-
Hi, and thanks for your responses.
I have an expansion dock. I'm connecting the u-USB port on the expansion dock to my Mac.
I'm not using the UART pins on the dock.
Regards,
Matt
-
Connection should look like this picture: https://raw.githubusercontent.com/OnionIoT/Onion-Docs/master/Omega2/Documentation/Get-Started/img/unbox-5-omega-switched-on.jpg
The USB-serial IC CP2102's driver for MAC should be here:
https://www.silabs.com/products/development-tools/software/usb-to-uart-bridge-vcp-drivers
-
@ccs-hello Thanks.
This is the same setup I have.
I re-installed the driver from the link you posted, and it still doesn't work. I powered down the Omega2+, disconnected the cable, connected the cable, powered up, and waited until the system was up and running. I still don't have a /dev/tty.* file that goes with that device.
Also, I've tried different USB cables.
Perhaps something is defective.
Regards,
Matt
-
I've seen instances where one had to reboot to see the device. You've already rebooted your macbook? Is there a system control panel that lists all connected USB devices in Mac OS somewhere? (Not a Mac user myself) Can you show is what it says there?
-
Well, on the THIRD micro USB cable, I finally have /dev/tty.SLAB_USBtoUART. I haven't rebooted the Mac as it turns out not to be necessary. I'm really surprised it was the cables. They work for other devices.
Thanks to all who replied.
Regards,
Matt
-
May be several reasons:
-
very cheap USB cables do not have the signal leads D+ and d-) thus not suitable for data communication purpose
-
Omage2 is very power demanding. Poor/insufficient power supply/not enough regulation/thin and too long power cable (from that micro USB cable), all causes Omega2+dock not be able to fulfill its job. <-- POWER ISSUES have caused so many heart burns in this forum
ccs_hello
-