<?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 bootloaders are loaded by jtag would usbtiny work?</title>
		<link>http://forums.leaflabs.com/topic.php?id=274</link>
		<description>A place to share, learn, and grow...</description>
		<language>en-US</language>
		<pubDate>Fri, 22 Jan 2016 00:22:19 +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=274" rel="self" type="application/rss+xml" />

		<item>
			<title>mbolivar on "maple bootloaders are loaded by jtag would usbtiny work?"</title>
			<link>http://forums.leaflabs.com/topic.php?id=274#post-2179</link>
			<pubDate>Wed, 03 Nov 2010 17:28:04 +0000</pubDate>
			<dc:creator>mbolivar</dc:creator>
			<guid isPermaLink="false">2179@http://forums.leaflabs.com/</guid>
			<description>&#60;p&#62;gbulmer: you're right, there should be a HOWTO on this.  we're revamping all of our technical documentation right now; the information on this thread will be present in the new version.
&#60;/p&#62;</description>
		</item>
		<item>
			<title>gbulmer on "maple bootloaders are loaded by jtag would usbtiny work?"</title>
			<link>http://forums.leaflabs.com/topic.php?id=274#post-2176</link>
			<pubDate>Wed, 03 Nov 2010 14:23:40 +0000</pubDate>
			<dc:creator>gbulmer</dc:creator>
			<guid isPermaLink="false">2176@http://forums.leaflabs.com/</guid>
			<description>&#60;p&#62;mbolivar - erm, I'm confused too. &#60;/p&#62;
&#60;p&#62;A few weeks ago, we were trying to flash the bootloader (don't ask), and I am certain I found instructions at LeafLabs somewhere. But they were a bit vague over the sequence of events on the reset and BUT buttons. Eventually I read something, maybe an ST application note or RM0008, to disover that the BOOT button is latched several cycles after reset, then we got it to work.&#60;/p&#62;
&#60;p&#62;Summary, the advice in this thread about the buttons would have helped, but now I can't find where on leaLabs.com the instructiuons were that we were using. (Doh!)
&#60;/p&#62;</description>
		</item>
		<item>
			<title>mbolivar on "maple bootloaders are loaded by jtag would usbtiny work?"</title>
			<link>http://forums.leaflabs.com/topic.php?id=274#post-2169</link>
			<pubDate>Wed, 03 Nov 2010 00:25:26 +0000</pubDate>
			<dc:creator>mbolivar</dc:creator>
			<guid isPermaLink="false">2169@http://forums.leaflabs.com/</guid>
			<description>&#60;p&#62;gbulmer -- sorry, confused about which instructions page you're referring to?
&#60;/p&#62;</description>
		</item>
		<item>
			<title>mbolivar on "maple bootloaders are loaded by jtag would usbtiny work?"</title>
			<link>http://forums.leaflabs.com/topic.php?id=274#post-2168</link>
			<pubDate>Wed, 03 Nov 2010 00:21:25 +0000</pubDate>
			<dc:creator>mbolivar</dc:creator>
			<guid isPermaLink="false">2168@http://forums.leaflabs.com/</guid>
			<description>&#60;p&#62;that script is available in a github checkout of maple-bootloader and libmaple:&#60;br /&#62;
&#60;a href=&#34;https://github.com/leaflabs/libmaple&#34; rel=&#34;nofollow&#34;&#62;https://github.com/leaflabs/libmaple&#60;/a&#62;&#60;br /&#62;
&#60;a href=&#34;https://github.com/leaflabs/maple-bootloader&#34; rel=&#34;nofollow&#34;&#62;https://github.com/leaflabs/maple-bootloader&#60;/a&#62;   &#60;/p&#62;
&#60;p&#62;stm32loader.py is python 2; should be compatible with any reasonably recent version (i.e. 2.5+, although it's likely that 2.4 would also work)&#60;/p&#62;
&#60;p&#62;edit: stm32loader.py is in libmaple/support, but you'll need a checkout of maple-bootloader to get a copy of the compiled bootloader (unless you'll be using your own, of course)
&#60;/p&#62;</description>
		</item>
		<item>
			<title>gbulmer on "maple bootloaders are loaded by jtag would usbtiny work?"</title>
			<link>http://forums.leaflabs.com/topic.php?id=274#post-2164</link>
			<pubDate>Tue, 02 Nov 2010 20:29:07 +0000</pubDate>
			<dc:creator>gbulmer</dc:creator>
			<guid isPermaLink="false">2164@http://forums.leaflabs.com/</guid>
			<description>&#60;p&#62;mbolivar - I think the instructions page is less clear about &#60;/p&#62;
