Skip to main content
Associate II
Mar 21, 2024 4:30 PM UTC
Solved

Where can I find documentation for CoreDebug_DEMCR_TRCENA_Msk

I am using the STM32U575xx and found stackoverflow questions regarding the DWT->CYCLCNT.

c - STM32 - How to enable DWT Cycle counter - Stack Overflow

 

I tested this and it works fine, but I'd like to have documentation aside from the header file.

I'd like to learn more about

1. CoreDebug->DEMCR bits

2. ITM->LAR

This topic has been closed for replies.
ClaudeBest answer
Associate II
Mar 21, 2024 6:05 PM UTC

For future reference, documentation for LAR (Lock Access Register) can be found here:

CoreSight Trace Memory Controller Technical Reference Manual r0p1 (arm.com)

 

4 replies

Tesla DeLorean
Guru
Mar 21, 2024 5:34 PM UTC

ARM Technical Reference Manuals for the processor core

To a lesser extent ST's Programming Manuals

 

Tips, Buy me a coffee, or three.. PayPal Venmo (See Profile) Up vote any posts that you find helpful, it shows what's working..
Tesla DeLorean
Guru
Mar 21, 2024 5:36 PM UTC
Tips, Buy me a coffee, or three.. PayPal Venmo (See Profile) Up vote any posts that you find helpful, it shows what's working..
ClaudeAuthor
Associate II
Mar 21, 2024 5:57 PM UTC

When I visit this:the PDF gives me no hit for LAR.

 

However DEMCR is documented. Thanks

ClaudeAuthorBest answer
Associate II
Mar 21, 2024 6:05 PM UTC

For future reference, documentation for LAR (Lock Access Register) can be found here:

CoreSight Trace Memory Controller Technical Reference Manual r0p1 (arm.com)