CLion and other IDEs support SVD files for describing the layout of registers for debugging.
There are two SVD files for STM32F407:
- STM32F407.svd – contains all ST peripherals except the Cortex-M4 core peripherals
- Cortex-M4.svd – contains only the Cortex-M4 core peripherals, see the note below for more info.
There are two SVD files for STM32H533:
- STM32H533.svd – contains all ST peripherals except the Cortex-M33 core peripherals
- Cortex-M33.svd – contains only the Cortex-M33 core peripherals, see the note below for more info.
CLion supports multiple SVDs at the same time during debugging.
CMSIS stands for Common Microcontroller Software Interface Standard.
- CMIS Arm website
- CMIS on GitHub
- CMIS SVD documentation and CMIS SVD Schema (also in the GitHub repo here)
Note: We downloaded the SVD file to STM32H533.svd, so you don't need to download it yourselves.
ST does not provide SVD files for their MCUs. Fortunately, we can get one from the Arm Keil IDE website.
- Go to Arm Keil | CMSIS Packs and search for STM32H5xx.
- There should be one result: STM32H5xx_DFP.
- Click on Download STM32H5xx_DFP 2.0.0 or use this direct download link (might stop working in the future).
- Note: At the time we downloaded it, it was
Version 2.0.0: Dec. 18, 2024 Keil.STM32H5xx_DFP.2.0.0.pack. - Rename
.packto.zip. Then unzip it. - Open the
Keil.STM32H5xx_DFP.2.0.0dir, go toCMSIS/SVDsubdir. There should be theSTM32H533.svdfile. That's the one you are looking for.
Note: We downloaded the SVD file to STM32F407.svd, so you don't need to download it yourselves.
ST does not provide SVD files for their MCUs. Fortunately, we can get one from the Arm Keil IDE website.
- Go to Arm Keil | CMSIS Packs and search for STM32F4xx.
- There should be one result: STM32F4xx_DFP.
- Click on Download STM32F4xx_DFP 3.0.0 or use this direct download link (might stop working in the future).
- Note: At the time we downloaded it, it was
Version 3.0.0: Oct. 11, 2024 Keil.STM32F4xx_DFP.3.0.0.pack. - Rename
.packto.zip. Then unzip it. - Open the
Keil.STM32F4xx_DFP.3.0.0dir, go toCMSIS/SVDsubdir. There should be theSTM32F407.svdfile. That's the one you are looking for.
This comment contains an SVD with Cortex-M4 and Cortex-M33 core peripherals, generated from ARM Development studio.