Skip to main content
Hedley
Associate III
November 22, 2019
Solved

SVD file issue

  • November 22, 2019
  • 2 replies
  • 1337 views

The STM32L5x2.svd file has a zero width register field in the TAMP peripheral, register ATCR1, field TAMP2AM. This killed the header gen tool I use.

/cygdrive/c/ST/STM32CubeIDE_1.0.1/STM32CubeIDE/plugins/com.st.stm32cube.ide.mcu.productdb.debug_1.1.0.201910081157/resources/cmsis/STMicroelectronics_CMSIS_SVD/STM32L5x2.svd:15235

      <field>

       <name>TAMP2AM</name>

       <description>TAMP2AM</description>

       <bitOffset>1</bitOffset>

       <bitWidth>0</bitWidth>

      </field>

This topic has been closed for replies.
Best answer by Hedley

Great.

Also here is another one from the 1.1.0 IDE:

/cygdrive/c/ST/STM32CubeIDE_1.0.1/STM32CubeIDE/plugins/com.st.stm32cube.ide.mcu.productdb.debug_1.1.0.201910081157/resources/cmsis/STMicroelectronics_CMSIS_SVD/STM32L5x2.svd:10400

  <peripheral derivedFrom="GPIOA">

   <name>SEC_GPIOA</name>

   <baseAddress>0x5202000</baseAddress>

That should be 0x52020000

2 replies

Technical Moderator
November 25, 2019

Hello,

Thank you for your reported issue. This is raised internally for fix.

Best Regards,

Imen

In order to give better visibility on the answered topics, please click on 'Best answer' on the reply which solved your issue or answered your question. Thanks
Hedley
HedleyAuthorBest answer
Associate III
December 15, 2019

Great.

Also here is another one from the 1.1.0 IDE:

/cygdrive/c/ST/STM32CubeIDE_1.0.1/STM32CubeIDE/plugins/com.st.stm32cube.ide.mcu.productdb.debug_1.1.0.201910081157/resources/cmsis/STMicroelectronics_CMSIS_SVD/STM32L5x2.svd:10400

  <peripheral derivedFrom="GPIOA">

   <name>SEC_GPIOA</name>

   <baseAddress>0x5202000</baseAddress>

That should be 0x52020000

Imen Ezzine
ST Employee
July 29, 2020

Hi Hedley ,

Thank you for your feedbacks!

We did apply the needed fix on our latest SVD files.

Don't hesitate to share more feedbacks in the future if you have any!

Imen