AnsweredAssumed Answered

STM32F4xx, CCMRAM startup init

Question asked by Banciu.Alexandru on Jul 9, 2016
Latest reply on Jul 14, 2016 by Banciu.Alexandru
Hello guys,

Encountering the following problem:

static __attribute__((__section__(".bss_CCMRAM"))) int data;

"data" is put explicitly into CCMRAM (verified with debugger) but is not automatically initialized with 0 at startup.
After "data" takes a value, when a reset occurs (triggered by reset pin), value "data" maintains the old written value...
I'm using the default linker script for Cortex-M (attached).
The startup file which should clear the bss region is click.