<?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: May be add any EEPROM to next Maple platform ?</title>
		<link>http://forums.leaflabs.com/topic.php?id=196</link>
		<description>A place to share, learn, and grow...</description>
		<language>en-US</language>
		<pubDate>Fri, 22 Jan 2016 00:06:54 +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=196" rel="self" type="application/rss+xml" />

		<item>
			<title>x893 on "May be add any EEPROM to next Maple platform ?"</title>
			<link>http://forums.leaflabs.com/topic.php?id=196&amp;page=2#post-7933</link>
			<pubDate>Sat, 28 Jan 2012 15:45:26 +0000</pubDate>
			<dc:creator>x893</dc:creator>
			<guid isPermaLink="false">7933@http://forums.leaflabs.com/</guid>
			<description>&#60;p&#62;You can move EEPROM emulation as you want. Set defines in .h file or initialization. Also you can change codes for your own. Library not a standard so you can modify as needed.
&#60;/p&#62;</description>
		</item>
		<item>
			<title>ala42 on "May be add any EEPROM to next Maple platform ?"</title>
			<link>http://forums.leaflabs.com/topic.php?id=196&amp;page=2#post-7929</link>
			<pubDate>Sat, 28 Jan 2012 14:01:53 +0000</pubDate>
			<dc:creator>ala42</dc:creator>
			<guid isPermaLink="false">7929@http://forums.leaflabs.com/</guid>
			<description>&#60;p&#62;The the F1 CPUs I moved the two flash pages (1KB or 2KB size depending on the CPU type) needed for the emulation to the $8004000-$8004FFF address range, as the boot loader fits into the 16KB from $8000000 to $8003FFF. The main program start is $8005000.&#60;br /&#62;
For the F2/F4 CPUs the 16KB flash pages are at $8008000 and $800C000, main program start at $80010000.
&#60;/p&#62;</description>
		</item>
		<item>
			<title>x893 on "May be add any EEPROM to next Maple platform ?"</title>
			<link>http://forums.leaflabs.com/topic.php?id=196&amp;page=2#post-7928</link>
			<pubDate>Sat, 28 Jan 2012 12:50:27 +0000</pubDate>
			<dc:creator>x893</dc:creator>
			<guid isPermaLink="false">7928@http://forums.leaflabs.com/</guid>
			<description>&#60;p&#62;May be offline somtimes
&#60;/p&#62;</description>
		</item>
		<item>
			<title>djk on "May be add any EEPROM to next Maple platform ?"</title>
			<link>http://forums.leaflabs.com/topic.php?id=196&amp;page=2#post-7926</link>
			<pubDate>Sat, 28 Jan 2012 09:11:29 +0000</pubDate>
			<dc:creator>djk</dc:creator>
			<guid isPermaLink="false">7926@http://forums.leaflabs.com/</guid>
			<description>&#60;p&#62;&#60;a href=&#34;http://akb77.com/g/stm32/maple-eeprom-emulation-library/&#34; rel=&#34;nofollow&#34;&#62;http://akb77.com/g/stm32/maple-eeprom-emulation-library/&#60;/a&#62;&#60;br /&#62;
appears to be a dead link now?&#60;br /&#62;
any help is appreciated...also i'd love to find a memory map definition such that i can be sure i'm not writing over my codespace/bootspace. Search memory map comes up with nothing in the forums. &#60;/p&#62;
&#60;p&#62;Thanks!
&#60;/p&#62;</description>
		</item>
		<item>
			<title>lucky13 on "May be add any EEPROM to next Maple platform ?"</title>
			<link>http://forums.leaflabs.com/topic.php?id=196&amp;page=2#post-7821</link>
			<pubDate>Sun, 22 Jan 2012 07:05:09 +0000</pubDate>
			<dc:creator>lucky13</dc:creator>
			<guid isPermaLink="false">7821@http://forums.leaflabs.com/</guid>
			<description>&#60;p&#62;ala42 thank you very much!!&#60;br /&#62;
&#34; Also the eeprom code checks the CPU type and did not know about MCU_STM32F103CB.&#34;&#60;/p&#62;
&#60;p&#62;That was the problem.. added the MCU_STM32F103CB to the eeprom.h and now its working!! =D&#60;br /&#62;
the thing that i dont know now is what page size should i put with the MCU_STM32F103CB. For now i have (uint16)0x400 but i dont know if its right.&#60;/p&#62;
&#60;p&#62;thank you again!
&#60;/p&#62;</description>
		</item>
		<item>
			<title>x893 on "May be add any EEPROM to next Maple platform ?"</title>
			<link>http://forums.leaflabs.com/topic.php?id=196&amp;page=2#post-7752</link>
			<pubDate>Tue, 17 Jan 2012 19:52:09 +0000</pubDate>
			<dc:creator>x893</dc:creator>
			<guid isPermaLink="false">7752@http://forums.leaflabs.com/</guid>
			<description>&#60;p&#62;You can try EEPROM lib for 0.12 from &#60;a href=&#34;http://akb77.com/g/stm32/maple-eeprom-emulation-library/&#34; rel=&#34;nofollow&#34;&#62;http://akb77.com/g/stm32/maple-eeprom-emulation-library/&#60;/a&#62;
&#60;/p&#62;</description>
		</item>
		<item>
			<title>ala42 on "May be add any EEPROM to next Maple platform ?"</title>
			<link>http://forums.leaflabs.com/topic.php?id=196&amp;page=2#post-7748</link>
			<pubDate>Tue, 17 Jan 2012 18:51:01 +0000</pubDate>
			<dc:creator>ala42</dc:creator>
			<guid isPermaLink="false">7748@http://forums.leaflabs.com/</guid>
			<description>&#60;p&#62;The eeprom code had to be modified due to incompatibilities introduced with libmaple 0.0.12 (removed defines, e.g. __get_bits and several more, some new defines needed to be removed like FLASH_BASE). Also the eeprom code checks the CPU type and did not know about MCU_STM32F103CB.
&#60;/p&#62;</description>
		</item>
		<item>
			<title>poslathian on "May be add any EEPROM to next Maple platform ?"</title>
			<link>http://forums.leaflabs.com/topic.php?id=196&amp;page=2#post-7734</link>
			<pubDate>Tue, 17 Jan 2012 16:48:36 +0000</pubDate>
			<dc:creator>poslathian</dc:creator>
			<guid isPermaLink="false">7734@http://forums.leaflabs.com/</guid>
			<description>&#60;p&#62;hmm, not sure why code that compiled fine for Maple/RET6 would not compile for Mini. Did ala's code work for you?
&#60;/p&#62;</description>
		</item>
		<item>
			<title>ala42 on "May be add any EEPROM to next Maple platform ?"</title>
			<link>http://forums.leaflabs.com/topic.php?id=196&amp;page=2#post-7696</link>
			<pubDate>Mon, 16 Jan 2012 18:58:15 +0000</pubDate>
			<dc:creator>ala42</dc:creator>
			<guid isPermaLink="false">7696@http://forums.leaflabs.com/</guid>
			<description>&#60;p&#62;What is wrong with the files I posted in the AeroQuad forum &#60;a href=&#34;http://aeroquad.com/showthread.php?2800-Porting-AeroQuad-code-from-AVR-to-STM32-CPUs&#38;amp;p=41482&#38;amp;viewfull=1#post41482&#34; rel=&#34;nofollow&#34;&#62;http://aeroquad.com/showthread.php?2800-Porting-AeroQuad-code-from-AVR-to-STM32-CPUs&#38;amp;p=41482&#38;amp;viewfull=1#post41482&#60;/a&#62; for you ?
&#60;/p&#62;</description>
		</item>
		<item>
			<title>lucky13 on "May be add any EEPROM to next Maple platform ?"</title>
			<link>http://forums.leaflabs.com/topic.php?id=196#post-7690</link>
			<pubDate>Mon, 16 Jan 2012 16:21:31 +0000</pubDate>
			<dc:creator>lucky13</dc:creator>
			<guid isPermaLink="false">7690@http://forums.leaflabs.com/</guid>
			<description>&#60;p&#62;hello,&#60;br /&#62;
im trying to use the eeprom emulation library. With ratho's changes compiled succesfully in 0.012 IDE with RET6 board. Now i want this library for a program in my maple mini but when im trying to compile my sketch that uses the emulation for that board i get these errors..&#60;/p&#62;
&#60;p&#62;C:\....\maple-ide-0.0.12-windowsxp32\maple-ide-0.0.12-windowsxp32\libraries\EEPROM\flash_stm32.c:6: warning: &#34;FLASH_BASE&#34; redefined&#60;/p&#62;
&#60;p&#62;C:\....\maple-ide-0.0.12-windowsxp32\maple-ide-0.0.12-windowsxp32\hardware\leaflabs\cores\maple/flash.h:55: note: this is the location of the previous definition&#60;br /&#62;
In file included from&#60;br /&#62;
C:\....\maple-ide-0.0.12-windowsxp32\maple-ide-0.0.12-windowsxp32\libraries\EEPROM\EEPROM.cpp:2:&#60;/p&#62;
&#60;p&#62;C:\....\maple-ide-0.0.12-windowsxp32\maple-ide-0.0.12-windowsxp32\libraries\EEPROM\/EEPROM.h:13: error: #error &#34;No MCU type specified. Add something like -DMCU_STM32F103RB &#34; &#34;to your compiler arguments (probably in a Makefile).&#34;&#60;/p&#62;
&#60;p&#62;C:\....\maple-ide-0.0.12-windowsxp32\maple-ide-0.0.12-windowsxp32\libraries\EEPROM\/EEPROM.h:27: error: #error &#34;No MCU type specified. Add something like -DMCU_STM32F103RB &#34; &#34;to your compiler arguments (probably in a Makefile).&#34;&#60;/p&#62;
&#60;p&#62;C:\....\maple-ide-0.0.12-windowsxp32\maple-ide-0.0.12-windowsxp32\libraries\EEPROM\/EEPROM.h:42: warning: scoped enums only available with -std=c++0x or -std=gnu++0x&#60;/p&#62;
&#60;p&#62;C:\....\maple-ide-0.0.12-windowsxp32\maple-ide-0.0.12-windowsxp32\libraries\EEPROM\EEPROM.cpp: In constructor 'EEPROMClass::EEPROMClass()':&#60;/p&#62;
&#60;p&#62;C:\....\maple-ide-0.0.12-windowsxp32\maple-ide-0.0.12-windowsxp32\libraries\EEPROM\EEPROM.cpp:284: error: 'EEPROM_START_ADDRESS' was not declared in this scope&#60;/p&#62;
&#60;p&#62;C:\....\maple-ide-0.0.12-windowsxp32\maple-ide-0.0.12-windowsxp32\libraries\EEPROM\EEPROM.cpp:285: error: 'EEPROM_PAGE_SIZE' was not declared in this scope&#60;/p&#62;
&#60;p&#62;Has anyone experienced the same problem?
&#60;/p&#62;</description>
		</item>
		<item>
			<title>howrupravin on "May be add any EEPROM to next Maple platform ?"</title>
			<link>http://forums.leaflabs.com/topic.php?id=196#post-6472</link>
			<pubDate>Wed, 21 Sep 2011 02:54:30 +0000</pubDate>
			<dc:creator>howrupravin</dc:creator>
			<guid isPermaLink="false">6472@http://forums.leaflabs.com/</guid>
			<description>&#60;p&#62;thanks
