Richard Meadows
eb1ad8d872
UBSEDS9 pre-flight
2015-07-25 02:20:30 +01:00
Richard Meadows
cdb58d037c
Backlog is once per hour
2015-07-25 02:03:14 +01:00
Richard Meadows
efd465b420
Make backlog pointer null pointerness more obvious
2015-07-25 01:54:56 +01:00
Richard Meadows
aa757ef05d
Add backlog_read testcase
2015-07-25 01:54:24 +01:00
Richard Meadows
9e1a7c0c71
Invalidate bad backlog items as they're read from memory
2015-07-25 01:53:54 +01:00
Richard Meadows
2f977f9740
Set watchdog max_idle limits for flight
2015-07-24 23:20:51 +01:00
Richard Meadows
ec4829ea43
Enabled aprs parameters for flight
2015-07-24 23:18:16 +01:00
Richard Meadows
5960908457
Updated and ran location_aprs_file tc
2015-07-24 23:17:00 +01:00
Richard Meadows
87aa64e81d
Fix location_aprs_file test case for integer params
2015-07-24 23:09:26 +01:00
Richard Meadows
f2f39bad79
[Ooops] Fix logical error from eaa6469
2015-07-24 22:57:13 +01:00
Richard Meadows
1f0e8e1900
location.c now deals in integer only (apart from the point in poly itself), fix testcases to match
2015-07-24 22:56:16 +01:00
Richard Meadows
eaa64690b7
Timeout and retries on gps position and time. Lock and wait for hardware reset after 5 tries
2015-07-24 20:25:57 +01:00
Richard Meadows
8cff9a91fd
Pass lon/lat to geofence update functions as 100 nanodeg int32_t instead of float
2015-07-22 22:56:33 +01:00
Richard Meadows
3165b5dbbd
Use telemetry geofence. Run fence every five minutes
2015-07-22 22:39:48 +01:00
Richard Meadows
2be1e3344e
Added no telemetry geofence for China, NK and Yemen. Added test case
2015-07-22 22:33:51 +01:00
Richard Meadows
276d50f82f
Telemetry wakeup is delayed until the battery reaches 3.3V.
...
Ensures we have the battery capacity (the 3.3 - 3V region) before the voltage watchdog cuts off the 1.8V rail
2015-07-21 19:36:16 +01:00
Richard Meadows
fa5a7d623e
[Ooops] Added sequence number to aprs telemetry
2015-07-19 21:56:48 +01:00
Richard Meadows
5f996d5dc9
Fix xosc error for earlier change to double edged gps timepulse events.
...
Xosc measurement now takes 0.5s, resolution is 4Hz again
2015-07-19 00:00:38 +01:00
Richard Meadows
b8c382ba9f
Enlarge the no-aprs zones so even with lower resolution aprs is never active within no-aprs countries
2015-07-18 23:55:26 +01:00
Richard Meadows
b7009de48b
Added checksum to backlog
2015-07-18 22:58:28 +01:00
Richard Meadows
7acb3d82e7
Now this saves some startup time on the pips. We can actually shortern them with the time we've saved
...
In future potentially keep the si in standby mode rather than shutdown mode. This saves startup time, but could be a reliabilty issue as the si isn't getting a full hw reset each cycle. Probably don't bother, it doesn't matter that much
2015-07-18 22:58:11 +01:00
Richard Meadows
2df3eaf783
Pre-calculate si settings for each frequency. Apparently this only shaves 2 ms off the startup time but hey
2015-07-18 22:30:57 +01:00
Richard Meadows
a734ffef5b
Added crc32 and test case
2015-07-18 21:25:52 +01:00
Richard Meadows
7cef644d4c
Tested and improved gps baud error test
2015-07-18 17:37:48 +01:00
Richard Meadows
9fcdb51049
Merge branch 'master' of github.com:bristol-seds/pico-tracker
2015-07-18 17:05:03 +01:00
Richard Meadows
413e116707
Added backlog replay threshold, currently one day
2015-07-18 17:03:45 +01:00
Richard Meadows
93dd085729
Tidy compilation warning
2015-07-18 16:55:58 +01:00
Richard Meadows
f6a5aea1fe
Added pre-flight note about hardware watchdog
2015-07-18 16:55:20 +01:00
Richard Meadows
b543316b42
Interrupt on both edges of the gps timepulse to ensure we hit the hardware watchdog often enough. Also control the external WDI line as an awake/asleep trigger for debugging.
...
This introduces a uncertainty of ±0.5s on the internal time, but we can ignore that for the moment
2015-07-18 16:53:25 +01:00
Richard Meadows
f7221454f0
Reduce resolution of APRS outlines
2015-07-18 16:34:28 +01:00
Richard Meadows
84b243b772
[Ooops] Fixed underflow
2015-07-18 13:29:27 +01:00
Richard Meadows
7a94195d95
Culled various compiler warnings
2015-07-16 21:00:56 +00:00
Richard Meadows
d767cc405d
Implemented full internal time representation increment
2015-07-16 20:50:50 +00:00
Richard Meadows
bbdd0b68ee
Added note about `MAXIDLE` values, set to conservative value of 0xFFFF
2015-07-16 20:32:18 +00:00
Richard Meadows
c40105dacb
Improved gps error handling, more work to do here however
2015-07-16 20:19:35 +00:00
Richard Meadows
c2118dbdc4
Only `ticks` value in cron interrupt handler, keep internal time representation out of the ISRs
2015-07-16 19:45:06 +00:00
Richard Meadows
5dc81aa104
Also use GPS_GCLK define for loopback test
2015-07-15 21:14:02 +00:00
Richard Meadows
1ec501566a
Semaphore to stop internal time representation incrementing mid-update
2015-07-14 21:41:04 +00:00
Richard Meadows
ea2f7b5c27
Moved gps usart over to glck1 (txco). Should be more stable. Added (untested) test case to check baud rate accuaracy
2015-07-14 20:46:03 +00:00
Richard Meadows
96bde93fb2
Update installation deps for sim
2015-07-14 20:41:44 +01:00
Richard Meadows
f3b0510d76
[Ooops] Start aprs backlog with time like DDHHmmz, not DDHHss that would be silly
2015-07-12 15:05:30 +01:00
Richard Meadows
4baae8e99e
Fixed solar adc reading
2015-07-12 15:02:59 +01:00
Richard Meadows
cca08c4a78
Differentiate init for testcase runs. For testcases don't init regular interrupts that could get in the way
2015-07-12 14:54:20 +01:00
Richard Meadows
0ae86affac
Update aprs rf_test for new interface
2015-07-12 14:52:43 +01:00
Richard Meadows
cd46495152
Fixed a couple of APRS timing/format issues. APRS txes after rtty, on 144.8 when geofence is disabled
2015-07-12 00:17:04 +01:00
Richard Meadows
c3ce6a5bae
[Ooops] Add include
2015-07-11 20:17:58 +01:00
Richard Meadows
90363c6b6e
Added APRS_USE_GEOFENCE flag
2015-07-11 20:17:46 +01:00
Richard Meadows
5aea2ccd50
Improved RSID with new si filter profile, leave some time for si startup
2015-07-11 20:07:30 +01:00
Richard Meadows
a518ed92f9
Added write to the si modem DSM_CTRL register, allow even deviation values (potentially could lead to spurs but probs not)
2015-07-11 12:51:34 +01:00
Richard Meadows
f1babfd5a8
Updated README, added some note to pre-flight checklist
2015-07-05 21:20:30 +01:00