JLINK gdb server can't connect

This site uses cookies. By continuing to browse this site, you are agreeing to our Cookie Policy.

  • JLINK gdb server can't connect

    I am using JLINK EDU and Beagleboard XM. The JTAG connection is setup correctly; when I connect using JLINK Commander, I get a popup saying "Can not find ICE-Pick (IDCODE mismatch)" but it eventually seems to work (I renamed the beagleboard script as Default.JLinkScript) and I get:





    SEGGER J-Link Commander V4.22c ('?' for help)
    Compiled Jan 18 2011 11:40:21
    DLL version V4.22c, compiled Jan 18 2011 11:40:08
    Firmware: J-Link ARM V8 compiled Dec 16 2010 20:21:29
    Hardware: V8.00
    S/N: xxxxx
    OEM: SEGGER-EDU
    Feature(s): FlashBP, GDB
    VTarget = 1.805V
    Info: Beagle Board OMAP3530 (Cortex-A8 core) J-Link script
    Info: J-Link script: Init ICEPick
    Info: TotalIRLen = 6, IRPrint = 0x01
    Info: TotalIRLen = 10, IRPrint = 0x0011
    Info: ARM AP[0]: 0x14770001, AHB-AP
    Info: ARM AP[1]: 0x04770002, APB-AP
    Info: ARM AP[2]: 0x14760010, JTAG-AP
    Info: Found Cortex-A8 r3p2
    Info: 6 code breakpoints, 2 data breakpoints
    Info: Data endian: little
    Info: Main ID register: 0x413FC082
    Info: Cache Type register: 0x82048004
    Info: System control register:
    Info: Instruction endian: little
    Info: Level-1 instruction cache enabled
    Info: Level-1 data cache disabled
    Info: MMU disabled
    Info: Branch prediction supported
    Found 2 JTAG devices, Total IRLen = 0:
    #0 Id: 0x0B6D602F, IRLen: 04, IRPrint: 0x1, Cortex-A8 Core
    #1 Id: 0x0B7AE02F, IRLen: 06, IRPrint: 0x1, TI ICEPick
    Cortex-A8 identified.
    JTAG speed: 100 kHz
    J-Link>


    This indicates that I am properly connected to the device. Through JLINK Commander, I view memory and write them to file. However, when I try to set breakpoint on 0x00000000 or 0xFFFF0000 and reset the processor, the breakpoint never hit. Second, when I try to do a cpu speed test, I get an error like






    J-Link>testcspeed
    Testing CPU clock frequency @ address 0x00000000...

    ****** Error: Timeout while entering debug state
    No RAM available @ address 0x0. Could not determine CPU clock
    J-Link>

    and when starting up the JLINK GDB Server, I get this error,






    J-Link connected
    Firmware: J-Link ARM V8 compiled Dec 16 2010 20:21:29
    Hardware: V8.00
    S/N: xxxxx
    OEM: SEGGER-EDU
    Feature(s): FlashBP, GDB

    Resetting target using BP@0 and trying again to connect...
    WARNING: CPU not halted after Reset, halting using Halt request
    ERROR: DBGEN is not asserted.

    ERROR: Could not connect to target.

    J-Link connected
    Firmware: J-Link ARM V8 compiled Dec 16 2010 20:21:29
    Hardware: V8.00
    S/N: xxxxx
    OEM: SEGGER-EDU
    Feature(s): FlashBP, GDB
    ERROR: DBGEN is not asserted.



    What am I doing wrong? Thanks.
  • spoke too soon. it seems that the gdb server is running properly and i can connect to it on localhost:2331, however whenever i connect the GDB server would complain that it cannot read the register values and then terminate the server. i am not sure what the issue is here.



    i know that the jtag connection is setup properly and i can view/edit memory and single step using JLink Commander.



    does the jlink gdb server support Cortex-A8? (this is on a beagleboard-xm)
  • Can not connect to J-Link via USB

    Hi all,
    I've tried the beta linux download on my ubuntu 10.10 machine and also with wine from the v4.14 mini install disk and also on my win2000 laptop with no luck. I tried the v4.24 download also.
    I cannot get any where beyond "Can not connect to J-Link via USB". All the support programs open and are responsive yet cannot connect as well.
    Help would be welcomed. I'll try anything.
    I have a brand new STM32F103RBT6 development board with 2.8" TFT-module. The Micrium uc/GUI software demo runs and two red lights on top blink on and off alternating with a third red light in the upper right corner lit. The touch screen is responsive.
    Greg