Re: [beagleboard] Re: Serial Communication on Beaglebone Black

2018-02-05 Thread Jeff Andich
Hi, I'm running on a BB-X15 with kernel 4.4.110-ti-r142 and Debian, 8.10 (2018-01-01). I have not yet correctly run hardware flow control on Beagleboard-X15/BBB, but I BELIEVE I saw evidence that the non-default, OMAP serial driver (as opposed to the default 8250 serial driver) was

Re: [beagleboard] Re: Serial Communication on Beaglebone Black

2018-02-03 Thread marc . a . grossman
I've been using a beaglebone black (in debian) to communicate with my Matsuura MC800 VF (1993). It's got an old yasnac I-80 controller on it, and I have to drip feed most stuff because I've only got about 30k of program memory. For the record I was unable to get this to work with USB to serial

Re: [beagleboard] Re: Serial Communication on Beaglebone Black

2017-11-15 Thread Jeff Andich
Yeah we also stumbled last-week on Tx and Rx being swapped/ ‘crossed’ for UART1 (?only?) on the BB-X15 AND TI 572x evm REVA3 schematics. The other UARTS appear fine. Details to follow. -- For more options, visit http://beagleboard.org/discuss --- You received this message because you are

Re: [beagleboard] Re: Serial Communication on Beaglebone Black

2017-11-14 Thread wm . bain . jr
Well, I stumbled across this discussion because I just found out today after wasting hours that my Beaglebone appears to have RX and TX mislabeled (swapped). Maybe that's the source of some of the confusion that others are having, too? I am accustomed to always connecting TX to RX and

Re: [beagleboard] Re: Serial Communication on Beaglebone Black

2016-05-23 Thread evilwulfie
http://www.ebay.com/itm/Tektronix-2440-Digital-300MHz-Sampling-Oscilloscope-500MS-s-DSO-with-GPIB-/191874097157?hash=item2cac966005:g:wxEAAOSwxehXOjEP http://www.ebay.com/itm/B-K-PRECISION-DP-21-Probe-Digital-Logic-/331331058853?hash=item4d24debca5:g:X7IAAOSwaG9XJNo9 On 5/23/2016 11:42 AM,

Re: [beagleboard] Re: Serial Communication on Beaglebone Black

2016-05-23 Thread evilwulfie
well you need scope . or a logic probe On 5/23/2016 11:33 AM, Shaurabh Kumar Singh wrote: > Okay. Well windows is simply the OS as far as its role is concerned. I > am using Python 2.7 entirely to communicate. I have the same exact > version of python installed on BBB as well. So i doubt if

Re: [beagleboard] Re: Serial Communication on Beaglebone Black

2016-05-23 Thread evilwulfie
i would say you would need WINE installed on the BBB if you want to run windows programs on the BBB I have never tried it though so your mileage will vary how were you running the program on the BBB if its a windows program ? On 5/23/2016 11:28 AM, Shaurabh Kumar Singh wrote: > Yes all the

Re: [beagleboard] Re: Serial Communication on Beaglebone Black

2016-05-23 Thread Shaurabh Kumar Singh
Okay. Well windows is simply the OS as far as its role is concerned. I am using Python 2.7 entirely to communicate. I have the same exact version of python installed on BBB as well. So i doubt if WINE would help. On Mon, May 23, 2016 at 2:30 PM, evilwulfie wrote: > i would

Re: [beagleboard] Re: Serial Communication on Beaglebone Black

2016-05-23 Thread Shaurabh Kumar Singh
Yes all the three i tried on. On Mon, May 23, 2016 at 2:27 PM, evilwulfie wrote: > is this PC running windows ? > > > > > > On 5/23/2016 11:23 AM, Shaurabh Kumar Singh wrote: > > I shall try that soon @ Bruce. > Okay. Here is a logic(do not know how sensible but still). >

Re: [beagleboard] Re: Serial Communication on Beaglebone Black

2016-05-23 Thread evilwulfie
is this PC running windows ? On 5/23/2016 11:23 AM, Shaurabh Kumar Singh wrote: > I shall try that soon @ Bruce. > Okay. Here is a logic(do not know how sensible but still). > Every time I connect at my PC it works all fine. When i connect to > other systems it asks to update the driver.

Re: [beagleboard] Re: Serial Communication on Beaglebone Black

2016-05-23 Thread Shaurabh Kumar Singh
I shall try that soon @ Bruce. Okay. Here is a logic(do not know how sensible but still). Every time I connect at my PC it works all fine. When i connect to other systems it asks to update the driver. Unless ofcourse the driver is installed. So i was thinking if the same applies to a BBB. Would i

