Skip to main content
Visitor II
February 12, 2020
Question

Watchpoint on USB SFR register does not trigger.

  • February 12, 2020
  • 2 replies
  • 1139 views

I wish to understand where the code fills out the USB register values.

I added a watchpoint of this registers USB_HS_GLOBAL

Is this in a high priority type Interrupt Handler that doesnt not respond do watchpoint??

    This topic has been closed for replies.

    2 replies

    Visitor II
    February 12, 2020

    HELLO

    Super User
    February 12, 2020

    HI....

    Impatient, are you?

    You track this by putting a breakpoint in the interrupt handler. If you are using HAL, then look in the src/stm32XXX_it.c (where "***" is for your CPU, for example, "f4xx"). Of course that will break on ANY USB interrupt, not just the one you are stimulating by setting that bit.