Post Go back to editing

gdbproxy crash when debugging rtems sample with gnice+

Hi everone,

I use eclipse Helios under windows 7

Eclipse has RTEMS plug-in and blackfin Plug-in installed

I have GNU toolchains 2010R1, 2011R1 and 2014R1_45 installed

when I connect my gniCE+, and run: ">bfin-gdbproxy bfin" on windows cmd, only 2010R1 gets to work, and the other two versions give the error: cable initialization failed

with 2010R1 I get this:

Found USB cable: gnICE+

Connected to libftdi driver.

IR length: 5

Chain length: 1

Device Id: 00100010011111100000000011001011 (0x227E00CB)

  Manufacturer: Analog Devices, Inc. (0x0CB)

  Part(0):      BF527 (0x27E0)

  Stepping:     2

  Filename:     c:\program files (x86)\analog devices\gnu toolchain\2014r1_45\el

f\bin\../share/urjtag/analog/bf527/bf527

warning:   bfin: no board selected, BF527 is detected

notice:    bfin: jc: waiting on TCP port 2001

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

notice:    bfin-gdbproxy: waiting on TCP port 2000

I suppose everything is fine so far, but when I click debug in eclipse, the gdbproxy crashes and I get this:

info:  [0] emulator not ready: DBGSTAT [0x000A]
info:  Resetting ...

Assertion failed: emuready, file /usr/src/packages/BUILD/blackfin-toolchain-2010

R1/urjtag/src/bfin/bfin.c, line 577

This application has requested the Runtime to terminate it in an unusual way.

Please contact the application's support team for more information.

the application I try to debug is Hello-World sample program for RTEMS that builds just fine without errors

after gdbproxy crashes, eclipse console shows this ..

No symbol "new" in current context.

set remotetimeout 300

load

Loading section .init, size 0x7c lma 0x100

Remote communication error: Bad file descriptor.

tbreak main

Function "main" not defined.

continue

putpkt: write failed: No error.

0x00000000 in ?? ()

kill

putpkt: write failed: No error.

Parents
  • this is everything gdbproxy outputs to the cmd :

    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: 00100010011111100000000011001011 (0x227E00CB)

      Manufacturer: Analog Devices, Inc. (0x0CB)

      Part(0):      BF527 (0x27E0)

      Stepping:     2

      Filename:     c:\program files (x86)\analog devices\gnu toolchain\2014r1_45\el

    f\bin\../share/urjtag/analog/bf527/bf527

    warning:   bfin: no board selected, BF527 is detected

    notice:    bfin: jc: waiting on TCP port 2001

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

    notice:    bfin-gdbproxy: waiting on TCP port 2000

    notice:    bfin-gdbproxy: connected

    Assertion failed: emuready, file /usr/src/packages/BUILD/blackfin-toolchain-2010

    R1/urjtag/src/bfin/bfin.c, line 577

    This application has requested the Runtime to terminate it in an unusual way.

    Please contact the application's support team for more information.

Reply
  • this is everything gdbproxy outputs to the cmd :

    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: 00100010011111100000000011001011 (0x227E00CB)

      Manufacturer: Analog Devices, Inc. (0x0CB)

      Part(0):      BF527 (0x27E0)

      Stepping:     2

      Filename:     c:\program files (x86)\analog devices\gnu toolchain\2014r1_45\el

    f\bin\../share/urjtag/analog/bf527/bf527

    warning:   bfin: no board selected, BF527 is detected

    notice:    bfin: jc: waiting on TCP port 2001

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

    notice:    bfin-gdbproxy: waiting on TCP port 2000

    notice:    bfin-gdbproxy: connected

    Assertion failed: emuready, file /usr/src/packages/BUILD/blackfin-toolchain-2010

    R1/urjtag/src/bfin/bfin.c, line 577

    This application has requested the Runtime to terminate it in an unusual way.

    Please contact the application's support team for more information.

Children
No Data