<?xml version="1.0" encoding="UTF-8"?>
<!-- generator="bbPress/1.0.2" -->
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom">
	<channel>
		<title>LeafLabs Garden &#187; Topic: SPI EEPROM Library not working</title>
		<link>http://forums.leaflabs.com/topic.php?id=909</link>
		<description>A place to share, learn, and grow...</description>
		<language>en-US</language>
		<pubDate>Fri, 22 Jan 2016 00:12:30 +0000</pubDate>
		<generator>http://bbpress.org/?v=1.0.2</generator>
		<textInput>
			<title><![CDATA[Search]]></title>
			<description><![CDATA[Search all topics from these forums.]]></description>
			<name>q</name>
			<link>http://forums.leaflabs.com/search.php</link>
		</textInput>
		<atom:link href="http://forums.leaflabs.com/rss.php?topic=909" rel="self" type="application/rss+xml" />

		<item>
			<title>trunet on "SPI EEPROM Library not working"</title>
			<link>http://forums.leaflabs.com/topic.php?id=909#post-5640</link>
			<pubDate>Tue, 12 Jul 2011 21:20:58 +0000</pubDate>
			<dc:creator>trunet</dc:creator>
			<guid isPermaLink="false">5640@http://forums.leaflabs.com/</guid>
			<description>&#60;p&#62;Thanks for your time on this.&#60;/p&#62;
&#60;p&#62;I'm trying to make ANY(SPI, I2C, ...) eeprom to make my project works(2 x UART RFID readers + XBee and a electromagnetic doorlock using a relay). I have SPI and I2C eeproms here with me.&#60;/p&#62;
&#60;p&#62;I've ported XBee library and it's working on API Mode(wonderful). My RFID readers is working fine too, so my 3 UARTs are fine.&#60;/p&#62;
&#60;p&#62;Everything is working but I can't make a RFID Card database(anywhere). Of course I can put the database on my house's server but and if my server crashs? and what's the fun on that? :)&#60;/p&#62;
&#60;p&#62;I2C EEPROM is an option but I'm facing maple hanging(I have other thread).&#60;/p&#62;
&#60;p&#62;So, I bought an arduino mega2560. Everything are working there. Just works.&#60;/p&#62;
&#60;p&#62;Maple mini is cheaper and is a very better microcontroller. I'm just not having luck(or coding skills) to resolve my problems.
&#60;/p&#62;</description>
		</item>
		<item>
			<title>mbolivar on "SPI EEPROM Library not working"</title>
			<link>http://forums.leaflabs.com/topic.php?id=909#post-5626</link>
			<pubDate>Tue, 12 Jul 2011 12:10:49 +0000</pubDate>
			<dc:creator>mbolivar</dc:creator>
			<guid isPermaLink="false">5626@http://forums.leaflabs.com/</guid>
			<description>&#60;p&#62;I took a look; it wouldn't be hard to update the library for use with the latest libmaple.  I'd say the easiest way to go about it would be:&#60;/p&#62;
&#60;p&#62;- Move eeprom_25xxx.c to eeprom_25xxx.cpp, and delete the relevant #ifdef __cplusplus bits (from eeprom_25xxx.h).  (Wirish used to be a mixed C/C++ library, but it's been C++ only since the refactor).&#60;/p&#62;
&#60;p&#62;- Convert spiNum (or spi_num, whatever) to pointers to a struct spi_dev instead.&#60;/p&#62;
&#60;p&#62;- Update the calls to spi_foo() in eeprom_25xxx.cpp to use the new SPI API, which is documented here: &#60;a href=&#34;http://leaflabs.com/docs/libmaple/api/spi.html&#34; rel=&#34;nofollow&#34;&#62;http://leaflabs.com/docs/libmaple/api/spi.html&#60;/a&#62;&#60;/p&#62;
&#60;p&#62;This would actually be a very good exercise for anyone who's interested in learning a little bit more about the low-level C layers of libmaple.  The necessary changes are few and straightforward.  I'd recommend reading the libmaple overview if you're just getting started; it explains the overall library structure, its naming conventions, etc.:&#60;/p&#62;
&#60;p&#62;&#60;a href=&#34;http://leaflabs.com/docs/libmaple/overview.html&#34; rel=&#34;nofollow&#34;&#62;http://leaflabs.com/docs/libmaple/overview.html&#60;/a&#62;&#60;/p&#62;
&#60;p&#62;When 0.0.10 came out, we promised that the new libmaple APIs would be stable for the foreseeable future, and any removals from the API would go through a deprecation period first.  So updating this library wouldn't be something you'd have to keep doing; it'd be stable for as far out as we can see right now.&#60;/p&#62;
&#60;p&#62;Edit: You can even use HardwareSPI as an example for how to use the new spi.h:&#60;/p&#62;
&#60;p&#62;&#60;a href=&#34;https://github.com/leaflabs/libmaple/blob/0.0.11/wirish/comm/HardwareSPI.cpp&#34; rel=&#34;nofollow&#34;&#62;https://github.com/leaflabs/libmaple/blob/0.0.11/wirish/comm/HardwareSPI.cpp&#60;/a&#62;
&#60;/p&#62;</description>
		</item>
		<item>
			<title>robodude666 on "SPI EEPROM Library not working"</title>
			<link>http://forums.leaflabs.com/topic.php?id=909#post-5621</link>
			<pubDate>Tue, 12 Jul 2011 05:48:02 +0000</pubDate>
			<dc:creator>robodude666</dc:creator>
			<guid isPermaLink="false">5621@http://forums.leaflabs.com/</guid>
			<description>&#60;p&#62;You can simply checkout/download the entire &#60;a href=&#34;https://github.com/adamfeuer/libmaple/tree/eeprom_25xxx&#34;&#62;eeprom_25xxx&#60;/a&#62; branch adamfeuer has on github. The EEPROM25xxx library is just a small library within that branch. I imagine that older branch should compile just fine with that library.
