Projects with STM32H7S3x8 / STM32H7S7x8

Sysprogs forums Forums VisualGDB Projects with STM32H7S3x8 / STM32H7S7x8

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #36091
    intector
    Participant

    Hello,

    STMicroelectronics got a new MCU series, the “600 MHz bootflash MCU”. It’s an impressive device that blurs the lines between the MCU and MPU. I bought the NUCLEO-STM32H7S3L8 board to test those new devices, and they’re working well, and it’s pretty simple to get started with the STM32CubeIDE.

    I’ve been using VisualGDB for several years, and it has become my favorite tool for developing software for embedded systems. Unfortunately, there’s not a lot of documentation about the use of STM32H7S3x8 / STM32H7S7x8 MCUs, and I was wondering if anyone had a chance to work with those in VisualGDB. It would be interesting to know if there is a way to create a project in VisualGDB that contains the Appli and the Boot parts(similar to the STM32CubeIDE).

    For now, I have to use the STM32CubeIDE to create and flash the “Boot” project with the “ExtMemLoader,” and then I can use VisualGDB to work on the “Appli” project. That works OK, but it’s somewhat cumbersome. Please let me know if there’s a better solution.

     

    never forget:
    “Always be yourself.
    Unless you can be a pirate.
    Then always be a pirate.”

     

    #36092
    support
    Keymaster

    Hi,

    We are aware of the new STM32H7S series and have the BSP based on the official SDK from STM32, however have not tried the hardware on our side yet.

    If you would like to replicate the 2-project structure from STM32CubeIDE, we would advise using the Advanced CMake Project Subsystem to create the bootloader + application projects separately, and then manually combine them into the same project by editing CMakeLists.txt. Specifically you would need to:

    • Move the find_bsp() statement from the second project into the first one, adding an ALIAS parameter (e.g. BSP2)
    • Move the add_bsp_based_executable() statement as well, setting BSP_ALIAS to match the second BSP.

    You can also just create 2 separate MSBuild projects and have them in the same solution (right-click on Solution node -> Add -> Existing Project).

    We do not have the hardware yet to give exact advice on replicating the ExtMemLoader logic (we will be publishing a tutorial in a couple of weeks), however, you can try checking what exactly does the STM32CubeIDE do in this mode. If it’s running OpenOCD with some special arguments, or executing the STM32CubeProg, we can help you configure VisualGDB to match that.

    #36093
    intector
    Participant

    Hello,

    I’ll try this and let you know the results.

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