Skip to main content
Visitor II
October 10, 2020
Question

What's wrong with the compare in STM32F373?

  • October 10, 2020
  • 1 reply
  • 938 views

I use MDK 5.32. In the debug interface - Peripherals - System Viewer - COMP window, the value of CSR is always 0 after initialization and the address of CSR is viewed as 0x40007C1C. But CSR's address is 0x4001001C in STM32F37xc.h. What's the matter?

0693W000004JKJRQA4.jpg

    This topic has been closed for replies.

    1 reply

    ST Employee
    October 23, 2020

    Hi yundm2,

    To answer your question, the System Viewer window view is generated from an .svd file.

    So in this case looks like the bug is related to a wrong definition of CSR into the SVD.

    It will help if you can precise the version of the .svd file containing the bug and from our side we will make sure to fix in upcoming release.

    Also if you are interested, I can attach a newer version once we fix while waiting to be implemented in next release for MDKarm.

    Thank you for your feedbacks,

    -Imen