Wykres commitów

545 Commity (18aa7396c95bbd18e5452cedde67b2dfb3934923)

Autor SHA1 Wiadomość Data
Richard Meadows 1dcfe1b3ce [ms5607] remove non-bitbang header from ms5607 2016-01-15 22:03:01 +00:00
Richard Meadows e82a57cb34 [battery] Add 1.5V L91 battery voltage to uhf telemetry 2016-01-15 20:38:17 +00:00
Richard Meadows 8b2fd07271 [lftimer] Use XOSC32K for xosc feed 2016-01-15 20:13:51 +00:00
Richard Meadows 1c04a490bc [radio] use si4461
Have a working tested match for this
2016-01-15 20:13:05 +00:00
Richard Meadows 0371019152 [pre-flight] Add reminder to enable rf tx 2016-01-14 20:34:05 +00:00
Richard Meadows 1ab68a8ec8 Add hw config options for v0.987 hardware 2016-01-14 20:32:30 +00:00
Richard Meadows a2623677ba [i2c-bb] Add timeout and error code return if slave fails to ack 2016-01-14 20:14:15 +00:00
Richard Meadows 132b178f9d Move over to bit/banged i2c now this works well 2016-01-14 20:04:26 +00:00
Richard Meadows 7d38efc950 Update telemetry rate for battery power.
Once per minute below 8km, once every 4 minutes after that. Balloon unlikely to float
below 8km unless something interesting is happening so this seems reasonable.
2016-01-14 20:03:50 +00:00
Richard Meadows 6ab5985c5b [geofence] Exclude territorial US from APRS coverage
US is excluded with a UK license because the non-CEPT agreement with the US restricts
aliens to the terms of their own license as well as local conditions. See 97.107 b(2)
https://www.gpo.gov/fdsys/pkg/CFR-2013-title47-vol5/xml/CFR-2013-title47-vol5-sec97-107.xml

Thanks to adamgreig from pointing this out on freenode #highaltitude, for full discussion
http://habhub.org/zeusbot/logs_highlighted/highaltitude.log.20160114.html
2016-01-14 19:48:29 +00:00
Richard Meadows 05564760db I2C bit-banging that works. Fix c7b1c52 2016-01-11 15:24:58 +00:00
Richard Meadows f6fba399c6 Fix define do/while.. 2015-12-31 22:06:10 +00:00
Richard Meadows c7b1c5278c Added i2c bit-banging. Broken, I can't be bothered to fix without a signal analyser 2015-12-24 18:12:02 +00:00
Richard Meadows 8b27c59922 [watchdog] Update ext watchdog function for ADM8623. WDI is mostly low, see section "WATCHDOG INPUT CURRENT" 2015-12-21 18:13:23 +00:00
Richard Meadows 1b05de3987 [gps-dummy] Flash LED a bit 2015-12-21 17:29:10 +00:00
Richard Meadows 9eb81330f8 [ubx] At startup Reset, set UBX, Reset again to cover both power on and already running cases 2015-12-20 16:31:32 +00:00
Richard Meadows c70c0b1800 [ubx] Add ubx-cfg-rst message on startup
Conflicts:
	firmware/inc/ubx_messages.h
	firmware/src/gps_ubx.c
