<?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: ET-STM32 STAMP with MAPLE IDE</title>
		<link>http://forums.leaflabs.com/topic.php?id=2643</link>
		<description>A place to share, learn, and grow...</description>
		<language>en-US</language>
		<pubDate>Fri, 22 Jan 2016 00:06:03 +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=2643" rel="self" type="application/rss+xml" />

		<item>
			<title>xchg.ca on "ET-STM32 STAMP with MAPLE IDE"</title>
			<link>http://forums.leaflabs.com/topic.php?id=2643&amp;page=2#post-22194</link>
			<pubDate>Fri, 01 Feb 2013 00:10:31 +0000</pubDate>
			<dc:creator>xchg.ca</dc:creator>
			<guid isPermaLink="false">22194@http://forums.leaflabs.com/</guid>
			<description>&#60;p&#62;Interesting..... I was hitting reset button vigorously for 10 minutes... and you know what? suddenly Maple R3 appeared (COM port via USB) and uploaded FADE Sketch program start running&#60;br /&#62;
After I reset could get it anymore....&#60;br /&#62;
WTF?
&#60;/p&#62;</description>
		</item>
		<item>
			<title>xchg.ca on "ET-STM32 STAMP with MAPLE IDE"</title>
			<link>http://forums.leaflabs.com/topic.php?id=2643&amp;page=2#post-22193</link>
			<pubDate>Thu, 31 Jan 2013 23:28:48 +0000</pubDate>
			<dc:creator>xchg.ca</dc:creator>
			<guid isPermaLink="false">22193@http://forums.leaflabs.com/</guid>
			<description>&#60;blockquote&#62;&#60;p&#62;If you see 1KB of 0xff, then 1KB of your program, the 1KB of 0xff, you flashed a bootloader for a low density device, but need one for a high density device, which the RET6 is. They differ in the size of the flash pages (1k/2k)....&#60;/p&#62;&#60;/blockquote&#62;
&#60;p&#62;I'm afraid I didn't catch what you mean... :(&#60;br /&#62;
I've uploaded maple_RET6_boot.bin downloaded from here. selected High density device 512K, flashed at 0x08000000.
&#60;/p&#62;</description>
		</item>
		<item>
			<title>ala42 on "ET-STM32 STAMP with MAPLE IDE"</title>
			<link>http://forums.leaflabs.com/topic.php?id=2643&amp;page=2#post-22173</link>
			<pubDate>Wed, 30 Jan 2013 18:20:39 +0000</pubDate>
			<dc:creator>ala42</dc:creator>
			<guid isPermaLink="false">22173@http://forums.leaflabs.com/</guid>
			<description>&#60;p&#62;If you are able to flash the boot loader over the serial port using the built in bootloader you are also able to use the serial port to read back the program you think you have flashed to 0x08005000 using USB. Just check if it is there.&#60;br /&#62;
If you see 1KB of 0xff, then 1KB of your program, the 1KB of 0xff, you flashed a bootloader for a low density device, but need one for a high density device, which the RET6 is. They differ in the size of the flash pages (1k/2k)&#60;br /&#62;
If you do not see it, flash it using the built in bootloader/serial port or install a proper boot loader.
&#60;/p&#62;</description>
		</item>
		<item>
			<title>xchg.ca on "ET-STM32 STAMP with MAPLE IDE"</title>
			<link>http://forums.leaflabs.com/topic.php?id=2643&amp;page=2#post-22170</link>
			<pubDate>Wed, 30 Jan 2013 15:47:19 +0000</pubDate>
			<dc:creator>xchg.ca</dc:creator>
			<guid isPermaLink="false">22170@http://forums.leaflabs.com/</guid>
			<description>&#60;p&#62;Is my ET-STM32 is in perpetual bootloader mode ?&#60;br /&#62;
When I hit reset it blinks quickly 6 times, then keeps blinking with period of about 500ms. I can upload programs but looks like programs don't start. I've tried to upload in Flash mem or in RAM same effect. Hm. Plase advise.
&#60;/p&#62;</description>
		</item>
		<item>
			<title>xchg.ca on "ET-STM32 STAMP with MAPLE IDE"</title>
			<link>http://forums.leaflabs.com/topic.php?id=2643&amp;page=2#post-22165</link>
			<pubDate>Tue, 29 Jan 2013 20:55:07 +0000</pubDate>
			<dc:creator>xchg.ca</dc:creator>
			<guid isPermaLink="false">22165@http://forums.leaflabs.com/</guid>
			<description>&#60;p&#62;Scratch all my success.... I fooled myself :(&#60;/p&#62;
