[En-Nut-Discussion] Large auto variable called from main thread crashed programm

Uwe Bonnes bon at elektron.ikp.physik.tu-darmstadt.de
Fri Jan 9 13:30:18 CET 2015


Hello,

I am working on a project with the STM32F411E, having 512 kByte of Flash and
128 kbyte of RAM. In a function called from the main thread, as soon as the
size of a function local variable  gets from 512 to 1024 bytes, the program
crashes. Static allocation of the variable lets the program work even with
the bigger size.

There is no other big RAM consumer.

Any idea what could go wrong here?

The debug backtrace isn't very helpfull.

Bye
-- 
Uwe Bonnes                bon at elektron.ikp.physik.tu-darmstadt.de

Institut fuer Kernphysik  Schlossgartenstrasse 9  64289 Darmstadt
--------- Tel. 06151 162516 -------- Fax. 06151 164321 ----------


More information about the En-Nut-Discussion mailing list