Enable UART2 On BeagleBone Black for RS232 Cape
- Use this script to ensure UART2 is enabled in the device tree: https://github.com/victorporof/BeagleBone-SPI-UART
- Enable ttyO1 it in the firmware using this guide (makes the device appear): http://www.element14.com/community/blogs/mirandasoft/2013/07/30/beaglebone-black-rapid-activation-of-ttyo1-ttyo2-ttyo4-and-ttyo5
- Put a paperclip into the RS232 port like in the picture on this page: http://sensorsblog.com/serial-communications/rs232loopbacktest/
- echo hello > /dev/ttyO1
- cat /dev/ttyO1