Jump to content


Photo

Using debug port as a general purpose UART port


  • Please log in to reply
1 reply to this topic

#1 jim

jim

    Advanced Member

  • Administrators
  • 3,385 posts

Posted 13 February 2015 - 06:58 PM

Hello, what should I do to use debug port at /dev/ttyS0 as a general purpose UART port? I know I should disable the debug feature but I don't know how?

I know of the second UART port at /dev/ttyS1 and I use it but I need one additional UART port.



#2 jim

jim

    Advanced Member

  • Administrators
  • 3,385 posts

Posted 13 February 2015 - 06:58 PM

Hello, what should I do to use debug port at /dev/ttyS0 as a general purpose UART port? I know I should disable the debug feature but I don't know how?

I know of the second UART port at /dev/ttyS1 and I use it but I need one additional UART port.
 

you can do that, I think you need to recompile u-boot. please double check on linux-sunxi to tell me is wrong or correct.

I am using debug serial port mostly, when troubleshooting pcduino since  debug serial port is very handy for me.

how about add USB to serial port, which is pretty cheap.






0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users