I’m kind of a newbie, just got a brand new BBB.
I installed the FTDI driver that shipped with the BBB. Checked the Info.plist, file was patched. Rebooted computer, reconnected BBB USB, waited for BBB to boot, checked out "ls /dev/tty* " to see if I got a tty.usbserial in there somewhere. Nothing! I’m trying to use screen /dev/tty.usbserial*B 115200 so I have terminal access to the board. Can anyone help me?
Just a quick reply, the virtual serial connection is for a BB White. On BB Blach it’s an virtual Ethernet connection.
I let you search for that.
You could try this adress: http://192.168.7.2
There is no serial-over-USB on the BB-Black (that really was a nice feature of the BB-White!). Fortunately, the BBB has it’s serial console pins exposed on J1, here’s a bit more info:
Thank you very much for the info, it really helped me understand whats going on. It looks like it would be nice to have one of those FTDI-USB adapters.
I have another question now - what the difference between the TX/RX pins on J1 versus all of the serial pins on P8/P9? (P9-11 UART4_RXD, P9-13 UART4_TXD, etc…)
They just belong to different UARTs. The connections on J1 are wired up to UART0 which mapped to /dev/ttyO0 and used as the serial console. If you want to use the other UARTs (which are not enabled by default), then you first need to enable them by loading the appropriate device tree overlay. If you look in /lib/firmware, you’ll see a number of pre-prepared sample dtbo files for configuring different things. For example, if you want to load BB-UART5.dtbo to enable UART5 (P8 pins 37,38) you need to add the following to the kernel command line (in uEnv.txt in the mmcblk0p0 FAT/boot partition):
The reason for this is that the AM335x has many more functions than pins, so you need to do something called pinmuxing in which you enable the features you want by configuring the pins into the appropriate mode. It used to be that if the features you wanted were not available by default, you had to edit the platform file in the kernel sources and build your own kernel, now fortunately, you can do this with the device tree overlays (.dts files).
If you want to get into the details of serial ports, pinmuxing and device tree overlays, take a look here: