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
    Would you like to be added to the J-Link software update notification list, so you get informed automatically when a new version becomes available?
    Just write me a PM or in case you want to subscribe to it yourself, please use this link: Link
    Notification for J-Link, J-Link Debugger, SystemView & J-Scope: Link
    Notification for Embedded Studio: Link
  • 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