Re: [beagleboard] Re: Serial Communication on Beaglebone Black

2016-05-22 Thread Harvey White
On Sun, 22 May 2016 21:50:53 -0600, you wrote: >@Harvey > >He is using a mini cape which does the proper voltage level shifting. Link >in previous message in this thread. Thanks, then it seems to be all software from this point on. Glad that this hardware setup will not damage the BBB. Harvey

Re: [beagleboard] Re: Serial Communication on Beaglebone Black

2016-05-22 Thread Bruce Boyes
@Harvey He is using a mini cape which does the proper voltage level shifting. Link in previous message in this thread. -- For more options, visit http://beagleboard.org/discuss --- You received this message because you are subscribed to the Google Groups "BeagleBoard" group. To unsubscribe

Re: [beagleboard] Re: Serial Communication on Beaglebone Black

2016-05-22 Thread Harvey White
On Sun, 22 May 2016 21:02:15 -0400, you wrote: >It is confusing indeed. > >I have a HAAS CNC machine. The documentation specifically states that >interaction can occur only through an RS232 port. >Moving on, I connected the female DB 25 at the HAAS CNC using a null modem >25 to 9 and an RS232 to

Re: [beagleboard] Re: Serial Communication on Beaglebone Black

2016-05-22 Thread Bruce Boyes
DTE on BBB will be OK as long as you have null modem cable. Try letting your PC simulate the CNC, and get communication working between PC DTE and BBB. Then switch that PC end to the CNC. Bruce -- For more options, visit http://beagleboard.org/discuss --- You received this message because you

Re: [beagleboard] Re: Serial Communication on Beaglebone Black

2016-05-22 Thread Shaurabh Kumar Singh
It is confusing indeed. I have a HAAS CNC machine. The documentation specifically states that interaction can occur only through an RS232 port. Moving on, I connected the female DB 25 at the HAAS CNC using a null modem 25 to 9 and an RS232 to USB(initially). This connection worked perfectly when

Re: [beagleboard] Re: Serial Communication on Beaglebone Black

2016-05-22 Thread Bruce Boyes
@Shaurabh OK they actually have a pretty nice document for that! Now what is your CNC machine? What serial port document do you have for it? The serial cape has only TXD and RXD driven, no handshake or flow control. The CNC might expect something specific. It does look like the serial cape has

Re: [beagleboard] Re: Serial Communication on Beaglebone Black

2016-05-22 Thread Shaurabh Kumar Singh
@Bruce Yes that is. I tried with the adapter as well as without as there are two ways of doing it. It is working fine. But specifically for the CNC connection it is not. On Sun, May 22, 2016 at 8:27 PM, Bruce Boyes wrote: > @Shaurabh > Is this your serial adapter: >

Re: [beagleboard] Re: Serial Communication on Beaglebone Black

2016-05-22 Thread Bruce Boyes
@Shaurabh Is this your serial adapter: http://www.logicsupply.com/cbb-ttl-232/ You have two of them and have modified one to be Serial 4? -- For more options, visit http://beagleboard.org/discuss --- You received this message because you are subscribed to the Google Groups "BeagleBoard"

Re: [beagleboard] Re: Serial Communication on Beaglebone Black

2016-05-22 Thread Shaurabh Kumar Singh
Yes i am able to do that. I am able to create serial connections but it is specifically not working with the CNC. By serial connections i mean the following: I jumpered the rx of UART1 to tx of UART4 and tx of UART1 to rx of UART4. I then opened up two terminals. One had UART1 setup and the other

Re: [beagleboard] Re: Serial Communication on Beaglebone Black

2016-05-22 Thread evilwulfie
so if you jumper txd and rxd you can loopback your data ? if so the "drivers" are just fine. time to grab a scope and troubleshoot On 5/22/2016 4:33 PM, Shaurabh Kumar Singh wrote: > Sorry for saying the USB end on my previous post. > > On Sun, May 22, 2016 at 7:32 PM, Shaurabh Kumar Singh >

Re: [beagleboard] Re: Serial Communication on Beaglebone Black

2016-05-22 Thread Shaurabh Kumar Singh
Sorry for saying the USB end on my previous post. On Sun, May 22, 2016 at 7:32 PM, Shaurabh Kumar Singh wrote: > The RS232 that I am talking about is a BeagleBone Black RS-232 Serial > Micro-cape. It is indeed designed specifically for BBB. > > On Sun, May 22, 2016 at 7:26

Re: [beagleboard] Re: Serial Communication on Beaglebone Black

