-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
trace: use different DWT channels/units for enter/exit events
As per #47, using a single DWT channel is less robust than using two. By using two, a state must not be kept on the host-side, and it allows us to catch re-entry errors. Do we really need to use two DWT units here? We should be able to watch both the enter and exit addresses, and when one of them writes, the ITM package should indicate which variable was written to.
- Loading branch information
Showing
2 changed files
with
44 additions
and
24 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters