View: 6746|Reply: 2

orange pi One enable Uart3

[Copy link]

5

threads

10

posts

57

credits

Registered member

Rank: 2

credits
57
Published in 2017-1-18 17:59:50 | Show all floors |Read mode
Edited by ayalshi at 2017-1-20 00:55

hello I have downloaded armbian debian for orange pi one. I need to enable uart3.

I have tried to change script.bin with those settings:
  1. [uart3]
  2. uart_used       = 1
  3. uart_port       = 3
  4. uart_type       = 2
  5. uart_tx         = port:PA13<2><1><default><default>
  6. uart_rx         = port:PA14<2><1><default><default>
  7. ;uart_rts        = port:PA15<3><1><default><default>
  8. ;uart_cts        = port:PA16<3><1><default><default>
Copy code


but I think that made a mess in the operating system, dont know why, maby those pins use for other stuff else where?

the script.bin delete itself from /media/boot I dont know what happened I keep getting errors on the startup...

thanks.


10

threads

218

posts

2040

credits

Gold member

Rank: 6Rank: 6

credits
2040
Published in 2017-3-12 07:57:29 | Show all floors
Edited by nopnop2002 at 2017-3-12 07:58

I think it's right
My script.fex is below.

[uart0]
uart_used = 1
uart_port = 0
uart_type = 2
uart_tx = portA04<2><1><default><default>
uart_rx = portA05<2><1><default><default>

[uart1]
uart_used = 0 → 1
uart_port = 1
uart_type = 4 → 2
uart_tx = portG06<2><1><default><default>
uart_rx = portG07<2><1><default><default>
uart_rts = portG08<2><1><default><default>
uart_cts = portG09<2><1><default><default>

[uart2]
uart_used = 0 → 1
uart_port = 2
uart_type = 4 → 2
uart_tx = portA00<2><1><default><default>
uart_rx = portA01<2><1><default><default>
uart_rts = portA02<2><1><default><default>
uart_cts = portA03<2><1><default><default>

[uart3]
uart_used = 0 → 1
uart_port = 3
uart_type = 4 → 2
uart_tx = port:PA13<3><1><default><default>
uart_rx = port:PA14<3><1><default><default>
uart_rts = port:PA15<3><1><default><default>
uart_cts = port:PA16<3><1><default><default>

This thread contains more resources

You need to Log in to download or view,No account?    Register

x

5

threads

10

posts

57

credits

Registered member

Rank: 2

credits
57
 Author| Published in 2017-3-16 16:23:36 | Show all floors
Hi,
I found out what the problem was. the fex script was ok, I just created unnecessary files inside the boot folder, wich cause the bin script to delete it self. I removed unnecessery files and it worked.
You need to log in before you can reply login | Register

Points Rule

Quick reply Top Return list