summaryrefslogtreecommitdiff
path: root/ao-tools
Commit message (Collapse)AuthorAge
...
* Added continuous output option to ao-usbtrngTom Marble2015-02-11
|
* Minor typo in man pageTom Marble2015-02-09
|
* ao-tools: Add ao-usbtrng to dump RNG data for testingKeith Packard2015-01-26
| | | | | | | ao-usbtrng reads a specified number of kilobytes of random data from a random number generator. Signed-off-by: Keith Packard <keithp@keithp.com>
* ao-tools: Add --wait option to ao-usbloadKeith Packard2015-01-25
| | | | | | | This waits forever for USB writes to complete, instead of timing out after five seconds. Useful when debugging the device. 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>
* 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-tools: Add ao-test-gps programKeith Packard2014-09-12
| | | | | | This waits for GPS to report lock Signed-off-by: Keith Packard <keithp@keithp.com>
* Add ao-tools/ao-cal-accelKeith Packard2014-08-18
| | | | | | This C version may be more reliable than the nickle version Signed-off-by: Keith Packard <keithp@keithp.com>
* ao-tools/ao-send-telem: Support sending TM v2 and Tm v2 telemetryKeith Packard2014-08-17
| | | | | | Add state tracking so the telemetry sending code works. Signed-off-by: Keith Packard <keithp@keithp.com>
* ao-tools: Add a few GPS telem/eeprom constantsKeith Packard2014-07-13
| | | | | | | These make it possible to encode/decode GPS data from telemetry and eeprom files Signed-off-by: Keith Packard <keithp@keithp.com>
* ao-tools: Provide altitude to temperature conversion functionKeith Packard2014-07-13
| | | | | | | This takes altitude and computes the 'normal' temperature for that. Signed-off-by: Keith Packard <keithp@keithp.com>
* ao-tools: Add TMv2 and Tgps log formats to cc.hKeith Packard2014-07-13
| | | | Signed-off-by: Keith Packard <keithp@keithp.com>
* ao-tools: Add ao-test-baro, ao-test-igniter and ao-test-flashKeith Packard2014-06-22
| | | | | | C versions of the test programs used to validate hardware prior to ship Signed-off-by: Keith Packard <keithp@keithp.com>
* Revert "ao-tools: Parse TeleGPS state value from gps location packet"Keith Packard2014-06-10
| | | | This reverts commit 428d09294ba0395fedd71346ad00fd90a4cdde97.
* ao-tools: Parse TeleGPS state value from gps location packetKeith Packard2014-06-07
| | | | | | | TeleGPS encodes state in a spare gps location packet byte, masking in 0x80 to signify that the state value is valid Signed-off-by: Keith Packard <keithp@keithp.com>
* ao-tools: Add cc_usb_write functionKeith Packard2014-05-25
| | | | | | | This writes raw bytes to the USB port; useful for sending binary data for flashing or the upcoming flight test stuff. Signed-off-by: Keith Packard <keithp@keithp.com>
* ao-tools/ao-usbload: Check image flash usage against device flash availabilityKeith Packard2014-05-12
| | | | | | | For devices which report the range of valid flash addresses from their boot loader, check the loaded image to make sure it fits within that range. Signed-off-by: Keith Packard <keithp@keithp.com>
* ao-tools: Clean up ao-sym structure an initializersKeith Packard2014-04-30
| | | | | | | Remove unused 'default_addr' field. Use named initializers when setting up the struct. Signed-off-by: Keith Packard <keithp@keithp.com>
* ao-load: Make ao_sym static to avoid collision with ao-editaltosKeith Packard2014-04-30
| | | | | | | | ao-load doesn't use ao-editaltos at this point, but does share the same name for the symbol table. To make the linker happier, make the ao-load version static. Signed-off-by: Keith Packard <keithp@keithp.com>
* ao-telem: Dump orientation field from TeleMega sensor telemetry packetKeith Packard2014-04-30
| | | | Signed-off-by: Keith Packard <keithp@keithp.com>
* ao-tools: Wait for device to become ready instead of failingKeith Packard2014-04-05
| | | | | | | | For some reason, USB devices take 'a while' to become usable; instead of bailing immediately, sit around waiting to see if the device becomes usable if we get an EBUSY or EACCES error. Signed-off-by: Keith Packard <keithp@keithp.com>
* ao-tools: Use 'program' command in ao-flash-lpc instead of 'flash'Keith Packard2014-04-05
| | | | | | | The program meta-command is supposed to do the whole thing, and seems more reliable in actually getting what we want flashed to the board. Signed-off-by: Keith Packard <keithp@keithp.com>
* ao-tools: Add man pages for ao-flash utilitiesKeith Packard2013-12-18
| | | | | | These aren't very wordy, but these tools are pretty simple scripts. Signed-off-by: Keith Packard <keithp@keithp.com>
* ao-tools: complain if st-flash is not availableKeith Packard2013-12-18
| | | | Signed-off-by: Keith Packard <keithp@keithp.com>
* ao-tools: Use st-flash for STM flashing instead of openocdKeith Packard2013-12-14
| | | | | | | st-flash, from the stlink tools, appears more reliable when flashing STM CPUs. Signed-off-by: Keith Packard <keithp@keithp.com>
* ao-tools: build ao-usbload by defaultKeith Packard2013-12-08
| | | | Signed-off-by: Keith Packard <keithp@keithp.com>
* ao-tools: Clean up ao-stmload and ao-usbload options. Add --rawKeith Packard2013-12-08
| | | | | | | | ao-stmload only uses stlink, ao-usbload only uses self-flashing, so clear up the options in the two programs. The new --raw option skips the serial and radio cal rewriting when flashing the boot loader. Signed-off-by: Keith Packard <keithp@keithp.com>
* ao-tools: Allow building without stlink and readlineKeith Packard2013-12-08
| | | | | | | | This adds --without-stlink and --without-readline options to configure to disable these features, and adjusts the build process and code to handle that. Signed-off-by: Keith Packard <keithp@keithp.com>
* ao-tools: Add ao-flash-stm and ao-flash-lpc scriptsKeith Packard2013-12-07
| | | | | | These use openocd to download boot loaders to the arm-based products Signed-off-by: Keith Packard <keithp@keithp.com>
* ao-tools: Split out USB loader to ao-usbloadKeith Packard2013-11-28
| | | | | | Leave ao-stmload using just stlinkv2 Signed-off-by: Keith Packard <keithp@keithp.com>
* ao-tools: Split out altos symbol editing from ao-stmloadKeith Packard2013-11-28
| | | | | | to be shared with ao-usbload Signed-off-by: Keith Packard <keithp@keithp.com>
* ao-tools: Missing ao-selfload.hKeith Packard2013-11-28
|
* ao-tools: move 16/32-bit readers from ao-stmload to libKeith Packard2013-11-28
|
* ao-tools: Move ao-selfload into libraryKeith Packard2013-11-28
| | | | | | This needs to be shared between ao-stmload and ao-usbload Signed-off-by: Keith Packard <keithp@keithp.com>
* ao-tools: Add ao-elftohex and .ihx symbol supportKeith Packard2013-11-28
| | | | | | | ao-elftohex converts an elf file into a hex file so that we can load it with java. Signed-off-by: Keith Packard <keithp@keithp.com>
* ao-tools: Add debug printf supportKeith Packard2013-11-28
|
* ao-tools: Create general elf and hex library routinesKeith Packard2013-11-27
| | | | | | | Pulls the elf stuff out of ao-stmload, change the hex stuff into ao_ routines. Signed-off-by: Keith Packard <keithp@keithp.com>
* ao-tools: add ao-mega man page, ignore executableKeith Packard2013-11-12
|
* Add TeleMini v2.0 telemetry supportKeith Packard2013-09-19
| | | | | | Includes AltosLib and ao-telem Signed-off-by: Keith Packard <keithp@keithp.com>
* ao-tools/ao-telem: Parse new TM v2 packetsKeith Packard2013-09-05
| | | | Signed-off-by: Keith Packard <keithp@keithp.com>
* ao-tools: Use TeleDongle for default ao-dbg targetKeith Packard2013-08-26
| | | | | | Makes more sense than assuming we're still using the old TI developer board. Signed-off-by: Keith Packard <keithp@keithp.com>
* ao-tools/ao-mega: Dump 'pyro' state from mega logKeith Packard2013-05-26
| | | | Signed-off-by: Keith Packard <keithp@keithp.com>
* ao-tools: Add ao-mega tool to parse TeleMega eeprom filesKeith Packard2013-05-26
| | | | Signed-off-by: Keith Packard <keithp@keithp.com>
* ao-tools/ao-stmload: Add --verbose flagKeith Packard2013-05-07
| | | | | | This dumps out the serial communication so you can see where things go wrong. Signed-off-by: Keith Packard <keithp@keithp.com>
* ao-tools/ao-stmload: application base moved to 0x08001000Keith Packard2013-05-07
| | | | | | And, use a symbolic name so it can be easily moved in the future Signed-off-by: Keith Packard <keithp@keithp.com>
* ao-tools: reboot to loader now uses 'X' instead of 'L'Keith Packard2013-05-07
| | | | | | | | 'L' is used by lots of other commands; switch to 'X' which is free. Sigh. Someday we'll have words for commands instead of just letters Signed-off-by: Keith Packard <keithp@keithp.com>
* ao-tools/ao-stmload: Remove IRC dregs in source codeKeith Packard2013-05-07
| | | | | | oops. Signed-off-by: Keith Packard <keithp@keithp.com>
* ao-tools/ao-stmload: Fix ELF, add IHX, add self-flashingKeith Packard2013-05-07
| | | | | | | This splits loading into ELF and IHX paths, and splits flashing into stlink and self-flashing paths. Signed-off-by: Keith Packard <keithp@keithp.com>
* ao-tools/lib: Add loading support for 32-bit ihx filesKeith Packard2013-05-07
| | | | | | | | | These place the upper 16 bits of the address in a special record. That requires handling records in file order, so don't sort them in address order anymore, instead find the bounds of the loaded data by scanning them all. Signed-off-by: Keith Packard <keithp@keithp.com>