<feed xmlns='http://www.w3.org/2005/Atom'>
<title>mjb/altos/src/lpc/ao_usb_lpc.c, branch debian/1.3-1</title>
<subtitle>AltOS - the operating system for Altus Metrum products
</subtitle>
<id>https://git.ethernal.org/mjb/altos/atom?h=debian%2F1.3-1</id>
<link rel='self' href='https://git.ethernal.org/mjb/altos/atom?h=debian%2F1.3-1'/>
<link rel='alternate' type='text/html' href='https://git.ethernal.org/mjb/altos/'/>
<updated>2013-12-19T08:08:50+00:00</updated>
<entry>
<title>altos/lpc: Stop sending SETUP IN when the requested size is reached</title>
<updated>2013-12-19T08:08:50+00:00</updated>
<author>
<name>Keith Packard</name>
<email>keithp@keithp.com</email>
</author>
<published>2013-12-19T08:08:50+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ethernal.org/mjb/altos/commit/?id=a04c1dd5df76c9127615bc797a9d9f764eec1234'/>
<id>urn:sha1:a04c1dd5df76c9127615bc797a9d9f764eec1234</id>
<content type='text'>
The host won't keep asking for SETUP IN packets once it has received
the amount of data requested, so check to see if we've sent that much
and flip back to IDLE state if so.

Signed-off-by: Keith Packard &lt;keithp@keithp.com&gt;
</content>
</entry>
<entry>
<title>altos/lpc: Reset less of the device on USB reset.</title>
<updated>2013-12-19T07:27:34+00:00</updated>
<author>
<name>Keith Packard</name>
<email>keithp@keithp.com</email>
</author>
<published>2013-12-19T07:27:34+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ethernal.org/mjb/altos/commit/?id=1ab12861c3e70d7c22b27d988546a925616a0adc'/>
<id>urn:sha1:1ab12861c3e70d7c22b27d988546a925616a0adc</id>
<content type='text'>
This leaves most of the device configured across USB reset, which
appears to help when sending a IN reply to the first SETUP packet;
without this change, the IN reply would always get a length of 0,
which is fine for SET_ADDRESS, but not for GET_DESCRIPTOR_DEVICE,
which OS X appears to send before setting the address (go figure).

Signed-off-by: Keith Packard &lt;keithp@keithp.com&gt;
</content>
</entry>
<entry>
<title>altos: Use all 16 bits of setup packet len when limiting reply len</title>
<updated>2013-12-18T07:53:59+00:00</updated>
<author>
<name>Keith Packard</name>
<email>keithp@keithp.com</email>
</author>
<published>2013-12-18T07:50:54+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ethernal.org/mjb/altos/commit/?id=1f035ac2df1cfa6964ae904aba0aedde279ca921'/>
<id>urn:sha1:1f035ac2df1cfa6964ae904aba0aedde279ca921</id>
<content type='text'>
We were only using the low 8 bits of the setup packet reply max len,
which meant that if the other side sent a weird max len (as Windows 7
does), then we'd truncate our setup reply to whatever was in the low 8
bits of that value.

Signed-off-by: Keith Packard &lt;keithp@keithp.com&gt;
</content>
</entry>
<entry>
<title>altos/lpc: Add boot loader</title>
<updated>2013-06-24T21:30:22+00:00</updated>
<author>
<name>Keith Packard</name>
<email>keithp@keithp.com</email>
</author>
<published>2013-06-24T21:23:53+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ethernal.org/mjb/altos/commit/?id=0dd148e388944d8d265da51d62806c4a00b2c13d'/>
<id>urn:sha1:0dd148e388944d8d265da51d62806c4a00b2c13d</id>
<content type='text'>
Support the USB boot loader, add USB pull-up support.

