cancel
Showing results for 
Search instead for 
Did you mean: 

Debugging Issues with STM32H7S7-DK Development Board (MB1736D)

VijayKushwah
Associate

Dear ST Support Team,

I recently purchased the STM32H7S7-DK development board (MB1736D) and I am encountering an issue when attempting to debug my main application code. The error message displayed is:

“Failed to initialize external memory!”

“Error in initializing ST-LINK device.”

I have already configured the external memory loader as per the documentation and have attached pictures for your reference. Despite these configurations, I am unable to proceed with debugging.

Could you kindly assist me in resolving this issue? Furthermore, I would like to know whether it is possible to debug external memory through serial debugging using the onboard ST-LINK, or if it requires another setup.

Additionally, if I plan to use the JTAG interface to debug the development board, could you please inform me of any changes or configurations required to achieve this?

I am looking for solution as soon as possible,

Thank you .

Best regards,

Er. Vijay Kushwah

e.mail : vijaykushwah1112@gmail.com

Company : Gailron Controls Devices,

Faridabad,121003,Haryana,India

1 REPLY 1
Imen.D
ST Employee

Hello @VijayKushwah ,

This article will help you on how to debug in external memory on STM32CubeIDE : 

Debugging in external memory on STM32CubeIDE - STMicroelectronics Community

For JTAG, check the configuration with the product Datasheet to ensure that the JTAG interface is properly connected to the STM32H7S7-DK board. This involves connecting the JTAG pins (TMS, TCK, TDI, TDO, and TRST) to the corresponding pins on the board. For that, you can check Table 4. JTAG/SWD cable connections on STLINK-V2:

ST-LINK/V2 in-circuit debugger/programmer for STM8 and STM32 - User manual

When your question is answered, please close this topic by clicking "Accept as Solution".
Thanks
Imen