[#6800] jtag test on bf561 ezkit board stucks

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

[#6800] jtag test on bf561 ezkit board stucks

Submitted By: Mingquan Pan

Open Date

2011-09-22 23:09:43     Close Date

2011-10-16 23:18:47

Priority:

Medium High     Assignee:

Jie Zhang

Board:

N/A     Silicon Revision:

Resolution:

Assigned (Not Started)     Fixed In Release:

N/A

Processor:

ALL     

Host Operating System:

toolchain rev.:

trunk head     kernel rev.:

State:

Closed     Found In Release:

2011R1

Is this bug repeatable?:

N/A     

Summary: jtag test on bf561 ezkit board stucks

Details:

 

jtag test on bf561 ezkit v2.3 board stucks after testing a while. Chip rev. is 0.5.

 

jtag test on bf561 ezkit board would stuck when testing gdb and doesn't go further.

 

Looking at the gdbproxy start log, it seens :

 

info:      bfin: [1] core is in idle mode

 

 

detaild start gdbproxy log is like:

 

spawn su^M

Password: ^M

^[[?1034h^[[1m^[[31m46-bf561-gdbproxy:/home/test/work/cruise/test_scripts/toolchain/toolchain-build/toolchain-2011_Jun_01_15_12/bfin-elf/bin # ^[(B^[[msu success.

ps aux| grep bfin-gdbproxy | grep -v grep^M

^[[1m^[[31m46-bf561-gdbproxy:/home/test/work/cruise/test_scripts/toolchain/toolchain-build/toolchain-2011_Jun_01_15_12/bfin-elf/bin # ^[(B^[[m./bfin-gdbproxy bfin^M

^M

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

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

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

^M

GDBproxy comes with ABSOLUTELY NO WARRANTY; for details^M

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

welcome to redistribute it under certain conditions. Use the^M

'--copying' option for details.^M

^M

Found USB cable: gnICE+^M

Connected to libftdi driver.^M

IR length: 10^M

Chain length: 2^M

Device Id: 01010010011110111011000011001011 (0x527BB0CB)^M

  Manufacturer: Analog Devices, Inc. (0x0CB)^M

  Part(0):      BF561 (0x27BB)^M

  Stepping:     5^M

  Filename:     ./../share/urjtag/analog/bf561/bf561^M

Device Id: 01010010011110111011000011001011 (0x527BB0CB)^M

  Manufacturer: Analog Devices, Inc. (0x0CB)^M

  Part(1):      BF561 (0x27BB)^M

  Stepping:     5^M

  Filename:     ./../share/urjtag/analog/bf561/bf561^M

warning:   bfin: no board selected, 2 cores are detected^M

warning:   bfin:   cores: [BF561 BF561] ^M

notice:    bfin: jc: waiting on TCP port 2001^M

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

notice:    bfin-gdbproxy: waiting on TCP port 2000GDBproxy is already been started.^M

notice:    bfin-gdbproxy: connected^M

info:      [0] locked: DBGSTAT [0x006A]^M

info:      bfin: [1] EMUEXCPT instruction was executed: PC [0xFFA0286E] FP [0xFFB00F2C]^M

info:      bfin-gdbproxy: session killed. Will wait for a new connection^M

notice:    bfin-gdbproxy: connected^M

info:      [0] locked: DBGSTAT [0x006A]^M

info:      bfin: [1] EMUEXCPT instruction was executed: PC [0xFFA0286E] FP [0xFFB00F2C]^M

info:      bfin-gdbproxy: session killed. Will wait for a new connection^M

notice:    bfin-gdbproxy: connected^M

info:      [0] locked: DBGSTAT [0x006A]^M

info:      bfin-gdbproxy: session killed. Will wait for a new connection^M

notice:    bfin-gdbproxy: connected^M

info:      [0] locked: DBGSTAT [0x006A]^M

info:      bfin-gdbproxy: session killed. Will wait for a new connection^M

notice:    bfin-gdbproxy: connected^M

info:      [0] locked: DBGSTAT [0x006A]^M

info:      bfin-gdbproxy: session killed. Will wait for a new connection^M

notice:    bfin-gdbproxy: connected^M

...

 

info:      bfin: [1] emulation single step: PC [0xFFA005E6] FP [0xFFB00FB4]^M

info:      bfin: [1] emulation single step: PC [0xFFA005E8] FP [0xFFB00FB4]^M

info:      bfin: [1] EMUEXCPT instruction was executed: PC [0xFFA005F6] FP [0xFFB00FB4]^M

info:      bfin: [1] emulation single step: PC [0xFFA005F6] FP [0xFFB00FB4]^M

info:      bfin: [1] EMUEXCPT instruction was executed: PC [0xFFA00278] FP [0xFFB00EF4]^M

info:      bfin-gdbproxy: session killed. Will wait for a new connection^M

notice:    bfin-gdbproxy: connected^M

info:      [0] locked: DBGSTAT [0x006A]^M

error:     bfin: [1] cannot write reserved L1 [0xFFA04000] size 16304^M

info:      bfin: [1] emulation single step: PC [0xFFA00278] FP [0xFFB00EF4]^M

info:      bfin: [1] emulation single step: PC [0xFFA00120] FP [0xFFB00EF4]^M

info:      bfin-gdbproxy: session killed. Will wait for a new connection^M

notice:    bfin-gdbproxy: connected^M

info:      [0] locked: DBGSTAT [0x006A]^M

error:     bfin: [1] cannot write reserved L1 [0xFFA04000] size 16304^M

info:      bfin: [1] emulation single step: PC [0xFFA00122] FP [0xFFB00EF4]^M

info:      bfin: [1] emulation single step: PC [0xFFA0011E] FP [0xFFB00EF4]^M

info:      bfin: [1] emulation single step: PC [0xFFA00120] FP [0xFFB00EF4]^M

info:      bfin: [1] core is in idle mode^M

info:      bfin: [1] core is in idle mode^M

info:      bfin: [1] core is in idle mode^M

info:      bfin: [1] core is in idle mode^M

info:      bfin: [1] core is in idle mode^M

info:      bfin: [1] core is in idle mode^M

 

Follow-ups

 

--- Jie Zhang                                                2011-10-13 16:57:00

It should be caused by test configuration. Please make sure

"-mcpu=bf561" is used when compiling the test case.

 

--- Mingquan Pan                                             2011-10-16 23:23:34

Yes, the config file we used to use doesn't work after test script updating. It

is ok now after reset the config.

 

 

 

    Files

    Changes

    Commits

    Dependencies

    Duplicates

    Associations

    Tags

 

File Name     File Type     File Size     Posted By

No Files Were Found

Attachments

    Outcomes