Skip to main content
HDesa.1
Associate III
September 13, 2023
Solved

STM32H7 dual core Break at address; no debug info

  • September 13, 2023
  • 5 replies
  • 6114 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

TDK
September 13, 2023

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

Perhaps your clock settings are invalid.

"If you feel a post has answered your question, please click ""Accept as Solution""."
HDesa.1
HDesa.1Author
Associate III
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.

-RegardsHrishikesh
mƎALLEm
ST 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?

To give better visibility on the answered topics, please click "Best answer" on the reply which solved your issue or answered your question.
HDesa.1
HDesa.1Author
Associate III
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.

-RegardsHrishikesh
TDK
TDKBest answer
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

 

"If you feel a post has answered your question, please click ""Accept as Solution""."
HDesa.1
HDesa.1Author
Associate III
October 5, 2023

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

-RegardsHrishikesh
mƎALLEm
ST 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

To give better visibility on the answered topics, please click "Best answer" on the reply which solved your issue or answered your question.
HDesa.1
HDesa.1Author
Associate III
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.

-RegardsHrishikesh
HDesa.1
HDesa.1Author
Associate III
October 5, 2023

@TDK @mƎALLEm 

Thank you. The issue is resolved.:thumbs_up:

-RegardsHrishikesh