Well, 
that was one problem.

After searching in this forum I discover that I could use /dev/ttyO1 

So I use 
# dmesg |grep serial
and 
# cat /proc/tty/driver/OMAP-SERIAL 
to confirm that.

# cat /proc/tty/driver/OMAP-SERIAL 
serinfo:1.0 driver revision:
0: uart:OMAP UART0 mmio:0x44E09000 irq:88 tx:558 rx:0 RTS|CTS|DTR|DSR
1: uart:OMAP UART1 mmio:0x48022000 irq:89 tx:75 rx:37 brk:1 CTS|DSR|CD|RI

# dmesg |grep serial
[    0.210444] omap_uart 44e09000.serial: did not get pins for uart0 error: 
-19
[    0.210719] 44e09000.serial: ttyO0 at MMIO 0x44e09000 (irq = 88) is a 
OMAP UART0
[    5.035048] gserial_setup: registered 1 ttyGS* device
[ 1763.473407] 48022000.serial: ttyO1 at MMIO 0x48022000 (irq = 89) is a 
OMAP UART1

But now I have other doubts.

Why there are only 2 serials ?
How can we access other if they aren't mapped /dev/tty??

[]'s

On Tuesday, June 10, 2014 10:32:04 AM UTC-3, Mike Bell wrote:
>
> On 06/10/2014 08:10 AM, [email protected] <javascript:> wrote: 
> > I follow instructions here 
> > 
> > https://github.com/adafruit/adafruit-beaglebone-io-python 
> > 
> > and here 
> > 
> > 
> https://learn.adafruit.com/setting-up-io-python-library-on-beaglebone-black/uart
>  
> > 
> > but can't make any communication goes through UART1 . 
> > Instead of using /dev/tty01 I use /dev/tty1 which were on my system. 
> > 
> > Is there something missing in that post? 
> > What more can I do ? 
> > 
> > I tried easiest installation on Angstrom. 
> > I use UART1 with loop back 
> > I use a osciloscope to check signals in pin P9-24 
> > 
> > 
> > This is the python programa I use to test port 
> > ############################################ 
> > import Adafruit_BBIO.UART as UART 
> > import serial 
> > UART.setup("UART1") 
> > ser = serial.Serial(port = "/dev/tty1", baudrate=9600) 
> > ser.close() 
> > ser.open() 
> > if ser.isOpen(): 
> >     print "Serial is open!" 
> >     ser.write("Hello World!") 
> > ser.close() 
> > ############################################ 
> > 
>
> /dev/tty1 is a console device *NOT* a serial device. 
>
> Mike 
>

-- 
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 [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to