2016-05-22 Thread Shaurabh Kumar Singh
The RS232 that I am talking about is a BeagleBone Black RS-232 Serial Micro-cape. It is indeed designed specifically for BBB. On Sun, May 22, 2016 at 7:26 PM, evilwulfie wrote: > we had already told you you MUST use a 3.3v translator of your choosing. > > > > On 5/22/2016

Re: [beagleboard] Re: Serial Communication on Beaglebone Black

2016-05-22 Thread evilwulfie
we had already told you you MUST use a 3.3v translator of your choosing. On 5/22/2016 4:22 PM, Shaurabh Kumar Singh wrote: > @Bruce > I should have mentioned it earlier. Anyway, it is a null modem cable > (DB 25 male to DB 9 female). I have tried every permutation and > combination between the

Re: [beagleboard] Re: Serial Communication on Beaglebone Black

2016-05-22 Thread Shaurabh Kumar Singh
@Bruce I should have mentioned it earlier. Anyway, it is a null modem cable (DB 25 male to DB 9 female). I have tried every permutation and combination between the TxDs' and RxDs' . I am not using any adapter at the BBB. I am simply making wired connections. From the RS 232 USB end I have four

Re: [beagleboard] Re: Serial Communication on Beaglebone Black

2016-05-22 Thread Bruce Boyes
If you used a straight through serial cable from your PC to the CNC then the CNC is likely DCE, since the PC serial is usually DTE. If you used a null modem cable then the CNC could be DTE. You didn't specify which cable you used. DCE is Data Communication Equipment and originally was a device

Re: [beagleboard] Re: Serial Communication on Beaglebone Black

2016-05-20 Thread Harvey White
On Fri, 20 May 2016 14:41:25 -0400, you wrote: >Okay from what you said I guess it could be a drivers issue. The rest of it >i have tried. What do you suggest if it is a driver problem?which driver >and how do i install the drivers? could you perhaps tel me where to look >exactly. I've reached

Re: [beagleboard] Re: Serial Communication on Beaglebone Black

2016-05-20 Thread Shaurabh Kumar Singh
Okay from what you said I guess it could be a drivers issue. The rest of it i have tried. What do you suggest if it is a driver problem?which driver and how do i install the drivers? could you perhaps tel me where to look exactly. Thank you On Fri, May 20, 2016 at 1:12 PM, Harvey White

Re: [beagleboard] Re: Serial Communication on Beaglebone Black

2016-05-20 Thread Harvey White
rOn Fri, 20 May 2016 11:55:28 -0400, you wrote: >Exactly. I did what you just said. Used the ground RXD TXD. And the >examples shown online do not use the red wire(power line) at all. And that >is exactly what i did. I went by the conventional method before starting to >try out other things. also

Re: [beagleboard] Re: Serial Communication on Beaglebone Black

2016-05-20 Thread Shaurabh Kumar Singh
Exactly. I did what you just said. Used the ground RXD TXD. And the examples shown online do not use the red wire(power line) at all. And that is exactly what i did. I went by the conventional method before starting to try out other things. also i later used the 3.3 V jumper. Do you have any

Re: [beagleboard] Re: Serial Communication on Beaglebone Black