Signed-off-by: Keith Packard &lt;keithp@keithp.com&gt;
</content>
</entry>
<entry>
<title>altos/lpc: Remove ao_usb_task structure</title>
<updated>2013-06-22T07:49:59+00:00</updated>
<author>
<name>Keith Packard</name>
<email>keithp@keithp.com</email>
</author>
<published>2013-06-22T02:40:03+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ethernal.org/mjb/altos/commit/?id=9081d881bc48bf7fdce617d300ac02c1a5962239'/>
<id>urn:sha1:9081d881bc48bf7fdce617d300ac02c1a5962239</id>
<content type='text'>
It's not used

Signed-off-by: Keith Packard &lt;keithp@keithp.com&gt;
</content>
</entry>
<entry>
<title>altos/lpc: Get the IRC turned off after boot time</title>
<updated>2013-06-17T21:00:11+00:00</updated>
<author>
<name>Keith Packard</name>
<email>keithp@keithp.com</email>
</author>
<published>2013-06-17T21:00:11+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ethernal.org/mjb/altos/commit/?id=298e54856b5f8809b43f24407caa4a6be60822f3'/>
<id>urn:sha1:298e54856b5f8809b43f24407caa4a6be60822f3</id>
<content type='text'>
This involved carefully moving the USB away from the IRC before
turning it off.

Signed-off-by: Keith Packard &lt;keithp@keithp.com&gt;
</content>
</entry>
<entry>
<title>altos/lpc: Force idle mode if USB gets an address during boot time</title>
<updated>2013-05-20T03:39:19+00:00</updated>
<author>
<name>Keith Packard</name>
<email>keithp@keithp.com</email>
</author>
<published>2013-05-20T03:27:53+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ethernal.org/mjb/altos/commit/?id=35b120c4154df0351c3a802f86dda224a7643068'/>
<id>urn:sha1:35b120c4154df0351c3a802f86dda224a7643068</id>
<content type='text'>
This lets EasyMini be booted to idle mode by simply plugging it into USB.

Signed-off-by: Keith Packard &lt;keithp@keithp.com&gt;
</content>
</entry>
<entry>
<title>altos/lpc: Don't use loader to place USB endpoint data in USB ram</title>
<updated>2013-05-20T03:39:18+00:00</updated>
<author>
<name>Keith Packard</name>
<email>keithp@keithp.com</email>
</author>
<published>2013-05-20T03:06:03+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ethernal.org/mjb/altos/commit/?id=6343bd774f542a4f915cf1fca2053d03e93bf2c3'/>
<id>urn:sha1:6343bd774f542a4f915cf1fca2053d03e93bf2c3</id>
<content type='text'>
Instead, just assign a fixed address in registers.ld. This avoids a
confusing section in the elf file.

Signed-off-by: Keith Packard &lt;keithp@keithp.com&gt;
</content>
</entry>
<entry>
<title>altos/lpc: Stick USB control structure in USB memory</title>
<updated>2013-05-18T10:52:14+00:00</updated>
<author>
<name>Keith Packard</name>
<email>keithp@keithp.com</email>
</author>
<published>2013-05-18T10:52:14+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ethernal.org/mjb/altos/commit/?id=cbe5eee76faf386eefe69539935ab318944ac452'/>
<id>urn:sha1:cbe5eee76faf386eefe69539935ab318944ac452</id>
<content type='text'>
No reason to have that in regular ram, and it means we've got space
for large enough stacks now

Signed-off-by: Keith Packard &lt;keithp@keithp.com&gt;
</content>
</entry>
<entry>
<title>altos/lpc: Get USB working</title>
<updated>2013-05-17T10:50:07+00:00</updated>
<author>
<name>Keith Packard</name>
<email>keithp@keithp.com</email>
</author>
<published>2013-05-17T10:36:47+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ethernal.org/mjb/altos/commit/?id=ac089d4fb930b7dbc4161259fd9bddba94395ebc'/>
<id>urn:sha1:ac089d4fb930b7dbc4161259fd9bddba94395ebc</id>
<content type='text'>
The lpc demo now has a USB command line.
Also allocates system stack so we know when ram is tight at build time

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