cancel
Showing results for 
Search instead for 
Did you mean: 

[STM32H750] How to Debug in SDram

Passerby
Associate III

I use STM32H750XBH6, Flash is 128kBytes.

My Program is too big,so I Write a BootLoader to load the program into sdram ,and run it in sdram.

This is the setting of my APP in keil,

Passerby_0-1723087388465.jpeg

This way can run the program successfully , but I cannot debug APP in Keil.

How Can I Debug APP in Keil?

 

 

Thanks!

 

4 REPLIES 4
STOne-32
ST Employee

Dear @Passerby ,

I assume this Application Note was used :

https://www.st.com/resource/en/application_note/an5188-external-memory-code-execution-on-stm32f7x0-value-line-stm32h750-value-line-stm32h7b0-value-line-and-stm32h730-value-line-mcus-stmicroelectronics.pdf

there is a particular hint at the end when using IAR EWARM, I would say there is similar technique for Keil/ARM MDK as well . Hope it helps you .

STOne-32

BarryWhit
Lead II

Odd Coincidence... This was posted today in the knowledge base:

https://community.st.com/t5/stm32-mcus/debugging-in-external-memory-on-stm32cubeide/ta-p/705333

 

Targets CubeIDE, but may give you hints for achieving same in KEIL. There's also a link to a training video on youtube. 

- If someone's post helped resolve your issue, please thank them by clicking "Accept as Solution".
- Please post an update with details once you've solved your issue. Your experience may help others.

Hello @STOne-32 

     I can jump to the APP runtime, but I don't know how to Debug in Keil.

     I can only use printf for debug right now

 

Thanks!

Hello @BarryWhit 

    Thank you for your reply. I can debug using Qspi-Flash, but I don't know how to debug using Sdram!

 

Thanks!