&#60;blockquote&#62;&#60;p&#62;3) put maple into serial bootloader mode (press and hold RESET, then BUT, release RESET with BUT still pressed, release BUT).&#60;/p&#62;
&#60;/blockquote&#62;
&#60;p&#62;than these instructions, so it would be worth updating the instructions page. (I had to read the datasheet and/or application notes to figure out that sequence of button presses)&#60;/p&#62;
&#60;p&#62;josheeg - I believe the stm32loader.py recommends a version of python (I think I used 2.7.x, anyway, it is newer than the one that came with Mac OS X, and is not a 3.x)
&#60;/p&#62;</description>
		</item>
		<item>
			<title>josheeg on "maple bootloaders are loaded by jtag would usbtiny work?"</title>
			<link>http://forums.leaflabs.com/topic.php?id=274#post-2157</link>
			<pubDate>Tue, 02 Nov 2010 13:03:49 +0000</pubDate>
			<dc:creator>josheeg</dc:creator>
			<guid isPermaLink="false">2157@http://forums.leaflabs.com/</guid>
			<description>&#60;p&#62;Very interesting so the button on pin 32 is BUT. Does that come with the normal IDE Download or are you talking about a download from the subversion?&#60;/p&#62;
&#60;p&#62;Ok so I should install python 2.x or 3.x I herd 3 is not backward compatible sometimes.&#60;/p&#62;
&#60;p&#62;This is realy useful info is it on the page?
&#60;/p&#62;</description>
		</item>
		<item>
			<title>mbolivar on "maple bootloaders are loaded by jtag would usbtiny work?"</title>
			<link>http://forums.leaflabs.com/topic.php?id=274#post-2154</link>
			<pubDate>Mon, 01 Nov 2010 21:03:19 +0000</pubDate>
			<dc:creator>mbolivar</dc:creator>
			<guid isPermaLink="false">2154@http://forums.leaflabs.com/</guid>
			<description>&#60;p&#62;these are the steps we take to flash a bootloader; hope that's what you're asking for:&#60;/p&#62;
&#60;p&#62;1) run make from within the maple-bootloader directory, producing build/maple-boot.bin&#60;/p&#62;
&#60;p&#62;2) hook up maple usart1 to ftdi breakout board; we use the sparkfun ones.&#60;/p&#62;
&#60;p&#62;3) put maple into serial bootloader mode (press and hold RESET, then BUT, release RESET with BUT still pressed, release BUT).&#60;/p&#62;
&#60;p&#62;4) $ python $LIB_MAPLE_HOME/support/stm32loader.py -evw build/maple-boot.bin -p &#38;lt;path to serial port&#38;gt;&#60;/p&#62;
&#60;p&#62;   Where &#38;lt;path to serial port&#38;gt; gets replaced with the path to the virtual serial port.  you can see stm32loader.py's usage for more information.  if everything worked, you'll see some output and then &#34;VERIFICATION OK.&#34;
&#60;/p&#62;</description>
		</item>
		<item>
			<title>josheeg on "maple bootloaders are loaded by jtag would usbtiny work?"</title>
			<link>http://forums.leaflabs.com/topic.php?id=274#post-2152</link>
			<pubDate>Mon, 01 Nov 2010 20:02:49 +0000</pubDate>
			<dc:creator>josheeg</dc:creator>
			<guid isPermaLink="false">2152@http://forums.leaflabs.com/</guid>
			<description>&#60;p&#62;Oh USART1 the firmware bootloader the maple uses could be loaded that way. So what file is needed to be loaded or the maple IDE has a option like the arduino one?&#60;/p&#62;
