STM32F746 Heap to SDRAM
Hello,
I hope you can help me. I want to swap the Heap to SDRAM on a STM32F746G-Discovery Board. So the data / bss section and the stack should stay in the internal RAM. Furthermore I want to use the GUI.
I tested so much but my system always crashes after a couple of minutes.
Can someone provide me an example with all files attached?
What I tried:
- Change Framebuffer in LCDConf.h to C0000000 and C0200000
- Add SDRAM section in Linkerfile from C0400000 with 4M size
- Add attribute for sdram
- Change startup-file a bit (like the stm32f756-eval example FMC -> MemRemap)
- SDRAM Init in system-file
- and some minor changes
In short: I just ported the EVAL-Project to the Discovery Board, but I didn’t copied all, because I only want to swap the Heap to SDRAM.
Thank you for helping
Nyix