[SOLVED][Eclipse/Codesourcery Lite/JLink OEM EnergyMicro] GDB Server Problem

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

  • [SOLVED][Eclipse/Codesourcery Lite/JLink OEM EnergyMicro] GDB Server Problem

    Hello,

    I am doing a student project on EnergyMicro STK Board with an ARM Toolchain (in subject). I am using drivers for JLink from Segger website. Everything was fine with downloading .out file to a EFM32 uC with a help of a JLinkGDBServerCL.exe application until my code was over 32KB. uC has a 128KB Flash so that is not a problem. I use CodeSourcery Lite. Is there a code size limit in GDB Server?

    JLinkGDBServerCL.exe says:

    Source Code

    1. Connection to debugger closed !


    This is what I get from Eclipse console:

    Source Code

    1. target remote localhost:2331
    2. 0x00000000 in __cs3_interrupt_vector_efm32g ()
    3. monitor endian little
    4. Target endianess set to "little endian"
    5. monitor reset
    6. Resetting target
    7. monitor sleep 100
    8. Sleep 100ms
    9. monitor speed 30
    10. JTAG speed set to 29 kHz
    11. set remote memory-write-packet-size 1024
    12. set remote memory-write-packet-size fixed
    13. monitor flash device = EFM32G210F128
    14. Select flash device: EFM32G210F128
    15. monitor flash download = 1
    16. Flash download enabled
    17. load
    18. Loading section .text, size 0x7ebc lma 0x0
    19. Loading section .ARM.exidx, size 0x8 lma 0x7ebc
    20. Loading section .rodata, size 0x338 lma 0x7ec8
    21. Loading section .data, size 0x530 lma 0x8200
    22. Start address 0xb8, load size 34604
    23. Remote connection closed
    24. monitor reg r13 = (0x00000000)
    25. "monitor" command not supported by this target.
    26. monitor reg pc = (0x00000004)
    27. "monitor" command not supported by this target.
    28. monitor reset
    29. "monitor" command not supported by this target.
    30. break main
    31. Breakpoint 1 at 0x1676: file blink.c, line 235.
    32. continue
    33. The program is not being run.
    Display All
  • Hi,

    I do not know which version of the GDBServer you use,
    but the current versions of the GDB server do not have a code size limit anymore.
    Instead of the code size limitation now a message box pops up,
    informing you that the GDBServer is used in evaluation mode, if no valid license has been found.


    Best regards
    Alex
    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.
  • Hello,

    just for information:
    This is not a J-Link problem, but a problem in the firmware of the DVK/STK from EnergyMicro.
    They (EnergyMicro) have confirmed this and announced that there will be a fix for this problem.


    Best regards
    Alex
    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.