2025-02-11 03:06 AM
Hii,
I am using STM32H745XIX6 microcontroller for our custom boards and also enabling the Touch GFX in it, we are doing dual core debugging, and the both the cores got activated and working fine after changing some settings in debug configurations of both the cores.
To check the dual core debugging, I have changed the debug configurations to "Connect under Reset" and selected "Halt all cores" in 1st Core (CM7) and changed the debug configurations to "None" in 2nd Core (CM4).
To add the images in the external SDRAM, I have added the external flash section in the flash linker script. Images that I have added in the Touch GFX are storing in the external SDRAM Memory. Then, I am getting problem in the debugging. What might be the issue?
If I've changed the debug configurations to "None" in 1st Core (CM7) then the debugging after changing the linker file is fine. But only 1st Core is going into debug.
Both the dual core debugging and when storing the Images in the external SDRAM Memory after changing the linker file are not working simultaneously (i.e. Issue in Debugging). I need to work on dual core debugging and also my images should store in the external SDRAM Memory.
Thank You...
2025-02-11 03:15 AM
@Shivani wrote:I am getting problem in the debugging.
What problem, exactly, are you getting?
2025-02-11 03:38 AM
Hii @Andrew Neil ,
When adding the data in the external SDRAM Memory rather than Internal flash, I am getting debug issue as"Error in final launch sequence"
2025-02-11 04:19 AM
Show the full log from the IDE console - copy & paste as text
2025-02-11 04:27 AM
STMicroelectronics ST-LINK GDB server. Version 7.8.0
Copyright (c) 2024, STMicroelectronics. All rights reserved.
Starting server with the following options:
Persistent Mode : Disabled
Logging Level : 1
Listen Port Number : 61234
Status Refresh Delay : 15s
Verbose Mode : Disabled
SWD Debug : Enabled
InitWhile : Enabled
Waiting for debugger connection...
Debugger connected
Waiting for debugger connection...
Debugger connected
Waiting for debugger connection...
-------------------------------------------------------------------
STM32CubeProgrammer v2.17.0
-------------------------------------------------------------------
Log output file: C:\Users\SIGMAU~1\AppData\Local\Temp\STM32CubeProgrammer_a17852.log
ST-Link Server is running on port : 7184
ST-LINK SN : 67002900020000343132524E
ST-LINK FW : V2J45S7
Board : --
Voltage : 3.23V
SWD freq : 4000 KHz
Connect mode: Under Reset
Reset mode : Hardware reset
Device ID : 0x450
Revision ID : Rev V
Device name : STM32H7xx
Flash size : 2 MBytes
Device type : MCU
Device CPU : Cortex-M7/M4
BL Version : 0x90
Memory Programming ...
Opening and parsing file: ST-LINK_GDB_server_a17852.srec
File : ST-LINK_GDB_server_a17852.srec
Size : 56.60 KB
Address : 0x08100000
Erasing memory corresponding to segment 0:
Erasing internal memory sector 8
Download in Progress:
File download complete
Time elapsed during download operation: 00:00:01.554
Verifying ...
Download verified successfully
Shutting down...
Exit.