[ABANDONED] [NEED HELP] Embedded Studio Custom GDB Server

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

  • [ABANDONED] [NEED HELP] Embedded Studio Custom GDB Server

    Hi,
    I wanted to configure Embedded Studio to use a 3rd party debugger (Black Magic Probe) with gdb on WIndows.
    From CMD I can connect to my module:

    Source Code

    1. gdb -ex "target extended-remote 192.168.1.164:2000" -ex "monitor connect_srst enable" -ex "monitor swdp_scan" -ex "att 1"
    which returns

    Source Code

    1. Remote debugging using 192.168.1.164:2000
    2. Assert SRST during connect: enabled
    3. Target voltage: 2.09V
    4. Available Targets:
    5. No. Att Driver
    6. 1 Nordic nRF52 M4
    7. 2 Nordic nRF52 Access Port
    8. Attaching to Remote target
    9. warning: while parsing target description (at line 1): Target description specified unknown architecture "arm"
    10. warning: Could not load XML target description; ignoring
    11. 0x00000001 in ?? ()
    12. (gdb)
    Display All
    In the IDE I chose GDB Server as Target Connection and the following:


    No matter what I did, always got the following logs:

    Source Code

    1. write: $qSupported:vContSupported+#6c
    2. read: $PacketSize=400;qXfer:memory-map:read+;qXfer:features:read+#1F
    3. write: $vMustReplyEmpty#3a
    4. read: $#00
    5. write: $QStartNoAckMode#b0
    6. read: $#00
    7. write: $!#21
    and on my target:


    Source Code

    1. Got connection
    2. *** Unsupported packet: vMustReplyEmpty
    3. *** Unsupported packet: QStartNoAckMode
    4. Dropped broken connection: Connection reset by peer


    I'm totally stuck here and no clue how to proceed.

    Can you help me with a correct configuration?

    Thank you in advance!
    Adam