2020-11-24 04:53 AM
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
2020-11-24 05:30 AM
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,
2020-11-24 06:49 AM
I'm not using ETH or DMA. I defined just public variable in RAM's. I worry about that variables is in single struct.