<feed xmlns='http://www.w3.org/2005/Atom'>
<title>mjb/altos/ao-tools/altosui/AltosDebug.java, branch teleterra</title>
<subtitle>AltOS - the operating system for Altus Metrum products
</subtitle>
<id>https://git.ethernal.org/mjb/altos/atom?h=teleterra</id>
<link rel='self' href='https://git.ethernal.org/mjb/altos/atom?h=teleterra'/>
<link rel='alternate' type='text/html' href='https://git.ethernal.org/mjb/altos/'/>
<updated>2010-08-30T04:36:47+00:00</updated>
<entry>
<title>altosui: provide separate flush_input/flush_output for serial. deal with monitor automatically</title>
<updated>2010-08-30T04:36:47+00:00</updated>
<author>
<name>Keith Packard</name>
<email>keithp@keithp.com</email>
</author>
<published>2010-08-30T04:36:47+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ethernal.org/mjb/altos/commit/?id=ae02b1590439d5c8dfb472cf1f83a14fdcfbaf11'/>
<id>urn:sha1:ae02b1590439d5c8dfb472cf1f83a14fdcfbaf11</id>
<content type='text'>
(yes, this should be two patches, but the diffs in AltosSerial were merged together).

First, this replaces the existing flush/flush_reply mess with two simple functions,
one to flush output to the serial device, making sure that all data written will be seen
while we wait for input. The other sucks any pending input off of the serial line and
discards it.

Second, AltosSerial now tracks whether the serial line is being used for telemetry
monitoring. If so, it enables monitoring, otherwise it disables it. Eliminates a
bunch of manual state tracking elsewhere.

Signed-off-by: Keith Packard &lt;keithp@keithp.com&gt;
</content>
</entry>
<entry>
<title>altosui: Move number parsing code to Altos general class</title>
<updated>2010-08-27T06:41:26+00:00</updated>
<author>
<name>Keith Packard</name>
<email>keithp@keithp.com</email>
</author>
<published>2010-08-27T06:41:26+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ethernal.org/mjb/altos/commit/?id=f0fd423d0bf83bc5c3f9d39e9c09397fbe8caed2'/>
<id>urn:sha1:f0fd423d0bf83bc5c3f9d39e9c09397fbe8caed2</id>
<content type='text'>
This moves these shared functions to the global shared class.

Signed-off-by: Keith Packard &lt;keithp@keithp.com&gt;
</content>
</entry>
<entry>
<title>altosui: flush replies from serial link when entering debug mode</title>
<updated>2010-08-24T23:43:38+00:00</updated>
<author>
<name>Keith Packard</name>
<email>keithp@keithp.com</email>
</author>
<published>2010-08-24T23:43:38+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ethernal.org/mjb/altos/commit/?id=99400fdc0f19ef538fc362dde5c3ab5b7cdac409'/>
<id>urn:sha1:99400fdc0f19ef538fc362dde5c3ab5b7cdac409</id>
<content type='text'>
We use replies in debug mode a lot and depend on them matching the
expected parameters. The case which caused trouble was using
TeleMetrum to reprogram TeleDongle -- sending the 'm 0' command (to
disable telemetry monitoring on TeleDongle) to the TeleMetrum caused
it to reply 'Syntax Error' which confused the subsequent flashing
operation. Flushing that reply gets things back in sync.

Signed-off-by: Keith Packard &lt;keithp@keithp.com&gt;
</content>
</entry>
<entry>
<title>altosui: disable radio monitoring while using serial line for debugging</title>
<updated>2010-08-24T10:58:00+00:00</updated>
<author>
<name>Keith Packard</name>
<email>keithp@keithp.com</email>
</author>
<published>2010-08-24T10:58:00+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ethernal.org/mjb/altos/commit/?id=7d44cbd621d2b113ac2b802ef17e3d8a660ce7f2'/>
<id>urn:sha1:7d44cbd621d2b113ac2b802ef17e3d8a660ce7f2</id>
<content type='text'>
</content>
</entry>
<entry>
<title>altosui: Add lots more cc1111 debug interface functions</title>
<updated>2010-08-24T04:58:50+00:00</updated>
<author>
<name>Keith Packard</name>
<email>keithp@keithp.com</email>
</author>
<published>2010-08-24T04:58:50+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ethernal.org/mjb/altos/commit/?id=b1758be01397fd49c441f40852f3558fe9343a2d'/>
<id>urn:sha1:b1758be01397fd49c441f40852f3558fe9343a2d</id>
<content type='text'>
These are sufficient to program the flash.

Signed-off-by: Keith Packard &lt;keithp@keithp.com&gt;
</content>
</entry>
<entry>
<title>altosui: Add debug dongle API, split flash UI out</title>
<updated>2010-08-23T21:32:58+00:00</updated>
<author>
<name>Keith Packard</name>
<email>keithp@keithp.com</email>
</author>
<published>2010-08-23T21:32:58+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ethernal.org/mjb/altos/commit/?id=ebeb13688a9a5442c838641ede6ba0dc92c9a1a4'/>
<id>urn:sha1:ebeb13688a9a5442c838641ede6ba0dc92c9a1a4</id>
<content type='text'>
Create an API to talk through the debug port on another AltOS
device. Split the flash UI out from the flash implementation so that a
command line flash utility can be written.

Signed-off-by: Keith Packard &lt;keithp@keithp.com&gt;
</content>
</entry>
</feed>
