Loading...
 

Zephyr project on STM32

   Zephyr Workbench, a VSCode extension to manage Zephyr on STM32.
It enables users to easily create, develop, and debug Zephyr applications.
Main features:
  • Install host dependencies.
  • Import toolchain and SDK.
  • Create, configure, build and manage apps.
  • Debug STM32.
You can directly download it from the VSCode marketplace
For more details, visit the Zephyr Workbench

System Workbench for STM32


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

 

Newest Forum Posts

  1. SPI on Nucleo_STMH533RE by higginsa1, 2025-03-25 07:37
  2. SPI on Nucleo_STMH533RE by royjamil, 2025-03-23 11:31
  3. SPI on Nucleo_STMH533RE by higginsa1, 2025-03-23 09:33
  4. Configuring DMA for ADC in SW? by sam.hodgson, 2025-03-04 12:58
  5. Build a project in "release" mode by info@creosrl.it, 2025-02-20 18:12
  6. Build a project in "release" mode by info@creosrl.it, 2025-02-20 17:05
  7. Build a project in "release" mode by tang, 2025-02-20 10:36
  8. Build a project in "release" mode by info@creosrl.it, 2025-02-19 17:35
  9. Fail to debug in Win 11 C/C++ by mortenlund, 2024-12-26 20:27
  10. Fail to debug in Win 11 C/C++ by mortenlund, 2024-12-18 20:48

Last-Modified Blogs