Sorry that "optargs" line should only appear once...

On Monday, September 15, 2014 8:19:35 PM UTC-4, Michel Lavoie wrote:
>
> I strongly recommend that you read Adafruit's guide regarding the BBB's 
> device tree overlay. It really help me put this all together: 
> https://learn.adafruit.com/introduction-to-the-beaglebone-black-device-tree/overview
>
> You will find there why and how to modify your uEnv.txt file in order to 
> enable ttyO1. In mine, the last line looks like this:
>
> ...
> optargs=coherent_pool=1M; capemgr.enable_partno=BB-UART1,BB-SPIDEV0
>
> optargs=coherent_pool=1M; capemgr.enable_partno=BB-UART1,BB-SPIDEV0
>
> optargs=coherent_pool=1M; capemgr.enable_partno=BB-UART1,BB-SPIDEV0
>
> optargs=coherent_pool=1M; capemgr.enable_partno=BB-UART1,BB-SPIDEV0
>
>
> On Monday, September 15, 2014 4:35:32 PM UTC-4, [email protected] wrote:
>>
>> Robert Nelson <[email protected]> wrote: 
>> > On Mon, Sep 15, 2014 at 1:53 PM,  <[email protected]> wrote: 
>> > > I am trying to use the Adafruit Python IO library to acces the UARTS 
>> > > on my BBB. 
>> > > 
>> > > According to the Adafruit documentation if I do:- 
>> > > 
>> > >     import Adafruit_BBIO.UART as UART 
>> > >     UART.setup("UART1") 
>> > > 
>> > > I should then be able to use /dev/tty01, but there isn't a 
>> /dev/tty01, 
>> > > only a /dev/tty1.  Is this an error in the documentation or is there 
>> > > something more fundamental broken?  I don't seem to be having much 
>> > > success using /dev/tty1 or /dev/tty01 anyway. 
>> > 
>> > Sounds like you didn't load the ttyO1 overlay.. 
>> > 
>> > Then /dev/ttyO1 will be available. 
>> > 
>> Could you explain that more simply please!? 
>>
>> I have since discovered that some serial ports work for me and others 
>> don't, even though *none* of them actually appear to an ls command. 
>>
>> If I simply do the following in my python program:- 
>>
>>     import Adafruit_BBIO.UART as UART 
>>     import serial 
>>
>>     UART.setup("UART1") 
>>
>>     ser = serial.Serial(port = "/dev/ttyO1", baudrate=9600) 
>>
>> Then it works for UART1, UART2 and UART4  but *doesn't* work for UART3 
>> and UART5. That's 'works' as in I can write things to the serial port 
>> and it get sent to a remote system, I still can't see the named 
>> /dev/tty0x device. 
>>
>> I'd expected the Adafruit library to do all that's necessary to make 
>> the port work and be visible. 
>>
>>
>> -- 
>> Chris Green 
>> ยท 
>>
>>

-- 
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