&#60;p&#62;I didnt get anything from ET Stamp. LED on PA5 keeps blinking no matter what I load into it! WTF?&#60;/p&#62;
&#60;p&#62;Here is my MapleIDE log:&#60;br /&#62;
Binary sketch size is reported above. Check it against a 61000 byte maximum.&#60;br /&#62;
Loading via dfu-util&#60;br /&#62;
Resetting to bootloader via DTR pulse&#60;br /&#62;
Searching for DFU device [1EAF:0003]...&#60;br /&#62;
Found it!&#60;/p&#62;
&#60;p&#62;Opening USB Device 0x1eaf:0x0003...&#60;br /&#62;
Found Runtime: [0x1eaf:0x0003] devnum=1, cfg=0, intf=0, alt=1, name=&#34;DFU Program FLASH 0x08005000&#34;&#60;br /&#62;
Setting Configuration 1...&#60;br /&#62;
Claiming USB DFU Interface...&#60;br /&#62;
Setting Alternate Setting ...&#60;br /&#62;
Determining device status: state = dfuIDLE, status = 0&#60;br /&#62;
dfuIDLE, continuing&#60;br /&#62;
Transfer Size = 0x0800&#60;br /&#62;
bytes_per_hash=274&#60;br /&#62;
Starting download: [##################################################] finished!&#60;br /&#62;
error resetting after download: libusb0-dll:err [reset] could not reset device, win error: The system cannot find the file specified.&#60;br /&#62;
state(8) = dfuMANIFEST-WAIT-RESET, status(0) = No error condition is present&#60;/p&#62;
&#60;p&#62;Done!&#60;/p&#62;
&#60;p&#62;Resetting USB to switch back to runtime mode&#60;/p&#62;
&#60;p&#62;Is there anything wrong here? Any idea why stuff I upload start?
&#60;/p&#62;</description>
		</item>
		<item>
			<title>ala42 on "ET-STM32 STAMP with MAPLE IDE"</title>
			<link>http://forums.leaflabs.com/topic.php?id=2643&amp;page=2#post-22162</link>
			<pubDate>Tue, 29 Jan 2013 18:30:30 +0000</pubDate>
			<dc:creator>ala42</dc:creator>
			<guid isPermaLink="false">22162@http://forums.leaflabs.com/</guid>
			<description>&#60;p&#62;The DISC pin asserts a USB disconnect by pulling the DP+ line low for a while. When it is up again, Windows searches for new devices on this USB port. If your board has a separate power supply, you could also unplug the USB cable, wait a second and replug it to have the same effect.&#60;br /&#62;
When no USB cable is plugged in (well, also when it is plugged in), the DP+ line must be high, pulled up by a 1.5k resistor. If it is low, no USB host will scan the bus for new devices. You can easily check that with a DMM.
&#60;/p&#62;</description>
		</item>
		<item>
			<title>xchg.ca on "ET-STM32 STAMP with MAPLE IDE"</title>
			<link>http://forums.leaflabs.com/topic.php?id=2643&amp;page=2#post-22160</link>
			<pubDate>Tue, 29 Jan 2013 17:07:15 +0000</pubDate>
			<dc:creator>xchg.ca</dc:creator>
			<guid isPermaLink="false">22160@http://forums.leaflabs.com/</guid>
			<description>&#60;p&#62;I'm using Windows7, looks like I don't have ability to use SerialUSB it goes nowhere when I'm truing to print... hm&#60;br /&#62;
May be my little schematic doesn't work properly? Does it used DISC pin to switch from USB DFU-&#38;gt;USB CDC ?
&#60;/p&#62;</description>
		</item>
		<item>
			<title>gbulmer on "ET-STM32 STAMP with MAPLE IDE"</title>
			<link>http://forums.leaflabs.com/topic.php?id=2643&amp;page=2#post-22146</link>
			<pubDate>Mon, 28 Jan 2013 11:28:20 +0000</pubDate>
			<dc:creator>gbulmer</dc:creator>
			<guid isPermaLink="false">22146@http://forums.leaflabs.com/</guid>
			<description>&#60;p&#62;xchg.ca - Well done for getting it working!&#60;/p&#62;
&#60;p&#62;&#60;em&#62;&#34;it never asked me to install Serial driver for USB.... hm, but I was able to upload stuff to the board successfully, any ideas why it doesn't switch to SERIAL ?&#34;&#60;/em&#62;&#60;/p&#62;
&#60;p&#62;When the Maple bootloader is uploading, it is a USB DFU device, so it doesn't need a serial driver to upload. What Operating System are you using? It may be that the Maples USB CDC serial is good enough to use the default driver; or you installed the driver ages ago?
&#60;/p&#62;</description>
		</item>
		<item>
			<title>xchg.ca on "ET-STM32 STAMP with MAPLE IDE"</title>
			<link>http://forums.leaflabs.com/topic.php?id=2643&amp;page=2#post-22138</link>
			<pubDate>Mon, 28 Jan 2013 02:24:55 +0000</pubDate>
			<dc:creator>xchg.ca</dc:creator>
			<guid isPermaLink="false">22138@http://forums.leaflabs.com/</guid>
			<description>&#60;p&#62;Hurray! I have some great progress :)&#60;/p&#62;
&#60;p&#62;Here is the proof, crappy video I know but It works, will upload something better later!&#60;br /&#62;
&#60;a href=&#34;https://www.youtube.com/watch?v=mjpgZRwKFWQ&#34; rel=&#34;nofollow&#34;&#62;https://www.youtube.com/watch?v=mjpgZRwKFWQ&#60;/a&#62;&#60;/p&#62;
&#60;p&#62;One this though, it never asked me to install Serial driver for USB.... hm, but I was able to upload stuff to the board successfully, any ideas why it doesn't switch to SERIAL ?
&#60;/p&#62;</description>
		</item>
		<item>
			<title>xchg.ca on "ET-STM32 STAMP with MAPLE IDE"</title>
			<link>http://forums.leaflabs.com/topic.php?id=2643&amp;page=2#post-22126</link>
			<pubDate>Sat, 26 Jan 2013 22:53:01 +0000</pubDate>
			<dc:creator>xchg.ca</dc:creator>
			<guid isPermaLink="false">22126@http://forums.leaflabs.com/</guid>
			<description>&#60;p&#62;Thank you gbulmer, that look interesting but SMD is not practical on bread board / prototype board - too tiny :) So I will make it like in original Maple schematic on prototype board and test :)
&#60;/p&#62;</description>
		</item>
		<item>
			<title>gbulmer on "ET-STM32 STAMP with MAPLE IDE"</title>
			<link>http://forums.leaflabs.com/topic.php?id=2643&amp;page=2#post-22124</link>
			<pubDate>Sat, 26 Jan 2013 16:24:22 +0000</pubDate>
			<dc:creator>gbulmer</dc:creator>
			<guid isPermaLink="false">22124@http://forums.leaflabs.com/</guid>
			<description>&#60;p&#62;xchg.ca - &#60;em&#62;&#34;What is PC11, which is USB_P ? USB Power? 3.3V ?&#34;&#60;/em&#62;&#60;/p&#62;
&#60;p&#62;There is some more discussion at: &#60;a href=&#34;http://forums.leaflabs.com/topic.php?id=1484&#34; rel=&#34;nofollow&#34;&#62;http://forums.leaflabs.com/topic.php?id=1484&#60;/a&#62;&#60;/p&#62;
&#60;p&#62;IIRC it can be used to detect that USB power is available, but AFAIK it isn't used in the bootloader.&#60;/p&#62;
&#60;p&#62;Q2 and Q3 are just generic SOT-23 NPN transistors.&#60;br /&#62;
Siy has designed a neater solution with fewer components, and also provides ESD protection at &#60;a href=&#34;https://github.com/siy/openstm32hw&#34; rel=&#34;nofollow&#34;&#62;https://github.com/siy/openstm32hw&#60;/a&#62;&#60;br /&#62;
but this requires SMD components.
&#60;/p&#62;</description>
		</item>
		<item>
			<title>xchg.ca on "ET-STM32 STAMP with MAPLE IDE"</title>
			<link>http://forums.leaflabs.com/topic.php?id=2643#post-22123</link>
			<pubDate>Sat, 26 Jan 2013 15:05:42 +0000</pubDate>
			<dc:creator>xchg.ca</dc:creator>
			<guid isPermaLink="false">22123@http://forums.leaflabs.com/</guid>
			<description>&#60;p&#62;Thank you you gbulmer fur such detailed explanation! I got it, So USB disc is pin PC12....&#60;br /&#62;
Alright, I was thinking just connect USB, not to touch USB_DISC schematic, but looks like I need it, unless I will use it only one default mode.&#60;/p&#62;
&#60;p&#62;What is PC11, which is USB_P ? USB Power? 3.3V ?&#60;/p&#62;
&#60;p&#62;BTW, by any chance do you know exactly are Q2 and Q3 ?&#60;/p&#62;
&#60;p&#62;Thanx alot!
&#60;/p&#62;</description>
		</item>
		<item>
			<title>gbulmer on "ET-STM32 STAMP with MAPLE IDE"</title>
			<link>http://forums.leaflabs.com/topic.php?id=2643#post-22118</link>
			<pubDate>Sat, 26 Jan 2013 08:11:52 +0000</pubDate>
			<dc:creator>gbulmer</dc:creator>
			<guid isPermaLink="false">22118@http://forums.leaflabs.com/</guid>
			<description>&#60;p&#62;xchg.ca - &#60;em&#62;&#34;I was wonering what is that USB_DISC...?&#34;&#60;/em&#62;&#60;/p&#62;
&#60;p&#62;It is responsible for two pieces of USB behaviour.&#60;/p&#62;
&#60;p&#62;1. USB 1.1 interfaces can communicate at two different speeds, 1.2Mbits and 12Mbits. The USB device interface needs to be able to signal to the host what speed it is running at before the host and the device can communicate. That signalling is done for low-speed and full-speed by the USB device to pulling-up one of the two USB data lines to about 3.3V using a 1.5K resistor. The Maple signals its 12Mbits by pulling USBDP (USBD+) high, that circuit (R7, Q2, Q3 and some other resistors) is driven by the DISC pin.&#60;br /&#62;
Also see &#60;a href=&#34;http://forums.leaflabs.com/topic.php?id=25#post-104&#34; rel=&#34;nofollow&#34;&#62;http://forums.leaflabs.com/topic.php?id=25#post-104&#60;/a&#62;&#60;/p&#62;
&#60;p&#62;A USB device can trigger the host to start a new USB 'conversation', and rediscover what type of USB device it is; a process called 'enumeration' or 're-enumeration'. Re-enumeration is triggered by dropping both USB data lines to ground, and then raising the USB 'speed signalling' data line (for Maple USBD+) again. The host will notice this and go through 'enumerating', or 're-enumerating' the USB device (exchanging messages) and this exchange tells the host which USB device type it is talking to, and hence the driver  to use. Maple behaves as two different USB devices, so it needs to be able to cause re-enumeration. Maple becomes a USB DFU device for program upload, however is normally a USB CDC serial device when a users program is running (that is achieved by part of libmaple). The Maple bootloader controls (wiggles) the DISC pin to trigger host enumeration.&#60;/p&#62;
&#60;p&#62;So, to use the Maple bootloader on a ET-STM32, that DISC signal should be implemented. The Maple electronics can be used, though Siy has an elegant, and compact circuit on his boards. To use a different pin to control DISC you would need to change the bootloader, by changing a few symbols. This thread explains what to do:&#60;br /&#62;
&#60;a href=&#34;http://forums.leaflabs.com/topic.php?id=1284#post-7741&#34; rel=&#34;nofollow&#34;&#62;http://forums.leaflabs.com/topic.php?id=1284#post-7741&#60;/a&#62;&#60;/p&#62;
&#60;p&#62;Also see &#60;a href=&#34;http://forums.leaflabs.com/topic.php?id=1284&#34; rel=&#34;nofollow&#34;&#62;http://forums.leaflabs.com/topic.php?id=1284&#60;/a&#62;&#60;/p&#62;
&#60;p&#62;(Full disclosure: I am not a member of LeafLabs staf.)
&#60;/p&#62;</description>
		</item>
		<item>
			<title>xchg.ca on "ET-STM32 STAMP with MAPLE IDE"</title>
			<link>http://forums.leaflabs.com/topic.php?id=2643#post-22115</link>
			<pubDate>Fri, 25 Jan 2013 23:10:33 +0000</pubDate>
			<dc:creator>xchg.ca</dc:creator>
			<guid isPermaLink="false">22115@http://forums.leaflabs.com/</guid>
			<description>&#60;blockquote&#62;&#60;p&#62;
1. The oscillator is the same speed and hooked up to the same pins
&#60;/p&#62;&#60;/blockquote&#62;
&#60;p&#62;Same pins, Same 8Mhz but has 32 Khz extra oscillator for RTC.&#60;/p&#62;
&#60;blockquote&#62;&#60;p&#62;
2. The default behavior Maple expects of the USB_DISC pin isn't going to break anything
&#60;/p&#62;&#60;/blockquote&#62;
&#60;p&#62;I was wonering what is that USB_DISC...?
&#60;/p&#62;</description>
		</item>
		<item>
			<title>xchg.ca on "ET-STM32 STAMP with MAPLE IDE"</title>
			<link>http://forums.leaflabs.com/topic.php?id=2643#post-22113</link>
			<pubDate>Fri, 25 Jan 2013 22:53:35 +0000</pubDate>
			<dc:creator>xchg.ca</dc:creator>
			<guid isPermaLink="false">22113@http://forums.leaflabs.com/</guid>
			<description>&#60;p&#62;I believe it is totally possible: I have the same ET-STM32.&#60;br /&#62;
But there are 2 pre-requirements:&#60;/p&#62;
&#60;p&#62;1 - Add USB connector with few passive elements (RET6 supports USB) USBDM PA11/ USBDP PA12&#60;br /&#62;
2 - Flash Maple bootloader or as alternative Spruce bootloader.... as is. (Not sure if it works right there, RBT and RET are abit different, RET6 is more advanced)&#60;/p&#62;
&#60;p&#62;This is all just theory, but I will try it at the moment I receive Mini USB jack and passive elements. (Not planing to use 5V from USB, I have separate power, USB +5 will be not in use)
&#60;/p&#62;</description>
		</item>

	</channel>
</rss>
