[ABANDONED] GDB Server - ERROR: Could not connect to target.

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

  • [ABANDONED] GDB Server - ERROR: Could not connect to target.

    Now I am able to connect with J-Link Commander.
    but GDB Server was failed to connect. Could you please let me know what is the issue here?


    SEGGER J-Link GDB Server V7.92c GUI Version

    JLinkARM.dll V7.92c (DLL compiled Aug 30 2023 14:58:23)

    -----GDB Server start settings-----
    GDBInit file: none
    GDB Server Listening port: 2331
    SWO raw output listening port: 2332
    Terminal I/O port: 2333
    Accept remote connection: localhost only
    Generate logfile: off
    Verify download: off
    Init regs on start: off
    Silent mode: off
    Single run mode: off
    Target connection timeout: 5000 ms
    ------J-Link related settings------
    J-Link Host interface: USB
    J-Link script: none
    J-Link settings file: none
    ------Target related settings------
    Target device: MCIMX6D7
    Target device parameters: none
    Target interface: SWD
    Target interface speed: 4000kHz
    Target endian: little

    Connecting to J-Link...
    J-Link is connected.
    Firmware: J-Link V12 compiled Aug 2 2023 10:34:27
    Hardware: V12.00
    S/N: 852000784
    Feature(s): RDI, FlashBP, FlashDL, JFlash, GDB
    Checking target voltage...
    Target voltage: 3.29 V
    Listening on TCP/IP port 2331
    Connecting to target...
    ERROR: Could not connect to target.
    Target connection failed. GDBServer will be closed...
  • the output of the working Commander session would be helpful…
    Please read the forum rules before posting.

    Keep in mind, this is *not* a support forum.
    Our engineers will try to answer your questions between their projects if possible but this can be delayed by longer periods of time.
    Should you be entitled to support you can contact us via our support system: segger.com/ticket/

    Or you can contact us via e-mail.