Hello,
now i get it working. Actually i have no problem. After i checked the stack size of all threads and test them.
How large is the maximum stack size in sum of all threads?
Christian
STM32F4 hangs on _spi_wait_s
Moderators: RoccoMarco, lbednarz, tfAteba
- Giovanni
- Site Admin
- Posts: 14895
- Joined: Wed May 27, 2009 8:48 am
- Has thanked: 1202 times
- Been thanked: 997 times
-
stormracer
- Posts: 14
- Joined: Mon Jun 11, 2012 9:50 pm
Re: STM32F4 hangs on _spi_wait_s
Hello,
i got a stack overflow in the main after starting the application. I step over the first two commands (halInit(), chSysInit()). The stack gets normal after some more steps.
Could this be a problem?
I've attached a snapshot where i've done 4 steps.
Christian
i got a stack overflow in the main after starting the application. I step over the first two commands (halInit(), chSysInit()). The stack gets normal after some more steps.
Could this be a problem?
I've attached a snapshot where i've done 4 steps.
Christian
- Attachments
-
- BuffOVL.png (167.34 KiB) Viewed 2754 times
- Giovanni
- Site Admin
- Posts: 14895
- Joined: Wed May 27, 2009 8:48 am
- Has thanked: 1202 times
- Been thanked: 997 times
Re: STM32F4 hangs on _spi_wait_s
Most likely a bug of the debugger plugin triggered by a stack entirely unused, this is why it fixes itself after few steps.
Nothing to worry about.
Giovanni
Nothing to worry about.
Giovanni