summaryrefslogtreecommitdiff
path: root/src/megametrum-v0.1
Commit message (Collapse)AuthorAge
* name change from MegaMetrum to TeleMegaBdale Garbee2013-04-22
|
* document my snazzy new 4-pin to MM v0.1 debug cableBdale Garbee2013-04-20
|
* Merge branch 'master' into telescience-v0.2Keith Packard2013-01-16
|\
| * Merge branch 'master' of ssh://git.gag.com/scm/git/fw/altosBdale Garbee2013-01-12
| |\
| * \ Merge branch 'master' of ssh://git.gag.com/scm/git/fw/altosBdale Garbee2012-12-28
| |\ \
| * | | update stlink-pins document to make it clear 4-pin MicroMaTch is ourBdale Garbee2012-12-28
| | | | | | | | | | | | | | | | standard STM32L programming connector, and the big MM thing was v0.1 only
* | | | altos: Set STM GPIO output speed for SPI pins correctlyKeith Packard2013-01-13
| |_|/ |/| | | | | | | | | | | | | | | | | | | | The GPIO pin settings affect the output impedence, and hence the maximum speed for SPI. Cranking these to suitable values allows SPI to run at full speed. Signed-off-by: Keith Packard <keithp@keithp.com>
* | | Allow CC1120 to sit on other SPI bussesKeith Packard2012-12-31
| |/ |/| | | | | | | | | | | | | Reading the incoming data bypasses the SPI API and touches the SPI data register directly; which port that is needs to be specified in the pins file Signed-off-by: Keith Packard <keithp@keithp.com>
* | altos: Re-enable beeper on megametrumKeith Packard2012-12-16
| | | | | | | | | | | | I turned it off during radio testing and forgot to fix that before committing... Signed-off-by: Keith Packard <keithp@keithp.com>
* | altos: Wire up another CC1120 GPIO to get MARC status changesKeith Packard2012-12-16
| | | | | | | | | | | | | | | | | | | | | | | | | | When the radio drops out of RX or TX mode due to an error, it changes the MARC status, and sends pulse down a configured GPIO. Use this to tell when something 'bad' happened during TX or RX so that we can recover from losing the SPI bus in the middle of transmission or reception. Without this, the radio would change state and we'd never know, leaving the radio code waiting for an interrupt that would never arrive. Signed-off-by: Keith Packard <keithp@keithp.com>
* | altos: Stop including profiling and stack guard code in megametrumKeith Packard2012-12-07
| | | | | | | | | | | | These take CPU time and memory and are intended only for debugging Signed-off-by: Keith Packard <keithp@keithp.com>
* | altos: Hook up APRS to telemetry loopKeith Packard2012-12-06
| | | | | | | | | | | | Send APRS packet once every 2 seconds Signed-off-by: Keith Packard <keithp@keithp.com>
* | altos: Hook APRS up to the radioKeith Packard2012-12-06
|/ | | | | | | This adds an arbitrary-length packet writing function to the radio code. Signed-off-by: Keith Packard <keithp@keithp.com>
* altos: Expose GPS serial fifo on MegaMetrumKeith Packard2012-11-30
| | | | | | Necessary for direct access by the GPS reflashing code Signed-off-by: Keith Packard <keithp@keithp.com>
* altos/megametrum: Depend on Makefile contents for buildKeith Packard2012-10-25
| | | | | | This ensures that everything is rebuilt when the Makefile changes Signed-off-by: Keith Packard <keithp@keithp.com>
* altos: Add task queues.Keith Packard2012-10-25
| | | | | | | | | This replaces the array-based scheduler with a queue-based one instead. It should have the same basic scheduling semantics, but it walks shorter lists for each operation, making it much more efficient when the system has a lot of tasks. Signed-off-by: Keith Packard <keithp@keithp.com>
* altos: Add stack-guard code. Uses STM MPU to trap stack overflow.Keith Packard2012-10-25
| | | | | | | | This marks the lowest portion of the stack as inaccessible to the CPU, causing the processor to fault when it reaches it. The fault then generates a panic message so that the user can know what happened. Signed-off-by: Keith Packard <keithp@keithp.com>
* altos: profiling on STM32LKeith Packard2012-10-25
| | | | | | Add sample-based profiling, using a 1kHz timer Signed-off-by: Keith Packard <keithp@keithp.com>
* altos/megametrum: Switch back to using the MS5607Keith Packard2012-10-18
| | | | | | We're planning to ship the MS5607 Signed-off-by: Keith Packard <keithp@keithp.com>
* Merge branch 'master' into mm-ms5611Keith Packard2012-10-18
|\ | | | | | | Signed-off-by: Keith Packard <keithp@keithp.com>
| * altos: Megametrum uses altitude-pa.h, not altitude.hKeith Packard2012-10-12
| | | | | | | | | | | | | | Make sure megametrum gets rebuilt as needed when the various altitude-pa related files change Signed-off-by: Keith Packard <keithp@keithp.com>
* | altos/megametrum: Try running accel and baro in parallel againKeith Packard2012-10-07
| | | | | | | | | | | | | | Now that the baro sensor appears to be working, try running conversions in parallel to see if that makes the accel cal happy Signed-off-by: Keith Packard <keithp@keithp.com>
* | altos/megametrum: Make MS5607 driver hold SPI bus for whole operationKeith Packard2012-10-06
| | | | | | | | Signed-off-by: Keith Packard <keithp@keithp.com>
* | altos/megametrum: Use mma655x for acceleration measurements nowKeith Packard2012-10-06
| | | | | | | | Signed-off-by: Keith Packard <keithp@keithp.com>
* | altos/megametrum: Commit for boards with MS5611 baro sensorKeith Packard2012-10-03
|/ | | | Signed-off-by: Keith Packard <keithp@keithp.com>
* altos: Fix mma665x pin assigment for mma655xKeith Packard2012-08-31
| | | | | | It's on PE13-PE15, not PA5-PA7 Signed-off-by: Keith Packard <keithp@keithp.com>
* altos: Trigger sample complete when all data are readyKeith Packard2012-08-26
| | | | | | | This has each sensor mark a bit in the current data record which is then sent for processing when all of the data are present. Signed-off-by: Keith Packard <keithp@keithp.com>
* altos: Add MMA655X driverKeith Packard2012-08-18
| | | | | | Just debug code at this point, will complete on real hardware Signed-off-by: Keith Packard <keithp@keithp.com>
* altos: Allow STM SPI bus on multiple pin setsKeith Packard2012-08-18
| | | | | | | | This allows multiple STM pin groups to be used for each SPI bus. Useful for the MS5607 sensor which signals conversion complete on the MISO line. Signed-off-by: Keith Packard <keithp@keithp.com>
* Add stlink pinoutKeith Packard2012-07-20
| | | | Signed-off-by: Keith Packard <keithp@keithp.com>
* altos: Place STM config values at fixed addresses for re-useKeith Packard2012-07-17
| | | | | | | | Just like cc1111, stick the serial number and radio calibration values at known fixed addresses so that when re-flashing the board, we can go find the existing values. Signed-off-by: Keith Packard <keithp@keithp.com>
* altos: megametrum depends on ao_companion.hKeith Packard2012-07-16
| | | | Signed-off-by: Keith Packard <keithp@keithp.com>
* altos/megametrum: Support the four additional pyro channelsKeith Packard2012-07-14
| | | | | | These use the new pyro code to allow for some flexibility in programming. Signed-off-by: Keith Packard <keithp@keithp.com>
* altos: Have 'make clean' remove all programs, even old onesKeith Packard2012-07-11
| | | | | | | This makes sure that changing version numbers doesn't leave old compiled output lying around. Signed-off-by: Keith Packard <keithp@keithp.com>
* altos: Ignore megametrum built filesKeith Packard2012-07-11
| | | | Signed-off-by: Keith Packard <keithp@keithp.com>
* altos: Rename *_mm.c back to *.cKeith Packard2012-07-10
| | | | | | Was just a temporary hack to keep cc1111 products building during MM development. Signed-off-by: Keith Packard <keithp@keithp.com>
* altos: Move profiling settings to MakefileKeith Packard2012-07-03
| | | | | | | Instead of splitting the changes across Makefile and ao_pins.h, put them both in Makefile to simplify enabling profiling. Signed-off-by: Keith Packard <keithp@keithp.com>
* altos: Disable mag sensor for megametrumKeith Packard2012-06-27
| | | | | | | It doesn't work unless USB is connected or occasionally while the debug port is enabled. It's mystic. Signed-off-by: Keith Packard <keithp@keithp.com>
* altos: Allow megametrum to be built without using the mag sensorKeith Packard2012-06-27
| | | | | | | I'm having trouble getting it working reliably, so we'll like disable it for now. This patch makes that possible. Signed-off-by: Keith Packard <keithp@keithp.com>
* altos: Make profiling Viterbi decoder more usefulKeith Packard2012-06-27
| | | | | | | This blocks starting the decoder until all of the data have arrived so that the time spent in the decoder is easily computed. Signed-off-by: Keith Packard <keithp@keithp.com>
* altos: disable FEC debug on MMKeith Packard2012-06-27
| | | | | | | Seems to work; we'll leave the code around in case something bad happens later. Signed-off-by: Keith Packard <keithp@keithp.com>
* altos: Enable full flight computer functionality in MegaMetrumKeith Packard2012-06-26
| | | | | | This turns on everything that currently works Signed-off-by: Keith Packard <keithp@keithp.com>
* altos: Clean up usage of port parametersKeith Packard2012-06-26
| | | | | | | | Make stm port parameters always be pointers; this avoids the confusion where some macros took '&port' and others took a bare 'port', and also unifies code to run on other processors in a consistent fashion. Signed-off-by: Keith Packard <keithp@keithp.com>
* altos: rename ao_viterbi.c to ao_fec_rx.cKeith Packard2012-06-26
| | | | | | Keep it parallel with ao_fec_tx.c Signed-off-by: Keith Packard <keithp@keithp.com>
* altos: Get cc1120 packet reception workingKeith Packard2012-06-25
| | | | | | Interrupt-per-bit, but it seems to work Signed-off-by: Keith Packard <keithp@keithp.com>
* altos: Add ao_viterbi.c to megametrum buildKeith Packard2012-06-23
| | | | | | | It's not used yet, just wanted to see how big the resulting object file was (492 bytes). Signed-off-by: Keith Packard <keithp@keithp.com>
* altos: Add telemetry to megametrumKeith Packard2012-06-17
| | | | | | Now that the radio works Signed-off-by: Keith Packard <keithp@keithp.com>
* altos: Software implemenation of CC1111 radio encodingKeith Packard2012-06-17
| | | | | | | Add CRC, whitening, FEC and interleaving routines for transmission path to allow cc1120 to send telem packets to cc1111. Signed-off-by: Keith Packard <keithp@keithp.com>
* altos: Start making cc1120 radio workKeith Packard2012-06-15
| | | | | | RDF tones and radio calibration work now. Signed-off-by: Keith Packard <keithp@keithp.com>
* altos: Intgrate hmc5883 sensor into adc ringKeith Packard2012-06-02
| | | | | | | Creates a task to poll the mag sensor and place the data into the sensor data ring. Signed-off-by: Keith Packard <keithp@keithp.com>