<feed xmlns='http://www.w3.org/2005/Atom'>
<title>mjb/altos/src/core, branch lpc</title>
<subtitle>AltOS - the operating system for Altus Metrum products
</subtitle>
<id>https://git.ethernal.org/mjb/altos/atom?h=lpc</id>
<link rel='self' href='https://git.ethernal.org/mjb/altos/atom?h=lpc'/>
<link rel='alternate' type='text/html' href='https://git.ethernal.org/mjb/altos/'/>
<updated>2013-05-20T06:07:54+00:00</updated>
<entry>
<title>Add Mini logging format. Use in EasyMini</title>
<updated>2013-05-20T06:07:54+00:00</updated>
<author>
<name>Keith Packard</name>
<email>keithp@keithp.com</email>
</author>
<published>2013-05-20T06:07:54+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ethernal.org/mjb/altos/commit/?id=57b4d82dee10b142b820aa306028a288a85214f6'/>
<id>urn:sha1:57b4d82dee10b142b820aa306028a288a85214f6</id>
<content type='text'>
This is a 16-byte record that includes all of the sensor data in each
sensor record, along with records for flight state changes.

Signed-off-by: Keith Packard &lt;keithp@keithp.com&gt;
</content>
</entry>
<entry>
<title>altos: Use ao_data_pres macro in ao_log_tiny</title>
<updated>2013-05-18T10:02:01+00:00</updated>
<author>
<name>Keith Packard</name>
<email>keithp@keithp.com</email>
</author>
<published>2013-05-18T10:02:01+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ethernal.org/mjb/altos/commit/?id=28890aa5893898cd0bb0ac033e491eb307a84ca5'/>
<id>urn:sha1:28890aa5893898cd0bb0ac033e491eb307a84ca5</id>
<content type='text'>
Now it works on easymini too

Signed-off-by: Keith Packard &lt;keithp@keithp.com&gt;
</content>
</entry>
<entry>
<title>altos: Check for packet mode before trying to disable it in flight code</title>
<updated>2013-05-18T09:54:55+00:00</updated>
<author>
<name>Keith Packard</name>
<email>keithp@keithp.com</email>
</author>
<published>2013-05-18T09:54:55+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ethernal.org/mjb/altos/commit/?id=82afe3a3b737c43dbeaad41ea5af1841357297a6'/>
<id>urn:sha1:82afe3a3b737c43dbeaad41ea5af1841357297a6</id>
<content type='text'>
This is only relevant for telemini

Signed-off-by: Keith Packard &lt;keithp@keithp.com&gt;
</content>
</entry>
<entry>
<title>altos: ao_data_get is in ao_data.c now, not ao_adc.c</title>
<updated>2013-05-18T09:54:30+00:00</updated>
<author>
<name>Keith Packard</name>
<email>keithp@keithp.com</email>
</author>
<published>2013-05-18T09:54:30+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ethernal.org/mjb/altos/commit/?id=52063c2679752033135fff928c7686e368d2a825'/>
<id>urn:sha1:52063c2679752033135fff928c7686e368d2a825</id>
<content type='text'>
Signed-off-by: Keith Packard &lt;keithp@keithp.com&gt;
</content>
</entry>
<entry>
<title>altos: Allow architecture to define the type of port registers</title>
<updated>2013-05-18T09:53:32+00:00</updated>
<author>
<name>Keith Packard</name>
<email>keithp@keithp.com</email>
</author>
<published>2013-05-18T09:53:32+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ethernal.org/mjb/altos/commit/?id=e4385d29fc1b233b3ad56d4af68a175e760c1751'/>
<id>urn:sha1:e4385d29fc1b233b3ad56d4af68a175e760c1751</id>
<content type='text'>
LPC11U14 has 32-bit ports, STM32 has 16 bit ports.

Signed-off-by: Keith Packard &lt;keithp@keithp.com&gt;
</content>
</entry>
<entry>
<title>altos: Move ao_data.c from stm to core</title>
<updated>2013-05-18T09:52:49+00:00</updated>
<author>
<name>Keith Packard</name>
<email>keithp@keithp.com</email>
</author>
<published>2013-05-18T09:52:49+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ethernal.org/mjb/altos/commit/?id=ca4f3161258356c06fe1270f7ccdf0d6939e2d34'/>
<id>urn:sha1:ca4f3161258356c06fe1270f7ccdf0d6939e2d34</id>
<content type='text'>
This should be used on every processor