&#60;/p&#62;</description>
		</item>
		<item>
			<title>ratho on "May be add any EEPROM to next Maple platform ?"</title>
			<link>http://forums.leaflabs.com/topic.php?id=196#post-4621</link>
			<pubDate>Sun, 15 May 2011 13:51:01 +0000</pubDate>
			<dc:creator>ratho</dc:creator>
			<guid isPermaLink="false">4621@http://forums.leaflabs.com/</guid>
			<description>&#60;p&#62;ok, now I can compile the code without errors. I added&#60;/p&#62;
&#60;pre&#62;&#60;code&#62;#define __set_bits(addr, mask)    *(volatile uint32*)(addr) &#124;= (uint32)(mask)
#define __clear_bits(addr, mask) (*(volatile uint32*)(addr) &#38;amp;= (uint32)~(mask))
#define __get_bits(addr, mask)   (*(volatile uint32*)(addr) &#38;amp; (uint32)(mask))

#define __read(reg)               *(volatile uint32*)(reg)
#define __write(reg, value)       *(volatile uint32*)(reg) = (value)&#60;/code&#62;&#60;/pre&#62;
&#60;p&#62;in flash_stm32.h
&#60;/p&#62;</description>
		</item>
		<item>
			<title>mbolivar on "May be add any EEPROM to next Maple platform ?"</title>
			<link>http://forums.leaflabs.com/topic.php?id=196#post-4619</link>
			<pubDate>Sun, 15 May 2011 12:42:19 +0000</pubDate>
			<dc:creator>mbolivar</dc:creator>
			<guid isPermaLink="false">4619@http://forums.leaflabs.com/</guid>
			<description>&#60;p&#62;ratho,&#60;/p&#62;
&#60;p&#62;Yes, there are many changes in the 0.0.10 software that will cause compatibility problems with software built on older versions of libmaple.  It doesn't have to do with RBT6 vs. RET6.&#60;/p&#62;
&#60;p&#62;However, the good news is that as of 0.0.10, the low-level C APIs are now stable, so if x893 is willing to update his library, it will work for the foreseeable future.
&#60;/p&#62;</description>
		</item>
		<item>
			<title>ratho on "May be add any EEPROM to next Maple platform ?"</title>
			<link>http://forums.leaflabs.com/topic.php?id=196#post-4618</link>
			<pubDate>Sun, 15 May 2011 12:00:22 +0000</pubDate>
			<dc:creator>ratho</dc:creator>
			<guid isPermaLink="false">4618@http://forums.leaflabs.com/</guid>
			<description>&#60;p&#62;Hi,&#60;/p&#62;
&#60;p&#62;I try to start with a smal project and need an eeprom emulation.&#60;br /&#62;
I use Maple IDE 0.10 Beta with an RET6 chip.&#60;/p&#62;
&#60;p&#62;If I try to compile the sample sketch I get many errors :(&#60;br /&#62;
The main problems I think are in flash_stm32.c with __ser_bits, __write, ...&#60;br /&#62;
Are there any changes between 0.8 and 0.10 oder between RET6 and RBT6?&#60;/p&#62;
&#60;p&#62;Please help, many thanks!
&#60;/p&#62;</description>
		</item>
		<item>
			<title>x893 on "May be add any EEPROM to next Maple platform ?"</title>
			<link>http://forums.leaflabs.com/topic.php?id=196#post-3095</link>
			<pubDate>Sun, 12 Dec 2010 03:57:47 +0000</pubDate>
			<dc:creator>x893</dc:creator>
			<guid isPermaLink="false">3095@http://forums.leaflabs.com/</guid>
			<description>&#60;p&#62;You can use this library as you want. Link to library in first line of post. I test it with 0.0.8 version and with ...RET6 and ...RBT6 MCU. flash_stm32 contain functions excluded from flash.c. If need you can mail me or skype (see contacts on site)
&#60;/p&#62;</description>
		</item>

	</channel>
</rss>
