I'm not able to use RAM_D2 section in STM32H743 as frame buffer
Everything is working fine having the framebuffer in RAM_D1 (0x24000000).
This is what I have done trying to move my frame buffer to RAM_D2 (0x30000000):
- I have setup the "TouchGFX_Framebuffer" in the .ld file to RAM_D2
TouchGFX_Framebuffer :
{
*(TouchGFX_Framebuffer)
*(TouchGFX_Framebuffer*)
. = ALIGN(4);
} >RAM_D2
- I'm enabling RAM_D2 clock in the beginning of main()
__HAL_RCC_D2SRAM1_CLK_ENABLE();
__HAL_RCC_D2SRAM2_CLK_ENABLE();
__HAL_RCC_D2SRAM3_CLK_ENABLE();
- Configuring the MPU, setting the RAM_D2 region same as RAM_D1 region
What do I miss out for this to work?
