<?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: Maple Mini r2 , some beginner questions</title>
		<link>http://forums.leaflabs.com/topic.php?id=74083</link>
		<description>A place to share, learn, and grow...</description>
		<language>en-US</language>
		<pubDate>Fri, 22 Jan 2016 00:17:48 +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=74083" rel="self" type="application/rss+xml" />

		<item>
			<title>gbulmer on "Maple Mini r2 , some beginner questions"</title>
			<link>http://forums.leaflabs.com/topic.php?id=74083#post-105051</link>
			<pubDate>Mon, 09 Dec 2013 16:23:07 +0000</pubDate>
			<dc:creator>gbulmer</dc:creator>
			<guid isPermaLink="false">105051@http://forums.leaflabs.com/</guid>
			<description>&#60;p&#62;krab - AFAICT you do &#60;strong&#62;not&#60;/strong&#62; plan on using LeafLabs Maple IDE, and instead plan to upload all your programs using ST-LINK/V2 using Keil or Eclipse. Correct?&#60;/p&#62;
&#60;p&#62;In that case, it will likely be simpler to link your programs as stand-alone binaries, and over write LeafLabs Maple bootloader.&#60;/p&#62;
&#60;p&#62;(Full disclosure: I am not a member of LeafLabs staff.)
&#60;/p&#62;</description>
		</item>
		<item>
			<title>krab on "Maple Mini r2 , some beginner questions"</title>
			<link>http://forums.leaflabs.com/topic.php?id=74083#post-105050</link>
			<pubDate>Mon, 09 Dec 2013 16:09:55 +0000</pubDate>
			<dc:creator>krab</dc:creator>
			<guid isPermaLink="false">105050@http://forums.leaflabs.com/</guid>
			<description>&#60;p&#62;Ok. I have my last question about maple mini ... I'm about to start using ST-Link/V2 JTAG adapter. Can you tell me if the built-in bootloader on my STMF103CBT6 will be a problem?. Do i have to erase it or it will be overwritten ? Thanks for any advise. Thanks
&#60;/p&#62;</description>
		</item>
		<item>
			<title>krab on "Maple Mini r2 , some beginner questions"</title>
			<link>http://forums.leaflabs.com/topic.php?id=74083#post-104845</link>
			<pubDate>Fri, 01 Nov 2013 14:26:00 +0000</pubDate>
			<dc:creator>krab</dc:creator>
			<guid isPermaLink="false">104845@http://forums.leaflabs.com/</guid>
			<description>&#60;p&#62;Thanks a lot for your answer gbulmer. I see now where I'm going. I choised the Maple-mini r2 because it's microcontroller is suitable for my purposes. I'm about to build a micro quadcopter as a project. And I wanted to give it a STMF103CBT6 heart. My plan was to firstly create a program that will be able to work with some MPU and wireless connection etc. then finally build a board and finish it. Right now I'm at the beginning of my long way to approach the goal. For now I have working Maple-mini r2 board and a book that i thought will help me. The writer is using STM32F10xxx Standard Peripheral Library and DSP library. As a complete noob in this field I'm wondering if its possible to work with them on LeafLabs IDE. Is my goal even possible to approach with the way i chose? Thanks for your help, I'm so glad that you answered. Thanks
&#60;/p&#62;</description>
		</item>
		<item>
			<title>gbulmer on "Maple Mini r2 , some beginner questions"</title>
			<link>http://forums.leaflabs.com/topic.php?id=74083#post-104841</link>
			<pubDate>Thu, 31 Oct 2013 20:44:30 +0000</pubDate>
			<dc:creator>gbulmer</dc:creator>
			<guid isPermaLink="false">104841@http://forums.leaflabs.com/</guid>
			<description>&#60;p&#62;krab - &#60;em&#62;&#34;I'm wondering if i can do everything (starting from creating a programm and finishing on programming) in Keil uVision5 or Eclipse. Is this LeafLab IDE only way to upload a program ?&#34;&#60;/em&#62;&#60;/p&#62;
