Watchpoint on USB SFR register does not trigger.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2020-02-11 4:08 PM
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??
- Labels:
-
USB
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2020-02-12 5:39 AM
HELLO
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2020-02-12 11:34 AM
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.