2015-12-20 16:31:21 +00:00
Richard Meadows 138ca44ea7 [contestia] centre channel correctly 2015-12-20 16:28:40 +00:00
Richard Meadows 185a1685ea [contestia] make preamble length constant despite number of tones 2015-12-20 16:28:07 +00:00
Richard Meadows e1fe5b7b8a Add function for returning IO pins to lowest power state. Not currently used 2015-12-20 16:21:16 +00:00
Richard Meadows bc1a657c8c Add rf transmit enable in hw config 2015-12-20 16:16:32 +00:00
Richard Meadows 1b477a62ec [osp] Wait for a minute to attempt fix 2015-12-20 16:01:42 +00:00
Richard Meadows 7edaefe8f1 [osp] Clear the entirety of the packet 2015-12-20 15:59:35 +00:00
Richard Meadows f17701bda8 More verbose part number checking loop in si_trx 2015-12-13 15:56:30 +00:00
Richard Meadows 0dcab1094a Finish removing GPIO0 from si_trx 2015-12-13 15:55:38 +00:00
Richard Meadows 65ef82d3ee Updated telemetry data formats 2015-12-13 13:04:03 +00:00
Richard Meadows 3965d9c69d Enable telemetry 2015-12-13 12:35:21 +00:00
Richard Meadows 9e799be870 Just disable this. Internal watchdogs suck 2015-12-13 12:34:06 +00:00
Richard Meadows 150276cc37 Function for setting hibernate time, disable some ahb bus items for powersave 2015-12-13 12:33:46 +00:00
Richard Meadows e54ac65fdf Add GPS_DUMMY type for testing 2015-12-13 12:32:35 +00:00
Richard Meadows 8e02d6120b [pips] Support for n pips. For a single pip use n = 1 2015-12-13 12:29:26 +00:00
Richard Meadows 5671a045ea Use Contestia 16/1000 2015-12-13 12:26:50 +00:00
Richard Meadows c99ac62ee5 Add support for faster contestia modes 2015-12-13 12:23:51 +00:00
Richard Meadows 2acd6e5f83 Removed PA_27 from si_trx, use a lf timer instead 2015-12-12 21:34:24 +00:00
Richard Meadows 70314c1ef6 OSC8M off when not in use 2015-12-12 21:15:26 +00:00
Richard Meadows d25f3883bc Add some watchdog kicks during startup
microsecond timer is still TODO
2015-11-30 18:23:59 +00:00
Richard Meadows d8396d7122 [powersave] Keep memory in deep power down and interface disabled when not in use
In total shaves 50 - 100µA off the shutdown state, reduces memory power to negligible again. Power saved from both interface (about 35µA) and from placing memory in shutdown (40µA maybe).
2015-11-30 18:16:42 +00:00
Richard Meadows 66564a452c gps_osp get gps time 2015-11-23 08:03:15 +00:00
Richard Meadows de619c94a7 location bugfixes, fixed location test cases 2015-11-23 00:20:20 +00:00
Richard Meadows 9136c4d52d [bugfix] re-order lat and lon. This will be convention from now on 2015-11-22 23:48:12 +00:00
Richard Meadows 5428ea2b5d Refactor location.c, bugfix things in new notebooks and update geofence checks 2015-11-22 23:11:10 +00:00
Richard Meadows 990d2c07d7 Rename geofence_aprs to geofence_aprs_zones for clarity 2015-11-22 21:20:49 +00:00
Richard Meadows 802954f8dd Decrease I2C timeouts. There's timeouts further down so this still takes a few seconds to timeout 2015-11-22 21:08:47 +00:00
Richard Meadows 586af56e17 Remove geofence_countries, not used 2015-11-22 21:08:08 +00:00
Richard Meadows 722f43ae5b Commit thermistor.c, should have been added in f35ccb540b 2015-11-22 21:07:35 +00:00
Richard Meadows 7722e8f007 Re-enable various sensors, general tidy up 2015-11-22 20:47:14 +00:00
Richard Meadows 8b6e706a6a SE880 running. Cycles between standby and gps running 2015-11-22 19:36:10 +00:00
Richard Meadows 8ec80e26e5 [bugfix] Always 8-bit write corrected generator ID before reading 2015-11-20 20:55:07 +00:00
Richard Meadows 49a3439e03 Added lf timer clock and start sequencer.c to replace cron 2015-11-20 18:15:06 +00:00
Richard Meadows 939d30ebfe Start re-organising clocks for hf lf clock structure where the microcontroller runs on its own lf clock during sleep. 2015-11-19 22:28:40 +00:00
Richard Meadows 62bfcdda3c [gps] Added 1pps time message 2015-11-16 12:34:48 +00:00
Richard Meadows 376a4f0516 [gps] Started support for SiRF IV gps units in gps_osp.c. Split this away from gps_ubx.c
TODO: Integrate osp gps support into cron.c, data.c etc.
2015-11-16 11:13:28 +00:00
Richard Meadows ad0f86b5ca Hardware changes for v0.986.x 2015-11-14 16:34:52 +00:00
Richard Meadows cbb41a293a Add a couple of things to gitignore 2015-11-14 16:19:38 +00:00
Richard Meadows e41e6f19a7 [geofence] Restructure geofence notebooks, split aprs into frequency zone and no_aprs areas
location.c need to be refactored to reflect these changes
2015-11-14 16:18:44 +00:00
Richard Meadows b5da33f90a Added many iterations, datetime to pressure_temperature test 2015-11-14 15:02:16 +00:00
Richard Meadows 5f86abab82 MS5607 pressure sensor now working, various bugfixes 2015-11-02 21:13:46 +00:00
Richard Meadows 11d72c44e2 Re-organised for two barometers 2015-11-02 18:44:42 +00:00
Richard Meadows 55de20a79c Added code for MS5607. Not tested, probably broken 2015-10-31 15:56:23 +00:00
Richard Meadows 405dcbe5ca Change USE_XOSC #ifdef s to #if s, now #define USE_XOSC 0 does the correct thing 2015-10-18 18:58:23 +01:00
Richard Meadows 282da70a9c Added LED toggle function 2015-10-18 18:56:23 +01:00
Richard Meadows 68c9614efa Added UBX CFG PWR frame to GPS. Useful for putting GPS in "shutdown" 2015-10-18 18:55:56 +01:00
Richard Meadows 014a9dc568 UBSEDS11 2015-10-11 11:46:17 +01:00
Richard Meadows 7151f20e20 UBSEDS10 2015-10-11 11:13:17 +01:00
Richard Meadows 4124eec61d Disable accululation, doesn't appear to do anything useful 2015-10-11 11:13:06 +01:00
Richard Meadows c7e8cabf94 Correct sense of aprs flight/testing define 2015-10-10 23:18:46 +01:00
Richard Meadows 5dff06590f Increase ADC sample length, use internal ADC averaging. 2015-10-10 23:08:19 +01:00
Richard Meadows ffc94bb7f7 Reduce APRS geofence resolution to make it fit in ROM 2015-10-10 22:42:35 +01:00
Richard Meadows f35ccb540b Added thermistor equations, c from Adam Cately 2015-10-10 20:38:02 +01:00
Richard Meadows 6f3db1a14c Memory JEDEC ID in variable for debugging 2015-10-10 18:20:45 +01:00
Richard Meadows e24b8df1fc Apparently c prefers this printf format for int32_t 2015-10-09 18:33:46 +01:00
Richard Meadows cc4455581d Finish removing semihost stuff 2015-10-09 18:33:05 +01:00
Richard Meadows 9ac99dc637 Tidied up i2c stuff 2015-10-09 18:28:44 +01:00
Richard Meadows 77a5804ce4 [Bugfix] Zero out ticks for correct alignment with UTC 2015-10-09 18:22:53 +01:00
Richard Meadows 350147a3d7 Add BMP180 to data.c, format output correctly 2015-10-09 18:08:19 +01:00
Richard Meadows 0053085333 Change data collection to once per minute, aligned with the Telemetry top-of-minute.
Also some more rigourous accounting of the ukhas telemetry size
2015-10-08 23:49:37 +01:00
Richard Meadows 4742b6cb57 Telemetry wakes up immediately 2015-10-08 23:42:18 +01:00
Richard Meadows f2425c926e Set I2C to current I2C layout 2015-10-08 21:59:41 +01:00
Richard Meadows 4f22470984 Fix GPS reset 2015-10-08 21:54:22 +01:00
Richard Meadows c2822a5d8f Added GPS reset code 2015-10-08 21:33:18 +01:00
Richard Meadows f10d6861ff Added new datapoints to UHAS string. Increased limit of UKHAS string to 120 characters
Increases max. transmission time by 4 seconds, in line with async data collection move 20->25 earlier
2015-10-07 01:10:57 +01:00
Richard Meadows 8a7ade9eed Added data field to UKHAS string 2015-10-07 00:00:28 +01:00
Richard Meadows 993ebea7af Added callsign and note for next launch 2015-10-06 23:40:14 +01:00
Richard Meadows 1171a90e98 Add thermistor voltage readings to analogue.c
analogue.c is now configured from hw_config.h. Refactored a few things including the testcase.
2015-10-06 23:39:36 +01:00
Richard Meadows ec98df64f9 Switch to Contestia only, once per minute. Time of Minute is configurable 2015-10-06 20:22:05 +01:00
Richard Meadows 599e677a20 Collect GPS data asynchronously. Maybe we can reduce the update rate on the GPS to save power? 2015-10-06 20:17:39 +01:00
Richard Meadows a625416787 Enable aprs, telemetry geofence for testing 2015-10-06 20:06:47 +01:00
Richard Meadows a6eabc9099 Update hw_config for v0.985 2015-10-06 20:06:15 +01:00
Richard Meadows 7e24523c85 Remove semihosting. We don't use this anymore 2015-10-06 19:48:29 +01:00
Richard Meadows 7e0e7535c6 Strip out unused test. Maybe make Python testcase sometime 2015-10-06 19:34:12 +01:00
Richard Meadows 1a9ea6bb56 Save some flash 2015-10-06 19:32:09 +01:00
Richard Meadows dfb3e7a1d3 Move some altitude test data to python testcase 2015-10-06 19:29:59 +01:00
Richard Meadows 707ad66e31 Tidy various compiler warnings 2015-10-06 19:27:31 +01:00
Richard Meadows ef3d232a90 Actually write bmp180 / bmp085 testcase 2015-10-01 15:24:28 +01:00
Richard Meadows b2e58bc4a5 Add i2c and bmp180 to init 2015-10-01 14:26:39 +01:00
Richard Meadows e5e6cfaf85 Add option for TELEMETRY_USE_GEOFENCE, disable APRS 2015-10-01 14:24:40 +01:00
Richard Meadows 929ab37f3d Barometer merge cont.. 2015-10-01 13:36:37 +01:00
Richard Meadows 0e01b2a786 Added module and tests for BMP180 2015-10-01 13:07:22 +01:00
Richard Meadows d72eec2e0e Added object files to gitignore 2015-08-16 16:04:42 +01:00
Richard Meadows 03fc8a176d Added I2C module. Currently configured for rocketry / hf dev 2015-08-16 15:54:47 +01:00
Richard Meadows 7f58ddee7b Added barometeric altitude model and testcase 2015-08-02 14:03:49 +01:00
Richard Meadows 9fb5d6cb20 test make, small fix 2015-08-02 13:54:47 +01:00
Richard Meadows 6c67289f84 Habitat upload done. 'time_created' corresponds to the backlog time, gets sorted correctly by the habitat couchdb views 2015-08-02 13:02:46 +01:00
Richard Meadows 3f11b52e8d habitat_upload: attempt to get time correct on habhub
Works for couchdb, but then wrong on the mobile tracker
2015-08-01 22:02:48 +01:00
Richard Meadows 13f1d9fe59 ukhas_format: fixed crc 2015-08-01 21:27:01 +01:00
Richard Meadows 33baba8270 Added habitat upload. Not complete yet but close #6 2015-08-01 20:58:37 +01:00
Richard Meadows 078bc30736 raw_parser: Added ukhas format encoder 2015-08-01 18:23:05 +01:00
Richard Meadows 61a17fa643 raw_parser: Prompt if filename not specified 2015-08-01 17:41:22 +01:00
Richard Meadows 4d6979981f Added python tool for uploading telemetry equations to APRS-IS 2015-08-01 15:29:05 +01:00
Sam Hatfield 249279c56e Added python parser for raw pico tracker data.
I haven't rigorously tested it, but the fact that the data starts in
Montpelier on the 25th, and it correctly decodes the APRS test longitude of
'<*e7' to -72.75 degrees is promising.
2015-08-01 00:10:59 +01:00
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 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 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 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
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