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
  • Makes sense & is already on the ToDo-List.

    However, feel free to also suggest this to Keil, as they could also add it.

    --Rolf
    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,

    > 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.