summaryrefslogtreecommitdiff
path: root/ao-tools
Commit message (Collapse)AuthorAge
* 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>
* ao-tools/lib: Deal with binary USB data in debugging outputKeith Packard2013-05-07
| | | | | | Dump non-ascii characters in hex format. Signed-off-by: Keith Packard <keithp@keithp.com>
* ao-tools/ao-stmload: Be smarter about ELF parsing. Retry open on failure.Keith Packard2013-03-31
| | | | | | | | | | | | | | | | | Figuring out what goes where is tricky; turns out we want to pull all of the sections that map inside any program area that is supposed to be loaded from the file. So, we walk the program headers, then walk all of the section headers looking for those that suck data from the same portion of the file. Compute where in ROM each relevant section goes and build a full ROM image in memory using that. This patch also adds code to close and re-open the device if the first open failed to do what we want. Much nicer to have the computer figure out when the open succeeded rather than having people re-run the app. Signed-off-by: Keith Packard <keithp@keithp.com>
* altos: Add logging and telem to telegpsKeith Packard2013-03-30
| | | | | | | | | | | | This turns on telemetry, APRS, RDF and data logging for telegps. Data is logged as soon as GPS has a date to create the right filename, using files of the form YYYYMMDD.LOG which just barely fits in a FAT filename. Telemetry/RDF/APRS are all separately controllable. Signed-off-by: Keith Packard <keithp@keithp.com>
* ao-tools: Make library support µPusbKeith Packard2013-03-20
| | | | | | Set baud rate to 9600, look for FTDI-style names Signed-off-by: Keith Packard <keithp@keithp.com>
* ao-tools: add ao-dump-upKeith Packard2013-03-18
| | | | | | Dumps out a µP log. Useful for µPusb bring-up Signed-off-by: Keith Packard <keithp@keithp.com>
* ao-tools: Add ao-edit-telemKeith Packard2013-03-09
| | | | | | | | This lets you edit a telemetry file. The only current editing available is to change the pad location, allowing a flight to be replayed anywhere in the world. Signed-off-by: Keith Packard <keithp@keithp.com>
* ao-tools/lib: Add cc_telemetry_unparseKeith Packard2013-03-09
| | | | | | This takes a telemetry structure and generates a string version Signed-off-by: Keith Packard <keithp@keithp.com>
* ao-tools: Add ao-dumpflash programKeith Packard2013-03-03
| | | | | | | This program dumps the entire flash contents of an AltOS device to allow for external analysis. Signed-off-by: Keith Packard <keithp@keithp.com>
* ao-tools. Oops, let 'ao-mega' slip into build.Keith Packard2012-12-04
| | | | | | | This is a tool to parse ao-mega eeprom files; not sure it'll be that useful, and it's certainly not usable *yet*. Signed-off-by: Keith Packard <keithp@keithp.com>
* ao-sky-flash: Clean up debug printfs a bitKeith Packard2012-12-04
| | | | | | This makes debugging output a bit cleaner Signed-off-by: Keith Packard <keithp@keithp.com>
* altos: Make skytraq reflashing code try both 9600 and 4800 baudKeith Packard2012-11-30
| | | | | | | This lets it communicate with the ROM code which boots at 4800 baud instead of 9600 baud. Signed-off-by: Keith Packard <keithp@keithp.com>
* ao-tools: Add ao-sky-flash to update GPS firmwareKeith Packard2012-11-30
| | | | | | | This uses a new feature of AltOS to directly connect the GPS chip to the USB link to reprogram the former. Signed-off-by: Keith Packard <keithp@keithp.com>
* ao_tools/ao-send-telem: Only start real-time on valid statesKeith Packard2012-09-09
| | | | | | | Check state to make sure it is < ao_flight_landed to keep invalid states from switching to real-time playback mode. Signed-off-by: Keith Packard <keithp@keithp.com>
* ao-send-telem: fix frequency set commandMike Beattie2012-08-31
| | | | Signed-off-by: Mike Beattie <mike@ethernal.org>
* altos: Add a bunch of .gitignore entriesKeith Packard2012-08-30
| | | | | | Clean up the git status output Signed-off-by: Keith Packard <keithp@keithp.com>
* ao-stmload: Always round up load amount to 4 byte boundaryKeith Packard2012-08-28
| | | | | | The flashing code doesn't deal with partial writes. Signed-off-by: Keith Packard <keithp@keithp.com>
* ao-send-telem: make --realtime workMike Beattie2012-08-08
| | | | | | (add "break;" to the case statement for options) Signed-off-by: Mike Beattie <mike@ethernal.org>
* Don't build ao-stmload if stlink is not available.Mike Beattie2012-07-31
| | | | Signed-off-by: Mike Beattie <mike@ethernal.org>
* Add ability to re-play telemetry through TeleDongleKeith Packard2012-07-29
| | | | | | | | This adds a new command to TeleDongle to send arbitrary data, and then creates a new tool, 'ao-send-telem' that replays existing telemetry files through TeleDongle. Signed-off-by: Keith Packard <keithp@keithp.com>
* tools: Use pkgconfig to find stlink for ao-stmloadKeith 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>
* Add ao-stmload toolKeith Packard2012-07-17
| | | | | | | This loads an ELF image through the STlink programming interface using the stlink utility library Signed-off-by: Keith Packard <keithp@keithp.com>
* ao-tools: Support MM telemetry packets in ao-telemKeith Packard2012-06-21
| | | | | | Parse the new packet formats Signed-off-by: Keith Packard <keithp@keithp.com>
* ao-tools: add rudimentary support for MM telemetry to ao-telemKeith Packard2012-06-17
| | | | | | Just pretends they're TM packets for now Signed-off-by: Keith Packard <keithp@keithp.com>
* ao-tools: Add GPS and rssi printing to ao-telemKeith Packard2012-05-01
| | | | | | This prints all of the basic telemetrum messages now. Signed-off-by: Keith Packard <keithp@keithp.com>
* altos: A bunch of missing .gitignore files (mostly)Keith Packard2011-10-27
| | | | Signed-off-by: Keith Packard <keithp@keithp.com>
* ao-telem: Add new program to convert telem data to asciiKeith Packard2011-10-08
| | | | | | | This reads telem files and displays them in ascii form. It's not done, and it's not documented, but it's a start. Signed-off-by: Keith Packard <keithp@keithp.com>
* Remove stale tools (ao-dumplog, ao-postflight, ao-view)Keith Packard2011-08-23
| | | | | | | These tools have all been supplanted by altosui at this point, and keeping them around increases the build dependencies by quite a lot. Signed-off-by: Keith Packard <keithp@keithp.com>
* ao-tools: ao-list was crashing with more than 3 devices connectedKeith Packard2011-08-13
| | | | | | | the list of devices was getting realloced for each new device, but that realloc was too small. Signed-off-by: Keith Packard <keithp@keithp.com>
* ao-load: Make usb descriptor rewriting optionalKeith Packard2011-03-16
| | | | | | | TeleMini and TeleNano don't have USB descriptors to rewrite when loading firmware, so allow them to be missing. Signed-off-by: Keith Packard <keithp@keithp.com>
* aoview: remove -s option.Keith Packard2011-03-16
|
* ao-load: fix usage message to note that '=' is required for optionsKeith Packard2011-02-18
| | | | | | | The usage message was suggesting incorrect command line syntax; long options use '=' between the option name and value, not whitespace. Signed-off-by: Keith Packard <keithp@keithp.com>
* Move altosui to the top level, placing libaltos inside it.Keith Packard2010-11-24
| | | | Signed-off-by: Keith Packard <keithp@keithp.com>
* altosui: Make sure packet mode is turned off when the connection failsKeith Packard2010-11-24
| | | | | | | When the packet connection times out, turn packet mode off when closing the serial port. Signed-off-by: Keith Packard <keithp@keithp.com>
* altosui: Let people fire igniters that don't read as 'ready'Keith Packard2010-11-23
| | | | | | | This provides for igniter testing with LEDs or other materials that don't look like regular igniters. Signed-off-by: Keith Packard <keithp@keithp.com>
* altosui: Disable radio configation over packet link.Keith Packard2010-11-23
| | | | | | | | Attempting to configure the radio over the packet link will only end up confusing the user, so disable it. This also works around a bug in older TM code which would lock up when trying to do this. Signed-off-by: Keith Packard <keithp@keithp.com>
* altosui: New AltosSerial.set_radio function sets channel/callKeith Packard2010-11-23
| | | | | | | | | Use this anytime you need to set the device radio channel and call sign, either for telemetry reception or packet mode origination. This uses the saved callsign and per-device radio channel number. Do not use this when opening a telemetrum as there won't be a saved channel number. Signed-off-by: Keith Packard <keithp@keithp.com>
* altosui: Make AltosSerial.flush_input keep reading while non-emptyKeith Packard2010-11-23
| | | | | | | Flushing the input buffer can take a while, especially over the packet link. Keep reading while stuff is appearing on the reply queue. Signed-off-by: Keith Packard <keithp@keithp.com>
* add a rudimentary --help for command line useBdale Garbee2010-11-22
|
* altosui: Close serial port when debug link failsKeith Packard2010-11-22
| | | | | | | If the debug connection isn't working, close down the serial port when reporting the failure. Signed-off-by: Keith Packard <keithp@keithp.com>
* altosui: keep sitemap more centred on rocketAnthony Towns2010-11-22
|
* altosui: improve sitemap scrolling behaviourAnthony Towns2010-11-22
|
* AltosSiteMap: ensure buffer around active tileAnthony Towns2010-11-21
|
* Merge branch 'buttonbox' of git://git.gag.com/fw/altos into buttonboxAnthony Towns2010-11-21
|\