[#6141] bfin-jtag in trunk can not connect to jtag ICE tool

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

[#6141] bfin-jtag in trunk can not connect to jtag ICE tool

Submitted By: Vivi Li

Open Date

2010-07-27 06:16:28     Close Date

2010-07-28 00:18:27

Priority:

Medium High     Assignee:

Nobody

Board:

N/A     Silicon Revision:

Resolution:

N/A     Fixed In Release:

N/A

Processor:

ALL     

Host Operating System:

openSUSE 11.0 (i586)

toolchain rev.:

    kernel rev.:

State:

Closed     Found In Release:

2010R1

Is this bug repeatable?:

N/A     

Summary: bfin-jtag in trunk can not connect to jtag ICE tool

Details:

 

bfin-jtag in trunk can not connect to gnICE/gnICE+/ICE-100B.

09r1.1 release is OK.

 

--

linux-vivi:/opt/uClinux/bfin-elf/bin # ./bfin-gdbproxy 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.

 

Found USB cable: gnICE+

Connected to libftdi driver.

IR length: 5

Chain length: 1

Device Id: 00100010011111001000000011001011 (0x227C80CB)

  Manufacturer: Analog Devices, Inc. (0x0CB)

  Part(0):      BF537 (0x27C8)

  Stepping:     2

  Filename:     ./../share/urjtag/analog/bf537/bf537

warning:   bfin: no board selected, BF537 is detected

notice:    bfin: jc: waiting on TCP port 2001

notice:    bfin-gdbproxy: waiting on TCP port 2000

--

 

--

linux-vivi:/opt/uClinux/bfin-elf/bin # ./bfin-jtag

 

UrJTAG 0.10 #4726

Copyright (C) 2002, 2003 ETC s.r.o.

Copyright (C) 2007, 2008, 2009 Kolja Waschk and the respective authors

 

UrJTAG is free software, covered by the GNU General Public License, and you are

welcome to change it and/or distribute copies of it under certain conditions.

There is absolutely no warranty for UrJTAG.

 

/home/test/work/cruise/checkouts/toolchain/urjtag/src/apps/jtag/jtag.c:518 main() Warning: UrJTAG may damage your hardware!

Type "quit" to exit, "help" for help.

 

jtag> cable gnICE+

Couldn't connect to suitable USB device.

Error: /home/test/work/cruise/checkouts/toolchain/urjtag/src/tap/usbconn/libftdi.c:372 usbconn_ftdi_common_open() ftdi/ftd2xx error: ftdi_usb_open_desc() failed: unable to claim usb device. Make sure ftdi_sio is unloaded!

jtag>

(In fact, ftdi_sio module is not installed on host PC.)

--

 

 

Toolchain was built on 2010_Jul_21.

--

linux-vivi:/opt/uClinux/bfin-elf/bin # ./bfin-elf-gcc -v

Using built-in specs.

Target: bfin-elf

Configured with: /home/test/work/cruise/checkouts/toolchain/gcc-4.3/configure --build=i686-pc-linux-gnu --host=i686-pc-linux-gnu --target=bfin-elf --prefix=/home/test/work/cruise/test_scripts/toolchain/toolchain-build/toolchain-2010_Jul_21_03_04/bfin-elf --with-newlib --disable-libstdcxx-pch --enable-languages=c,c++ --disable-symvers --disable-libssp --disable-libffi --enable-clocale=generic --enable-version-specific-runtime-libs --enable-__cxa_atexit --with-bugurl=URL:http://blackfin.uclinux.org/gf/project/toolchain/tracker --with-pkgversion=ADI-trunk/svn-4681

Thread model: single

gcc version 4.3.5 (ADI-trunk/svn-4681)

--

 

Follow-ups

 

--- Mike Frysinger                                           2010-07-27 14:00:28

you arent running gdbproxy and jtag at the same time are you ?  ive been using

the gnICE+ just fine the last few days with trunk.

 

$ bfin-jtag

jtag> cable probe

Found USB cable: gnICE

Connected to libftdi driver.

jtag> detect

IR length: 5

Chain length: 1

Device Id: 00100010011111001000000011001011 (0x227C80CB)

  Manufacturer: Analog Devices, Inc. (0x0CB)

  Part(0):      BF537 (0x27C8)

  Stepping:     2

  Filename:   

/usr/local/src/blackfin/toolchains/20100726/bfin-elf/bin/../share/urjtag/analog/bf537/bf537

 

--- Vivi Li                                                  2010-07-28 00:18:27

Yeah, I shouldn't run gdbproxy and jtag at the same time. It works alright now.

Thanks!

 

 

 

    Files

    Changes

    Commits

    Dependencies

    Duplicates

    Associations

    Tags

 

File Name     File Type     File Size     Posted By

No Files Were Found

Attachments

    Outcomes