2016-05-20 Thread Harvey White
On Fri, 20 May 2016 11:11:39 -0400, you wrote: >The RX and TX at the beaglebone are working just fine. The TX output from >the RS-232 is 5V. Also i tried with and without connecting the red >wire(5V) from the RS 232. The necessary connections are GND (black wire) , >RX and TX(green and white

Re: [beagleboard] Re: Serial Communication on Beaglebone Black

2016-05-20 Thread Shaurabh Kumar Singh
I anyway could not find any previous work on serially connecting to a machine with BBB. I might have to shift to intel NUC. Do you think using FTDI USB to serial adapter is worth taking the risk? Is there anything different you suggest i could do perhaps? On Fri, May 20, 2016 at 11:19 AM,

Re: [beagleboard] Re: Serial Communication on Beaglebone Black

2016-05-20 Thread evilwulfie
the output from the bbb is 3.3v not 5v. if you use anything other than some kind of level translator you risk harming your BBB it talks about that in the BBB srm. On 5/20/2016 8:17 AM, Shaurabh Kumar Singh wrote: > Do you guys think i should also try a FTDI USB to Serial Adapter for > BBB? It

Re: [beagleboard] Re: Serial Communication on Beaglebone Black

2016-05-20 Thread Shaurabh Kumar Singh
Do you guys think i should also try a FTDI USB to Serial Adapter for BBB? It might eliminate the voltage issue altogether. On Fri, May 20, 2016 at 11:14 AM, Shaurabh Kumar Singh wrote: > CTS and DTR were not activated at the PC interface, i had looked up the > serial port

Re: [beagleboard] Re: Serial Communication on Beaglebone Black

2016-05-20 Thread Shaurabh Kumar Singh
CTS and DTR were not activated at the PC interface, i had looked up the serial port settings on which it was working. Anyway i did try with and without both and individually as wel. On Fri, May 20, 2016 at 11:11 AM, Shaurabh Kumar Singh wrote: > The RX and TX at the

Re: [beagleboard] Re: Serial Communication on Beaglebone Black

2016-05-20 Thread Shaurabh Kumar Singh
The RX and TX at the beaglebone are working just fine. The TX output from the RS-232 is 5V. Also i tried with and without connecting the red wire(5V) from the RS 232. The necessary connections are GND (black wire) , RX and TX(green and white wires) of the PL2303 USB to Serial adapter. I also

Re: [beagleboard] Re: Serial Communication on Beaglebone Black

2016-05-20 Thread evilwulfie
if he connected it to the cnc with no 3.3v adapter it also could have fried the bbb. On 5/20/2016 7:08 AM, Wally Bkg wrote: > > You do realize that on your PC the RS232 signal levels from the COM > ports are +/- 12V while without extra hardware the Beaglebone levels > are 0-3.3V? You may have

Re: [beagleboard] Re: Serial Communication on Beaglebone Black

2016-05-20 Thread Wally Bkg
You do realize that on your PC the RS232 signal levels from the COM ports are +/- 12V while without extra hardware the Beaglebone levels are 0-3.3V? You may have fried the RX input on the Beaglebone if you've connected it directly to a +/- 12V RS232 TX output. Assuming you've got the logic

Re: [beagleboard] Re: Serial Communication on Beaglebone Black

2016-05-20 Thread Shaurabh Kumar Singh
The cnc is dte as far as I know. And I am assuming since it worked without hardware handshaking on my pc, it shouldn require the same for the bbb either. That said, I have tried both the settings. With and without hardware handshaking. The only thing I can think of is for some reason perhaps, the

Re: [beagleboard] Re: Serial Communication on Beaglebone Black

2016-05-20 Thread Wally Bkg
On Thursday, May 19, 2016 at 7:08:55 PM UTC-5, Shaurabh Kumar Singh wrote: > 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

[beagleboard] Re: Serial Communication on Beaglebone Black

2016-05-19 Thread Wally Bkg
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

[beagleboard] Re: Serial Communication on Beaglebone Black

2016-05-19 Thread Shaurabh Kumar Singh
I did try to configure it using "config-pin overlay cape-universal" but it said Loading cape-universal overlay bash: line 0: echo: write error: File exists Error loading device tree overlay file: cape-universal What do i do -- For more options, visit http://beagleboard.org/discuss --- You

[beagleboard] Re: Serial Communication on Beaglebone Black

2016-05-19 Thread Shaurabh Kumar Singh
I did try to configure it using "config-pin overlay cape-universal" but it said Loading cape-universal overlay bash: line 0: echo: write error: File exists Error loading device tree overlay file: cape-universal What do i do On Thu, May 19, 2016 at 6:41 PM, Shaurabh Kumar Singh

[beagleboard] Re: Serial Communication on Beaglebone Black

2016-05-19 Thread Shaurabh Kumar Singh
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 ---

[beagleboard] Re: Serial Communication on Beaglebone Black

2016-05-19 Thread Wally Bkg
What kernel and image? newer ones use config-pin to activate the UARTS and seem to have problems with some of the overlays. On: BeagleBoard.org Debian Image 2015-11-12 with kernel: 4.1.18-ti-r49 #1 SMP PREEMPT Fri Feb 26 00:12:54 UTC 2016 armv7l GNU/Linux It boots "cape-universal" and I

[beagleboard] Re: Serial Communication on Beaglebone Black

2016-05-19 Thread Shaurabh Kumar Singh
Yes i have already tried activating the serial ports as shown in the link before. Still it did not seem to work. On Wednesday, May 18, 2016 at 4:46:20 PM UTC-4, Shaurabh Kumar Singh wrote: > > I have been trying to communicate with a CNC machine through RS 232 to the > Beaglebone Black. >

[beagleboard] Re: Serial Communication on Beaglebone Black

2016-05-19 Thread 'ts' via BeagleBoard
You need to activate the serial port first. http://beaglebone.cameon.net/home/serial-ports-uart Am Mittwoch, 18. Mai 2016 22:46:20 UTC+2 schrieb Shaurabh Kumar Singh: > > I have been trying to communicate with a CNC machine through RS 232 to the > Beaglebone Black. > Following are the Serial