&#60;/p&#62;</description>
		</item>
		<item>
			<title>trunet on "SPI EEPROM Library not working"</title>
			<link>http://forums.leaflabs.com/topic.php?id=909#post-5619</link>
			<pubDate>Mon, 11 Jul 2011 16:52:06 +0000</pubDate>
			<dc:creator>trunet</dc:creator>
			<guid isPermaLink="false">5619@http://forums.leaflabs.com/</guid>
			<description>&#60;p&#62;could you tell me what's the last working git tag before SPI refactor?
&#60;/p&#62;</description>
		</item>
		<item>
			<title>robodude666 on "SPI EEPROM Library not working"</title>
			<link>http://forums.leaflabs.com/topic.php?id=909#post-5618</link>
			<pubDate>Mon, 11 Jul 2011 14:58:10 +0000</pubDate>
			<dc:creator>robodude666</dc:creator>
			<guid isPermaLink="false">5618@http://forums.leaflabs.com/</guid>
			<description>&#60;p&#62;The &#60;a href=&#34;http://wiki.leaflabs.com/index.php?title=SPI_EEPROM_Library&#34;&#62;SPI 25xxx-series EEPROM&#60;/a&#62; library was written for an earlier version of libmaple, before the SPI refactor, and therefore will no longer work as-is. If you want to use it, you'll have to update it or write a new library.&#60;/p&#62;
&#60;p&#62;-robodude666
&#60;/p&#62;</description>
		</item>
		<item>
			<title>mikep on "SPI EEPROM Library not working"</title>
			<link>http://forums.leaflabs.com/topic.php?id=909#post-5612</link>
			<pubDate>Mon, 11 Jul 2011 01:25:47 +0000</pubDate>
			<dc:creator>mikep</dc:creator>
			<guid isPermaLink="false">5612@http://forums.leaflabs.com/</guid>
			<description>&#60;p&#62;Those are the same errors I am receiving:&#60;br /&#62;
&#60;a href=&#34;http://forums.leaflabs.com/topic.php?id=908&#34; rel=&#34;nofollow&#34;&#62;http://forums.leaflabs.com/topic.php?id=908&#60;/a&#62;&#60;/p&#62;
&#60;p&#62;I was actually looking at the SPI EEPROM library to see how to make a library for the Maple, based on your errors it seems the library is not working, or maybe it was working with an earlier version of the Maple IDE.&#60;br /&#62;
I have not found a solution yet.
&#60;/p&#62;</description>
		</item>
		<item>
			<title>trunet on "SPI EEPROM Library not working"</title>
			<link>http://forums.leaflabs.com/topic.php?id=909#post-5611</link>
			<pubDate>Sun, 10 Jul 2011 14:20:58 +0000</pubDate>
			<dc:creator>trunet</dc:creator>
			<guid isPermaLink="false">5611@http://forums.leaflabs.com/</guid>
			<description>&#60;p&#62;Hi,&#60;/p&#62;
&#60;p&#62;I'm trying to use SPI EEPROM library and it's not working. I have added it to libraries path on IDE and I'm receiving these errors:&#60;br /&#62;
&#60;a href=&#34;http://pastebin.com/jcJs9H6M&#34; rel=&#34;nofollow&#34;&#62;http://pastebin.com/jcJs9H6M&#60;/a&#62;&#60;/p&#62;
&#60;p&#62;Thanks,&#60;/p&#62;
&#60;p&#62;Wagner Sartori Junior
&#60;/p&#62;</description>
		</item>

	</channel>
</rss>
