<?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: Board not booting after bootloader flash (STM32)</title>
		<link>http://forums.leaflabs.com/topic.php?id=10171</link>
		<description>A place to share, learn, and grow...</description>
		<language>en-US</language>
		<pubDate>Fri, 22 Jan 2016 00:26: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=10171" rel="self" type="application/rss+xml" />

		<item>
			<title>gbulmer on "Board not booting after bootloader flash (STM32)"</title>
			<link>http://forums.leaflabs.com/topic.php?id=10171#post-22129</link>
			<pubDate>Sun, 27 Jan 2013 13:43:26 +0000</pubDate>
			<dc:creator>gbulmer</dc:creator>
			<guid isPermaLink="false">22129@http://forums.leaflabs.com/</guid>
			<description>&#60;p&#62;iamtr3s - Welcome! Would you please read the posting guidelines &#60;a href=&#34;http://forums.leaflabs.com/topic.php?id=994&#34; rel=&#34;nofollow&#34;&#62;http://forums.leaflabs.com/topic.php?id=994&#60;/a&#62;&#60;br /&#62;
Would you please confirm which bootloader you are using? There are several, so this may be an easy explanation for the problem.&#60;/p&#62;
&#60;p&#62;Also, would you tell us the version of the IDE, Windows, etc?&#60;br /&#62;
Can you confirm that you can't put the board into perpetual bootloader mode? &#60;a href=&#34;http://leaflabs.com/docs/troubleshooting.html#perpetual-bootloader-mode&#34; rel=&#34;nofollow&#34;&#62;http://leaflabs.com/docs/troubleshooting.html#perpetual-bootloader-mode&#60;/a&#62;&#60;/p&#62;
&#60;p&#62;Did you prototype all of your circuit using a Maple mini?&#60;br /&#62;
Did you make a Maple mini using your own PCB layout to ensure that part works?&#60;br /&#62;
Did you partly build the micromouse PCB, using the bare minimum of a Maple mini and test that to ensure it works?&#60;br /&#62;
What other tests did you do, and what were the results of those tests?&#60;br /&#62;
Do you have test points to get at signals on the board? Do you have an oscilloscope?&#60;/p&#62;
&#60;p&#62;Your circuit is relatively complex, and so there is a possibility that some parts of it aren't functioning correctly, causing problems.&#60;br /&#62;
So, I'd recommend you write some programs to test subsets of the hardware. One of the first thing to test would be blinking the onboard LED. If that works, you can use it as an indicator for other tests. Have you already done this?&#60;/p&#62;
&#60;p&#62;I assume you have enough knowledge to write embedded C programs.&#60;/p&#62;
&#60;p&#62;You could try uploading test programs, without using the USB bootloader. Unfortunately, libmaple does some quite complex things 'under the covers'. Also, IIRC ordinary Maple programs assume the bootloader has set things up (I'd need to double check this, but I feel 95% sure). So these complications may make the defect hard to find using Maple programs (sketches). Hence you may usefully scan through the initialisation for libmaple, and maybe the bootloader, to simplify it. &#60;/p&#62;
&#60;p&#62;You might also examine an ordinary STM32 test program, for example at&#60;br /&#62;
&#60;a href=&#34;http://www.st.com/stonline/stappl/resourceSelector/app?page=resourceSelector&#38;amp;doctype=FIRMWARE&#38;amp;SubClassID=1169&#34; rel=&#34;nofollow&#34;&#62;http://www.st.com/stonline/stappl/resourceSelector/app?page=resourceSelector&#38;amp;doctype=FIRMWARE&#38;amp;SubClassID=1169&#60;/a&#62;&#60;br /&#62;
you will find&#60;br /&#62;
&#60;a href=&#34;http://www.st.com/internet/com/SOFTWARE_RESOURCES/SW_COMPONENT/FIRMWARE/stm32f10x_stdperiph_lib.zip&#34; rel=&#34;nofollow&#34;&#62;http://www.st.com/internet/com/SOFTWARE_RESOURCES/SW_COMPONENT/FIRMWARE/stm32f10x_stdperiph_lib.zip&#60;/a&#62;&#60;br /&#62;
which has some programs designed for a 'raw' stm32f. Use the GPIO test to exercise different parts of your circuit.
&#60;/p&#62;</description>
		</item>
		<item>
			<title>iamtr3s on "Board not booting after bootloader flash (STM32)"</title>
			<link>http://forums.leaflabs.com/topic.php?id=10171#post-22127</link>
			<pubDate>Sun, 27 Jan 2013 09:47:10 +0000</pubDate>
			<dc:creator>iamtr3s</dc:creator>
			<guid isPermaLink="false">22127@http://forums.leaflabs.com/</guid>
			<description>&#60;p&#62;Hello guys!&#60;/p&#62;
&#60;p&#62;I'm new around here, but spent the last couple of months reading this forum!&#60;/p&#62;
&#60;p&#62;I'm working on a micromouse and i am using the STM32F103 as a microprocessor. I found the Maple mini and it seemed to be a great starting devboard for this project :) .&#60;br /&#62;
I gathered as much information as i can and finally made my microumouse's board.&#60;br /&#62;
It is identical to Maple Mini in terms of conections, it has the same USB DISC circuit, the same LED pin, etc.&#60;/p&#62;
&#60;p&#62;Here's my circuit:&#60;/p&#62;
&#60;p&#62;&#60;a href=&#34;http://i240.photobucket.com/albums/ff159/super-mascarada/uMouse/vertigoschematic.png&#34; rel=&#34;nofollow&#34;&#62;http://i240.photobucket.com/albums/ff159/super-mascarada/uMouse/vertigoschematic.png&#60;/a&#62;&#60;/p&#62;
&#60;p&#62;The Problem:&#60;/p&#62;
&#60;p&#62;Right now i've been able to flash the bootloader without problems, already used 3 different tools to do it and all of them were sucessfull! Connect the FTDI board to RX, TX, 3v3 and GND and tied BOOT1 to GND, exactly as it would be done with Maple Mini.&#60;br /&#62;
The problem is that after reset (and connecting the board's usb) nothing happens! :( The status led doesn't blink, Windows doesn't detect any DFU or device whatsoever :S&#60;/p&#62;
&#60;p&#62;Do you have any idea about what could be happening? The fact that i can flash the bootlader, read and write the STM32 via FTDI sucessfully assures me that the microcontroller and supply circuit, are all working as they should. &#60;/p&#62;
&#60;p&#62;Thank you all in advance ;)
&#60;/p&#62;</description>
		</item>

	</channel>
</rss>
