Wykres commitów

545 Commity (18aa7396c95bbd18e5452cedde67b2dfb3934923)

Autor SHA1 Wiadomość Data
Richard Meadows 13848c8605 [gps-ubx] update so it builds. TODO: test 2016-07-17 19:55:20 +01:00
Richard Meadows a4993cd06f [measure-xosc] when in use 2016-07-17 19:53:23 +01:00
Richard Meadows 1072b27530 [cold-out] only when in use 2016-07-17 19:53:01 +01:00
Richard Meadows 81ed29b903 [ariss[ only when arris in use 2016-07-17 19:52:47 +01:00
Richard Meadows 362e96fd55 [backlog] only when backlog in use 2016-07-17 19:52:17 +01:00
Richard Meadows bc625f9778 [pressure-temperature] only when baro in use 2016-07-17 19:51:45 +01:00
Richard Meadows 17e92681c9 [geofence] defines to save space when not in use TODO add these in python 2016-07-17 19:51:31 +01:00
Richard Meadows f5af7a41db [main-aaa-uhf] add new hwconfig for main-aaa board, add various options 2016-07-17 19:50:51 +01:00
Richard Meadows 8dc241b512 [memory] use internal flash for backlog 2016-07-16 20:38:29 +01:00
Richard Meadows f75b383e34 [telemetry] add option to set APRS deviation 2016-07-16 20:06:35 +01:00
Richard Meadows bba8c7d2f7 [geofence] add nordics to APRS, move from telemetry positive to telemetery negative
telemetry now runs unless is it specifically *not* permitted
2016-07-16 20:04:14 +01:00
Richard Meadows fce758e6ab [sequencer] change timings for continous transmission
A minimum gap between APRS transmissions can be enforced
2016-07-16 20:02:34 +01:00
Richard Meadows 8ef9d7b59f [main] use local variable correctly in `format_telemetry_string` 2016-07-11 23:21:23 +01:00
Richard Meadows e861da229f [bugfix] fix days_in_month, add epoch calculation for se880 GPS
Fixes bug with backlog write location, which lead to more recent data being overwritten
2016-07-01 11:00:09 +01:00
Richard Meadows f082c49d77 [aprs-tools] raw_parser, add option for dummy run, and colours 2016-06-02 11:35:58 +01:00
Richard Meadows 233a1a5533 [aprs-tools] bugfix for backlog for the 31st of the previous month 2016-06-02 11:35:32 +01:00
Richard Meadows 9d0c02835e [ubseds16] update battery charging test 2016-05-07 15:28:04 +01:00
Richard Meadows ec6b4831ef [aprs,tools] specifiy exact callsigns in daemon filters to remove cruft 2016-05-07 11:49:02 +01:00
Richard Meadows 00bdda7e2d [aprs,tools] bugfix, make it work 2016-05-07 11:47:54 +01:00
Richard Meadows 0bd01e5c6b [aprs,equations] fix mis-aligned damn you python whitespace 2016-04-30 12:06:33 +01:00
Richard Meadows 35bbca5629 [ubseds15] cold out to -70, allow gps to run for a day without reset, add deathwish 2016-04-29 12:27:27 +01:00
Richard Meadows 0c9ecf4dc6 [tools,aprs] add aprs test upload tool 2016-04-27 10:21:39 +01:00
Richard Meadows 69ef134409 [xosc] always _enable_ external tcxo when enabling hf clock
XOSC_TCXO_SHUTDOWN_EN only control disabling
2016-04-27 10:04:09 +01:00
Richard Meadows 4a54e7f0ab [hibernate time] set hibernate time to end of transmission minus 20 seconds 2016-04-26 09:52:24 +01:00
Richard Meadows b40edf0627 [battery] add trickle charging state for when solar cannot sustain both charging and operations, but can add some useful power anyhow 2016-04-26 09:47:02 +01:00
Richard Meadows 7b985a2593 [battery] move battery update to the end of the sequence
If we don't have enough power to run *and* charge the battery then at least
some charging will be done bfore a power reset
2016-04-26 09:16:16 +01:00
Richard Meadows 4aa377c269 [battery] only reset the execess hysterisis after N consecutive discharge cycles 2016-04-25 09:39:26 +01:00
Richard Meadows 521bb1e848 [rf-tests] tidy 2016-04-24 19:59:14 +01:00
Richard Meadows c13e5bd0ea [ariss] don't use predict, just try ariss 1-in-4 times when there's power 2016-04-24 19:55:58 +01:00
Richard Meadows e4f232d79d [sky13373] invert sense of the sky13373 control lines (and remove inverters on the board!)
means that the sky13371 part is also shutdown when the si trx is
2016-04-24 18:17:07 +01:00
Richard Meadows 1fa3dda2a7 [gps_osp] leave no-lock GPS running so that it can try to get a lock.
Thought this was already the case but seemingly not
2016-04-24 18:12:05 +01:00
Richard Meadows 16ec7e6408 [gps_dummy] update gps dummy 2016-04-23 16:56:17 +01:00
Richard Meadows 180a39ec38 [gps_osp] extend ON_OFF pulse so it is always at least 90us
There doesn't seem to be a maximum length
2016-04-23 10:57:09 +01:00
Richard Meadows e9784f7afb [ubseds15] update stringify function 2016-04-21 12:31:09 +01:00
Richard Meadows c1d63e3141 [make emacs] add gdbscript-custom to this 2016-04-21 12:30:53 +01:00
Richard Meadows 8c19c9eab8 [tc,adc_battery_solar_read] fix and re-add this testcase 2016-04-21 12:30:12 +01:00
Richard Meadows 87cc7531ea [gps] allow up to 10Hz error on GPS baud rate 2016-04-20 19:09:03 +01:00
Richard Meadows 01a0b2761a [gps_osp] detect gps invalid if position (lat,long AND alt) remain _exactly_ the same between positions 2016-04-14 17:26:46 +01:00
Richard Meadows aea9916583 [low-power-side] set `XOSC_TCXO_SHUTDOWN_EN` so xosc is powered down in hibernate 2016-04-04 12:25:30 +01:00
Richard Meadows 917a332ce3 [ariss] disable ariss, always use bypass path for other aprs
first hardware build won't include amplifier
2016-04-02 17:45:22 +01:00
Richard Meadows f80788b26a [battery,bus] stay in cold out hibernate when the bus voltage is less than 2.5V 2016-04-02 17:41:59 +01:00
Richard Meadows feadf9dbc2 [hibernate] always check sensors when waking up from hibernate
Also
* hibernate time must be set with rtc on every iteration
* external xosc is only powered down during hibernate if `XOSC_TCXO_SHUTDOWN_EN` is set
2016-04-02 11:41:28 +01:00
Richard Meadows 0e55742922 [memory] update backlog length definition. unused anyhow 2016-03-29 16:26:58 +01:00
Richard Meadows 0316a3480d [sequencer] pass the cycle time to the sequencer so the backlog rate can be kept constant at one-per-hour 2016-03-29 16:22:12 +01:00
Richard Meadows 901ad31ead [geofence_aprs_zones] More testcases 2016-03-28 22:39:08 +01:00
Richard Meadows 866897001b [geofence_aprs_zones] Fix aprs zone for austrailia, add to test case 2016-03-28 22:34:47 +01:00
Richard Meadows 95b55c4cb6 [main] use faster rate when we have excess power, as well as during launch. 2016-03-28 16:58:01 +01:00
Richard Meadows 3329fea1a1 [geofence_aprs_zones] Reduce the size of S. Korea APRS area, no-one seems to use it there anyhow 2016-03-28 16:39:46 +01:00
Richard Meadows 5967fb9142 [aprs] try amplified path one-in-four times during the day when the battery is good 2016-03-28 16:39:02 +01:00
Richard Meadows 37ae1bd03d [ariss] only attempt ariss when the battery voltage is good, and only use amplifer path 2016-03-28 14:49:41 +01:00
Richard Meadows a78521adc9 [lf-timer] Reduce xosc32k startup time to 100-200ms. Now there's no chance of hitting the wdt 2016-03-28 14:20:42 +01:00
Richard Meadows e6802e1854 [gps_osp] change uint8_t -> uint32_t. GD_COUNT_MAX will now actually do something!! 2016-03-28 14:12:21 +01:00
Richard Meadows bf9a9c4903 [pinmux] fix compiler warnings - remove unused function 2016-03-28 14:06:10 +01:00
Richard Meadows b30ee3c45e [gps_osp] fix compiler warnings - make it clear that osp_messages are volatile 2016-03-28 14:05:49 +01:00
Richard Meadows 10e6d0944b [si_trx] fix compiler warnings, set pa duty cycle to default values
TODO: try out other settings of pa duty cycle, may be more efficient
2016-03-28 14:05:13 +01:00
Richard Meadows 5a671c8366 [ariss] update for backlog not used 2016-03-28 12:55:11 +01:00
Richard Meadows 77571b7b7d [sequencer] update comment 2016-03-28 12:54:48 +01:00
Richard Meadows b75c9763d3 [battery] add unit to monitor battery states, control charge pin 2016-03-28 12:54:17 +01:00
Richard Meadows 17d87503b8 [lftimer->rtc] replace LF timer with always-running RTC timer 2016-03-28 12:53:06 +01:00
Richard Meadows 77f29a5f74 [ubseds15] update telemetry for ubseds15 2016-03-27 18:02:25 +01:00
Richard Meadows 73d090cb6c [aprs-tools] Re-organise so all telemetry functions are in `telemetry_format.py` 2016-03-27 17:53:29 +01:00
Richard Meadows c31fc3d1f1 [aprs-tools] re-organise aprs tools directory, start adding ubseds15 flight 2016-03-27 13:30:12 +01:00
Richard Meadows 0b5e5e7b35 [si_trx,low-power-solar] add support for external rf paths
No effect on earlier revisions as these pins are unconnected
2016-03-27 11:55:54 +01:00
Richard Meadows d008103d76 [low-power-solar] hw-config changes, add header guards for no timepulse or and no i2c operation 2016-03-26 21:50:01 +00:00
Richard Meadows 3f17b1c505 [hw_config] use a separate hw config file for different board types 2016-03-26 20:49:49 +00:00
Richard Meadows 4553d3be4a [ariss] no backlog via arris, at least for first test flight
only prefix
2016-03-26 20:20:11 +00:00
Richard Meadows ce340ee040 [xosc] correct comment 2016-03-26 20:17:32 +00:00
Richard Meadows f026e81267 [geofence,tc] add seattle to tc 2016-03-24 14:10:12 +00:00
Richard Meadows 3408c801a8 [ariss] add ariss routines. These are geofenced only by areas where aprs is disallowed 2016-03-24 14:06:24 +00:00
Richard Meadows 8604bef59a [aprs] add support for different paths, in particular ariss 2016-03-24 12:40:03 +00:00
Richard Meadows 994dad3759 [Pre-flight] add notes about aprs-equations 2016-03-17 12:44:15 +00:00
Richard Meadows 2f35132c60 [backlog] fix issue with bad altitudes in backlog, resulting from no-fix dps getting included in averages 2016-03-14 21:00:58 +00:00
Richard Meadows 90e17f51bf [ukhas format] add flight-specific ukhas format, notes about updating format for new flights 2016-03-14 20:58:39 +00:00
Richard Meadows f26c42f438 [location-aprs] update testcase for thailand change 2016-03-14 20:56:45 +00:00
Richard Meadows fad89a636d [geofence-aprs-zones] Thailand has ditched its own aprs frequency in favour of 144.39
http://www.qsl.net/rast/text/2mbandplan.htm
2016-03-13 17:58:50 +00:00
Richard Meadows 052f8c9303 [aprs-daemon] update ukhas string for ubseds14 2016-03-13 17:02:10 +00:00
Richard Meadows cce25466a1 [aprs-daemon] ukhas upload: fix string concatenation problem, print upload errors 2016-03-13 17:00:34 +00:00
Richard Meadows 5bddbf3c24 [aprs-daemon] Add time to aprs log 2016-03-08 11:02:16 +00:00
Richard Meadows 2061df6e75 [aprs-daemon] add newline to rawdata output 2016-03-07 21:54:42 +00:00
Richard Meadows d8b372b18d [ubseds14,cold-out] increase cold-out threshold at -58 degC 2016-03-05 14:30:59 +00:00
Richard Meadows f4436d8a0c [pre-flight] add note about cold out 2016-03-05 14:30:12 +00:00
Richard Meadows ade478a009 [geofence, tc] add madrid to testcases 2016-03-05 14:23:03 +00:00
Richard Meadows 4cb5e9beba [pre-flight] add note about gps_osp reinit parameters 2016-03-05 14:13:05 +00:00
Richard Meadows 8566141311 [gps_osp] set maximum number of reinits before we call in the watchdog 2016-03-05 12:07:40 +00:00
Richard Meadows 4acadd0b09 [rtc] define interrupt priority 2016-03-05 11:03:34 +00:00
Richard Meadows 2d7defaf42 [drift] Testing compensation of xosc drift against the lftimer. Doesn't work awfully well so disabled.
The lftimer isn't stable enough, compensation would be possible over a longer timescale maybe.
2016-03-04 20:41:39 +00:00
Richard Meadows 236d47c301 [contesia] update comments to make channel alignment more obvious 2016-03-04 20:35:43 +00:00
Richard Meadows 2525e2ce91 [rtc] Add RTC code, produces 1Hz event/interrupt continuously 2016-03-03 22:40:06 +00:00
Richard Meadows 0a487e4487 [gps_osp] clear `OSP_PACKET_UPDATED` flags at the start of gps_setup 2016-03-03 21:27:47 +00:00
Richard Meadows 577f2ffbc3 [gps_osp] no-lock date/month/year may not be valid so leave them as zeros
GPS week thing might not be recevied so it thinks it's in 2011 or something
2016-03-03 20:30:39 +00:00
Richard Meadows 0fd8e960fd [sequencer,aprs] Allow APRS at the rate everything else happens 2016-03-03 20:15:43 +00:00
Richard Meadows 2dcc4fe006 [rsid] remove offset for RSID now that contestia is aligned correctly 2016-03-03 20:02:30 +00:00
Richard Meadows 57a7d6f5d4 [cold-out] fix so it uses actual thermistor reading 2016-03-03 19:33:11 +00:00
Richard Meadows 6b1310c0bb [gps] use wrapped function to re-init gps 2016-03-03 19:32:39 +00:00
Richard Meadows 78318d0738 [gps_osp] take out test code, remember to deinit the usart in gps_reinit 2016-03-03 12:19:33 +00:00
Richard Meadows 97cabb3faa [si_trx] record frequency in si_frequency_configuration struct 2016-03-03 12:12:02 +00:00
Richard Meadows b5142c6c22 [cold-out] Limit cold out to 16 hours maximum 2016-03-02 15:50:49 +00:00
Richard Meadows d725f0ece9 [gps_osp] gps_get_data_wrapper: tidy 2016-03-02 15:07:09 +00:00
Richard Meadows f289a5b17f [cold-out] Implement cold-out functionality.
Don't `gps_init` until the cold-out condition finishes.
2016-03-02 15:06:13 +00:00
Richard Meadows b5c1a0e347 [adc] Check the adc is done before accessing values
should have already completed by this point anyhow
2016-03-02 14:58:11 +00:00