I have resolved this now. Turns out it was a problem with the hardware 
"cape" that I had prepared to mount XBEE on BBB. The Rx/Tx pins were 
swapped due to oversight. Everything works fine now.

Thanks everyone!!

On Thursday, November 6, 2014 4:08:31 PM UTC-5, jimi...@gmail.com wrote:
>
> Hello Chris,
>
> I am sorry for the confusion. Let me explain the setup and then elaborate 
> the problem.
>
> So I have two XBEE/Zigbee devices. One of them is connected to BBB UART1. 
> The other is connected to my PC.
> On BBB side, I use picocom terminal to transmit data. On PC side, I have 
> the X-CTU GUI provided by XBEE to send data/monitor received data.
>
> Now, when I transmit from BBB using picocom, I can see the data being 
> properly received by PC side XBEE.
> However, when the PC side XBEE transmits data, it receives back the same 
> data after transmission. This is because, for some reason, the BBB on 
> receiving a byte transmits (echoes) back the same byte.
>
> Now coming to ssty, I believe the '-echo' option with BBB shall only 
> prevent any character that I type on picocom terminal from "appearing" 
> there on the terminal screen.
>
> On Thursday, November 6, 2014 3:34:05 PM UTC-5, c...@isbd.net wrote:
>>
>> jimi...@gmail.com wrote: 
>> > [-- text/plain, encoding 7bit, charset: UTF-8, 38 lines --] 
>> > 
>> > My understanding is 'echo' for ssty is just to turn ON/OFF echo of 
>> input 
>> > characters i.e. if '-echo' flag is used it would just prevent the input 
>> > characters I send via BBB from appearing on my screen. My problem is 
>> with 
>> > the data that BBB receives. Everytime BBB receives a byte, it transmits 
>> > back the same byte. 
>> > 
>> > I shall keep looking. 
>> > 
>> I don't follow what you're saying.  The UART/tty 'receives' bytes from 
>> whatever is connected to it, that's what 'input' characters are. 
>>
>> E.g. you have a terminal of some sort connected to the UART, what you 
>> type on the terminal are the 'input' characters and they're echoed 
>> back to the terminal as 'output' to the terminal (if echo is turned 
>> on). 
>>
>> By characters you 'send via the BBB' I assume you mean they are sent 
>> by a program of some sort to the UART, if so they are just 'output' 
>> characters and you can't turn them off I don't think.  What's the 
>> point of sending them if you turn them off? 
>>
>> -- 
>> 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 beagleboard+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to