root@beaglebone:/# ls -l /dev/ttyO*
lrwxrwxrwx 1 root root 5 Feb 7 13:55 /dev/ttyO0 -> ttyS0
lrwxrwxrwx 1 root root 5 Feb 7 13:55 /dev/ttyO1 -> ttyS1
lrwxrwxrwx 1 root root 5 Feb 7 13:55 /dev/ttyO2 -> ttyS2
lrwxrwxrwx 1 root root 5 Feb 7 13:55 /dev/ttyO4 -> ttyS4
root@beaglebone:/# dmesg | grep tty
[ 0.000000] Kernel command line: console=tty0 console=ttyO0,115200n8 capemgr.enable_partno=BB-UART1,BB-UART2,BB-UART4, BB-UART5 root=/dev/mmcblk0p1 rootfstype=ext4 rootwait coherent_pool=1M quiet cape_universal=enable
[ 0.001090] console [tty0] enabled
[ 0.001109] WARNING: Your 'console=ttyO0' has been replaced by 'ttyS0'
[ 3.929029] 44e09000.serial: ttyS0 at MMIO 0x44e09000 (irq = 158, base_baud = 3000000) is a 8250
[ 3.941849] console [ttyS0] enabled
[ 22.142299] 48022000.serial: ttyS1 at MMIO 0x48022000 (irq = 189, base_baud = 3000000) is a 8250
[ 22.154538] 48024000.serial: ttyS2 at MMIO 0x48024000 (irq = 190, base_baud = 3000000) is a 8250
[ 22.165780] 481a8000.serial: ttyS4 at MMIO 0x481a8000 (irq = 191, base_baud = 3000000) is a 8250
--
For more options, visit http://beagleboard.org/discuss
---
You received this message because you are subscribed to the Google Groups "BeagleBoard" group.
To unsubscribe from this group and stop receiving emails from it, send an email to beagleboard...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/beagleboard/1ce0353f-713c-4fda-afd8-55ac2ca506c7%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
For testing I ordered the Waveshare RS485-CAN Cape.
Most tutorials using an older Debian version are using ttyOx to access the serial ports (old OMAP-driver?), but based on this output I have to use ttySx with the newer 8250 driver for my commands instead?
I tried to send/receive messages between the UARTs using minicom, screen and python scripts, but i can't see any messages at the receiving interface. Measuring the sending UARTs TX with an oscilloscope I also can't see any signals.
You can change /boot/uEnv.txt First of all enable UARTS:
cape_disable=bone_capemgr.disable_partno=BB-BONELT-HDMI,BB-BONELT-HDMIN
cape_enable=bone_capemgr.enable_partno=BB-UART1,BB-UART2,BB-UART4.BB-UART5
Then don't forget to configure pinmux with appropriate dtbo's:
###Overide capes with eeprom
uboot_overlay_addr0=/lib/firmware/BB-UART1-00A0.dtbo
uboot_overlay_addr1=/lib/firmware/BB-UART2-00A0.dtbo
uboot_overlay_addr2=/lib/firmware/BB-UART4-00A0.dtbo
uboot_overlay_addr3=/lib/firmware/BB-UART5-00A0.dtbo
config-pin P9.11 uart # switch P9.11 to uart 4 rxdconfig-pin P9.13 uart # switch P9.13 to uart 4 txd