<?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: Building a Maple Mini from scratch. What  to do with a blank STM32F103CBT6?</title>
		<link>http://forums.leaflabs.com/topic.php?id=1293</link>
		<description>A place to share, learn, and grow...</description>
		<language>en-US</language>
		<pubDate>Fri, 22 Jan 2016 00:16:02 +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=1293" rel="self" type="application/rss+xml" />

		<item>
			<title>siy on "Building a Maple Mini from scratch. What  to do with a blank STM32F103CBT6?"</title>
			<link>http://forums.leaflabs.com/topic.php?id=1293#post-7849</link>
			<pubDate>Mon, 23 Jan 2012 14:20:35 +0000</pubDate>
			<dc:creator>siy</dc:creator>
			<guid isPermaLink="false">7849@http://forums.leaflabs.com/</guid>
			<description>&#60;p&#62;LQFP-48 has 0.5mm pitch just like 64-, 100- and 144-pin LQFP packages. Hand soldering of 48 and 64 pin packages is about the same by the means of complexity if PCB has solder mask. Otherwise 64-pin package is a bit more complex for manual soldering.
&#60;/p&#62;</description>
		</item>
		<item>
			<title>gbulmer on "Building a Maple Mini from scratch. What  to do with a blank STM32F103CBT6?"</title>
			<link>http://forums.leaflabs.com/topic.php?id=1293#post-7848</link>
			<pubDate>Mon, 23 Jan 2012 14:18:29 +0000</pubDate>
			<dc:creator>gbulmer</dc:creator>
			<guid isPermaLink="false">7848@http://forums.leaflabs.com/</guid>
			<description>&#60;p&#62;DDDD -&#60;br /&#62;
&#60;blockquote&#62;The only reason for sticking with the maple mini part is that afaik that package is a little easier to hand solder than the finer pitch of the larger pin count parts.&#60;/p&#62;&#60;/blockquote&#62;
&#60;p&#62;The pitch (e) of LQFP48, LQFP64, LQFP100, and LQFP144 are all the same at 0.5mm, none are finer pitch than others. I agree it is easier to solder fewer pins :-)&#60;/p&#62;
&#60;p&#62;I2S for the codec is available on all 64pin high-density STM32F103 parts, upwards.&#60;/p&#62;
&#60;p&#62;IIRC, LQFP100 parts have restricted memory interfaces, so you might be looking at LQFP144.&#60;/p&#62;
&#60;p&#62;I also do (most of) my development on Mac, and use Eagle.
&#60;/p&#62;</description>
		</item>
		<item>
			<title>DDDD on "Building a Maple Mini from scratch. What  to do with a blank STM32F103CBT6?"</title>
			<link>http://forums.leaflabs.com/topic.php?id=1293#post-7847</link>
			<pubDate>Mon, 23 Jan 2012 13:41:57 +0000</pubDate>
			<dc:creator>DDDD</dc:creator>
			<guid isPermaLink="false">7847@http://forums.leaflabs.com/</guid>
			<description>&#60;p&#62;The only reason for sticking with the maple mini part is that afaik that package is a little easier to hand solder than the finer pitch of the larger pin count parts.&#60;/p&#62;
&#60;p&#62;As I read through the details of the Maple Native more I realised that part of the reason for the addition of the 1mb memory was the fact that there were many more pins available to communicate with the SRAM.&#60;/p&#62;
&#60;p&#62;So it sounds like if I want codecs and memory I really need to stick with the Maple Native format.&#60;/p&#62;
&#60;p&#62;I do all my development on a Mac and I use Eagle for all schematic/pcb capture. I have another thread going on this but it would be nice if the Maple schematics/boards stayed in Eagle format as well. Kicad is only experimental on mac platform unfortunately.
&#60;/p&#62;</description>
		</item>
		<item>
			<title>gbulmer on "Building a Maple Mini from scratch. What  to do with a blank STM32F103CBT6?"</title>
			<link>http://forums.leaflabs.com/topic.php?id=1293#post-7840</link>
			<pubDate>Mon, 23 Jan 2012 08:09:02 +0000</pubDate>
			<dc:creator>gbulmer</dc:creator>
			<guid isPermaLink="false">7840@http://forums.leaflabs.com/</guid>
			<description>&#60;p&#62;DDDD - must it be the 48pin part, the same as on a Maple mini? &#60;/p&#62;
