Skip to main content
Graduate II
September 13, 2023
Solved

STM32H7 dual core Break at address; no debug info

  • September 13, 2023
  • 5 replies
  • 6108 views

Hello,

I am using STM32H7 dual core series. My STM32CubeIDE works fine when I am using HSI. But whenever I set the configuration to HSE, I am getting Break at address "0xa05f0000" with no debug information available, or outside of program code error. I tried different crystals, 8MHz & 25MHz, but this issue still persists.

Could you please tell me where exactly I am doing things wrong? Is the crystal setting just a reason for the error but the actual error is something different?

Please guide.

- Regards,

Hrishikesh

    This topic has been closed for replies.
    Best answer by TDK

    The caps on the HSE crystal should be connected to ground.

    TDK_0-1696428680059.png

     

    VCAP should have capacitors to ground, don't see VCAP connected anywhere else in the schematic.

    TDK_0-1696428822065.png

     

    5 replies

    Super User
    September 13, 2023

    Debug the code, step through, see where the issue happens exactly.

    Perhaps your clock settings are invalid.

    HDesa.1Author
    Graduate II
    September 14, 2023

    Hi,

    I did step by step debugging. The M4 cortex is getting step over but parallelly M7 cortex gets stuck in __HAL_RCC_GET_FLAG(RCC_FLAG_D2CKRDY) flag. The debugging terminates abruptly.

    Technical Moderator
    September 13, 2023

    Hello,

    What is the system clock frequency? the voltage scale configured? number of Flash wait states? Power in SMPS or LDO mode?

    Please provide us with your schematics (HSE part) + CubeMx file?

    HDesa.1Author
    Graduate II
    September 14, 2023

    Hi,

    I am using LDO mode. I am running the microcontroller on maximum frequency, 480MHz. For external clock, I have tried with both 8MHz & 25MHz crystal. The voltage scaling is 0. And the flash wait state is 4. The remaining code is auto generated using STM32CubeIDE.

    TDKAnswer
    Super User
    October 4, 2023

    The caps on the HSE crystal should be connected to ground.

    TDK_0-1696428680059.png

     

    VCAP should have capacitors to ground, don't see VCAP connected anywhere else in the schematic.

    TDK_0-1696428822065.png

     

    HDesa.1Author
    Graduate II
    October 5, 2023

    @TDK Thank you so much. I also missed out on this.

    Technical Moderator
    October 4, 2023

    @TDK thank you for pointing this out. I didn't notice this.

    @HDesa.1 please review your schematics and refer to the AN4938 You need to have capacitors on VCAP pins.

    You can also inspire from STM32H743_EVAL schematics

    HDesa.1Author
    Graduate II
    October 5, 2023

    @mƎALLEm Thank you for the help. I will once again review the schematics and check if there are similar kind of mistakes. Thanks for the support.

    @TDK Thank you as well.

    HDesa.1Author
    Graduate II
    October 5, 2023

    @TDK @mƎALLEm 

    Thank you. The issue is resolved.:thumbs_up: