cancel
Showing results for 
Search instead for 
Did you mean: 

Watchpoint on USB SFR register does not trigger.

bassetteporn11
Associate II

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

2 REPLIES 2
bassetteporn11
Associate II

HELLO

Bob S
Principal

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.