cancel
Showing results for 
Search instead for 
Did you mean: 

NUCLEO-H7S3L8 failed to execute MI command

oalselwi
Associate II

Hello,

I bought a Nucleo-H7S3L8 and I'm trying to build and execute the XIP_Template and I'm following the official guide.
at first I built the Appli project and I choosed the first debug option and got the following error.

Screenshot 2025-07-15 at 14.26.49.png

Screenshot 2025-07-15 at 14.28.17.png

to solve it I found a post in the community and followed the guide there and changed the config of the "Template_XIP_Appli Debug" and added an External Loader "MX25UW25645G_NUCLEO-H7S3L8-XSPIM1.stldr"
and also "MX25UW25645G_NUCLEO-H7S3L8-XSPIM1.stldr"  but got this error instead 

Screenshot 2025-07-15 at 15.03.58.png

 what is confusing to me is that there is now to debugging options and the first one have this External Loader
"Template_XIP_ExtMemLoader.stldr" but the second was 

Screenshot 2025-07-15 at 16.08.09.png

 I didn't found any other solutions and the project could not be debugged or uploaded to the Nucleo Board , can anybody help or give me some tips?

 

 

1 ACCEPTED SOLUTION

Accepted Solutions
oalselwi
Associate II

Hi @NesrynELMK,

I went into the Template and ExtMemLoader folders and gave the postbuild.sh script execute permissions. I'm on a Mac, but the same applies to Linux—just ran chmod +x postbuild.sh, and it worked.

Now the script runs fine, and the project uploads to the NUCLEO board. However, after upload, I see this warning:

No source available for "(gdb[4].proc[42000].threadGroup[i1],gdb[4].proc[42000].OSthread[1]).thread[1].frame[0]"

The project seems to run and debug just fine, but I'm curious what that message actually means. Is it something I should be worried about, or can it be safely ignored?

Thanks for your help!

Screenshot 2025-07-16 at 23.38.11.png

View solution in original post

3 REPLIES 3
NesrynELMK
ST Employee

Hello @oalselwi ,

 

Could you please confirm which version of STM32CubeIDE you are currently using? please make sure you are using version 1.15.0 or later.

I also recommend referring to the application note AN6127, titled “Getting started with STM32H7Rx/7Sx MCUs in STM32CubeIDE”, which provides comprehensive guidance on setup and debugging for these devices.

 

Br

oalselwi
Associate II

Hello @NesrynELMK ,

I'm using the STM32CubeIDE version 1.19.0 "the newest". I took a look at the AN6127 there were not a lot of info because I'm not creating a new project I'm using the provided XIP_Template project from ST. 

I also took a look at the "AN2606-BOOT-MODE", "AN5593-GPDMA", "NUCLEO-H7S3L8", "STM32Cube-H7RSGettingStarted" and the "Getting started with External memory Manager and External memory loader" on your website. i checked the Register XSPI2_HLSV is set with the STM32CubeProgrammer.

I keep getting this error {No source available for "<signal handler called>() at 0xfffffffe"} and this dialog 

Screenshot 2025-07-16 at 19.58.25.png

Just for the sake of debugging i tried to build the "Template_XIP_ExtMemLoader" and got this error I will try to give the postbuild.sh the required permissions.

Screenshot 2025-07-16 at 20.00.51.png

 thank you

oalselwi
Associate II

Hi @NesrynELMK,

I went into the Template and ExtMemLoader folders and gave the postbuild.sh script execute permissions. I'm on a Mac, but the same applies to Linux—just ran chmod +x postbuild.sh, and it worked.

Now the script runs fine, and the project uploads to the NUCLEO board. However, after upload, I see this warning:

No source available for "(gdb[4].proc[42000].threadGroup[i1],gdb[4].proc[42000].OSthread[1]).thread[1].frame[0]"

The project seems to run and debug just fine, but I'm curious what that message actually means. Is it something I should be worried about, or can it be safely ignored?

Thanks for your help!

Screenshot 2025-07-16 at 23.38.11.png