&#60;p&#62;That 48pin part does not have a fast memory interface to RAM, you'd need to use SPI or I2C. They don't have I2S, so it would be more awkward to talk to codec's.&#60;/p&#62;
&#60;p&#62;AFAIK, the smallest part package with an external memory interface is 100pins.&#60;br /&#62;
The smallest part package with I2S is 64pin.&#60;/p&#62;
&#60;p&#62;You might want to consider 64pin parts.&#60;br /&#62;
They don't have external memory interfaces, but the higher family parts have dual DAC's, which might be useful to experiment with.
&#60;/p&#62;</description>
		</item>
		<item>
			<title>DDDD on "Building a Maple Mini from scratch. What  to do with a blank STM32F103CBT6?"</title>
			<link>http://forums.leaflabs.com/topic.php?id=1293#post-7833</link>
			<pubDate>Sun, 22 Jan 2012 20:37:50 +0000</pubDate>
			<dc:creator>DDDD</dc:creator>
			<guid isPermaLink="false">7833@http://forums.leaflabs.com/</guid>
			<description>&#60;p&#62;ok this is great. So now what I would like to do is build a board that basically has a the guts of a mini, 1mb of ram (like the Native) and WM8731 codec (like the audiocodecshield).&#60;/p&#62;
&#60;p&#62;This would be a very useful platform for me to do some dsp audio experiments.
&#60;/p&#62;</description>
		</item>
		<item>
			<title>gbulmer on "Building a Maple Mini from scratch. What  to do with a blank STM32F103CBT6?"</title>
			<link>http://forums.leaflabs.com/topic.php?id=1293#post-7811</link>
			<pubDate>Fri, 20 Jan 2012 11:17:52 +0000</pubDate>
			<dc:creator>gbulmer</dc:creator>
			<guid isPermaLink="false">7811@http://forums.leaflabs.com/</guid>
			<description>&#60;p&#62;To be pedantic, the STM32's have a manufactured-in bootloader program which can load from one or more (depending on the STM32 family) peripheral interfaces.&#60;/p&#62;
