<?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: STM32F3 Discovery - another cheap, interesting, ST development board</title>
		<link>http://forums.leaflabs.com/topic.php?id=8712</link>
		<description>A place to share, learn, and grow...</description>
		<language>en-US</language>
		<pubDate>Fri, 22 Jan 2016 00:06:27 +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=8712" rel="self" type="application/rss+xml" />

		<item>
			<title>mikep on "STM32F3 Discovery - another cheap, interesting, ST development board"</title>
			<link>http://forums.leaflabs.com/topic.php?id=8712&amp;page=2#post-21799</link>
			<pubDate>Fri, 28 Dec 2012 09:04:50 +0000</pubDate>
			<dc:creator>mikep</dc:creator>
			<guid isPermaLink="false">21799@http://forums.leaflabs.com/</guid>
			<description>&#60;p&#62;Hi gargantua,&#60;br /&#62;
Which board do you have exactly?&#60;br /&#62;
Is it this one: &#60;a href=&#34;https://www.olimex.com/Products/ARM/ST/STM32-H103/&#34; rel=&#34;nofollow&#34;&#62;https://www.olimex.com/Products/ARM/ST/STM32-H103/&#60;/a&#62;&#60;/p&#62;
&#60;p&#62;If so, I do not think the board comes with the Maple bootloader installed.&#60;/p&#62;
&#60;p&#62;The bootloader is what starts the execution of your code after it has been uploaded. You first need to get a bootloader flashed onto the board.&#60;br /&#62;
I apologize if you have already done that, it just wasn't mentioned in your post.&#60;br /&#62;
The bootloader jumps to a certain address to execute your code, so that would be another thing that could be wrong.&#60;/p&#62;
&#60;p&#62;It's generally a little bit harder to use some other boards that are different hardware than the Maple, sometimes you have to hunt down differences in the schematic, where the pins are located etc.&#60;/p&#62;
&#60;p&#62;Olimex makes another board, the Olimexino-Stm32: &#60;a href=&#34;https://www.olimex.com/Products/Duino/STM32/OLIMEXINO-STM32/&#34; rel=&#34;nofollow&#34;&#62;https://www.olimex.com/Products/Duino/STM32/OLIMEXINO-STM32/&#60;/a&#62;&#60;br /&#62;
This one should be directly Maple compatible. If you have this board, the bootloader should be already on there.&#60;br /&#62;
Your environment variable BOARD might be set wrong. If you have the Olimexino board, then the env var should say something like &#34;maple&#34; or so,basically the standard Maple (sorry, I am not using Linux, so it might be called a bit different).&#60;/p&#62;
&#60;p&#62;Sorry if this is a bit vague, but I hope it helps.&#60;/p&#62;
&#60;p&#62;Mike
&#60;/p&#62;</description>
		</item>
		<item>
			<title>spas on "STM32F3 Discovery - another cheap, interesting, ST development board"</title>
			<link>http://forums.leaflabs.com/topic.php?id=8712&amp;page=2#post-21784</link>
			<pubDate>Wed, 26 Dec 2012 11:52:13 +0000</pubDate>
			<dc:creator>spas</dc:creator>
			<guid isPermaLink="false">21784@http://forums.leaflabs.com/</guid>
			<description>&#60;p&#62;Hi,&#60;br /&#62;
   I have just received an Olimex board and have found it to function perfectly with the Maple IDE; no problems at all.
&#60;/p&#62;</description>
		</item>
		<item>
			<title>feurig on "STM32F3 Discovery - another cheap, interesting, ST development board"</title>
			<link>http://forums.leaflabs.com/topic.php?id=8712&amp;page=2#post-21729</link>
			<pubDate>Wed, 19 Dec 2012 14:00:27 +0000</pubDate>
			<dc:creator>feurig</dc:creator>
			<guid isPermaLink="false">21729@http://forums.leaflabs.com/</guid>
			<description>&#60;p&#62;I havent purchased an olimex but it seems that one of one of the olimex guys is usually on here. Maybe a new thread asking for working sample code for the board might do it.
