AnsweredAssumed Answered

big const table overflow the RAM

Question asked by garberoglio.leon.001 on Nov 3, 2016
Latest reply on Nov 5, 2016 by Clive One
I'm using a STM32F411 with an audiocodec driven by I2S stream.
I'm runing out of RAM, so I'm trying to move OutputBuffer (the buffer that I use to create sound and used ond HAL_I2SEx_TransmitReceive_DMA). This buffer is 9600 x 4 (uint32_t) =  38Kbyte.
But, I'm not sure why creating several const OutputBuffer's end on RAM overflow.
I get this message:
c:/ac6/systemworkbench/plugins/fr.ac6.mcu.externaltools.arm-none.win32_1.7.0.201602121829/tools/compiler/bin/../lib/gcc/arm-none-eabi/5.2.1/../../../../arm-none-eabi/bin/ld.exe: final_15_DP_TE_ConstStimuli.elf section `.bss' will not fit in region `RAM'
c:/ac6/systemworkbench/plugins/fr.ac6.mcu.externaltools.arm-none.win32_1.7.0.201602121829/tools/compiler/bin/../lib/gcc/arm-none-eabi/5.2.1/../../../../arm-none-eabi/bin/ld.exe: region `RAM' overflowed by 336136 bytes

Why making a big const table end on a RAM overflow?

Thank

Outcomes