How to use SDRAM instead of SRAM memory in STM32F429I-Eval board.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
2019-07-04 3:10 AM
How to use SDRAM instead of SRAM memory in STM32F429I-Eval board as the touchgfx generated files need more memory , IAR 7.4 IDE is used.
- Labels:
-
STM32F4 Series
-
TouchGFX
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
2019-07-04 4:39 AM
Add in the BSP files for SDRAM, initialize in SystemInit(), and change the memory mapping passed to the linker.
Up vote any posts that you find helpful, it shows what's working..
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
2019-07-05 4:52 AM
Hello Clive,
Can you please elaborate on the changing the memory mapping passed to the linker..
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
2019-07-09 6:17 AM
Hi @ananya,
All you have to do is pass a pointer to TouchGFX HAL that points to somewhere in external memory. like 0xC0000000, and then pass that pointer to HAL, e.g.
hal.setFrameBufferStartAddress((uint16_t*)frameBuf0, 16);
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
2019-07-09 6:19 AM
Whereas if you wanted to supply the address of a framebuffer in internal ram you would simply allocate that memory statically (array of e.g. uint16_t) and pass a reference to that.
/Martin
