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
Richard Meadows
879e64e4ef
Today I learnt some c-foo
2015-06-30 16:23:53 +01:00
Richard Meadows
a834db5f1f
Fix point_in_poly. We need to interpolate along diagonal boarder lines which is kinda going to need floating point
2015-06-29 22:08:31 +01:00
Richard Meadows
88087381eb
Added a new test case that allows us to plot points processed on the ARM CM0+ back in the ipython notebook
2015-06-29 22:06:58 +01:00
Richard Meadows
af531b09fe
Added mem write all test case
2015-06-29 19:54:01 +01:00
Richard Meadows
879f20ad3e
location_aprs test now uses pre-defined list of interesting locations
2015-06-29 19:53:05 +01:00
Richard Meadows
df1423c581
Call the watchdog in idle loops
2015-06-28 23:20:55 +01:00
Richard Meadows
ebafb09f98
Tidied spi.c. We're only ever going to use master mode
2015-06-28 23:05:22 +01:00
Richard Meadows
c1c5d8b4eb
Display runtime for test cases
2015-06-28 22:39:18 +01:00
Richard Meadows
f58cc8f417
New test case for whole memory
2015-06-28 22:26:33 +01:00
Richard Meadows
48eebb798a
Memory checks exact JEDEC ID
2015-06-28 20:07:28 +01:00
Richard Meadows
fc9713cb08
Added tests for memory, new test make now adds #inlcude to tmain.c
2015-06-28 20:06:45 +01:00
Richard Meadows
ed27b1c0b2
Added makefile for making new tcs
2015-06-28 19:13:15 +01:00
Richard Meadows
68aca94548
Added optional gdb info for tests
2015-06-28 18:50:33 +01:00
Richard Meadows
b7d51b7f62
Can now run individual test cases on hw
2015-06-28 18:46:04 +01:00
Richard Meadows
a4b336c1b5
Updated various sercom definitions
2015-06-28 17:37:57 +01:00
Richard Meadows
b63c6ca88d
Droped timepulse handler priority to allow GPS functions to run in handler
2015-06-28 00:25:40 +01:00
Richard Meadows
66d0efb318
Initial implementation of memory drivers
2015-06-28 00:24:17 +01:00
Richard Meadows
c7d9054c3d
Align gps timepulse with the top of the utc second
2015-06-27 19:16:19 +01:00
Richard Meadows
4dde7ed37c
Refactor. System now runs on a "cron" architecture that is aligned to UTC
2015-06-27 19:06:18 +01:00
Richard Meadows
6e584b2ad3
Added rf tests, confirmed aprs deviation and added notes
2015-06-26 12:15:30 +01:00
Richard Meadows
c5a01bab25
Fixed APRS pre-emphasis using custom FIR filter. Not sure on the deviation yet but it looks good in audacity
2015-06-26 01:37:26 +01:00
Richard Meadows
4fb5a30e5f
Added slightly different string when testing
2015-06-26 01:36:25 +01:00
Richard Meadows
28c044f95f
Added altitude to aprs geofence. APRS always enabled below 200m
2015-06-25 19:49:47 +01:00
Richard Meadows
3cda2aba21
Use aprs deviation define
2015-06-25 19:42:10 +01:00
Richard Meadows
e96b3eda63
Use a marco define to set APRS deviation. TODO: different deviations for mark/space
2015-06-25 18:53:42 +01:00
Richard Meadows
42f03fc16f
Set APRS deviation to a sensible value
2015-06-25 18:23:04 +01:00
Richard Meadows
45ada71f11
Doubled the frequency of GCLK1. Doubles the resoultion of the tcxo error measurement
2015-06-25 18:17:15 +01:00
Richard Meadows
5186d5f3df
Switched tc5 aprs to 16-bit mode to reduce error. Reduced pre-scaler
2015-06-25 18:16:24 +01:00
Richard Meadows
158e8e618a
Patched up the mess the adc code is in, added ADC definitions for new hw in hw_config
2015-06-25 17:15:31 +01:00
Richard Meadows
e7602eab03
Refactored SI406X defines to SI4xxx
2015-06-25 16:47:13 +01:00
Richard Meadows
31edebc9e0
RF power set in hw_config, full power for APRS. RF tests in separate file, aprs shuts stops on error correctly
2015-06-25 16:41:35 +01:00
Richard Meadows
9f6aa97ba4
Made separate init file
2015-06-25 13:28:50 +01:00
Richard Meadows
4f33da8740
Started new watchdog and init process.
2015-06-24 22:44:07 +01:00
Richard Meadows
3e87c0b877
Updated hw_config for new 0.98x.x hw
2015-06-24 21:37:57 +01:00
Richard Meadows
3dcff46eb0
ascii arrrt
2015-06-21 13:33:33 +01:00
Richard Meadows
5c1c88fdc1
Added more things to clock map
2015-06-21 13:32:41 +01:00
Richard Meadows
6436e6b6eb
Attempt to tidy markdown
2015-06-21 13:22:13 +01:00
Richard Meadows
8ee45d952e
Changed interrupt priorities to make telemetry symbol timing the top interrupt
2015-06-21 13:20:51 +01:00
Richard Meadows
3d8998991b
Revert "[UBSEDS8] Oscillator issues, disabling tcxo offset field and set to use internal osc for timing rather than tcxo"
...
This reverts commit aa8976eaf1
.
2015-06-20 19:46:23 +01:00
Richard Meadows
7ee788d111
Revert "[UBSEDS8] Doubled length of APRS preamble"
...
This reverts commit c2dd5ce641
.
2015-06-20 19:46:06 +01:00
Richard Meadows
0ad06323bb
Finally moved to emacs24, still using gdb-ui though
...
To use gdb-ui rather than the broken gdb-mi you'll need to:
- Grab `gdb-ui.el` and `gdb-ui.elc` from emacs 23 source
- Put them in your load path somewhere
- `(require 'gdb-ui)` in your init
2015-06-20 19:04:15 +01:00
Richard Meadows
04c183eec0
Added APRS testing function
2015-06-18 07:00:51 +01:00
Richard Meadows
c2dd5ce641
[UBSEDS8] Doubled length of APRS preamble
2015-06-18 06:59:08 +01:00
Richard Meadows
762ebd90a2
[Bugfix] Disable TC5 correcty after use with RSID
2015-06-18 06:51:51 +01:00
Richard Meadows
aa8976eaf1
[UBSEDS8] Oscillator issues, disabling tcxo offset field and set to use internal osc for timing rather than tcxo
2015-06-18 01:10:40 +01:00
Richard Meadows
f2c1889506
Bump for UBSEDS8, enable APRS
2015-06-17 21:51:02 +01:00
Richard Meadows
237d432437
Don't need a sintable any more
2015-06-15 11:31:07 +01:00
Richard Meadows
9008a2f5c5
Renamed test case main to avoid clash with other main.c, always rebuild source for testcases, show full debug trace during testcases (keepin' it real)
2015-06-15 11:29:43 +01:00
Richard Meadows
eca1a3af10
Brought test case readme up to date
2015-06-15 11:20:15 +01:00
Richard Meadows
9421de582d
Disabled APRS, callsign for ubseds7 (marsballoon)
2015-06-08 18:35:38 +01:00
Richard Meadows
b5b734105a
Added setup details for test cases
2015-06-07 22:46:42 +01:00
Richard Meadows
489dd49ddb
Return to 100ms of APRS preamble
2015-06-07 22:39:47 +01:00
Richard Meadows
dcc07d1335
Enable APRS based on current location
2015-06-07 22:39:26 +01:00
Richard Meadows
658076c468
UBSEDS6 launch, APRS disabled by geofence
2015-06-07 22:36:16 +01:00
Richard Meadows
8c4bbdabc8
Stop Ax25 packets looping, add deinit routine for timer, 200ms of aprs flags (not sure why)
2015-06-07 22:33:48 +01:00
Richard Meadows
cbd780c53c
Fixed wrong sizeof for number of outlines in zone
2015-06-07 22:28:22 +01:00
Richard Meadows
d5f6a921c7
Added number of outlines to zone structure, fixes wrong sizeof thing
2015-06-07 22:24:20 +01:00
Richard Meadows
fcef15b7c6
Added basic testcase for aprs geofence
2015-06-07 22:22:24 +01:00
Richard Meadows
4098fc7e9f
Re-enable aprs for testing
2015-05-14 20:12:44 +01:00
Richard Meadows
aae812dac3
UBSEDS5 launch
2015-05-14 20:10:56 +01:00
Richard Meadows
06b5a2ad56
Dropped clock rate back to 4MHz, fixes startup issues
2015-05-13 16:12:00 +01:00
Richard Meadows
29c8a9750c
Bugfix: Fix rsid pwm
2015-05-13 15:44:32 +01:00
Richard Meadows
7887123cc5
Bugfix: Pips now work when not on xtal
2015-05-13 15:27:27 +01:00
Richard Meadows
532e4847be
Added aprs variable frequency, location functions for aprs
2015-05-12 21:51:26 +01:00
Richard Meadows
c7c2d09c4a
Fix a couple of things in geofence, including adding consts
2015-05-12 21:38:16 +01:00
Richard Meadows
e52ffa18aa
Merge branch 'geofence_dev'
2015-05-11 19:54:27 +01:00
Richard Meadows
4c7e972c30
Fixed up licensing
2015-04-14 16:33:55 +01:00
Richard Meadows
c718a875d2
Removed aprs test code
2015-04-14 16:17:38 +01:00
Richard Meadows
1624057970
Remove si4060.c / si4060.h. They haven't been used for a while
2015-04-14 16:13:48 +01:00
Richard Meadows
262a3b29a6
Actually fix things from the last merge
2015-04-14 16:12:37 +01:00
Richard Meadows
ef595cc3a9
Merge branch 'aprs_dev'
...
Conflicts:
firmware/inc/hw_config.h
firmware/src/xosc.c
2015-04-14 16:12:01 +01:00
Richard Meadows
4d67632ae2
Separate frequency for APRS, APRS values set through setter function
2015-04-14 16:08:33 +01:00
Richard Meadows
920a6cc077
Aprs working on 144.888, tested on aprs.fi with pymutlimonaprs
2015-04-14 14:55:46 +01:00
Richard Meadows
137b30290f
Tidied up a few things, added lists of outline lengths
2015-04-13 17:52:23 +01:00
Richard Meadows
d2bb49827c
Initial implementations of location.c/h and made but not written test cases for such
2015-04-13 17:46:48 +01:00
Richard Meadows
6142414692
Fixed up autogenerated source/header files so they compile
2015-04-12 21:13:53 +01:00
Richard Meadows
7b03f5b65f
Geofencing mostly done, aprs zones etc
2015-04-12 18:24:50 +01:00
Richard Meadows
2b1aff2ade
Option for not using external oscillator
2015-04-02 20:57:25 +01:00
Richard Meadows
0e14825de9
Various aprs tidy / fix. Added useful resources list. Added telemetry terminate at end of packet
2015-04-02 19:52:02 +01:00
Richard Meadows
a44a4efdcf
Removed some test code for ax25. Now encoding our own ax25 packets
2015-04-02 11:54:23 +01:00
Richard Meadows
96248ed8b8
Working aprs test using square wave on gpio1 and 2gfsk
2015-04-02 11:38:48 +01:00
Richard Meadows
e76e078914
Midway through first attempt at ax25. Everything is a mess
2015-04-01 15:13:01 +01:00
Richard Meadows
46bd5f255f
Split sintables into separate source/header files so it actually compiles
2015-04-01 10:34:38 +01:00
Richard Meadows
746a1d278e
New feature: Added sintables for aprs
2015-03-30 15:50:47 +01:00
Richard Meadows
860d339adb
Fixed bug in powersave mode: timepulse output appears to switch back to 1Hz automatically
2015-03-16 15:32:29 +00:00
Richard Meadows
027bab6252
Added basic gps powersaving
2015-03-16 15:30:36 +00:00
Richard Meadows
eda44e65c9
Sample si temperature at end of transmissions. Fixes broken si temperature
2015-03-16 13:55:26 +00:00
Richard Meadows
5fb78df303
Added pips, and telemetry_stop mechanism for them. Alternate rtty/contestia
2015-03-16 01:09:25 +00:00
Richard Meadows
b2df1f567e
Run telemetry tick from the xosc rather than the internal clock
2015-03-16 00:18:41 +00:00
Richard Meadows
86c6b2cf0e
Fixed RSID skipping last tone, turn on radio one tone early for first tone
2015-03-16 00:09:24 +00:00
Richard Meadows
eebed918e9
Measure error of xosc in hz relative to gps timepulse
2015-03-15 21:35:42 +00:00
Richard Meadows
cf0e3824fd
Don't use rtc for timing, use eic from gps timepulse instead
2015-03-15 21:18:33 +00:00
Richard Meadows
e6f5d0ba61
Tidy in preparation for RTC
2015-03-15 19:29:16 +00:00
Richard Meadows
4589c95c33
Added note about led pin
2015-03-15 18:43:07 +00:00
Richard Meadows
e4f81caaae
Added callback for xosc measurement, osc8m calibration and tc for this
2015-03-15 17:34:46 +00:00
Richard Meadows
372af471d3
Testcases now run through prelude
2015-03-13 19:42:01 +00:00
Richard Meadows
9049df90f9
Automatically run all testcases
2015-03-13 19:28:46 +00:00
Richard Meadows
e7a81a5368
Plenty of changes to the test system
...
Conflicts:
breakout-hardware/tracking
2015-03-13 19:28:09 +00:00
Richard Meadows
f3ed51dbec
Added files from previous commits :(
2015-03-13 11:39:43 +00:00
Richard Meadows
9c581b5a05
Added XOSC clock measurement. Requires hardware modifications
2015-03-13 09:58:22 +00:00
Richard Meadows
ecf9c7b546
Reduce precision on GPS coords
2015-03-07 16:02:22 +00:00
Richard Meadows
7cf609819e
Added contestia checking function to beat checksum bug, added spacing after rsid
2015-03-07 16:00:31 +00:00
Richard Meadows
b7a0d03a51
Interleaved contestia, rtty. Simplified telemetry etc
2015-03-07 15:29:10 +00:00
Richard Meadows
307f57b7c2
Telemetry changes to allow rtty and contestia
2015-03-06 23:39:54 +00:00
Richard Meadows
d985c90dfc
Added pips, now outputs full rsid / contestia telemetry
2015-03-06 21:59:23 +00:00
Richard Meadows
67719ea8b5
More re-orginisation to telemetry etc, added working RSID demo run
2015-03-06 19:30:33 +00:00
Richard Meadows
7fc4421939
Added peripheral notes
2015-03-06 10:26:02 +00:00
Richard Meadows
35bc669420
Added a variable for Npresc, tidy up
2015-03-05 07:43:15 +00:00
Richard Meadows
fa4efbc79a
Timer tick now activated for each telemetry burst
2015-03-02 19:35:16 +00:00
Richard Meadows
cbb004db7e
[New Feature] Contestia Packet output, re-organised telemetry module
2015-02-27 10:55:05 +00:00
Richard Eoin Meadows
31e5fcf211
[Ooops] Fix comment
2014-11-28 16:41:43 +00:00
Richard Eoin Meadows
eae0e64a3a
[Refactor] Small simplification in mfsk encoder
2014-11-28 13:03:18 +00:00
Richard Eoin Meadows
4762c56e23
[New Feature] Added possiblity to clock symbol timer off the TXCO, but it's disabled and not working on hardware
2014-11-27 13:06:35 +00:00
Richard Eoin Meadows
c92820b11f
[Fixed Comment]
2014-11-26 20:14:51 +00:00
Richard Eoin Meadows
69e1ab99ca
[New feature] Generally working olivia / contestia implementation. Only decodes sometimes... Maybe needs a preamble?
2014-11-26 11:56:21 +00:00
Richard Eoin Meadows
5f9735805e
Merge branch 'master' into contestia_dev
2014-11-18 16:06:18 +00:00
Richard Eoin Meadows
7b509fcaca
[Refactor] Completed replacement of Si4060 with si_trx
2014-11-18 15:47:17 +00:00
Richard Eoin Meadows
92e7f3412d
[Refactor] Rename GPIO function, reduce radio pin drive strength
2014-11-18 14:40:59 +00:00
Richard Eoin Meadows
41717efce2
[Refactor] Now uses si_trx for the radio
2014-11-18 14:37:36 +00:00
Richard Eoin Meadows
afabff5734
Merge branch 'master' into si4060-tidy
...
Conflicts:
firmware/src/main.c
2014-11-18 10:54:08 +00:00
Richard Eoin Meadows
6dd5205691
[New Feature] Added initial implementation of olivia for testing
2014-11-18 10:49:04 +00:00
Richard Eoin Meadows
21d5005d6b
[Ooops] Fixed variable name...
2014-11-09 19:08:43 +00:00
Richard Eoin Meadows
4d86f7d5b5
[New feature] Added function prototype for olivia mfsk encoding
2014-11-09 18:33:26 +00:00
Richard Eoin Meadows
b6622c5d16
Revert "[New Feature] Enabled cyclic tracking on the GPS"
...
This reverts commit 33733e77ca
.
Spurious fixed observed during testings.
2014-10-26 00:36:52 +01:00
Richard Eoin Meadows
a949b744e6
[Ooops] Actually use CALLSIGN define
2014-10-25 23:36:44 +01:00
Richard Eoin Meadows
24d638e34f
[Refactor] Tidy up in RTTY
2014-10-25 23:29:07 +01:00
Richard Eoin Meadows
33733e77ca
[New Feature] Enabled cyclic tracking on the GPS
2014-10-25 23:26:27 +01:00
Richard Eoin Meadows
bad5cc913d
[New Feature] Use an interrupt that isn't part of the M0+ core for the RTTY interrupt. This allows sleep mode
2014-10-25 19:38:28 +01:00
Richard Eoin Meadows
74fbfb30ad
[New Feature] RTTY output is now double buffered, this allows GPS coordinates to be updated mid-packet
2014-10-25 18:26:47 +01:00
Richard Eoin Meadows
fde2b2441a
[New Feature] Disable some unsed stuff in the power manager
2014-10-25 15:42:25 +01:00
Richard Eoin Meadows
8aa8ff5559
[Refactor] Moved to IDLE1 sleep mode for more power saving
2014-10-25 15:14:20 +01:00
Richard Eoin Meadows
d7f86ad09b
[New Feature] Enabled IDLE0 sleep mode for the microcontroller
2014-10-25 14:28:01 +01:00
Richard Eoin Meadows
bace0b7160
[New Feature] Approximate temperature from the radio
...
Conflicts:
firmware/src/telemetry.c
2014-10-24 22:20:30 +01:00
Richard Eoin Meadows
4312cc13c5
[Refactor] Callsign on the master branch is "UBSEDSx", launch branches should override this
2014-10-24 19:38:02 +01:00
Richard Eoin Meadows
2625019db5
[Refactor] Inverted the sense of the RTTY to meet the standard
2014-10-24 19:37:12 +01:00
Richard Eoin Meadows
fb60d489d3
[Ooops] Fixed comment in watchdog driver
2014-10-24 19:34:45 +01:00
Richard Eoin Meadows
a5389fbb99
[New Feature] LED indicates position lock
...
Signed-off-by: Richard Eoin Meadows <richardeoin@gmail.com>
2014-10-24 19:34:14 +01:00
Richard Eoin Meadows
64e7847459
[Recfactor] Re-enabled internal watchdog, temporary fix
2014-10-24 12:13:29 +01:00