http://elinux.org/Beagleboard:Capes_3.8_to_3.14#Custom_dtb
The pins aren't mixed to the peripheral.
Example enable this
https://github.com/RobertCNelson/dtb-rebuilder/blob/3.14-ti/src/arm/am335x-boneblack.dts#L78
And run...
make ; sudo make install ; sudo reboot
--
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.
For more options, visit https://groups.google.com/d/optout.
Ok Sorry, I am trying to send characters out the UART2 on a BBB Rev C using HTML Javascript SEE program below: This worked before and stopped working, not sure why. Be patient with my I am a newbie a month or so into learning HTML. Javascript, linux, beaglebone, but only working on it part time outside of my regular job.
I have a logic analyzer connected to P9 Pins 20 & 21 which are the UART2 TX and RX line. When I send the data using below program the TX pin does not toggle so no data comes out of the TX pin.When this worked it sent the data using program below and if I input a 5 a value of 0x05 was shifted out of the UART2 on the TX pin. My goal is to get the UART2 to work after power up without having to type in a bunch of commands before running the HTML/Javscript.When I typecat /sys/devices/bone_capemgr.*/slotsI get the following:0: 54:PF---1: 55:PF---2: 56:PF---3: 57:PF---4: ff:P-O-L Bone-LT-eMMC-2G,00A0,Texas Instrument,BB-BONE-EMMC-2G5: ff:P-O-L Bone-Black-HDMI,00A0,Texas Instrument,BB-BONELT-HDMI7: ff:P-O-L Override Board Name,00A0,Override Manuf,BB-UART2I did add the following line to my uEnv.txt filecapemgr.enable_partno=BB-UART2But this didn't seem to make a difference either way. Any suggestions would be appreciated.Example code below here *******************************// UART2 TX Test filename = uartwr.html<html><body>Uart Byte:<br><input type="number" name="value" id='value'/><button onclick="uartWr()">SEND</button></body><head><script src="/bonescript.js"></script><script>function uartWr() {var b = require('bonescript');// set baud rate and buffer sizevar port = '/dev/ttyO2'; // set UART portvar data = document.getElementById('value').value;var options = { baudrate: 9600, buffer: 100} ;b.serialOpen(port, options, onSerial);//function onSerial(x) {var b = require('bonescript');if (x.err) {console.log('***ERROR*** ' + JSON.stringify(x));}if (x.event == 'open') {console.log('***OPENED***');}if (x.event == 'data') {console.log(String(x.data));}}b.serialWrite(port, [data] );}</script></head></html>Example code Above here *******************************