summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAge
* Build usbtrng-v2.0 with DEBUG_FIPStmarble-trngTom Marble2015-03-21
|
* Added DEBUG_FIPS define to usbtrng-v2.0Tom Marble2015-03-21
| | | | | | | - undef => firmware will emulate chaoskey - defined => firmware will show command menu (to allow debugging) Added -X option in ao-usbtrng to transition to bootloader
* Update based on ADC ring changeTom Marble2015-03-20
| | | | Change usbtrng-v2.0 USB vendor and product ID's to match chaoskey-v0.1
* Merge branch 'master' into tmarble-trngTom Marble2015-03-20
|\ | | | | | | Bring in keithp's ADC ring improvements
| * altos/stmf0: Have fast ADC ring buffer code use wrap-aroundKeith Packard2015-03-20
| | | | | | | | | | | | | | | | | | Instead of requiring that the whole set of returned values fit precisely in the ring, allow for wrap-around so that we can fetch an odd number of ADC values. The previous version required that the fetch amount always be a factor of the ADC buffer size. Signed-off-by: Keith Packard <keithp@keithp.com>
* | added TMARBLE-TRNG at the top of the treeTom Marble2015-03-19
| |
* | Merge branch 'master' into tmarble-trngTom Marble2015-03-19
|\|
| * altos/chaoskey: Set USB VID/PID to 0x1d50/0x60c6Keith Packard2015-03-19
| | | | | | | | | | | | | | These are allocated from the OpenMoko USB vendor ID page and offer a more 'official' number than from using the 0xfffe space. Signed-off-by: Keith Packard <keithp@keithp.com>
| * altos: Add the ability to configure a different USB vendor IDKeith Packard2015-03-19
| | | | | | | | | | | | | | ChaosKey will use an OpenMoko vid/pid, so we need the ability to configure a different USB vendor ID for each product. Signed-off-by: Keith Packard <keithp@keithp.com>
* | usbtrng-v2.0 version 1.6.4Tom Marble2015-03-18
| | | | | | | | | | | | Fixed hangup bug on startup: now POST works properly on USB insertion Added 'F' command to fetch random hex digits (in addition to raw binary) Added ao-usbtrng -R flag to reset the TRNG
* | Call POST / ao_trng_reset() lazilyTom Marble2015-03-15
| | | | | | | | | | | | | | | | renamed ao_reset() to ao_trng_reset() and ao_status() to ao_trng_status() moved the failure handling to ao_trng_failure() CAUTION: this version 1.6.3 will fail to load the command processor!
* | Added FIPS 140-2 sanity check to usbtrng-v2.0Tom Marble2015-03-11
|/
* ao-tools/ao-list: Show devices that have no TTYKeith Packard2015-03-10
| | | | | | | chaoskey doesn't advertise itself as a modem, so the kernel doesn't allocate a tty device. Signed-off-by: Keith Packard <keithp@keithp.com>
* altos/test: Support old telemega eeprom file formats in ao_flight_testKeith Packard2015-03-10
| | | | | | | | The old eeprom format used different stoarge for the accel calibration data, which doesn't matter to this code, but the change in the format value does. Signed-off-by: Keith Packard <keithp@keithp.com>
* altos/test: Make aprs test code compile againKeith Packard2015-03-10
| | | | | | Adding the compressed/uncompressed config option broke the APRS test harness. Signed-off-by: Keith Packard <keithp@keithp.com>
* ao-tools/ao-mega: Clean up formatting of pyro status messagesKeith Packard2015-03-10
| | | | | | There was an extra newline and missing space. Signed-off-by: Keith Packard <keithp@keithp.com>
* altosui: Add map to MonitorIdle displayKeith Packard2015-03-10
| | | | | | | Nice to be able to verify that maps are working by using this mode, instead of needing to use flight monitoring. Signed-off-by: Keith Packard <keithp@keithp.com>
* altos/stmf0: Need ao_exti.h for pin configurationKeith Packard2015-03-07
| | | | | | Flash loader uses pin configuration to set up GPIOs for boot selection Signed-off-by: Keith Packard <keithp@keithp.com>
* altos: Add makefile for chaoskey flash loaderKeith Packard2015-03-07
| | | | Signed-off-by: Keith Packard <keithp@keithp.com>
* altos: Build chaoskey by defaultKeith Packard2015-03-07
| | | | Signed-off-by: Keith Packard <keithp@keithp.com>
* altos: Add .gitignore for chaoskeyKeith Packard2015-03-07
| | | | Signed-off-by: Keith Packard <keithp@keithp.com>
* doc: Update telemetry docs to include new packet formatsKeith Packard2015-03-07
| | | | | | | | | | Add TeleMega TeleMetrum v2 and companion data packet formats. List which radio parts each product uses. Document modulation parameters for new data rates. Signed-off-by: Keith Packard <keithp@keithp.com>
* altosdroid: Deal with bluetooth connection failures betterKeith Packard2015-03-07
| | | | | | | | | | | | | | | | | | | | | Remember when we've closed the bluetooth connection so that we stop operations, including reporting connection status messages or even starting a connection attempt. Pass the AltosBluetooth object back in connection status messages so that TelemetryService can tell when messages from closed objects get delivered. There's a queue between the two, so the above fix catches most of these instances, but not all of them. Stick a delay during reconnect -- if the TeleBT device is getting power-cycled, it will need a few seconds to reconfigure the device at startup, if AltosDroid manages to connect during that time, the configuration commands will be ignored. Unlock the AltosBluetooth device while we connect so that cancel calls will actually work. Signed-off-by: Keith Packard <keithp@keithp.com>
* altosui/telegps: Change from variable-units snuck into masterKeith Packard2015-03-02
| | | | | | show_units_name(double) only exists on the variable-units branch... Signed-off-by: Keith Packard <keithp@keithp.com>
* altos: Missing pad field in TMv2 data packetKeith Packard2015-03-02
| | | | | | | | | | The normal ARM padding would have filled this in correctly, but it's best to be explicit about the structure. This also adds a test to make sure the resulting telemetry declaration is exactly 32 bytes, Signed-off-by: Keith Packard <keithp@keithp.com>
* altos: Wait for BT disconnect before sending commandKeith Packard2015-03-02
| | | | | | | | | | | If AltosDroid manages to connect to the BT module before we've configured it, we won't be able to talk to it as we can't force the module to ignore connection attempts. Wait for AltosDroid to give up and let us configure the device. Eventually, we'll manage, if AltosDroid's delay interval is longer than the time it takes to configure the unit. Signed-off-by: Keith Packard <keithp@keithp.com>
* ao-tools: Add ao-flash-stm32f0xKeith Packard2015-03-02
| | | | | | This new script uses openocd to flash stm32f0x parts Signed-off-by: Keith Packard <keithp@keithp.com>
* altoslib: Round frequency when configuring radioKeith Packard2015-03-02
| | | | | | | This makes sure we set the right frequency, instead of being off by 1kHz on a regular basis... Signed-off-by: Keith Packard <keithp@keithp.com>
* altosui/telegps: Add config option for APRS formatKeith Packard2015-03-02
| | | | | | Allow configuration of APRS compressed/uncompressed Signed-off-by: Keith Packard <keithp@keithp.com>
* altos: Make APRS format (compressed/uncompressed) configurableKeith Packard2015-03-02
| | | | | | | | This provides a choice of compressed vs uncompressed when sending APRS packets to deal with receivers that still do not have support for the more useful compressed format. Signed-off-by: Keith Packard <keithp@keithp.com>
* altos/usbtrng: Split out random number generating code to separate driverKeith Packard2015-02-28
| | | | Signed-off-by: Keith Packard <keithp@keithp.com>
* altos: Add chaoskey flash loaderKeith Packard2015-02-28
| | | | Signed-off-by: Keith Packard <keithp@keithp.com>
* altos: Create chaoskey productKeith Packard2015-02-28
| | | | Signed-off-by: Keith Packard <keithp@keithp.com>
* altos/stmf0: Allocate USB buffers at startupKeith Packard2015-02-28
| | | | | | | This lets the extra allocations used from ao_usb_alloc_buffers be allocated before the first USB connection happens. Signed-off-by: Keith Packard <keithp@keithp.com>
* altos/stmf0: Typo in ao_crc_stm.cKeith Packard2015-02-28
| | | | | | Extra semicolon Signed-off-by: Keith Packard <keithp@keithp.com>
* altos/stmf0: Fix fast ADC interfaceKeith Packard2015-02-28
| | | | | | | This was configuring the hardware wrong, and wasn't keeping the output ring full. Signed-off-by: Keith Packard <keithp@keithp.com>
* altos: Allow software to offer other USB interface classes than CDCKeith Packard2015-02-28
| | | | | | | This lets some boards offer non-CDC class USB interfaces so that the modem driver doesn't pick them up. Signed-off-by: Keith Packard <keithp@keithp.com>
* Merge branch 'master' of ssh://git.gag.com/scm/git/fw/altosBdale Garbee2015-02-22
|\
| * altosdroid: Ignore automatic tab changing while activity is savedKeith Packard2015-02-16
| | | | | | | | | | | | | | | | | | | | When the activity state is saved (after onSaveInstanceState()), we can't update the UI until the activity is restarted or restored; that means any UI changes we make, like switching tabs, must deal with this by allowing those changes to be ignored, using commitAllowingStateLoss instead of commit. Signed-off-by: Keith Packard <keithp@keithp.com>
| * altosdroid: Missing file: DeviceAddress.javaKeith Packard2015-02-16
| | | | | | | | Signed-off-by: Keith Packard <keithp@keithp.com>
| * altosdroid: Only speak when GUI is runningKeith Packard2015-02-16
| | | | | | | | | | | | | | Create voice in onStart, stop it in onStop. This way, if some other application is in use, the voice won't be annoying you. Signed-off-by: Keith Packard <keithp@keithp.com>
| * altosdroid: Explicitly disconnect BT on termination or 'disconnect'Keith Packard2015-02-16
| | | | | | | | | | | | | | | | | | | | This adds an explicit message to the telemetry service telling it when to stop trying to talk to the bluetooth device. Until this message is received, the service will reconnect to the specified BT device. That message is sent when you 'quit' the application, or when you 'disconnect'. Signed-off-by: Keith Packard <keithp@keithp.com>
| * altosdroid: Lots of bluetooth connection changesKeith Packard2015-02-16
| | | | | | | | | | | | | | | | | | | | | | | | | | Appears to more reliably abort in-progress connection attempts so you can switch TBT devices without having the previous device in operation. Shows which device the connection is being attempted for. Eliminate the 10-second timer and just disable the service when the GUI shuts down while no BT connection is running. Signed-off-by: Keith Packard <keithp@keithp.com>
| * ao-bringup: Changes for telebt for keith's hackingKeith Packard2015-02-16
| | | | | | | | | | | | | | Make the programming device auto-detect by username. Load binary from ~/altusmetrumllc Signed-off-by: Keith Packard <keithp@keithp.com>
| * altos: Remove some accidental debug printfs from ao_packet.cKeith Packard2015-02-15
| | | | | | | | | | | | | | While fixing the cc1200 configuration, I added some debug printfs to this code. They were accidentally committed with the fix... Signed-off-by: Keith Packard <keithp@keithp.com>
| * altos/cc1200: Adjust bit-sync configurationKeith Packard2015-02-14
| | | | | | | | | | | | | | | | | | | | | | | | | | The default bit timing adjustment mechanism allows for only a 0.2% deviation from the programmed bit timing. I found one TeleMini device which is beyond that tolerance as it was built with an older crystal with more error. Switch to the more expensive synchronization mechanism which allows up to 2% timing error, but requires a multi-byte preamble (which we have). This fixes packet mode nicely. Signed-off-by: Keith Packard <keithp@keithp.com>
| * altos: embed ao_alarm and ao_clear_alarm in ao_sleep_forKeith Packard2015-02-14
| | | | | | | | | | | | | | sdcc won't embed these itself, and thus consumes too much flash for telemetrum-v1.0 Signed-off-by: Keith Packard <keithp@keithp.com>
| * ao-bringup/turnon_telemini: Detect which programmer to use by $USERKeith Packard2015-02-14
| | | | | | | | | | | | Bdale uses TD 100, keithp uses TD 186. Signed-off-by: Keith Packard <keithp@keithp.com>
| * altosuilib: Detect pair programming by product name, not USB idKeith Packard2015-02-14
| | | | | | | | | | | | | | | | With TeleDongle, TeleBT and TeleMetrum coming in both pair- and self- programmable versions, we can't use the USB id to tell them apart. Instead, fetch the device name and use that instead. Signed-off-by: Keith Packard <keithp@keithp.com>
| * altosui: Run all igniter status requests from non-GUI threadKeith Packard2015-02-14
| | | | | | | | | | | | | | | | | | | | Anything run from the UI thread blocks the UI entirely; the Fire Igniters startup code to collect the number of pyro channels when building the UI was doing that from the UI thread. Switch that around so that the UI doesn't get built until that reply comes back, allowing the user to see the 'connecting' dialog, and cancel it if required. Signed-off-by: Keith Packard <keithp@keithp.com>