platformio / platform-ststm32

ST STM32: development platform for PlatformIO
https://registry.platformio.org/platforms/platformio/ststm32
Apache License 2.0
405 stars 312 forks source link

Bug in STM32F40x.svd #621

Closed jcw closed 2 years ago

jcw commented 2 years ago

The misc/xvd/STM32F40x.svd file contains the following info:

      <groupName>NVIC</groupName>
      <baseAddress>0xE000E000</baseAddress>

Which is wrong. It should be:

      <groupName>NVIC</groupName>
      <baseAddress>0xE000E100</baseAddress>

This one sure kept me chasing ghosts for over a day - who would've expected SVD files to be so buggy? In fact, I get the impression that this error is all over the place, just do a grep -rB1 E000E000 misc/svd/ ...

maxgerhardt commented 2 years ago

Weird, downloading the latest CMSIS pack from https://developer.arm.com/embedded/cmsis/cmsis-packs/devices/STMicroelectronics/STM32F401CBUx and looking at Keil.STM32F4xx_DFP.2.16.0\CMSIS\SVD\STM32F40x.svd, I still see this. The file is unchanged from 03. January 2017.

      <groupName>NVIC</groupName>
      <baseAddress>0xE000E000</baseAddress>

Can you take this to STMicroelectroncis?