<?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: Set up the FSMC</title>
		<link>http://forums.leaflabs.com/topic.php?id=1799</link>
		<description>A place to share, learn, and grow...</description>
		<language>en-US</language>
		<pubDate>Fri, 22 Jan 2016 00:19:22 +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=1799" rel="self" type="application/rss+xml" />

		<item>
			<title>blackswords on "Set up the FSMC"</title>
			<link>http://forums.leaflabs.com/topic.php?id=1799#post-10884</link>
			<pubDate>Sat, 26 May 2012 01:59:26 +0000</pubDate>
			<dc:creator>blackswords</dc:creator>
			<guid isPermaLink="false">10884@http://forums.leaflabs.com/</guid>
			<description>&#60;p&#62;Thanks for the answer.&#60;br /&#62;
I don't have a true maple (even native) board, I just pick up the bootloader, the libraries and run this into eclipse to program and debug my &#60;a href=&#34;http://www.micro4you.com/store/images/cache/Mini_STM32_N.600.png&#34;&#62;board&#60;/a&#62;.&#60;br /&#62;
As you said, I think that I will fetch the registers values from my old code and write it myself in this port.
&#60;/p&#62;</description>
		</item>
		<item>
			<title>mbolivar on "Set up the FSMC"</title>
			<link>http://forums.leaflabs.com/topic.php?id=1799#post-10879</link>
			<pubDate>Fri, 25 May 2012 22:19:00 +0000</pubDate>
			<dc:creator>mbolivar</dc:creator>
			<guid isPermaLink="false">10879@http://forums.leaflabs.com/</guid>
			<description>&#60;p&#62;Maple doesn't have an FSMC. Only Maple Native does, of the LeafLabs boards. Do you mean that you're using a Native? Or that you're using another chip with an FSMC?&#60;/p&#62;
&#60;p&#62;Other things seem strange. From your code:&#60;/p&#62;
&#60;p&#62;&#60;code&#62;fsmc_nor_psram_set_addset(regs, 30);&#60;/code&#62;&#60;/p&#62;
&#60;p&#62;30 is suspiciously large, given that ADDSET is only 4 bits wide. The argument to &#60;code&#62;fsmc_nor_psram_set_addset()&#60;/code&#62; is just ANDed with 0xF and shoved into the ADDSET bits directly (similarly for &#60;code&#62;fsmc_nor_psram_set_datast()&#60;/code&#62;), so 30 can't possibly be what you mean.  It looks like that value is just copy-pasta from your old code; I'd spend some more time looking at RM0008 to see what you really want to put into those bits. (Or just copy the values of the FSMC registers directly from the working code).&#60;/p&#62;
&#60;p&#62;Sorry that fsmc.h isn't very full-featured at the moment; it's mostly there to support the SRAM chip on Maple Native, so it's lacking when it comes to dealing with other sorts of memory.
&#60;/p&#62;</description>
		</item>
		<item>
			<title>blackswords on "Set up the FSMC"</title>
			<link>http://forums.leaflabs.com/topic.php?id=1799#post-10870</link>
			<pubDate>Fri, 25 May 2012 15:14:53 +0000</pubDate>
			<dc:creator>blackswords</dc:creator>
			<guid isPermaLink="false">10870@http://forums.leaflabs.com/</guid>
			<description>&#60;p&#62;Hi, &#60;/p&#62;
&#60;p&#62;I want to port some code that I use with an LCD and the ST Library to Maple and I got stuck with the FSMC part.&#60;/p&#62;
&#60;p&#62;This is the old working configuration &#60;a href=&#34;http://pastebin.com/R4sE2d5V&#34;&#62;code&#60;/a&#62;, someone can tell me how to replace it with the Maple functions? &#60;/p&#62;
&#60;p&#62;I tried &#60;a href=&#34;http://pastebin.com/5TPtLt0K&#34;&#62;this&#60;/a&#62; but the MCU crash (a HardFault I think) after I tried to access to a register&#60;/p&#62;
&#60;p&#62;Thanks
&#60;/p&#62;</description>
		</item>

	</channel>
</rss>
