2010-11-25 07:47:10     gdbproxy works, but bfin-gdbproxy does not work

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

2010-11-25 07:47:10     gdbproxy works, but bfin-gdbproxy does not work

Henning Hörentrup (GERMANY)

Message: 96213   

 

Hello

 

I'm trying to connect my gnICE+ via bfin-gdbproxy, but it doesn't work:

 

# bfin-gdbproxy --debug bfin

 

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.

 

debug: bfin: bfin_open ()

Connected to libftdi driver.

device not found: No such file or directory

Error: Cable initialization failed!

error: bfin: cable initialization failed

 

 

 

If I'm using gdbproxy the initialization works:

 

#gdbproxy

 

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.

 

Found USB cable: gnICE+

Connected to libftdi driver.

IR length: 5

Chain length: 1

Device Id: 00110010011111001000000011001011 (0x327C80CB)

  Manufacturer: Analog Devices, Inc. (0x0CB)

  Part(0):      BF537 (0x27C8)

  Stepping:     3

  Filename:     /usr/local/share/urjtag/analog/bf537/bf537

Error: Unable to detect JTAG chain end!

warning:   bfin: no board selected, BF537 is detected

notice:    bfin: jc: waiting on TCP port 2001

notice:    bfin: jc:  (you must connect GDB before using jtag console)

notice:    gdbproxy: waiting on TCP port 2002

 

I think something is wrong with my files or path, because of the red marked part device not found: No such file or directory.  But I don't know how to fix it. Not really an uboot question, more a noob question, but I hope you can help me.

 

I have asked the same question here: http://blackfin.uclinux.org/gf/project/u-boot/forum/?_forum_action=ForumMessageBrowse&thread_id=43806&action=ForumBrowse&forum_id=51

 

 

 

But I think, I should have asked it in the toolchain forum, so sorry for doubleposting.

 

Henning

QuoteReplyEditDelete

 

 

2010-11-25 07:54:27     Re: gdbproxy works, but bfin-gdbproxy does not work

Mike Frysinger (UNITED STATES)

Message: 96214   

 

what exactly is "gdbproxy" ?  and what toolchain version exactly are you using ?

 

the 2009R1.1 release did not autoprobe USB cables ... you had to specify it via the --connect option.  it also doesnt support the gnICE+.  you'll need 2010R1+ for that.

QuoteReplyEditDelete

 

 

2010-11-25 08:35:36     Re: gdbproxy works, but bfin-gdbproxy does not work

Henning Hörentrup (GERMANY)

Message: 96215   

 

Somewhere in the jtag/uboot documentation I read, that I would need urJTAG and gdbproxy in order to flash/debug the uboot via jtag connection. Because of that I downloaded both of them from their homepages (I think) and followed their how-to instructions (configure, make & make install) by hand.

 

Okay, so I have to update/change my toolchain to 2010R1+ in order to use the gnICE+, because I'm using 2009R1.

 

Thanks for the answer Mike.

 

Henning, who is moving form clueless to less clueless. ;-)

Attachments

    Outcomes