I'm not able to use RAM_D2 section in STM32H743 as frame buffer
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
2021-01-07 2:16 AM
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?
Solved! Go to Solution.
Labels:
- Labels:
-
RAM
-
STM32H7 series
-
TouchGFX
This discussion is locked. Please start a new topic to ask your question.
10 REPLIES 10
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
2021-01-14 12:26 AM
Thanks @MM..1 for all your help and feedbacks.

- « Previous
-
- 1
- 2
- Next »