cancel
Showing results for 
Search instead for 
Did you mean: 

What's wrong with the compare in STM32F373?

yundm2
Associate II

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

1 REPLY 1
Imen Ezzine
ST Employee

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