<feed xmlns='http://www.w3.org/2005/Atom'>
<title>mjb/altos/src/drivers/ao_sdcard.c, branch with-pdclib</title>
<subtitle>AltOS - the operating system for Altus Metrum products
</subtitle>
<id>https://git.ethernal.org/mjb/altos/atom?h=with-pdclib</id>
<link rel='self' href='https://git.ethernal.org/mjb/altos/atom?h=with-pdclib'/>
<link rel='alternate' type='text/html' href='https://git.ethernal.org/mjb/altos/'/>
<updated>2013-04-26T04:25:39+00:00</updated>
<entry>
<title>altos: Make SD card driver compile without radio support</title>
<updated>2013-04-26T04:25:39+00:00</updated>
<author>
<name>Keith Packard</name>
<email>keithp@keithp.com</email>
</author>
<published>2013-04-26T04:25:39+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ethernal.org/mjb/altos/commit/?id=4ed83e34d1163c7fae0a205528c60dc83973082a'/>
<id>urn:sha1:4ed83e34d1163c7fae0a205528c60dc83973082a</id>
<content type='text'>
The SD card driver blocks the radio when trying to access the card as
that operation appears very sensitive to RFI. This fix makes the
driver work when there *isn't* a radio driver in the same device.

Signed-off-by: Keith Packard &lt;keithp@keithp.com&gt;
</content>
</entry>
<entry>
<title>altos: Delay while waking up SD card a bit</title>
<updated>2013-04-12T08:55:33+00:00</updated>
<author>
<name>Keith Packard</name>
<email>keithp@keithp.com</email>
</author>
<published>2013-04-12T08:55:33+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ethernal.org/mjb/altos/commit/?id=7e6e2ca60c65a4fe2bee0bd8b9b89d45a7dbcfb3'/>
<id>urn:sha1:7e6e2ca60c65a4fe2bee0bd8b9b89d45a7dbcfb3</id>
<content type='text'>
This seems to make bringing the card from idle to ready mode more
reliable. If you spam the card with requests, it will eventually
whinge and shut down communications.

Signed-off-by: Keith Packard &lt;keithp@keithp.com&gt;
</content>
</entry>
<entry>
<title>altos: Shorten SD initialization timeouts.</title>
<updated>2013-04-02T23:41:29+00:00</updated>
<author>
<name>Keith Packard</name>
<email>keithp@keithp.com</email>
</author>
<published>2013-04-02T23:41:29+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ethernal.org/mjb/altos/commit/?id=96c32125a780ad6b39c015f4abbae07fead68582'/>
<id>urn:sha1:96c32125a780ad6b39c015f4abbae07fead68582</id>
<content type='text'>
This makes failure when no card is present much quicker.

Signed-off-by: Keith Packard &lt;keithp@keithp.com&gt;
</content>
</entry>
<entry>
<title>altos: Horrible kludge -- disable radio while talking with SD card</title>
<updated>2013-04-01T09:39:35+00:00</updated>
<author>
<name>Keith Packard</name>
<email>keithp@keithp.com</email>
</author>
<published>2013-04-01T09:39:35+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ethernal.org/mjb/altos/commit/?id=985df526ec142258ef990d0b55b0a14e13c099b4'/>
<id>urn:sha1:985df526ec142258ef990d0b55b0a14e13c099b4</id>
<content type='text'>
The SD card really doesn't like the RFI generated by our enormous
radio, so just lock the radio out while working with the card.

Signed-off-by: Keith Packard &lt;keithp@keithp.com&gt;
</content>
</entry>
<entry>
<title>altos: Retry SD card I/O. Use time for timeouts instead of counts</title>
<updated>2013-04-01T09:08:18+00:00</updated>
<author>
<name>Keith Packard</name>
<email>keithp@keithp.com</email>
</author>
<published>2013-04-01T09:08:18+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ethernal.org/mjb/altos/commit/?id=b34370cea662eb245e43aca20a6650b84b55ef6f'/>
<id>urn:sha1:b34370cea662eb245e43aca20a6650b84b55ef6f</id>
<content type='text'>
Sometimes I/O operations may fail; give the card a chance and retry
the operation in case it works the next time.

Replace the loop counts with loops that check the clock so that
they'll have consistent timeouts even if the CPU or SPI speed changes.

Signed-off-by: Keith Packard &lt;keithp@keithp.com&gt;
</content>
</entry>
<entry>
<title>altos: Add sdcard read/write tracing</title>
<updated>2013-03-31T19:23:31+00:00</updated>
<author>
<name>Keith Packard</name>
<email>keithp@keithp.com</email>
</author>
<published>2013-03-31T19:23:31+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ethernal.org/mjb/altos/commit/?id=7afcec1a1dce140dfa569469df4ef42ed407a742'/>
<id>urn:sha1:7afcec1a1dce140dfa569469df4ef42ed407a742</id>
<content type='text'>
This just dumps info in trace mode about read and write commands

Signed-off-by: Keith Packard &lt;keithp@keithp.com&gt;
</content>
</entry>
<entry>
<title>altos: Add SD card writing function</title>
<updated>2013-03-31T17:35:47+00:00</updated>
<author>
<name>Keith Packard</name>
<email>keithp@keithp.com</email>
</author>
<published>2013-03-31T17:35:47+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ethernal.org/mjb/altos/commit/?id=d8826b1ad5487de9345b7dcaf6c75a45117ff538'/>
<id>urn:sha1:d8826b1ad5487de9345b7dcaf6c75a45117ff538</id>
<content type='text'>
Now that the FAT code seems to be operational, go back and add
SD writing.

Signed-off-by: Keith Packard &lt;keithp@keithp.com&gt;
</content>
</entry>
<entry>
<title>altos: Add SDCARD and FAT16 filesystem support</title>
<updated>2013-03-27T08:12:33+00:00</updated>
<author>
<name>Keith Packard</name>
<email>keithp@keithp.com</email>
</author>
<published>2013-03-27T08:12:33+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ethernal.org/mjb/altos/commit/?id=e14834817f78a04b4d9b44a8373119dffd42c966'/>
<id>urn:sha1:e14834817f78a04b4d9b44a8373119dffd42c966</id>
<content type='text'>
This adds a fairly primitive FAT16 file system implementation
along with support for SD cards.

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