&#60;/p&#62;</description>
		</item>
		<item>
			<title>gargantua on "STM32F3 Discovery - another cheap, interesting, ST development board"</title>
			<link>http://forums.leaflabs.com/topic.php?id=8712&amp;page=2#post-21710</link>
			<pubDate>Tue, 18 Dec 2012 05:29:17 +0000</pubDate>
			<dc:creator>gargantua</dc:creator>
			<guid isPermaLink="false">21710@http://forums.leaflabs.com/</guid>
			<description>&#60;p&#62;Hello Feurig !&#60;/p&#62;
&#60;p&#62;thanks for your intervention. The last steps are not ok unfortunatly. The code doesn't work.&#60;/p&#62;
&#60;p&#62;I guess I haven't the right mapping for my board.  Compilation options are OK but not code constants&#60;/p&#62;
&#60;p&#62;What I would like is to have a code (just a small one) that works, that have been tested and approved for the Olimex STM32 Rev D. Do you know if this kind of jewel exist ?&#60;/p&#62;
&#60;p&#62;Have a nice day and thank you.&#60;br /&#62;
JNP
&#60;/p&#62;</description>
		</item>
		<item>
			<title>feurig on "STM32F3 Discovery - another cheap, interesting, ST development board"</title>
			<link>http://forums.leaflabs.com/topic.php?id=8712&amp;page=2#post-21706</link>
			<pubDate>Mon, 17 Dec 2012 23:17:00 +0000</pubDate>
			<dc:creator>feurig</dc:creator>
			<guid isPermaLink="false">21706@http://forums.leaflabs.com/</guid>
			<description>&#60;p&#62;Nope. You look like you successfully loaded code. If your code works, and is appropriate for your board, then that is it. You might want to make flash if you are in doubt.
&#60;/p&#62;</description>
		</item>
		<item>
			<title>gargantua on "STM32F3 Discovery - another cheap, interesting, ST development board"</title>
			<link>http://forums.leaflabs.com/topic.php?id=8712&amp;page=2#post-21704</link>
			<pubDate>Mon, 17 Dec 2012 17:47:00 +0000</pubDate>
			<dc:creator>gargantua</dc:creator>
			<guid isPermaLink="false">21704@http://forums.leaflabs.com/</guid>
			<description>&#60;p&#62;Hello !&#60;/p&#62;
&#60;p&#62;I've found this thread the closest from my own case.&#60;br /&#62;
I'm using not a Maple device but an Olimex STM32 based on ST Micro STM32F103RBT6&#60;/p&#62;
&#60;p&#62;First I want to express my pain !  How difficult it is to find an environment !&#60;br /&#62;
Fortunatly Maple appears to be the one not to miss. So it's installed. Everything runs.&#60;/p&#62;
&#60;p&#62;I've followed carefully the instructions from &#60;a href=&#34;http://leaflabs.com/docs/unix-toolchain.html#linux&#34; rel=&#34;nofollow&#34;&#62;http://leaflabs.com/docs/unix-toolchain.html#linux&#60;/a&#62;&#60;br /&#62;
Everything has compiled gently as if (rare case) makefile are perfect and code clean (no W)&#60;br /&#62;
So finally I tried to execute on the target... little problem begins...&#60;/p&#62;
&#60;p&#62;I use a mini-USB cable.&#60;br /&#62;
After having set the env var BOARD to olimex_stm32_h103 an run &#34;make ram&#34; and then &#34;make install&#34; nothing seems to have really started (main.cpp was modified to have an unregular blinking 100 / 300) But it's like if no execution started after the upload.&#60;/p&#62;
&#60;p&#62;The ending line of the compilation output was :&#60;br /&#62;
&#38;gt;  14048	   2664	    648	  17360	   43d0	build/olimex_stm32_h103.elf&#60;br /&#62;
The uplaod was very fast (less than 1 sec) and end by the lines :&#60;br /&#62;
&#38;gt; Starting download: [##################################################] finished!&#60;br /&#62;
&#38;gt; tate(8) = dfuMANIFEST-WAIT-RESET, status(0) = No error condition is present&#60;br /&#62;
&#38;gt; Done!&#60;br /&#62;
&#38;gt; Resetting USB to switch back to runtime mode&#60;/p&#62;
&#60;p&#62;DO I HAVE TO DO ANYTHING TO MAKE THE EXECUTION START AFTER THE UPLOAD ?&#60;br /&#62;
IS THE CODE WRITTEN AT THE RIGHT PLACE IN MEMORY TO RUN REALLY FOR THIS BOARD (I GUESS YES)&#60;/p&#62;
&#60;p&#62;I will make other attempts tomorrow...&#60;br /&#62;
Thanks for any help
&#60;/p&#62;</description>
		</item>
		<item>
			<title>gbulmer on "STM32F3 Discovery - another cheap, interesting, ST development board"</title>
			<link>http://forums.leaflabs.com/topic.php?id=8712&amp;page=2#post-21459</link>
			<pubDate>Tue, 04 Dec 2012 18:16:11 +0000</pubDate>
			<dc:creator>gbulmer</dc:creator>
			<guid isPermaLink="false">21459@http://forums.leaflabs.com/</guid>
			<description>&#60;p&#62;Mubase - I am confused.&#60;/p&#62;