Signed-off-by: Keith Packard &lt;keithp@keithp.com&gt;
</content>
</entry>
<entry>
<title>altos: Allow target-specific USB endpoint specifications</title>
<updated>2013-05-17T10:50:07+00:00</updated>
<author>
<name>Keith Packard</name>
<email>keithp@keithp.com</email>
</author>
<published>2013-05-17T01:58:24+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ethernal.org/mjb/altos/commit/?id=185e6d15bcda229949a984910d7394203d301db9'/>
<id>urn:sha1:185e6d15bcda229949a984910d7394203d301db9</id>
<content type='text'>
The LPC has only a small number of endpoints, and those are not
configurable. Let the LPC USB driver pick the IN and OUT endpoints by itself.

Signed-off-by: Keith Packard &lt;keithp@keithp.com&gt;
</content>
</entry>
<entry>
<title>altos/cc1111: Hack on USB driver to make Windows happy</title>
<updated>2013-05-17T10:38:51+00:00</updated>
<author>
<name>Keith Packard</name>
<email>keithp@keithp.com</email>
</author>
<published>2013-05-17T10:21:08+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ethernal.org/mjb/altos/commit/?id=8a19805a6b079450b5afd5fa2334cede8495ae4a'/>
<id>urn:sha1:8a19805a6b079450b5afd5fa2334cede8495ae4a</id>
<content type='text'>
The Windows modem driver is quite chatty at startup time, getting and
setting the comm parameters each time the device is opened. Sometimes,
when setting the parameters, the cc1111 would STALL EP0.

Most of the time, Windows would happily pass this as an error back to
AltosUI which would then re-try the open (and succeed, most of the
time).

Sometimes, Windows would stall for 30 seconds before passing the error
back. This made the whole UI freeze, and I suspect most people assumed
our app had died.

A bit of analysis with the beagle USB sniffer and I discovered the
STALL settings, but there wasn't any correlation between the data on
the wire and when the STALL would be generated.

So, I found a couple of other cc1111 USB stacks on the net and just
looked to see how our driver differed. There wasn't anything clearly
related, but there were a list of small differences:

 1) Other drivers didn't bother waiting for the hardware to
    ack the USBADDR setting; doing it this way means we can set
    the address *before* acking the setup packet. It'll get
    set eventually, at which point the device will start responding to
    packets again.

    Easy to fix, and saves a bit of code space too.

 2) The other drivers set the STALL bit for setup packets which aren't
    understood. This shouldn't have any effect on 'good' systems as
    those shouldn't ever be generating bogus setup packets anyways.

    The driver already handled the STALL state in the interrupt
    handler, the only requirement was to figure out when to explicitly
    set the STALL bit.

    That required moving the state updating code from the start of the
    ep0 setup handling to the end, after the setup packet had been
    examined and data queued in or out as appropriate.

 3) Our driver explicitly queued an IN packet for any setup request
    that wasn't waiting for an OUT pack. This appears to tie in with
    the USBADDR change above as before I made that change, this change
    caused the driver to fail to respond to most setup packets.

    This was simple once the above change was made, just move the
    generation of the IN packet inside the code that switched to the
    IN state.

Signed-off-by: Keith Packard &lt;keithp@keithp.com&gt;
</content>
</entry>
<entry>
<title>altos: Move MS5607 info from 'v' to 'c s'</title>
<updated>2013-05-16T05:13:08+00:00</updated>
<author>
<name>Keith Packard</name>
<email>keithp@keithp.com</email>
</author>
<published>2013-05-15T05:29:06+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ethernal.org/mjb/altos/commit/?id=1931e028bebc3cd8df9392e30eb0e888d0799768'/>
<id>urn:sha1:1931e028bebc3cd8df9392e30eb0e888d0799768</id>
<content type='text'>
Makes more sense there.

Signed-off-by: Keith Packard &lt;keithp@keithp.com&gt;
</content>
</entry>
<entry>
<title>altos: Add 'g' command to ublox GPS code.</title>
<updated>2013-05-16T05:11:21+00:00</updated>
<author>
<name>Keith Packard</name>
<email>keithp@keithp.com</email>
</author>
<published>2013-05-14T16:12:29+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ethernal.org/mjb/altos/commit/?id=5e9193f6375be27e5f7a0321fd34b6acfe81247f'/>
<id>urn:sha1:5e9193f6375be27e5f7a0321fd34b6acfe81247f</id>
<content type='text'>
Take the gps_dump function from ao_gps_skytraq.c and move it to a new
file so it can be shared with the u-blox driver. That affects every
skytraq and u-blox user as they need to include the new file.

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