1
0
mirror of https://bitbucket.org/librepilot/librepilot.git synced 2024-12-01 09:24:10 +01:00
The LibrePilot open source project was founded in July 2015. It focuses on research and development of software and hardware to be used in a variety of applications including vehicle control and stabilization, unmanned autonomous vehicles and robotics.
Go to file
Stacey Sheldon f886af186d bootfault: add support for recovery from init failures
After 3 failed warm start attempts, the init sequence
will force the RAM version of the HWSettings object
to its defaults.  This should allow a user to regain
connectivity to a board that is continually faulting
during init.

This is accomplished by:
 - Incrementing a boot counter that is stored in the
   STM32 BKP registers.  These registers survive a
   warm start but are cleared on a cold start (ie. powerup).
 - On multiple failures, force hwsettings to defaults
   and raise the (new) BootFault alarm to prevent arming.
 - Resetting the boot counter whenever the system manages
   to successfully run the System Module task.

NOTE: This does not actually change the hwsettings object in
      flash.  That's up to the user.

This is intended to catch ONLY faults during early initialization.
It should not be used to recover from faults after the application
is up and running.
2011-12-30 23:05:38 -05:00
artwork New 3D model: Ricoo (by muralha) 2011-11-14 16:05:10 +02:00
flight bootfault: add support for recovery from init failures 2011-12-30 23:05:38 -05:00
ground hwsettings: allow disabling of USB telemetry entirely 2011-12-30 23:05:38 -05:00
hardware Add CC M&P for Daniel 2011-09-12 09:06:30 +10:00
make openocd: collapse JTAG rules for STM32F1 and STM32F2 2011-08-27 10:43:02 -04:00
package Updated Vid/Pids for Revo, CC3D and some minor comment cleanup in the UDev rules file. 2011-12-30 17:47:22 -07:00
shared/uavobjectdefinition bootfault: add support for recovery from init failures 2011-12-30 23:05:38 -05:00
.gitignore Added UAVObject sorting to make UAVObj structs align to word-boundaries. Else copying to / from UAVObjects will fail on Cortex M4 with an alignment error, since the proper alignment is not visible to the compiler in a line like this: float* data = UAVObj.Roll; data[2] = yaw; 2011-11-22 23:48:11 -08:00
CREDITS.txt Add Werner's MoveCopter to Credits and Milestones files 2011-07-06 19:18:46 +10:00
HISTORY.txt Because the UAVO field sorting required for revo changes all the object IDs, 2011-12-10 14:13:28 -06:00
LICENSE.txt Test commiting to reworked SVN, add lic file back but under trunk. 2011-02-27 10:16:35 +00:00
Makefile Merge remote-tracking branch 'origin/stac/upgrade-to-openocd-0.5.0' into next 2011-09-14 11:49:01 -05:00
MILESTONES.txt MILESTONES: First OpenPilot over 1km FixedWing navigation flight 2011-12-06 20:09:48 +02:00