&#60;p&#62;AFAIK all STM32 bootloaders will load from a USART, and some will load over USB, CAN, Ethernet and even wireless (802.15.4).&#60;/p&#62;
&#60;p&#62;I use an FTDI USB to 3.3V TTL serial cable and the Python program to upload from a Mac to the manufactured in STM32F103 bootloader. I had to upgrade the version of Python than comes pre-installed with Mac OS X, but then it worked fine.&#60;/p&#62;
&#60;p&#62;If you are happy working this way, you don't need to put any other bootloader on the STM32F. Just upload your application.&#60;/p&#62;
&#60;p&#62;Another possibility is In-Circuit Programming over JTAG or Serial Wire Debug (SWD), using ST Micro's STLINK/V2:&#60;br /&#62;
&#60;a href=&#34;http://www.st.com/internet/evalboard/product/251168.jsp&#34; rel=&#34;nofollow&#34;&#62;http://www.st.com/internet/evalboard/product/251168.jsp&#60;/a&#62;&#60;br /&#62;
Again this doesn't require any software to be uploaded except your application.&#60;/p&#62;
&#60;p&#62;This is about $25, and not only supports upload, it also supports 'proper' hardware debug, giving breakpoints, single stepping programs, inspecting registers, changing flash memory, etc.&#60;/p&#62;
&#60;p&#62;ST put a version version of STLINK/V2 on their STM32F4-DISCOVERY development board:&#60;br /&#62;
&#60;a href=&#34;http://www.st.com/internet/evalboard/product/251168.jsp&#34; rel=&#34;nofollow&#34;&#62;http://www.st.com/internet/evalboard/product/251168.jsp&#60;/a&#62;&#60;br /&#62;
which has a STM32F4 MCU, and an STLINK/V2. It is not as convenient to use as an uploader/debugger as the STLINK/V2, but it is even cheaper:&#60;br /&#62;
&#60;a href=&#34;http://www2.mouser.com/ProductDetail/STMicroelectronics/STM32F4DISCOVERY/?qs=J2qbEwLrpCGdWLY96ibNeQ%3d%3d&#34; rel=&#34;nofollow&#34;&#62;http://www2.mouser.com/ProductDetail/STMicroelectronics/STM32F4DISCOVERY/?qs=J2qbEwLrpCGdWLY96ibNeQ%3d%3d&#60;/a&#62;&#60;br /&#62;
at about $18&#60;/p&#62;
&#60;p&#62;To use the STLINK/V2, you'll need some software. ST provide some for free on Windows.&#60;br /&#62;
Lots of development environments support it, and I believe OpenOCD is close to supporting it for hardware debugging.&#60;/p&#62;
&#60;p&#62;I have started experimenting with stlinkv2-util &#60;a href=&#34;http://code.google.com/p/arm-utilities/wiki/STLinkDownload&#34; rel=&#34;nofollow&#34;&#62;http://code.google.com/p/arm-utilities/wiki/STLinkDownload&#60;/a&#62;&#60;br /&#62;
which is Open Source. It is by Becker and his colleagues. It looks like a very, very useful piece of software.
&#60;/p&#62;</description>
		</item>
		<item>
			<title>siy on "Building a Maple Mini from scratch. What  to do with a blank STM32F103CBT6?"</title>
			<link>http://forums.leaflabs.com/topic.php?id=1293#post-7804</link>
			<pubDate>Fri, 20 Jan 2012 03:54:13 +0000</pubDate>
			<dc:creator>siy</dc:creator>
			<guid isPermaLink="false">7804@http://forums.leaflabs.com/</guid>
			<description>&#60;p&#62;STM32F103 controllers have one feature which makes them very convenient for bootstrapping - built-in hardware (i.e. it does not depend on bootloader) serial programmer (and I guess other families have it too). In order to use it you need serial port with TTL signal levels (USB-Serial converters, probably, most convenient for this purpose). Details of flashing bootloader can be found here: &#60;a href=&#34;http://leaflabs.com/docs/bootloader.html&#34; rel=&#34;nofollow&#34;&#62;http://leaflabs.com/docs/bootloader.html&#60;/a&#62;. I'd suggest to try use stm32flash utility (can be found here &#60;a href=&#34;http://code.google.com/p/stm32flash/)&#34; rel=&#34;nofollow&#34;&#62;http://code.google.com/p/stm32flash/)&#60;/a&#62; instead of stm32loader.py since it worked much better for me (just in case: I'm not the author of this utility), but your mileage may vary.
&#60;/p&#62;</description>
		</item>
		<item>
			<title>DDDD on "Building a Maple Mini from scratch. What  to do with a blank STM32F103CBT6?"</title>
			<link>http://forums.leaflabs.com/topic.php?id=1293#post-7803</link>
			<pubDate>Fri, 20 Jan 2012 03:30:51 +0000</pubDate>
			<dc:creator>DDDD</dc:creator>
			<guid isPermaLink="false">7803@http://forums.leaflabs.com/</guid>
			<description>&#60;p&#62;I am coming from the Arduino community where for several projects I built my own custom Arduino pcb (so I could easily duplicate them for things like larger lighting or sound projects). First of all pcbs could be 2 layer (easy to deal with) and I had a choice of DIP or SMT processor. I usually used smt and was comfortable soldering them.&#60;/p&#62;
&#60;p&#62;Once I had a board made and a blank uController IC all I had to do was power it up and then burn the Arduino bootloader using and avrispmkii (which would automatically set the right fuse settings) and then burn any code to it using the avrispmkii as well. &#60;/p&#62;
&#60;p&#62;The STM32F103CBT6 on the Maple mini is not as fine pitch as the Maple Native or other boards and is similar to the arduino. To me this is an attactive IC to work with as a start and would be a good transition.&#60;/p&#62;
&#60;p&#62;What I am not clear on so far is what state is a blank STM32F103CBT6 in? What physical tools do I need to have in order to get it to work with the Maple IDE? JTAG? &#60;/p&#62;
&#60;p&#62;Or if I built a pcb identical to the Maple Mini (used the open source files) would it just &#34;work&#34;?
&#60;/p&#62;</description>
		</item>

	</channel>
</rss>
