[SOLVED] LPCXpresso Free Edition: restart during debug doesn't work

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

  • [SOLVED] LPCXpresso Free Edition: restart during debug doesn't work

    I configured a GDB debug session in LPCXpresso Free Edition for J-Link probe. The debugger works, but I have a problem with Restart button: it doesn't work.

    Actually I'm using LPC1778 device.

    Any help?
  • Hello,

    Currently, the J-Link implementation inside LPCXpresso, done by NXP, is more or less a vanilla Eclipse implementation and unfortunately,
    it is not possible to implement the restart button functionality without writing a plugin which handles it.
    Currently, there are no immediate plans from NXP's side to write such a plugin.

    Anyhow, it is possible to use the GNUARM Eclipse plugin also inside LPCXpresso.
    This plugin also implements the restart button functionality.

    For more information about how to get the GNUARM Eclipse plugin working in LPCXpresso:
    segger.com/nxp-lpcxpresso.html


    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.
  • I tried to follow the instructions, but most probably I made some errors: the debug session can't be initiated.

    First problem: the Project->Properties->C/C++ Build->Settings window doesn't have the Device tab. Anyway I selected the correct device (LPC1778) in the Debug Configuration window.

    Second problem: the default GDB Client executable ({cross_prefix}gdb{cross_suffix}) doesn't work (I added cross_prefix string substitution), so I write the full path C:\nxp\LPCXpresso_7.5.0_254\lpcxpresso\tools\bin\arm-none-eabi-gdb.exe

    Third problem: after launching debug session, I receive the error
    Error in final launch sequence
    Error executing step execute method: stepStartTrackingBreakpoints
    java.lang.reflect.InvocationTargetException

    The post was edited 1 time, last by giusloq ().

  • While waiting for some suggestions how to solve the issues in debugging with GNU ARM Eclipse Plugin, I switched back to generic GDB Hardware Debugging plug-in. It worked well before installing and configuring GNU ARM Eclipse Plugin.

    But now, after starting a debug session, I see the small window that shows the comparing/erasing/programming/verifying of MCU internal memory, then I see the same error X(
    Error in final launch sequence
    Error executing step execute method: stepStartTrackingBreakpoints
    java.lang.reflect.InvocationTargetException



    Now I'm not able to debug anymore!!!
  • Hi,

    wir are sorry that you are experiencing issues.
    However, SEGGER is neither the maintainer of the GNU ARM Eclipse Plugin nor of LPCXpresso.
    Please refer to the respective maintainer. Links can be found on our IDE integration sites or a search engine of your choice:
    segger.com/IDE_Integration_Eclipse.html
    segger.com/nxp-lpcxpresso.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.