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

		<item>
			<title>pyrohaz on "STM32 Discovery series"</title>
			<link>http://forums.leaflabs.com/topic.php?id=11194#post-25578</link>
			<pubDate>Tue, 30 Apr 2013 06:15:28 +0000</pubDate>
			<dc:creator>pyrohaz</dc:creator>
			<guid isPermaLink="false">25578@http://forums.leaflabs.com/</guid>
			<description>&#60;p&#62;A brilliant reply!&#60;/p&#62;
&#60;p&#62;Thank you,&#60;br /&#62;
Harris
&#60;/p&#62;</description>
		</item>
		<item>
			<title>gbulmer on "STM32 Discovery series"</title>
			<link>http://forums.leaflabs.com/topic.php?id=11194#post-25524</link>
			<pubDate>Sun, 28 Apr 2013 18:24:59 +0000</pubDate>
			<dc:creator>gbulmer</dc:creator>
			<guid isPermaLink="false">25524@http://forums.leaflabs.com/</guid>
			<description>&#60;p&#62;pyrohaz - &#60;em&#62;&#34;given ... STM32F0 discovery boards. ... I was wondering if the maple IDE could program these boards?&#34;&#60;/em&#62;&#60;/p&#62;
&#60;p&#62;The simple answer is 'No'. This applies to anyone who does not know how to use the command line tools, and needs to use the IDE.&#60;/p&#62;
&#60;p&#62;The STM32F0Discovery uses an STM32F051, which has an ARM Cortex-M0 CPU that executes a subset of the machine-code instruction of the Maple's Cortex-M3.&#60;br /&#62;
This means the underlying gcc compiler should be told to generate Cortex-M0 instructions, or the program won't run. It also suggests the pre-compiled libraries, which are compiled for the Maples Cortex-M3, will not run.&#60;/p&#62;
&#60;p&#62;Further, some of the hardware peripherals are different from the Maple's STM32F103.&#60;br /&#62;
This implies that some of the library might not work, even if all machine instructions were okay. &#60;/p&#62;
&#60;p&#62;The peripheral differences include the &#34;Nested vectored interrupt controller&#34; (NVIC), so it is possible that interrupt handlers or library code won't work correctly. The bus architecture is different, so a small part of the startup code may need changing. Maple's STM32f103 have different GPIO peripheral registers compared to STM32F051, so for example code that implements &#60;code&#62;pinMode&#60;/code&#62; likely need changing. Other differences include having different timers, which exist at different address ranges.&#60;/p&#62;
&#60;p&#62;Finally, STM32F051 doesn't have USB on-board. This means a different mechanism for loading programs must be used.&#60;/p&#62;
&#60;p&#62;All of this could be solved. However, that would require some work on the Maple library source code, including the startup code and interrupt vector handlers, probably changes to the link script, and use of the command line compiler and linker.&#60;/p&#62;
&#60;p&#62;(Full disclosure: I am not a member of LeafLabs staff)
&#60;/p&#62;</description>
		</item>
		<item>
			<title>pyrohaz on "STM32 Discovery series"</title>
			<link>http://forums.leaflabs.com/topic.php?id=11194#post-25425</link>
			<pubDate>Sat, 27 Apr 2013 17:23:49 +0000</pubDate>
			<dc:creator>pyrohaz</dc:creator>
			<guid isPermaLink="false">25425@http://forums.leaflabs.com/</guid>
			<description>&#60;p&#62;Hey,&#60;/p&#62;
&#60;p&#62;I've just been given one of these ARM STM32F0 discovery boards off one of my mates at uni and while I love my maple and it is my main priority etc, I was wondering if the maple IDE could program these boards? It would be cool to have the two talking through serial and other such projects.&#60;/p&#62;
&#60;p&#62;Cheers,&#60;br /&#62;
Harris
&#60;/p&#62;</description>
		</item>

	</channel>
</rss>
