Olimex Support Forum

OLinuXino Android / Linux boards and System On Modules => A13 => Topic started by: ozko on February 26, 2013, 11:22:59 AM

Title: A13 Wifi UART1 UART0
Post by: ozko on February 26, 2013, 11:22:59 AM
In android I can receive system messages on UART1 through the serial. And Im currently trying to use apps to access serial trough android, they connect to UART1 and I can read, write, but when I try to connect to UART0 the app says "The serial port can not be opened for unknown reason."
I need to use UART0 to surround the system messages that go trough UART1.
And I have noticed that the PDF from olimex does`t describe UART0 its missing on they`r image on the pfd.
Title: Re: A13 Wifi UART1 UART0
Post by: vinifr on February 27, 2013, 06:32:54 PM
Hi,

You need to enable UART0 in script.fex:

[uart_para0]
uart_used = 1 <----
uart_port = 0
uart_type = 2
uart_tx = port:PF02<2><1><default><default>
uart_rx = port:PF04<2><1><default><default>

But you need to disable mmc

[mmc0_para]
sdc_used = 0
Title: Re: A13 Wifi UART1 UART0
Post by: ozko on March 04, 2013, 11:49:09 AM
Thank you for your help, but I decided to go trough USB  :)
Ill save that for later use if needed thanks again.
Title: Re: A13 Wifi UART1 UART0
Post by: vinifr on March 09, 2013, 02:57:30 AM
To hack a10/a13 devices look here: http://elinux.org/Hack_A10_devices (http://elinux.org/Hack_A10_devices) and http://linux-sunxi.org/Sunxi-tools (http://linux-sunxi.org/Sunxi-tools)