cancel
Showing results for 
Search instead for 
Did you mean: 

STM32F407 SRAM Problem

Yunus ARI
Senior

Hi everyone,

I'm working on a project that used STM32F407VE microprocessor. I'm dealing a memory problem. I have a very big struct that has all systems variable. I create a veraible with this struct and this veraible is larger than 112 kb.  When I use default linker file, get an error that memory is full. So I edit linker file and I combined SRAM 1 and SRAM 2 like one piece. Than my memory error is gone. But I can not be sure I'm doing the rigt thing combining RAM's.

What your opinion about this? Will this work well or create a memory fault?

Thanks in advance, be healthy. :D

2 REPLIES 2
Uwe Bonnes
Principal III

SRAM1 and SRAM2 can be used together, as they are adjacent, but access may concure e.g. with ETH DMA and so delayed or delay other things,

I'm not using ETH or DMA. I defined just public variable in RAM's. I worry about that variables is in single struct.