Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

DWT: address comparison configuration does not verify written mask #384

Open
tmplt opened this issue Jan 4, 2022 · 1 comment
Open

DWT: address comparison configuration does not verify written mask #384

tmplt opened this issue Jan 4, 2022 · 1 comment

Comments

@tmplt
Copy link
Contributor

tmplt commented Jan 4, 2022

From ARM DDI 0403.d, p. C1-731:

To find the maximum size of the address comparison mask for comparator n, software must write
0b11111 to the DWT_MASKn.MASK field, and then read the DWT_MASKn register. The value
returned in the MASK field is the maximum mask size.

There also is no function available that queries this maximum mask size.

@tmplt
Copy link
Contributor Author

tmplt commented Jan 4, 2022

Related to #382.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant