Skip to main content
Test User
Associate II
August 7, 2023
Question

STM32H747I-DISCO: testing a simple project

  • August 7, 2023
  • 2 replies
  • 2814 views

Hi,

I have a STM32H747I-DISCO board and I'd like to HW debug a simple CubeMX project. I have CubeMX, CubeIDE all with the latest version. I've generated the code. After the code generation I have two subproject  CM4 and CM7. I can Build both of them. Which one to start with the debugger? Should I combine the two elf files manually?

    This topic has been closed for replies.

    2 replies

    RhSilicon
    Lead
    August 7, 2023

    I don't know if it can help in your case, but I found these videos about advanced debugging:

    https://youtube.com/playlist?list=PLnMKNibPkDnEDEsV7IBXNvg7oNn3MfRd6

    Test User
    Test UserAuthor
    Associate II
    August 7, 2023

    This is not dual core

    ST Technical Moderator
    August 7, 2023

    Hello @Test User,

    First let me thank you for posting.

    You can debug two sub-projects running on a dual-core STM32 using the STM32Cube IDE.
    In fact, this tool allows users to debug both cores simultaneously or independently.
    If you want to debug both cores, you need to ensure that you have separated debugging configurations for each core.
    Make sure you define the correct debugging configurations for each core to ensure smooth debugging operations.

    For more information, I advise you to refer to AN5286 and AN5361, both available on st.com which explain how to proceed to debug dual core with STM32CubeIDE. You can check also this Youtube Link provided by ST.

    https://www.youtube.com/watch?v=k3mXhPZSasw

    Thx

    Mahmoud

     

     

     

    To give better visibility on the answered topics, please click on Accept as Solution on the reply which solved your issue or answered your question.
    RhSilicon
    Lead
    August 7, 2023

    Have you tried using these keywords to search?

    https://www.google.com/search?q=stm32+dual+core+debugging