&#60;p&#62;That is a complex set of questions. Their are lots of ways to program an STM32F. I'll try to break them down.&#60;/p&#62;
&#60;p&#62;The STM32F103 on Maple-mini has two types of JTAG interface, a 10pin, 5 signal+5 ground interface, and a two wire 'Serial Wire Debug' (SWD) interface.&#60;/p&#62;
&#60;p&#62;If you have a suitable JTAG adapter, then you will be able to program from Keil uVision5, or other proprietary development systems.&#60;br /&#62;
Keil sell a JTAG adapter, but IIRC it is quite expensive.&#60;/p&#62;
&#60;p&#62;I don't use Keil but IIRC, Keil can use ST Micro's (the company who makes the Maples STM32F MCU) ST-Link/V2 JTAG adapter:&#60;br /&#62;
&#60;a href=&#34;http://www.st.com/web/catalog/tools/FM146/CL1984/SC724/SS1677/PF251168#&#34; rel=&#34;nofollow&#34;&#62;http://www.st.com/web/catalog/tools/FM146/CL1984/SC724/SS1677/PF251168#&#60;/a&#62;&#60;br /&#62;
They are relatively low-cost:&#60;br /&#62;
&#60;a href=&#34;http://www.digikey.com/product-detail/en/ST-LINK%2FV2/497-10484-ND/2214535&#34; rel=&#34;nofollow&#34;&#62;http://www.digikey.com/product-detail/en/ST-LINK%2FV2/497-10484-ND/2214535&#60;/a&#62;&#60;/p&#62;
&#60;p&#62;An even lower cost is one of the many STM32F Discovery boards, which include the SWD part of the ST-Link/V2 on-board, and can be used to load onto any STM32F. Discovery boards are typically under $15, e.g.:&#60;br /&#62;
&#60;a href=&#34;http://www.st.com/web/en/catalog/tools/FM116/SC959/SS1532/PF254044&#34; rel=&#34;nofollow&#34;&#62;http://www.st.com/web/en/catalog/tools/FM116/SC959/SS1532/PF254044&#60;/a&#62;&#60;br /&#62;
&#60;a href=&#34;http://uk.futureelectronics.com/en/CSRichProduct.aspx?ItemNumber=5024426&#38;amp;IM=0&#38;amp;Currency=USD&#34; rel=&#34;nofollow&#34;&#62;http://uk.futureelectronics.com/en/CSRichProduct.aspx?ItemNumber=5024426&#38;amp;IM=0&#38;amp;Currency=USD&#60;/a&#62;&#60;br /&#62;
If you want to choose a different STM32F Discovery board make sure you get one with ST-LINK/V2; it seems to work better than the older ST-LINK.&#60;/p&#62;
&#60;p&#62;Every STM32F has a manufactured-in bootloader. The STM32F103 on a Maple-mini can only upload over a serial connection. So you need a USB-to-serial adapter, running at 3.3volts. Then you can upload using these instructions:&#60;br /&#62;
&#60;a href=&#34;http://leaflabs.com/docs/bootloader.html#flashing-a-custom-bootloader&#34; rel=&#34;nofollow&#34;&#62;http://leaflabs.com/docs/bootloader.html#flashing-a-custom-bootloader&#60;/a&#62;&#60;br /&#62;
While those instructions are for burning in a new bootloader, those instructions work for any correctly built program.&#60;br /&#62;
I do not know if keil support that approach to program loading, though it might be possible using a makefile.&#60;/p&#62;
&#60;p&#62;Lastly, the Maple and Maple-mini have a bootloader written by Leaflabs. This can upload programs over USB, and relies on a command line program, called dfu-util. I don't know if Keil support this (they might as some STM32F's have a manufactured-in DFU-like bootloader), but again, wrapping the upload program in a little makefile might help them connect.&#60;/p&#62;
&#60;p&#62;However, if all of that sounded complex, then a reasonable approach might be to get an STM32F Discovery development board, and use that with Keil and the STM32 libs.&#60;/p&#62;
&#60;p&#62;(Full disclosure: I am not a member of LeafLabs staff. Nor do I work for ST Micro or Keil :-)
&#60;/p&#62;</description>
		</item>
		<item>
			<title>krab on "Maple Mini r2 , some beginner questions"</title>
			<link>http://forums.leaflabs.com/topic.php?id=74083#post-104835</link>
			<pubDate>Thu, 31 Oct 2013 15:00:09 +0000</pubDate>
			<dc:creator>krab</dc:creator>
			<guid isPermaLink="false">104835@http://forums.leaflabs.com/</guid>
			<description>&#60;p&#62;Hello everyone, im a new user of this board and i wanted to ask you some questions. As a beginner i can't find any tutorial or any basic explanation how to start programming this board. I'm wondering if i can do everything (starting from creating a programm and finishing on programming) in Keil uVision5 or Eclipse. Is this LeafLab IDE only way to upload a program ? Also im using the windows 7 x64, and as i realised it can be a problem. Im following some book that explains basics of programming the STM32103xx microcontrolers on Keil uVision. They also use some STM32 libs. Im a bit lost, can somebody explain how follow this book and program the Maple mini r2 ? Thanks for help
&#60;/p&#62;</description>
		</item>

	</channel>
</rss>
