[ABANDONED] Eclipse Debugging GDB error on STM32 with J-Link

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

  • [ABANDONED] Eclipse Debugging GDB error on STM32 with J-Link

    Hello,

    everytime I want to debug. I get this following error message
    [img]http://fs5.directupload.net/images/151222/temp/xfyexwgv.png[/img]

    I'm using a J-Link EDU version. The SEGGER j-Link GDB Server Version is V4.26a
    Eclipse Ganymede Version 3.4.2
    Eclipse GDB Hardware Debugging Plug-in V5.0.2.200902130801

    The copy from the console:

    Source Code

    1. set mem inaccessible-by-default off
    2. target remote localhost:2331
    3. Remote 'g' packet reply is too long: 000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000001
    4. monitor speed 1000
    5. "monitor" command not supported by this target.
    6. monitor endian little
    7. "monitor" command not supported by this target.
    8. monitor flash device=stm32f103rb
    9. "monitor" command not supported by this target.
    10. monitor flash breakpoints = 1
    11. "monitor" command not supported by this target.
    12. monitor flash download = 1
    13. "monitor" command not supported by this target.
    14. restore C:\WinARM\STM32Projects\STM32-robo\bin\main.elf
    15. You can't do that without a process to debug.
    16. add-sym C:\WinARM\STM32Projects\STM32-robo\bin\main.sym 0x
    17. add symbol table from file "C:\WinARM\STM32Projects\STM32-roboin\main.sym" at
    18. Invalid number "0x".
    19. monitor reg r13 = (0x00000000)
    20. "monitor" command not supported by this target.
    21. monitor reg pc = (0x00000004)
    22. "monitor" command not supported by this target.
    23. tbreak main
    24. Temporary breakpoint 2 at 0x80001b2: file main.c, line 14.
    25. continue
    26. The program is not being run.
    Display All


    My initialization and run commands.

    Initialization Commands:

    Source Code

    1. set mem inaccessible-by-default off
    2. target remote localhost:2331
    3. monitor speed 1000
    4. monitor endian little
    5. monitor flash device=stm32f103rb
    6. monitor flash breakpoints = 1
    7. monitor flash download = 1


    Run Commands:

    Source Code

    1. monitor reg r13 = (0x00000000)
    2. monitor reg pc = (0x00000004)
    3. tbreak main
    4. continue


    Can somebody help me out here, so I can use the debugging functions?
  • Hi,


    first of all i would suggest to update to the current version of the J-Link software & documentation pack

    If the problem persists, maybe our IDE Integration guide for Eclipse can help you: segger.com/IDE_Integration_Eclipse.html

    Best regards,
    Niklas
    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.