&#60;p&#62;You say &#60;em&#62;&#34;Yes, I have Atollic, KeilMDK and Coocox on my system and can build and debug programs to my board.&#34;&#60;/em&#62;&#60;br /&#62;
You also say &#60;em&#62;&#34;what steps would I need to take to be able to write and compile programs from Coocox or another 3rd party...? In other words, what files would I need to include in the project folder for it to compile properly&#34;&#60;/em&#62;&#60;/p&#62;
&#60;p&#62;If you can compile and load programs into your board using &#34;Atollic, KeilMDK and Coocox&#34;, then aren't you done? IMHO, it would take more effort to modify the Maple IDE file system than just use what already works. &#60;/p&#62;
&#60;p&#62;The main thing that Maple IDE gives, which isn't part of those other IDE's, is the pre-processor. The pre-processor scans source code and removes the need to &#60;code&#62;#include &#38;lt;header.h&#38;gt;&#60;/code&#62; or declare a function before it is used. You could just declare functions before they are used, and #include headers, and use an ordinary compiler.&#60;/p&#62;
&#60;p&#62;gcc or g++ will take a bunch of source code files, libraries and a link script and build a .elf&#60;br /&#62;
Those IDEs can do that too. The dumb/simple approach is to put every source file into a project, including the STM32F4 libmaple source. Then compile the lot. It should only take a couple of minutes, and the IDE will keep the object files and not recompile if not needed. As you already have three IDEs working, this should be straightforward for you.&#60;/p&#62;
&#60;p&#62;Would you take your questions into a separate thread as it isn't actually about this topic? Maybe a title like 'Help needed to use STM32F4 with libmaple or Maple IDE' or whatever it is you actually need.
&#60;/p&#62;</description>
		</item>
		<item>
			<title>Mubase on "STM32F3 Discovery - another cheap, interesting, ST development board"</title>
			<link>http://forums.leaflabs.com/topic.php?id=8712&amp;page=2#post-21457</link>
			<pubDate>Tue, 04 Dec 2012 16:05:20 +0000</pubDate>
			<dc:creator>Mubase</dc:creator>
			<guid isPermaLink="false">21457@http://forums.leaflabs.com/</guid>
			<description>&#60;p&#62;Hi G. Thanks for the reply!&#60;/p&#62;
