summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAge
* altos/lpc: Declare SPI send parameters as constKeith Packard2014-11-06
| | | | | | This matches STM Signed-off-by: Keith Packard <keithp@keithp.com>
* altos: Use other TeleDongle LED for CRC-invalid packet reportingKeith Packard2014-11-06
| | | | | | | Instead of blinking out some fake-o RSSI indication, just blink the red LED when a packet with a bad CRC is received. Signed-off-by: Keith Packard <keithp@keithp.com>
* altosuilib: GPS errors are recorded in floating point, not integersKeith Packard2014-11-06
| | | | | | Fix the format used to present them in the info table. Signed-off-by: Keith Packard <keithp@keithp.com>
* altos: Use AO_SPO_SPEED_FAST for CC1200Keith Packard2014-11-06
| | | | | | | This asks for the fastest available SPI speed, instead of fixing it to 8MHz, which may not be supported on every architecture. Signed-off-by: Keith Packard <keithp@keithp.com>
* altos: Stop attempting to ramp power on CC115LKeith Packard2014-11-06
| | | | | | | | The PA register on the 115L isn't in any way monotonic, making the old code broken. Just rempve it instead of fixing it; we don't ramp anywhere else... Signed-off-by: Keith Packard <keithp@keithp.com>
* altos: Declare port register type only in arch headerKeith Packard2014-11-06
| | | | | | | Instead of defaulting to 8 bits, explicitly require declaration of the type of the port register for each architecture. Signed-off-by: Keith Packard <keithp@keithp.com>
* Move teledongle 1.9 to 1.8; there's a new 1.9Keith Packard2014-11-06
| | | | | | 1.9 is now the lpc11u14-based form-factor prototype board. Signed-off-by: Keith Packard <keithp@keithp.com>
* altos: Rename microwater to microsplashKeith Packard2014-11-05
| | | | Signed-off-by: Keith Packard <keithp@keithp.com>
* altosui: Pop up 'Connecting' dialog during Monitor IdleKeith Packard2014-10-30
| | | | | | | This was a bit harder than expected as I had to wire up a way to shut down the whole monitor idle window when you clicked on the cancel button. Signed-off-by: Keith Packard <keithp@keithp.com>
* altos: Increase CC1200 SPI data rate to 8MHzKeith Packard2014-10-25
| | | | | | | This got set to 125kHz to make debugging with a logic analyzer easier and never changed back to a reasonable speed. Signed-off-by: Keith Packard <keithp@keithp.com>
* altos: Fix up telemetry delay computationsKeith Packard2014-10-25
| | | | | | | | | | | | | | | | With RDF, APRS and telemetry all being sent at varying rates, computing when to send the next radio data is not as simple as sending telemetry and then figuring out whether to send RDF and/or APRS. Fix this by computing times for the next telemetry/rdf/aprs packet, and only sending each when that time has passed. Compute the delay until the next radio activity as the minimum time to any transmission. This also adds code to the config bits to reset the radio times whenever something changes that might affect which radio data to send next. Signed-off-by: Keith Packard <keithp@keithp.com>
* altos: Perform cc1200 calibration less often. Tweak radio paramsKeith Packard2014-10-25
| | | | | | | | | | | This performs calibration after every 4 operations, or when the frequency changes. This reduces the time it takes to get to receive mode. This also makes the sync and preamble qualifiers more strict to reject bad packets. Signed-off-by: Keith Packard <keithp@keithp.com>
* altos: Remove old AO_SEND_ALL_BARO bitsKeith Packard2014-10-25
| | | | | | | This was used for testing the original TeleMini which couldn't log data at full speed. Signed-off-by: Keith Packard <keithp@keithp.com>
* altos: Build TeleDongle v1.9 by defaultKeith Packard2014-10-25
| | | | Signed-off-by: Keith Packard <keithp@keithp.com>
* altos: Increase PQT value for cc1200 improving sensitivityKeith Packard2014-10-25
| | | | | | | | The PQT value indicates how 'good' the preamble is; higher values allow a lower quality of preamble to pass the test, permitting more packets to be decoded. Signed-off-by: Keith Packard <keithp@keithp.com>
* altos: Sort out ao_gps_print altitude fetchingKeith Packard2014-10-25
| | | | | | | | | | ao_gps_print is used by both teledongle/telebt and the host-based GPS test code. The first instance uses the old internal GPS structure, containing just a 16-bit altitude while the second uses an ao_telemetry structure, which contains 32 bits split into two members. Signed-off-by: Keith Packard <keithp@keithp.com>
* altos/teledongle-v1.9: Add remaining code to complete the projectKeith Packard2014-10-24
| | | | | | This turns the prototype board into a full teledongle Signed-off-by: Keith Packard <keithp@keithp.com>
* altos: Complete cc1200 driverKeith Packard2014-10-24
| | | | | | | | | | Deal with differences between cc1120 and cc1200, including built-in packet support and various register changes. This now works to send and receive telemetry, as well as send APRS and RDF. Signed-off-by: Keith Packard <keithp@keithp.com>
* altos: Expose telemetry altitude macros even without GPSKeith Packard2014-10-24
| | | | | | This allows for APRS testing in the new teledongle code Signed-off-by: Keith Packard <keithp@keithp.com>
* altos: Mark STM ao_spi_send as taking const pointerKeith Packard2014-10-24
| | | | | | We don't write to this, so let it be const for type checking Signed-off-by: Keith Packard <keithp@keithp.com>
* ao-tools/ao-send-telem: Add verbose, fake and rate optionsKeith Packard2014-10-24
| | | | | | | | Verbose dumps some data while sending packets. Fake sends constructed packets, once every 500ms. Rate sets the transmit bit rate. Signed-off-by: Keith Packard <keithp@keithp.com>
* altosuilib: Try to detect the architecture when loading JNI libKeith Packard2014-10-24
| | | | | | | Look at sun.arch.data.model and os.arch to try and load the right libaltos file the first time. Signed-off-by: Keith Packard <keithp@keithp.com>
* altoslib: synchronize access to serial debug output listKeith Packard2014-10-24
| | | | | | | This list is access by both the receiver and the monitor task, so it needs to be locked to prevent collisions. Signed-off-by: Keith Packard <keithp@keithp.com>
* document pyro current limits in an appendixBdale Garbee2014-10-09
|
* altos: Add prototype TeleDongle v1.9 codeKeith Packard2014-10-05
| | | | | | | Lights up the hardware, sends carrier and RDF tones. A bit more cc1200 work to be done still. Signed-off-by: Keith Packard <keithp@keithp.com>
* altos: Copy cc1120 driver to cc1200 driver and hack a bitKeith Packard2014-10-05
| | | | | | | | | | The cc1200 is similar to the cc1120, although many registers have changed. This driver can send a bare carrier and an RDF tone, but does not yet receive or transmit telemetry data. Signed-off-by: Keith Packard <keithp@keithp.com>
* altos: Fix syntax error with ao_log_mega change.Keith Packard2014-10-04
| | | | | | Missed a semi-colon. Signed-off-by: Keith Packard <keithp@keithp.com>
* altoslib: Compute tilt angle from eeprom dataKeith Packard2014-10-04
| | | | | | | | | | | | | | | | This copies the computation of tilt angle from the firmware so that post-flight analysis can also show the data. This change also renames all of the imu values to make them easier to understand: accel gyro axis along roll length of the board across pitch across the board through yaw through the board. Signed-off-by: Keith Packard <keithp@keithp.com>
* altosui: Update 'Imperial Units' checkbox when units changeKeith Packard2014-10-04
| | | | | | | If you have two graphs running, make sure the imperial units checkboxes agree. Signed-off-by: Keith Packard <keithp@keithp.com>
* altoslib: Deal with new Mega log format that has 32-bit gyro calKeith Packard2014-10-04
| | | | | | | This adds parsing for the new log format type to get all 32 bits of the gyro calibration data. Signed-off-by: Keith Packard <keithp@keithp.com>
* altos: Record 32-bits for gyro calibration valuesKeith Packard2014-10-04
| | | | | | | | | The gyro ground calibration values are scaled by 512 to provide a bit more precision for the computations. This means they don't fit in 16 bits, so change the format of the flight log record. Also change the reported format so that AltosUI has a chance of figuring it out. Signed-off-by: Keith Packard <keithp@keithp.com>
* altosui: Check for map and stats table when changing units/fonts in graphKeith Packard2014-09-29
| | | | | | | AltosGraphUI wasn't making sure the map and stats tables were present before attempting to adjust font size and units. Signed-off-by: Keith Packard <keithp@keithp.com>
* altos: Handle antenna down in ao_flight_testKeith Packard2014-09-29
| | | | | | | Parse the Pad orientation config value and flip the accelerometer value back around in antenna down configuration. Signed-off-by: Keith Packard <keithp@keithp.com>
* ao-bringup: Auto-select programmer for teledongle turnonKeith Packard2014-09-26
| | | | | | | Bdale's programmer is SN 100, Keith's is SN 186. Use the username to figure out which one to use. Signed-off-by: Keith Packard <keithp@keithp.com>
* altos: Make sure we drop the SPI mutex when aborting cc1120 recvKeith Packard2014-09-26
| | | | | | | | | | The cc1120 receive code is 'twisty', in that it acquires the SPI mutex in the middle of an interrupt handler so that it can quickly start the radio when the signal comes in. This means we have to be careful to drop that mutex in all paths which leave the receive code, including when the packet receive is aborted mid-way through the process. Signed-off-by: Keith Packard <keithp@keithp.com>
* store cal value correctly even when we didn't need to change itBdale Garbee2014-09-13
|
* altosdroid: Update notebook to reflect current statusKeith Packard2014-09-13
| | | | Signed-off-by: Keith Packard <keithp@keithp.com>
* altosui: Bring up main window when doing --replay or --graphKeith Packard2014-09-13
| | | | | | | | This shows the main window when replaying or graphing files so that you can interact with that, changing the global configuration or doing other stuff. Signed-off-by: Keith Packard <keithp@keithp.com>
* altosui: Fix --replay to run in realtime after boostKeith Packard2014-09-13
| | | | | | | I added the ability to rapidly replay files for AltosDroid to recover from a crash, but didn't change AltosUI to use realtime mode again. Signed-off-by: Keith Packard <keithp@keithp.com>
* reflect filename changes in LLC repoBdale Garbee2014-09-13
|
* altosdroid: Automatically sign the released version if the key is availableKeith Packard2014-09-13
| | | | | | | Look in ~/altusmetrumllc for release.keystore and Passphrase and enable building and signing of the release binary. Signed-off-by: Keith Packard <keithp@keithp.com>
* altosdroid: Update version code and name for 1.5Keith Packard2014-09-13
| | | | Signed-off-by: Keith Packard <keithp@keithp.com>
* Mark master branch as past the 1.5 pointKeith Packard2014-09-13
| | | | Signed-off-by: Keith Packard <keithp@keithp.com>
* updated to reflect changes from 1.5 releaseBdale Garbee2014-09-13
|
* ao-bringup: Improve igniter testing. Add TeleMega and TeleMetrum testing.Keith Packard2014-09-12
| | | | | | | | | | The script lets you re-try each one when they fail, which is nice if you're hand-holding the setup. The TeleMetrum and TeleMega tests are adapted from the EasyMega tests and are hooked up to the turnon scripts. Signed-off-by: Keith Packard <keithp@keithp.com>
* ao-tools/ao-test-igniter: Remove bogus printfKeith Packard2014-09-12
| | | | | | | This must have been left over from testing; it prints "device (null)", which isn't very useful. Signed-off-by: Keith Packard <keithp@keithp.com>
* ao-tools/ao-test-gps: Improve output formattingKeith Packard2014-09-12
| | | | | | Add a newline before printing out the flags and sats at exit time Signed-off-by: Keith Packard <keithp@keithp.com>
* ao-bringup: Use C version of ao-test-gps in test-telegpsKeith Packard2014-09-12
| | | | Signed-off-by: Keith Packard <keithp@keithp.com>
* ao-tools: Add ao-test-gps programKeith Packard2014-09-12
| | | | | | This waits for GPS to report lock Signed-off-by: Keith Packard <keithp@keithp.com>
* ao-bringup: Use C version of test-flash for telegpsKeith Packard2014-09-12
| | | | Signed-off-by: Keith Packard <keithp@keithp.com>