PX4 / PX4-Autopilot

PX4 Autopilot Software
https://px4.io
BSD 3-Clause "New" or "Revised" License
8.5k stars 13.51k forks source link

Inspect side-effects of disabling stack checking #1700

Closed LorenzMeier closed 9 years ago

LorenzMeier commented 9 years ago

This includes #1691. @davids5 @sjwilks These are the combined symptoms of disabling stack checking:

I'm not 100% sure yet if this is timing or if we're missing something, but we clearly don't have everything under control yet.

LorenzMeier commented 9 years ago

@davids5 Ok, I've put the USB one to rest. Fixed via 18d756d. So only the microSD mount fail remains, and I wouldn't be terribly surprised if its timing again there.

davids5 commented 9 years ago

@LorenzMeier Craig has confirmed that there will be HW heading my way at some point. I will dig into this bug then,

LorenzMeier commented 9 years ago

@sjwilks Could you try disabling the ms5611 driver startup? I'm wondering if the new SPI variant messes with the SD bus and the timing change made it visible.

sjwilks commented 9 years ago

While trying to workout why my F330 (PX4 V1) was going nuts since yesterday I noticed that the SD card seems to have died completely. This probably means my tests in the last two days weren't reliable. I have just replaced the card, re-flashed master (via QGC) and I can read from the SD card. So it looks like #1691 did indeed help. Prior to that I could constantly read/not read based on the stack check setting so I think the SD failure only just began.

On Sat Jan 31 2015 at 5:00:13 PM Lorenz Meier notifications@github.com wrote:

@sjwilks https://github.com/sjwilks Could you try disabling the ms5611 driver startup? I'm wondering if the new SPI variant messes with the SD bus and the timing change made it visible.

— Reply to this email directly or view it on GitHub https://github.com/PX4/Firmware/issues/1700#issuecomment-72323331.

LorenzMeier commented 9 years ago

Fixed.