&#60;p&#62;in answer to you questions: &#60;/p&#62;
&#60;p&#62;&#34;How much experience have you at building embedded software?&#34;&#60;br /&#62;
I have most experience in Arduino programming (hence the interest in MapleIDE) and have built devices based around MIDI, MIDI to CV and wireless projects using the NRF24l01+ 2.4GHz transciever boards. Also experience of 3.2&#34; TFT screens.&#60;br /&#62;
I have some experience of programming 8 bit AVR uC's in C and assembler ( and am still learning..) I have experience in using freescale demojm boards using Rich Testardi's Stickos:&#60;br /&#62;
&#60;a href=&#34;http://www.cpustick.com/&#34; rel=&#34;nofollow&#34;&#62;http://www.cpustick.com/&#60;/a&#62; This is brilliant. If it was ported to the STM32f4 discovery I would be in heaven..(maybe one day)&#60;br /&#62;
and I am just starting to get a grip on how the STM32s work.&#60;/p&#62;
&#60;p&#62;2. &#34;2. Use command line tools, and the STM32F4 libraries and source code, and use the Maple-like bootloader you've installed with dfu-util&#34;&#60;/p&#62;
&#60;p&#62;I have only used the command tools to build the libmaple.a library. I haven't worked out how to compile &#34;sketches&#34; for the STM32f4 port yet &#38;amp; am having difficulty...I am using Windows XP.&#60;/p&#62;
&#60;p&#62;3.&#34; Use a 3rd party IDE, e.g. Keil/Atollic/CooCox/Rowley Crossworks and use the ST-LINK/V2 built on the board to load programs&#34;&#60;/p&#62;
&#60;p&#62;Yes, I have Atollic, KeilMDK and Coocox on my system and can build and debug programs to my board.&#60;/p&#62;
&#60;p&#62;You say I can rebuild the MAple IDE system for the f4 ?&#60;br /&#62;
I would love to know how that is done...&#60;/p&#62;
&#60;p&#62;if not, what steps would I need to take to be able to write and compile programs from Coocox or another 3rd party...? In other words, what files would I need to include in the project folder for it to compile properly....&#60;br /&#62;
I'm not a total beginner but still have some teething issues... &#60;/p&#62;
&#60;p&#62;Any help seriously appreciated.&#60;br /&#62;
Thanks again,&#60;br /&#62;
Steve ( mubase (as in Coocox mubase!)
&#60;/p&#62;</description>
		</item>
		<item>
			<title>gbulmer on "STM32F3 Discovery - another cheap, interesting, ST development board"</title>
			<link>http://forums.leaflabs.com/topic.php?id=8712&amp;page=2#post-21455</link>
			<pubDate>Tue, 04 Dec 2012 14:14:51 +0000</pubDate>
			<dc:creator>gbulmer</dc:creator>
			<guid isPermaLink="false">21455@http://forums.leaflabs.com/</guid>
			<description>&#60;p&#62;Mubase - What does &#60;em&#62;&#34;what is the bestt set of tools for building a maple program??&#34;&#60;/em&#62; mean? What are you criteria for best?&#60;/p&#62;
&#60;p&#62;How much experience have you at building embedded software?&#60;br /&#62;
What C/C++ command-line development tools have you used?&#60;br /&#62;
Which C/C++ IDE's have you used?&#60;br /&#62;
Do you understand what a C/C++ compiler, assembler, librarian and linker does?&#60;/p&#62;
&#60;p&#62;You have three basic directions, with some options:&#60;br /&#62;
1. Modify the Maple IDE file system, replacing Maple libraries, link script and source code with STM32F4 versions, and use the Maple-like bootloader you've installed with dfu-util&#60;br /&#62;
2. Use command line tools, and the STM32F4 libraries and source code, and use the Maple-like bootloader you've installed with dfu-util&#60;br /&#62;
3. Use a 3rd party IDE, e.g. Keil/Atollic/CooCox/Rowley Crossworks and use the ST-LINK/V2 built on the board to load programs&#60;/p&#62;
&#60;p&#62;All of those can be made to work.&#60;/p&#62;
&#60;p&#62;There is a guide on how to use Unix/Linux/Mac OS X command line tools at &#60;a href=&#34;http://leaflabs.com/docs/unix-toolchain.html&#34; rel=&#34;nofollow&#34;&#62;http://leaflabs.com/docs/unix-toolchain.html&#60;/a&#62;&#60;br /&#62;
There is some advice on putting chibios on it &#60;a href=&#34;http://www.chibios.org/dokuwiki/doku.php?id=chibios:articles:stm32f4_discovery&#34; rel=&#34;nofollow&#34;&#62;http://www.chibios.org/dokuwiki/doku.php?id=chibios:articles:stm32f4_discovery&#60;/a&#62;&#60;br /&#62;
There is some advice on how to use the STM32F4-DISCOVERY board with coocox &#60;a href=&#34;http://www.coocox.org/forum/topic.php?id=2319&#34; rel=&#34;nofollow&#34;&#62;http://www.coocox.org/forum/topic.php?id=2319&#60;/a&#62;&#60;br /&#62;
(That was to a person called Mubase too.)&#60;/p&#62;
&#60;p&#62;You could get a free license for Keil for limited-size programs, I know this worked for someone who understands MCU's, but had never used C/C++. You could get a free limited time license from Rowley Crossworks. I have used that on an STM32F4-Discovery. They both have manuals, and documentation, but are still not trivial to get working.&#60;/p&#62;
&#60;p&#62;You may get much more advice on using an STM32F4-Discovery at ST Micro's STM32 Discovery forums.
&#60;/p&#62;</description>
		</item>
		<item>
			<title>Mubase on "STM32F3 Discovery - another cheap, interesting, ST development board"</title>
			<link>http://forums.leaflabs.com/topic.php?id=8712#post-21452</link>
			<pubDate>Tue, 04 Dec 2012 10:53:43 +0000</pubDate>
			<dc:creator>Mubase</dc:creator>
			<guid isPermaLink="false">21452@http://forums.leaflabs.com/</guid>
			<description>&#60;p&#62;Hi! I just checked &#60;a href=&#34;http://uk.rs-online.com/web/p/processor-microcontroller-development-kits/7692091/&#34; rel=&#34;nofollow&#34;&#62;http://uk.rs-online.com/web/p/processor-microcontroller-development-kits/7692091/&#60;/a&#62; and it seems they have them in stock.&#60;br /&#62;
I have an STM32f4 discovery and have tried getting libmaple to work on it using the bl.zip git repos code ( as seen elsewhere on this forum.) I think I got it to work but now I have no idea how to go about building .bin files to load onto the board..&#60;br /&#62;
I would so like someone ( ala42?) to give me a step by step guide on writing a simple program in libmaple code, building it and burning it onto the board. I think I know how to burn a bin.. but what is the bestt set of tools for building a maple program??
&#60;/p&#62;</description>
		</item>
		<item>
			<title>gbulmer on "STM32F3 Discovery - another cheap, interesting, ST development board"</title>
			<link>http://forums.leaflabs.com/topic.php?id=8712#post-21388</link>
			<pubDate>Sat, 01 Dec 2012 13:12:54 +0000</pubDate>
			<dc:creator>gbulmer</dc:creator>
			<guid isPermaLink="false">21388@http://forums.leaflabs.com/</guid>
			<description>&#60;p&#62;ala42 - Great! You are very productive. Have a lovely weekend :-)
&#60;/p&#62;</description>
		</item>
		<item>
			<title>ala42 on "STM32F3 Discovery - another cheap, interesting, ST development board"</title>
			<link>http://forums.leaflabs.com/topic.php?id=8712#post-21387</link>
			<pubDate>Sat, 01 Dec 2012 12:51:20 +0000</pubDate>
			<dc:creator>ala42</dc:creator>
			<guid isPermaLink="false">21387@http://forums.leaflabs.com/</guid>
			<description>&#60;p&#62;You are right about the F3 USB device. I gave it a try, enabled the F1 code and added the alternate function setting for A11/A12 to get it working. For the disconnect I pull A12 down, the board already has the 1K5 pullup to 3V.&#60;br /&#62;
To get it running under Win7 64bit I used &#60;a href=&#34;http://pjrc.com/teensy/serial_install.exe&#34; rel=&#34;nofollow&#34;&#62;http://pjrc.com/teensy/serial_install.exe&#60;/a&#62; like posted at &#60;a href=&#34;http://forums.leaflabs.com/topic.php?id=73&#38;amp;page=2#post-11705&#34; rel=&#34;nofollow&#34;&#62;http://forums.leaflabs.com/topic.php?id=73&#38;amp;page=2#post-11705&#60;/a&#62;&#60;br /&#62;
Thanks for the hint.
&#60;/p&#62;</description>
		</item>
		<item>
			<title>gbulmer on "STM32F3 Discovery - another cheap, interesting, ST development board"</title>
			<link>http://forums.leaflabs.com/topic.php?id=8712#post-21385</link>
			<pubDate>Sat, 01 Dec 2012 11:19:32 +0000</pubDate>
			<dc:creator>gbulmer</dc:creator>
			<guid isPermaLink="false">21385@http://forums.leaflabs.com/</guid>
			<description>&#60;p&#62;ala42 - Interesting. I had been told the STM32F3 had 'mostly' software compatible peripherals to the STM32F103. I had expected the flash might be a bit different (for a 256KB device vs 128KB), but had hoped that could be isolated in the upload.&#60;/p&#62;
&#60;p&#62;I am very willing to believe peripherals are changed except USB.&#60;/p&#62;
&#60;p&#62;But I don't understand why you say the STM32F3 &#60;em&#62;&#34;USB is completely new&#34;&#60;/em&#62; new compared to the STM32F103.&#60;br /&#62;
Are you sure? Maybe my post was unclear, and you meant STM32F3 vs STM32F4 are different?&#60;/p&#62;
&#60;p&#62;I had compared the RM0008 (STM32F103) and RM0316 (STM32F302/303) manuals' register description for the USB peripheral on the STM32F103 (Section 23.5) and the STM32F303 (Section 29.5) (about 14 pages) just by displaying them side by side. They looked pretty much identical. This was the peripheral I wanted updated. So I ASSuMEd the comment was true and the rest were very similar :-(&#60;/p&#62;
&#60;p&#62;Anyway, I have just compared STM32F103 USB and STM32F303 USB again, using &#60;code&#62;diff&#60;/code&#62;. &#60;/p&#62;
&#60;p&#62;The register names, bit names, positions within registers, and documentation for the registers and bits, are pretty much the same between STM32F103 and STM32F303. &#60;/p&#62;
&#60;p&#62;Awkward to exclude differences are line breaks, so I've printed the two up side by side, and the documentation is the same (I'm happy to paste bin this). One also uses the word STM32F10xxx in a few places. Otherwise, all 14 pages for the two processor families USB registers are the same.&#60;/p&#62;
&#60;p&#62;I will go look at the other peripherals. GPIO, Timers and ADC are the most important ones for me. Merging STM32F103 and STM32F4 peripheral code is preferable to writing stuff from scratch.
&#60;/p&#62;</description>
		</item>
		<item>
			<title>K55 on "STM32F3 Discovery - another cheap, interesting, ST development board"</title>
			<link>http://forums.leaflabs.com/topic.php?id=8712#post-21377</link>
			<pubDate>Fri, 30 Nov 2012 21:01:14 +0000</pubDate>
			<dc:creator>K55</dc:creator>
			<guid isPermaLink="false">21377@http://forums.leaflabs.com/</guid>
			<description>&#60;p&#62;Just got one of the sample f3 boards, really looking forwards that new libmaple.&#60;br /&#62;
How much more work do you think you have to do until its basically functional?&#60;br /&#62;
If you get it close to working, could you post it here?&#60;/p&#62;
&#60;p&#62;Thanks.
&#60;/p&#62;</description>
		</item>
		<item>
			<title>ala42 on "STM32F3 Discovery - another cheap, interesting, ST development board"</title>
			<link>http://forums.leaflabs.com/topic.php?id=8712#post-21371</link>
			<pubDate>Fri, 30 Nov 2012 18:57:27 +0000</pubDate>
			<dc:creator>ala42</dc:creator>
			<guid isPermaLink="false">21371@http://forums.leaflabs.com/</guid>
			<description>&#60;p&#62;&#38;gt; Has anyone tried (an unchanged) libmaple and Maple bootloader on an STM32F3?&#60;br /&#62;
That does not work. USB is completely new, GPIO is almost like on the F4, USART is new (different register map, can swap or invert RX/TX now), SPI is slightly different, flash access is different, address map and bus mapping is more like F1. Have not looked at the timers, ADC and interrupt yet.&#60;br /&#62;
I am currently porting my F4 port to the F3, but had no time for it in the last three weeks. Clock setup, GPIO, USART and SPI already work good enough to use the on board sensors now. The compass in the accel/compass chip is obviously a HMC5883L design in and was auto detected by my test software and works out of the box. The gyro seems to be a bit noisy on the first look.
&#60;/p&#62;</description>
		</item>

	</channel>
</rss>
