J-Link: Setting breakpoints affects program flow

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

  • J-Link: Setting breakpoints affects program flow

    Hi,

    I'm using the J-Link Pro with e2studio and Renesas RZ/T1 CPU. If I set a breakpoint then the program flow is disturbed and the program on the target device triggers some errors. I'm using an ISR and additional Compare Match Timers. I suppose that the J-Link disables the interrupts in the CPU, when the breakpoint is set, but the Compare Match Timer is not stopped so that it is further incremented in the background. Can I somehow set the J-Link, so that not only the interrupts are disabled but also the compare match timer / the other timers used in my software?
  • Hi,


    does this occur when the breakpoint is set or when the application stops at the breakpoint?

    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.
  • Hi,

    This occurs when the application is running and the breakpoint is set (even if the debugger doesn't stop at the breakpoint).
    It sometimes happens when the debug session is started (without any breakpoints). Without the debugger the program is running without any problems / errors.

    Best regards,
    Jimmie