cancel
Showing results for 
Search instead for 
Did you mean: 

SVD file issue

Hedley
Associate III

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>

1 ACCEPTED SOLUTION

Accepted Solutions

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

View solution in original post

3 REPLIES 3
Imen.D
ST Employee

Hello,

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

Best Regards,

Imen

When your question is answered, please close this topic by clicking "Accept as Solution".
Thanks
Imen

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

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