This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

Setting all 8 breakpoints

Hi everyone,

I am debugging an application on a STM32F4 in flash with a ULINK.
I read one of the features for the ULINK should be 8 breakpoints, but after the 6th breakpoint I get an error message.
Isn't it possible to use all 8 breakpoints?
Maybe can I use 8 breakpoints with another device?

Can you help me with this?

Warden

Parents
  • Hi Bob,

    You are wrong. The maximum is 6, not 8.
    Higher up in this thread you see the following:

    About the Flash Patch and Breakpoint Unit (FPB)
    ...
    A full FPB unit contains:
    ...
    - Six instruction comparators for matching against instruction fetches from Code space, and remapping to a corresponding area in System space. Alternatively, you can configure the comparators individually to return a Breakpoint Instruction (BKPT) to the processor core on a match, to provide hardware breakpoint capability.

    The ARM manual clearly says: 6 is the max.
    Please have this fixed. It is simply wrong.

Reply
  • Hi Bob,

    You are wrong. The maximum is 6, not 8.
    Higher up in this thread you see the following:

    About the Flash Patch and Breakpoint Unit (FPB)
    ...
    A full FPB unit contains:
    ...
    - Six instruction comparators for matching against instruction fetches from Code space, and remapping to a corresponding area in System space. Alternatively, you can configure the comparators individually to return a Breakpoint Instruction (BKPT) to the processor core on a match, to provide hardware breakpoint capability.

    The ARM manual clearly says: 6 is the max.
    Please have this fixed. It is simply wrong.

Children
  • Hello

    I have a slide set from the Cortex-M3 Product Manager that clearly says 8 hardware breakpoints.
    I don't see a place here where I can post the picture...

    BUT ! We could both be correct - this maximum number could have been changed in a later version of CoreSight.....

    I will ask the CoreSight guy and report back here what I find....

    Thanks

    Bob