[#5413] Jtag console doesn't work on bf561-ezkit

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

[#5413] Jtag console doesn't work on bf561-ezkit

Submitted By: Vivi Li

Open Date

2009-08-03 04:07:11     Close Date

2010-08-17 21:57:10


Medium     Assignee:

Mike Frysinger


Closed     Fixed In Release:


Found In Release:

2009R1-RC6     Release:


Drivers     Board:



BF561     Silicon Revision:

Is this bug repeatable?:

Yes     Resolution:


Uboot version or rev.:

    Toolchain version or rev.:


App binary format:


Summary: Jtag console doesn't work on bf561-ezkit



Jtag console doesn't work on bf561-ezkit. No message shows up in netcat.


In gdbproxy:


uboot35-561:/home/test/work/cruise/checkouts/uclinux-dist/testsuites/jtag_console # 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.


Connected to libftdi driver.

IR length: 10

Chain length: 2

Device Id: 01010010011110111011000011001011 (0x00000000527BB0CB)

  Manufacturer: Analog Devices

  Part(0):         BF561

  Stepping:     5

  Filename:     /opt/uClinux/bfin-uclinux/bin/../share/urjtag/analog/bf561/bf561

Device Id: 01010010011110111011000011001011 (0x00000000527BB0CB)

  Manufacturer: Analog Devices

  Part(1):         BF561

  Stepping:     5

  Filename:     /opt/uClinux/bfin-uclinux/bin/../share/urjtag/analog/bf561/bf561

warning:   bfin: no board selected, BF561 is detected

notice:    bfin: jc: waiting on TCP port 2001

notice:    bfin-gdbproxy: waiting on TCP port 2000



notice:    bfin-gdbproxy: connected

info:      [0] locked: DBGSTAT [0x0060]




test@uboot35-561:~> bfin-uclinux-gdb

GNU gdb 6.6

Copyright (C) 2006 Free Software Foundation, Inc.

GDB 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.

Type "show copying" to see the conditions.

There is absolutely no warranty for GDB.  Type "show warranty" for details.

This GDB was configured as "--host=i686-pc-linux-gnu --target=bfin-uclinux".

(gdb) target remote :2000

Remote debugging using :2000

[New Thread 1]

[New Thread 2]

0x03fc0a38 in ?? ()

(gdb) c




In minicom:


Linux version (test@uboot35-561) (gcc version 4.1.2 (ADI svn)) #10 Fri Jul 31 14:45:08 GMT 2009

bootconsole [early_shadow0] enabled

bootconsole [early_BFuart0] enabled

early printk enabled on early_BFuart0

Board Memory: 64MB

Kernel Managed Memory: 64MB

Memory map:

  fixedcode = 0x00000400-0x00000490

  text      = 0x00001000-0x000f3300

  rodata    = 0x000f3300-0x0013f610

  bss       = 0x00140000-0x00151790

  data      = 0x00151790-0x00162000

    stack   = 0x00160000-0x00162000

  init      = 0x00162000-0x0072d000

  available = 0x0072d000-0x03eff000

  DMA Zone  = 0x03f00000-0x04000000

Hardware Trace Active and Enabled

Boot Mode: 0

Blackfin support (C) 2004-2009 Analog Devices, Inc.

Compiled for ADSP-BF561 Rev 0.5

Blackfin Linux support by http://blackfin.uclinux.org/

Processor Speed: 97 MHz core clock and 48 MHz System Clock

NOMPU: setting up cplb tables

Instruction Cache Enabled for CPU0

Data Cache Enabled for CPU0 (write-back)

Data Cache (L2 SRAM) Enabled (write-back)

Built 1 zonelists in Zone order, mobility grouping off.  Total pages: 16001

Kernel command line: root=/dev/mtdblock0 rw earlyprintk=serial,uart0,57600 console=ttyBFJC0,57600

Configuring Blackfin Priority Driven Interrupts

PID hash table entries: 256 (order: 8, 1024 bytes)

console handover:boot [early_BFuart0] boot [early_shadow0]  -> real [ttyBFJC0]



Nothing shows up in netcat:


test@uboot35-561:~> netcat localhost 2001





--- hackdj wolf                                              2009-10-19 21:02:59

why nobody fixed this bug?


--- Robin Getz                                               2009-10-20 11:26:47



No one fixed it (yet) -- since it was thought it was low priority.


Do you need this bug fixed? (You want to use JTAG console on 561?)




--- hackdj wolf                                              2009-10-20 21:10:21


my bf561 board need jtag console


--- hackdj wolf                                              2009-10-20 21:10:29


my bf561 board need jtag console


--- Mike Frysinger                                           2010-07-23 10:54:40

pretty sure this is a dupe of [#5293] as the issue appears to be on the side of

gdbproxy and not the target


--- Vivi Li                                                  2010-08-17 21:57:10

OK. Close it.












File Name     File Type     File Size     Posted By

config.jtag_console    application/octet-stream    26989    Vivi Li