&#60;p&#62;I think mu ft2232h module could work as a serial interface I know by default the one I am using works in parrellel 8 bits at a time. &#60;/p&#62;
&#60;p&#62;So I imagine the pc would have to tell it to act as a serial device and talk to USART1 to load the Firmware.&#60;/p&#62;
&#60;p&#62;What would I do if I just was going to use a arduino's ftdi chip circuit hooked on USART1??? where could I find this documentation?
&#60;/p&#62;</description>
		</item>
		<item>
			<title>gbulmer on "maple bootloaders are loaded by jtag would usbtiny work?"</title>
			<link>http://forums.leaflabs.com/topic.php?id=274#post-2148</link>
			<pubDate>Mon, 01 Nov 2010 17:25:14 +0000</pubDate>
			<dc:creator>gbulmer</dc:creator>
			<guid isPermaLink="false">2148@http://forums.leaflabs.com/</guid>
			<description>&#60;p&#62;Firmware can be loaded into STM32F103's using a serial interface to USART1.&#60;br /&#62;
There is a bootloader which loads over USART1 manufactured into STM32F10x.&#60;/p&#62;
&#60;p&#62;So you could use an FTDI chip to create a USB to USART interface; no software to write, it &#34;Just Works&#34; (TM).&#60;/p&#62;
&#60;p&#62;Or, you could use a Maple to talk to the STM32F10x. The Maple acts as a USB to serial interface. I don't know if anyone has written this, but shouldn't be too horrible as most of the pieces of source code exist.&#60;/p&#62;
&#60;p&#62;As tesseract says, a USBtiny is a soft implementation of USB, which may make the timing problematic. Also, I don't think it implement a serial device, which is what the STM32F loaders expect to talk to. So I think you'd have to implement a USB serial device on the USBtiny.&#60;/p&#62;
&#60;p&#62;Many of the lower-cost JTAG programmers are FTDI USB chips, and much of the work is done by 'bit banging' the FTDI chip to 'wiggle' it's pins to generate JTAG signals.&#60;/p&#62;
&#60;p&#62;I believe the dual USB FTDI module you have may work.
&#60;/p&#62;</description>
		</item>
		<item>
			<title>tesseract on "maple bootloaders are loaded by jtag would usbtiny work?"</title>
			<link>http://forums.leaflabs.com/topic.php?id=274#post-2139</link>
			<pubDate>Mon, 01 Nov 2010 11:36:59 +0000</pubDate>
			<dc:creator>tesseract</dc:creator>
			<guid isPermaLink="false">2139@http://forums.leaflabs.com/</guid>
			<description>&#60;p&#62;The only usbtiny that I know of is a SPI programmer for AVRs, not a JTAG adapter, and would not work with a maple. If the usbtiny happens to have enough I/O lines it might be possible to write new firmware to use it as a JTAG adapter, but because of its software USB implementation it might be slower than a JTAG adapter with a real USB interface.
&#60;/p&#62;</description>
		</item>
		<item>
			<title>josheeg on "maple bootloaders are loaded by jtag would usbtiny work?"</title>
			<link>http://forums.leaflabs.com/topic.php?id=274#post-2138</link>
			<pubDate>Mon, 01 Nov 2010 11:07:31 +0000</pubDate>
			<dc:creator>josheeg</dc:creator>
			<guid isPermaLink="false">2138@http://forums.leaflabs.com/</guid>
			<description>&#60;p&#62;maple bootloaders are loaded by jtag would usbtiny work?&#60;br /&#62;
I was wondering how the initial firmware was loaded into a maple?&#60;br /&#62;
I see people are looking into in circuit debugging using a jtag in circuit debugger.
&#60;/p&#62;</description>
		</item>

	</channel>
</rss>
