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
Richard Meadows
f1f7a33905
Intermediate build files belong in the gitignore
2015-07-05 20:51:22 +01:00
Richard Meadows
9b2e462e81
Added solar power to telemetry string
2015-07-05 20:51:00 +01:00
Richard Meadows
351a949401
Enable low power mode when solar panels attached
2015-07-05 20:49:07 +01:00
Richard Meadows
1f812b5a00
[bugfix] lat, lon and altitude should all be signed values!
2015-07-05 20:48:31 +01:00
Richard Meadows
f01361ff37
Re-instate kick
2015-07-04 20:58:03 +01:00
Richard Meadows
5d6d35d9dc
Increase the frequency of the internal watchdog gclk so we don't get massive lag when kicking it. Also fix up varous timing issues / speed things up
2015-07-04 20:47:58 +01:00
Richard Meadows
7b48a48881
Re-arranged cron a little, tasks now run after comms runs. Watchdog still being triggered for gps get position etc. Maybe need to wake on both edges of timepulse?
2015-07-04 00:39:33 +01:00
Richard Meadows
28d1d18541
Longer pips
2015-07-03 23:44:22 +01:00
Richard Meadows
08e3d30c25
Brought up gps on new hw, various bugfix, pre-calculate telemetry timer counts and more
2015-07-03 23:40:47 +01:00
Richard Meadows
b65216498d
Telemetry less often when solar power is off
2015-07-03 15:01:23 +01:00
Richard Meadows
cde21d13f9
Added solar to adc, adc now runs on interrupt, added test case. TODO adc paramter tuning
2015-07-03 12:46:33 +01:00
Richard Meadows
4429c0670d
Added backlog recording and playback over aprs
2015-07-01 22:07:35 +01:00
Richard Meadows
1c9385b612
Added backlog unit and test case. Also mem_erase_all testcase
2015-07-01 19:17:55 +01:00
Richard Meadows
c5d780b0eb
Add base-91 telemetry to aprs
2015-06-30 17:18:00 +01:00