Access breakpoints (Watchpoints) on Keil MDK

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

  • Access breakpoints (Watchpoints) on Keil MDK

    Hello

    I am working with Keil MDK, and I would like to use Access breakpoints (or Watchpoints). Since Keil seems not to support this feature, both in the RDI driver and in the direct driver, is there a way (or there will be a way) to make this work? A simple workaround could be to add a little dialog window to the JLink status window, in order to directly set watchpoints.

    Thank you

    Best regards
  • Hi,

    > Since Keil seems not to support this feature,
    µVision _does_ support that, via Command Window.

    Enter:
    > BS read myVar;
    > BS readwrite myVar;
    > BS write myVar;
    > BS read myVar == 0x55;

    The Cortex-M Architecture allows you to set up to 4 Watches. This can be watches for the Logic Analyzer, Breakpoints etc. Complex Watches (i.e. BS read myVar4 == 0x55; ) take two of the 4 avaiable WP Units.

    BR,
    /th.