Open the port
#mount /dev/nanda /mnt #cd /mnt #bin2fex script.bin script.fex #vi script.fexModify the script.fex to open the uart3 ,uart4 as below :
[uart_para3] uart_used = 1 uart_port = 3 uart_type = 4 uart_tx = port:PG06<4><1><default><default> uart_rx = port:PG07<4><1><default><default> uart_rts = port:PG08<4><1><default><default> uart_cts = port:PG09<4><1><default><default> [uart_para4] uart_used = 1 uart_port = 4 uart_type = 2 uart_tx = port:PG10<4><1><default><default> uart_rx = port:PG11<4><1><default><default>Save the modification.
#fex2bin script.fex script.bin #rebootAfter the reboot ,the uart3 and uart4 are available.
Cubieboard1 And Cubieboard2 Gpio Pin
Няма коментари:
Публикуване на коментар