2010-04-28 20:14:30     gdbproxy doesn't respond to console

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

2010-04-28 20:14:30     gdbproxy doesn't respond to console

Suikan moo (JAPAN)

Message: 89001   

 

Hi all.

 

I am trying to work with gdbproxy with console, but gdbproxy doesn't response. So far, I can debug targets with gdbproxy well, but only console has trouble. Following is the output of gdbproxy

 

takemasa@hilbert:~/workspace/sample1$ sudo /opt/uClinux/bfin-elf/bin/bfin-gdbproxy bfin --connect="cable oocdlink-s vid=0403 pid=baf8"

 

Remote proxy for GDB, v0.7.2, Copyright (C) 1999 Quality Quorum Inc.

MSP430 adaption Copyright (C) 2002 Chris Liechti and Steve Underwood

Blackfin adaption Copyright (C) 2008 Analog Devices, Inc.

 

GDBproxy comes with ABSOLUTELY NO WARRANTY; for details

use `--warranty' option. This is Open Source software. You are

welcome to redistribute it under certain conditions. Use the

'--copying' option for details.

 

Connected to libftdi driver.

IR length: 5

Chain length: 1

Device Id: 00000010011111101000000011001011 (0x00000000027E80CB)

  Manufacturer: Analog Devices

  Part(0):         BF518

  Stepping:     0

  Filename:     /opt/uClinux/bfin-elf/bin/../share/urjtag/analog/bf518/bf518

warning:   bfin: no board selected, BF518 is detected

notice:    bfin: jc: waiting on TCP port 2001

notice:    bfin-gdbproxy: waiting on TCP port 2000

 

 

And then, I tried to work with netcat

 

takemasa@hilbert:~$ netcat localhost 2001

?

bfin

help

ls

^C

 

The gdbproxy doesn't respond to telnet, also.

 

Are there any mistake?

 

Regards

 

Suikan

QuoteReplyEditDelete

 

 

2010-04-29 03:10:09     Re: gdbproxy doesn't respond to console

Mike Frysinger (UNITED STATES)

Message: 89009   

 

please read the documentation:

https://docs.blackfin.uclinux.org/doku.php?id=bootloaders:u-boot:jtagconsole

https://docs.blackfin.uclinux.org/doku.php?id=linux-kernel:drivers:jtag-console

QuoteReplyEditDelete

 

 

2010-04-29 07:56:22     Re: gdbproxy doesn't respond to console

Suikan moo (JAPAN)

Message: 89033   

 

Thanks,

 

I realized I have misunderstood what the port 2001 is. I thought it is monitor console for the gdbproxy, but thoese documentations says it is the BTC port.

QuoteReplyEditDelete

 

 

2010-04-29 13:43:43     Re: gdbproxy doesn't respond to console

Mike Frysinger (UNITED STATES)

Message: 89041   

 

use the gdb "monitor" command ... not that there are that many monitor commands in gdbproxy to use

QuoteReplyEditDelete

 

 

2010-04-29 23:58:26     Re: gdbproxy doesn't respond to console

Suikan moo (JAPAN)

Message: 89047   

 

Hi Mike

 

Thank you for your comment. Actually, I have tried yesterday. But only two command seems to exist. The HELP and LEVEL. Both document and HELP command says so.

 

In the next release, I appreciate if you concider about RESET, HALT and RESET_AND_HALT commands. The system reset ( and halt ) of the Blackfin processor is difficult from GDB. In otherhand, sometimes system reset is essential for debugging.

QuoteReplyEditDelete

 

 

2010-04-30 01:10:28     Re: gdbproxy doesn't respond to console

Mike Frysinger (UNITED STATES)

Message: 89048   

 

gdbproxy has a reset option that i use personally a lot:

  bfin-gdbproxy bfin --reset

any time you reconnect, the processor will be reset

 

i can open a tracker item for the other requests

Attachments

    Outcomes