cancel
Showing results for 
Search instead for 
Did you mean: 

Help please, how to debug in SDRAM with IAR?

LHuaf.1
Associate

I am developing with stm32h750.

My application is storaged in QSPI Flash and running in SDRAM.

I use a bootloader to move image from QSPI Flash to SDRAM and​ jump to image.

For downloading, i made a cmd line tool to communicate with bootloader via serial port.

​So, after compiled with IAR, i download image with cmd line tool, then debug with IAR by "debug without downloading".

But I learned that, when debug with IAR, debugger can​ initialize external ram with setup micro (.mac files). After SDRAM initialized, user can download image to it just like internal ram.

It is terribly difficult to initialize SDRAM with micro, because i can not use any libraries supported by ST, but only register operation.

Does anybody can help?

0 REPLIES 0