Post Go back to editing

CLI and "Target option Mask interrupts during step"

Hi,

For debugging purpose I have enabled from menu "Target Options" enable "mask interrupts during step".In general how will the CLI behave when I keep the breakpoint at this instruction with the above mentioned option enabled.

Any inputs on this welcome!!!

Regards

Velsen

  • velsen wrote:

    Hi,

    For debugging purpose I have enabled from menu "Target Options" enable "mask interrupts during step".In general how will the CLI behave when I keep the breakpoint at this instruction with the above mentioned option enabled.

    Any inputs on this welcome!!!

    Regards

    Velsen

    Hi,

    The "Mask interrupts during step" option modifies the interrupt mask registers, so you should be aware that stepping through code which itself modifies these registers, such as a CLI or STI, could be problematic as changes to the the registers may be lost. Also note that when this option is used, the interrupt is masked, so no ISR code will be called during the stepping process.

  • This question has been assumed as answered either offline via email or with a multi-part answer. This question has now been closed out. If you have an inquiry related to this topic please post a new question in the applicable product forum.

    Thank you,
    EZ Admin