LibrePilot Forum

Users => Vehicles - MultiRotors => Topic started by: fboriero on April 03, 2018, 05:03:12 pm

Title: Stack Error
Post by: fboriero on April 03, 2018, 05:03:12 pm
Hi!
With the last firmware uploaded (git hash b8239e3c) on my CC3D brushed board, I have a red "stack error".
It happens randomly but it is very annoying because I have to reboot 2/3 times the board and hoping that the error disappears...

Do you know how can handle it?

Thanks
Title: Re: Stack Error
Post by: f5soh on April 03, 2018, 06:39:35 pm
Can you post your config file ?
The stack error can be debugged after enabled the DIAG_TASKS and recompiling the firmware for CC3D.
Title: Re: Stack Error
Post by: TheOtherCliff on April 03, 2018, 08:51:48 pm
Do you have a MinimOSD OSD that uses MSP telemetry?  I think I recall that is one common cause.  If I am right, then for CC3D, it is best to use MinOpOSD OSD firmware that handles OP/LP telemetry instead of trying to run 2 different protocols.
Title: Re: Stack Error
Post by: f5soh on April 03, 2018, 09:50:56 pm
There is no issue with MSP on CC3D.
The issue is you cannot run MSP + GPS at same time, where you run out of memory.
Title: Re: Stack Error
Post by: fboriero on April 04, 2018, 11:49:27 am
Attached you can find my configuration file...
Is it possible to disable all the modules that I don't need?
Title: Re: Stack Error
Post by: jdl on April 04, 2018, 12:40:23 pm
I've noticed the same problem.

I mitigated the occurence of this issue by increasing period or just disabling (set to "0") in Data Objects | ...... | Metadata | Flight Telemetry Update Period = 0 for all objects that I do not need for MinOpOSD telemetry.

Now I get the Stack Error very, very seldom.