STM32CubeMx Project – Missing hardware register definitions

Sysprogs forums Forums VisualGDB STM32CubeMx Project – Missing hardware register definitions

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #32312
    Timo Engelmann
    Participant

    Hi Support-Team,

    after creating a VisualGDB STM32CubeMx project and debugging it I get the information about “Missing hardware register definitions” in the “Hardware Registers” tab.
    This was no problem for me, I just copied the file stm32g474xx.xml.gz into the project folder and clicked on “Import registers from an SVD file or a VisualGDB register definition file”.

    But maybe it is possible to do this automatically through the VisualGDB project creation wizard?
    For someone outside here this might be helpful.

    Greetings,
    Timo

    #32316
    support
    Keymaster

    Hi,

    The main reason it is not done automatically is because the regular STM32 BSP is completely separate from the STM32CubeMX logic, with numerous edge cases.

    E.g. it can have slightly different device names, there could be multiple versions of the BSP with different definition files, etc. So instead of trying to guess which file should be imported automatically, we simply made it easy and intuitive to locate the missing file manually via the link in the Hardware Registers window, so our users can choose the exact file they would want to use.

    If ST decides to ship the SVD files with the STM32CubeMX SDKs/device definitions, we will definitely update VisualGDB to import them automatically, but for now we would advise simply picking the definition file manually on first run.

Viewing 2 posts - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.