2008-11-13 09:52:56     BF548 EZKIT - 2nd UART for debugging

Document created by Aaronwu Employee on Aug 8, 2013
Version 1Show Document
  • View in full screen mode

2008-11-13 09:52:56     BF548 EZKIT - 2nd UART for debugging

AC CHAO (UNITED STATES)

Message: 65241   

 

Hello,

 

 

 

I can use Ethernet connection to do debug. I want to try debugging via UART.

 

But I can't find 2nd UART in /dev folder on the target.

 

Could you advise how to add the 2nd UART device?

 

Thank you.

 

 

 

Best regards,

 

AC

QuoteReplyEditDelete

 

 

2008-11-13 10:21:33     Re: BF548 EZKIT - 2nd UART for debugging

Kyle Schlansker (UNITED STATES)

Message: 65244   

 

There are two UARTS that I think you have direct access to on the ezkit -- UART1 and UART3.  Make sure you have CONFIG_SERIAL_BFIN_UART1=y and CONFIG_SERIAL_BFIN_UART3=y in your kernel .config.

QuoteReplyEditDelete

 

 

2008-11-14 10:57:30     Re: BF548 EZKIT - 2nd UART for debugging

AC CHAO (UNITED STATES)

Message: 65306   

 

Kyle,

 

 

 

Thanks a lot for your direction. Now I can see ttyBF1 under /dev directory.

 

But when I run gdbserver, I saw the following messages repeatedly

 

root:/> ls /dev/ttyBF*

 

/dev/ttyBF0  /dev/ttyBF1

 

root:/> gdbserver /dev/ttyBF1 /bin/hello

 

Process /bin/hello created; pid=273

 

Remote debugging using /dev/ttyBF1

 

readchar: Socket operation on non-socket

 

Remote side has terminated connection. BGDserver will reopen the connection.

 

Remote debugging using /dev/ttyBF1

 

readchar: Socket operation on non-socket

 

Remote side has terminated connection. BGDserver will reopen the connection

 

........

 

 

 

 

Does someone know why?

 

Thank you.

 

 

 

Regards,

 

AC

QuoteReplyEditDelete

 

 

2008-11-14 13:06:34     Re: BF548 EZKIT - 2nd UART for debugging

Mike Frysinger (UNITED STATES)

Message: 65313   

 

gdbserver over serial is currently broken.  use ethernet.

QuoteReplyEditDelete

 

 

2008-11-14 13:12:17     Re: BF548 EZKIT - 2nd UART for debugging

AC CHAO (UNITED STATES)

Message: 65315   

 

Hi Mike,

 

Thanks a lot for your informing.

 

Best regards,

 

AC

Attachments

    Outcomes