Variables on stack, was: Re: STM32F756 strange effect

Uwe Bonnes <bon-1JbLm1bU5j5ZIx36JBfelj3+ndqKAYMe9FMPySWZwLkb1SvskN2V4Q@public.gmane.org> Tue, 12 Apr 2016 19:45:13 +0200
Newsgroups gmane.comp.hardware.microcontrollers.ethernut
Message-ID <[email protected]>
>>>>> "Holger" == Holger Mai <[email protected]> writes:

...
    Holger> Another thing is that the default config for Kernel/Main Thread
    Holger> Stack size is too low, it fails with F756 (produces some
    Holger> different usage and hard faults at init phase). However, if i
    Holger> set this to 2048 or 3072 bytes, the OS runs.

Did you have large variables on the stack? That often causes such problems.

Bye

-- 
Uwe Bonnes                bon-1JbLm1bU5j5ZIx36JBfelj3+ndqKAYMe9FMPySWZwLkb1SvskN2V4Q@public.gmane.org

Institut fuer Kernphysik  Schlossgartenstrasse 9  64289 Darmstadt
--------- Tel. 06151 1623569 ------- Fax. 06151 1623305 ---------
_______________________________________________
http://lists.egnite.de/mailman/listinfo/en-nut-discussion