[SOLVED] IMXRT1020 Software Breakpoints not working

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

  • [SOLVED] IMXRT1020 Software Breakpoints not working

    Hello,

    we are debugging our XIP project for IMXRT1020 in EWARM 8.42.2 with Jlink v6.7c (changing to a newer version does not help) at our own hardware.

    If we use the project debugger option "Auto" for Breakpoints we can set a breakpoint at a switch (exactly at the switch(....) statement) with 20 cases but we can not single step afterwards. If we try to single step a jlink "Reprogramming flash" window will open and be stuck at Erase 0%, Erasing range 0x60150000.... Compare is at 100%

    If we use the breakpoint option "Hardware" everything works as expected. We can set the breakpoint at the switch and single step through it. How many hardware breakpoints are supported at the IMXRT1020?

    If we use the breakpoint option "Software" the debugging session won't properly start/run at all.

    I have read in Jlink release notes from Jlink v 6.7f "Renesas RX: Software breakpoints in flash did not work. Fixed." Could it be a problem with the IMXRT1020 too?

    Kind regards,
    Stefan
  • Hi Stefan,
    I assume with "V6.7c" you mean "V6.70c"?

    Are you using an evaluation board or custom hardware?
    If evaluation board: which one?
    If custom hardware: Does this issue also appear on an evaluation board?
    Which i.MXRT1020 device do you use exactly?
    As the RT1020 devices do not come with an internal flash:
    Which external flash are you using?

    Best regards,
    Fabian
    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 Stefan,

    Thank you for the information.
    We will close this thread now.

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