Okay. I shall look it up. By the way, i did confirm the working of the UART pins(UART1 RX to UART4 TX and vice versa). I had two terminal tabs open and when i typed into one and entered(UART1 settings) it showed up on the other terminal with UART4 settings. I inferred that the Adafruit libraries work just fine for the BBB (correct me if i am mistaken)
It is just that while interacting with a CNC machine(with a HAAS OS) it is not communicating rather just showing up what is being sent. On Thu, May 19, 2016 at 7:35 PM, Wally Bkg <wb666gre...@gmail.com> wrote: > I'm not big on Python, but it looks like you are using some of the > Adafruit libraries, they are broken for some kernels, I'm not the guy to > tell you if your current kernel is one of them. > > To isolate the problem, do: > apt-get install minicom and jumper RX to TX. > > I think by default in Debian images you need to run minicom as root. > From my command history when I was playing with uart1: > sudo minicom -D /dev/ttyS1 > > OTOH your python script may also need to run as root with the default > device permissions. > > If minicom works (after you've jumpered TX to RX) you know the overlay is > loading correctly, and the problem is either the Python library or the > permissions your scripts runs with. > > If minicom doesn't work the overlay is not loading correctly. There has > been a fair number of threads about what uart overlays to use with various > kernels try some searching. > > Hope this helps. > > > On Thursday, May 19, 2016 at 5:41:53 PM UTC-5, Shaurabh Kumar Singh wrote: >> >> BeagleBoard.org BeagleBone Debian Image 2014-04-23 >> Linux beaglebone 3.8.13-bone47 #1 SMP Fri Apr 11 01:36:09 UTC 2014 armv7l >> GNU/Linux >> >> I am fairly new to beaglebone, could you tel me how to configure the >> cape-universal overlay. >> > -- > For more options, visit http://beagleboard.org/discuss > --- > You received this message because you are subscribed to a topic in the > Google Groups "BeagleBoard" group. > To unsubscribe from this topic, visit > https://groups.google.com/d/topic/beagleboard/Z1s_NwXYNrw/unsubscribe. > To unsubscribe from this group and all its topics, send an email to > beagleboard+unsubscr...@googlegroups.com. > To view this discussion on the web visit > https://groups.google.com/d/msgid/beagleboard/3e26cffd-df67-4867-8775-7e3716ea1af0%40googlegroups.com > <https://groups.google.com/d/msgid/beagleboard/3e26cffd-df67-4867-8775-7e3716ea1af0%40googlegroups.com?utm_medium=email&utm_source=footer> > . > > For more options, visit https://groups.google.com/d/optout. > -- 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+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/beagleboard/CAEh-rEHrU%2B4oCZvN44Hcdzs44VPU4CWhkSpwPPrCiukPXTPG8g%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.