STM32H7 dual core Break at address; no debug info
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2023-09-13 7:29 AM
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
Hrishikesh
Solved! Go to Solution.
- Labels:
-
STM32Cube MCU Packages
Accepted Solutions
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2023-10-04 7:11 AM - edited ‎2023-10-04 7:14 AM
The caps on the HSE crystal should be connected to ground.
VCAP should have capacitors to ground, don't see VCAP connected anywhere else in the schematic.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2023-09-13 8:37 AM
Debug the code, step through, see where the issue happens exactly.
Perhaps your clock settings are invalid.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2023-09-13 9:07 AM - edited ‎2023-09-13 9:07 AM
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?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2023-09-13 10:27 PM
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.
Hrishikesh
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2023-09-13 10:33 PM
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.
Hrishikesh
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2023-10-04 12:00 AM
Hello,
Couldn't share the data soon. I have shared the schematics of the crystal connection and CubeMX file. Please help me with this.
-Regards
Hrishikesh
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2023-10-04 1:29 AM - edited ‎2023-10-04 1:34 AM
Hello,
That's normal, in the schematics you have 25MHz as external crystal and your software sets it to 8Mhz so the MCU is overclocked.
You have to modify the value to 25 instead of 8.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2023-10-04 3:04 AM
Hello,
So I have tried both 25MHz & 8MHz with the respective configurations but the issue was still there. Currently I have mounted 8MHz crystal.
The problem I am facing is, whenever I use HSE for configuring PLL the below issue occurs. Break at address "0xa05f0000" with no debug information available, or outside of program code. And the program especially Cortex-M4 stops.
Hrishikesh
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2023-10-04 7:11 AM - edited ‎2023-10-04 7:14 AM
The caps on the HSE crystal should be connected to ground.
VCAP should have capacitors to ground, don't see VCAP connected anywhere else in the schematic.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2023-10-04 7:55 AM
@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
