Posted on June 23, 2014 at 14:34
STM32Cube ld scripts set _estack to the last location of RAM like this:
/* Highest address of the user mode stack */
_estack = 0x20017FFF; /* end of RAM */
I had several problems with code that u...
Posted on June 23, 2014 at 18:52
I was reading about Cortex M3. Here is the next paragraph:
This means that when an interrupt or exception occurs the stack might not be correctly
eight-byte aligned. Revision 1 and later of the Cortex-M3 s...
Posted on June 23, 2014 at 15:42
Does this apply for libraries?
The Application Binary Interface (ABI) for the ARM architecture requires that the stack must
be eight-byte aligned on all external interfaces, such as calls between functions...
Posted on June 17, 2014 at 18:03Initialization of ADC1 for SRM32F401RE fails because multimode.DMAAccessMode is not set in in main.c function MX_ADC1_Init(). This causes assert_param() to fail in HAL_ADCEx_MultiModeConfigChannel().