Skip to content

Latest commit

 

History

History
66 lines (50 loc) · 3.44 KB

File metadata and controls

66 lines (50 loc) · 3.44 KB

SVD file for the MCU

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

CMSIS stands for Common Microcontroller Software Interface Standard.

Obtaining STM32H533.svd

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.

  1. Go to Arm Keil | CMSIS Packs and search for STM32H5xx.
  2. There should be one result: STM32H5xx_DFP.
  3. Click on Download STM32H5xx_DFP 2.0.0 or use this direct download link (might stop working in the future).
  4. Note: At the time we downloaded it, it was Version 2.0.0: Dec. 18, 2024 Keil.STM32H5xx_DFP.2.0.0.pack.
  5. Rename .pack to .zip. Then unzip it.
  6. Open the Keil.STM32H5xx_DFP.2.0.0 dir, go to CMSIS/SVD subdir. There should be the STM32H533.svd file. That's the one you are looking for.

Obtaining STM32F407.svd

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.

  1. Go to Arm Keil | CMSIS Packs and search for STM32F4xx.
  2. There should be one result: STM32F4xx_DFP.
  3. Click on Download STM32F4xx_DFP 3.0.0 or use this direct download link (might stop working in the future).
  4. Note: At the time we downloaded it, it was Version 3.0.0: Oct. 11, 2024 Keil.STM32F4xx_DFP.3.0.0.pack.
  5. Rename .pack to .zip. Then unzip it.
  6. Open the Keil.STM32F4xx_DFP.3.0.0 dir, go to CMSIS/SVD subdir. There should be the STM32F407.svd file. That's the one you are looking for.

Issue: Missing the core peripherals

See ARM-software/CMSIS_5#844.

This comment contains an SVD with Cortex-M4 and Cortex-M33 core peripherals, generated from ARM Development studio.