2025-06-02 2:55 PM - last edited on 2025-06-23 3:27 AM by Imen.D
I was comparing the STM32 Debug Support documentation (Chapter 26 in RM0360) with official ARM documentation and noticed something that I cannot explain.
The documentation for the SW-AP registers appears to be wrong. It is simply a rewording of the documentation of the SW-DP registers. The IHI0031 document from ARM shows the correct definitions of the SW-AP registers. It however leaves certain fields as implementation defined and I believe this information should be in RM0360. I have checked and the same appears in the RMs for the G030 and the C030.
I am interested in knowing, for example, the details of the PROT bit field (Bits 30..24) in the CSW register which should be at address 0x00 in the AP.
2025-06-23 3:26 AM
Hello @ACBlue
Thank you for your detailed observation regarding the STM32 reference manuals.
I escalated the request internally via internal ticket number 212494 in order to improve our RM documentations.
(PS: Ticket number 212494 is an internal tracking number and is not accessible outside of ST).