I need to use the serial port to communicate between linux YUN and the arduino WITHOUT using the bridge. So I disabled the bridge like so
Then on Arduino linux, I have my C program which runs automatically after the YUN boots, and it opens a serial port /dev/ttyATH0 like this
sets the baud rate to 115200 (not shown)
then starts communicating with the arduino
The arduino program on the yun board is also set to 115200,
However after I flash the arduino program into the arduino Yun board, the YUN board wont boot up any longer.
However, if I simply change the arduino program to start at 300 baud instead of 115200 like so
The yun board boots up and runs fine.
Strange right… So I put arduino back to 115200, then the yun board no longer boots again, then I hook a scope to the serial pin, seems YUN is trying to communicate with the Arduino even though I disabled the bridge above. Seems if it cant communicate at 300 during power up, the whole yun board wont boot up completely, it just freezes there until it hears back from the arduino at 300.
This means even though the bridge is disabled as shown above (by removing the askfirst) , the linux side of yun is always trying to communicate with the arduino at power up even though its supposed to be disabled.
Anybody knows how to completely disable it?