<?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: DFU-UTIL under Windows 7 with Maple as FLASH</title>
		<link>http://forums.leaflabs.com/topic.php?id=113</link>
		<description>A place to share, learn, and grow...</description>
		<language>en-US</language>
		<pubDate>Fri, 22 Jan 2016 00:14:43 +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=113" rel="self" type="application/rss+xml" />

		<item>
			<title>poslathian on "DFU-UTIL under Windows 7 with Maple as FLASH"</title>
			<link>http://forums.leaflabs.com/topic.php?id=113&amp;page=2#post-752</link>
			<pubDate>Tue, 17 Aug 2010 14:14:56 +0000</pubDate>
			<dc:creator>poslathian</dc:creator>
			<guid isPermaLink="false">752@http://forums.leaflabs.com/</guid>
			<description>&#60;p&#62;excellent! very nice hunting and good find. This will get generalized (adding wTransferSize to DFUUploader etc) in a later version of the IDE as we are expanding to support more stm32 chiptypes as well and likely parameterized in the bootloader as well. &#60;/p&#62;
&#60;p&#62;For the record, the stm32f103rbt6 on maple is a medium density device. The ret6 is a high density chip.
&#60;/p&#62;</description>
		</item>
		<item>
			<title>x893 on "DFU-UTIL under Windows 7 with Maple as FLASH"</title>
			<link>http://forums.leaflabs.com/topic.php?id=113&amp;page=2#post-733</link>
			<pubDate>Thu, 12 Aug 2010 20:09:06 +0000</pubDate>
			<dc:creator>x893</dc:creator>
			<guid isPermaLink="false">733@http://forums.leaflabs.com/</guid>
			<description>&#60;p&#62;4P.S.&#60;br /&#62;
Simple resolve this issue - change&#60;br /&#62;
#define wTransferSize 0x0800&#60;br /&#62;
in usb.h and rebuild(!) project&#60;br /&#62;
All work correctly.
&#60;/p&#62;</description>
		</item>
		<item>
			<title>x893 on "DFU-UTIL under Windows 7 with Maple as FLASH"</title>
			<link>http://forums.leaflabs.com/topic.php?id=113&amp;page=2#post-723</link>
			<pubDate>Thu, 12 Aug 2010 05:17:26 +0000</pubDate>
			<dc:creator>x893</dc:creator>
			<guid isPermaLink="false">723@http://forums.leaflabs.com/</guid>
			<description>&#60;p&#62;P.P.P.S&#60;br /&#62;
It's a very helpfull if you add&#60;br /&#62;
transfer-size parameter to DFUUploader.java and to boards.txt&#60;br /&#62;
(may be all parameters for dfu-util program ?)
&#60;/p&#62;</description>
		</item>
		<item>
			<title>x893 on "DFU-UTIL under Windows 7 with Maple as FLASH"</title>
			<link>http://forums.leaflabs.com/topic.php?id=113&amp;page=2#post-722</link>
			<pubDate>Thu, 12 Aug 2010 05:06:19 +0000</pubDate>
			<dc:creator>x893</dc:creator>
			<guid isPermaLink="false">722@http://forums.leaflabs.com/</guid>
			<description>&#60;p&#62;P.P.S&#60;br /&#62;
How to set transfer-size parameter in maple-ide settings ?
&#60;/p&#62;</description>
		</item>
		<item>
			<title>x893 on "DFU-UTIL under Windows 7 with Maple as FLASH"</title>
			<link>http://forums.leaflabs.com/topic.php?id=113&amp;page=2#post-721</link>
			<pubDate>Thu, 12 Aug 2010 04:57:23 +0000</pubDate>
			<dc:creator>x893</dc:creator>
			<guid isPermaLink="false">721@http://forums.leaflabs.com/</guid>
			<description>&#60;p&#62;P.S. After change&#60;br /&#62;
#define wTransferSize   0x0800&#60;br /&#62;
in usb.h&#60;br /&#62;
i can correct download program to flash with dfu-util -t 2048
&#60;/p&#62;</description>
		</item>
		<item>
			<title>x893 on "DFU-UTIL under Windows 7 with Maple as FLASH"</title>
			<link>http://forums.leaflabs.com/topic.php?id=113#post-720</link>
			<pubDate>Thu, 12 Aug 2010 04:42:02 +0000</pubDate>
			<dc:creator>x893</dc:creator>
			<guid isPermaLink="false">720@http://forums.leaflabs.com/</guid>
			<description>&#60;p&#62;Hi again,&#60;br /&#62;
after some investigation i understand problem.&#60;br /&#62;
Low density STM32 has 0x400 page size (1024 byte) but medium (for ex. RET6) has 2048 bytes page size. You use 1024 packet size and erase page on each packet (by write address). After transmit first block (at address 8005000) use corrently erase page and flash 1024 bytes. After trasmit second block you erase page (but for 2048 block you erase first block also) and write second block correctly (but first block erased). It means that each even block erased and odd block correct.&#60;/p&#62;
&#60;p&#62;I try use -t 2048 parameter in dfu-util but bootloader crash with this block size.&#60;br /&#62;
Because your bootloader code very professional i can't suggest way to resolve this issue.&#60;/p&#62;
&#60;p&#62;Best regards&#60;br /&#62;
Mitek
&#60;/p&#62;</description>
		</item>
		<item>
			<title>poslathian on "DFU-UTIL under Windows 7 with Maple as FLASH"</title>
			<link>http://forums.leaflabs.com/topic.php?id=113#post-709</link>
			<pubDate>Tue, 10 Aug 2010 12:52:43 +0000</pubDate>
			<dc:creator>poslathian</dc:creator>
			<guid isPermaLink="false">709@http://forums.leaflabs.com/</guid>
			<description>&#60;p&#62;I wouldnt expect things to work stock with a higher density chip. You will definitely need to adjust the linker files in github-repo/libmaple/support/ld
&#60;/p&#62;</description>
		</item>
		<item>
			<title>manelcig on "DFU-UTIL under Windows 7 with Maple as FLASH"</title>
			<link>http://forums.leaflabs.com/topic.php?id=113#post-705</link>
			<pubDate>Tue, 10 Aug 2010 09:29:18 +0000</pubDate>
			<dc:creator>manelcig</dc:creator>
			<guid isPermaLink="false">705@http://forums.leaflabs.com/</guid>
			<description>&#60;p&#62;Hi,&#60;/p&#62;
&#60;p&#62;I'm facing exactly the same problem. I'm working with another board with an STM32F103RET.&#60;/p&#62;
&#60;p&#62;I tried using your bootloader, remade the makefile to work on windows and flashed it with jtag.&#60;br /&#62;
Using the maple-ide I can upload the blinky example and all seems to go fine.&#60;br /&#62;
However dumping the mem contents with OpenOCD it appears that instead of the code going to right places it goes to the locations referred on this thread's first post.&#60;br /&#62;
I can only see 2 possibilities. Changes made to the makefile broke something, or linker file problem due to it being a high density device.
&#60;/p&#62;</description>
		</item>
		<item>
			<title>bnewbold on "DFU-UTIL under Windows 7 with Maple as FLASH"</title>
			<link>http://forums.leaflabs.com/topic.php?id=113#post-695</link>
			<pubDate>Sun, 08 Aug 2010 11:30:37 +0000</pubDate>
			<dc:creator>bnewbold</dc:creator>
			<guid isPermaLink="false">695@http://forums.leaflabs.com/</guid>
			<description>&#60;p&#62;Our &#34;factory&#34; versions of the bootloader are available as .bin files at &#60;a href=&#34;http://static.leaflabs.com/pub/leaflabs/maple-bootloader/&#34; rel=&#34;nofollow&#34;&#62;http://static.leaflabs.com/pub/leaflabs/maple-bootloader/&#60;/a&#62;&#60;/p&#62;
&#60;p&#62;The rev3 version we currently ship with is maple_boot-rev3-9c5f8e.bin
&#60;/p&#62;</description>
		</item>
		<item>
			<title>x893 on "DFU-UTIL under Windows 7 with Maple as FLASH"</title>
			<link>http://forums.leaflabs.com/topic.php?id=113#post-691</link>
			<pubDate>Sat, 07 Aug 2010 16:13:08 +0000</pubDate>
			<dc:creator>x893</dc:creator>
			<guid isPermaLink="false">691@http://forums.leaflabs.com/</guid>
			<description>&#60;p&#62;Can you place your bootloader as binary file ?
&#60;/p&#62;</description>
		</item>
		<item>
			<title>x893 on "DFU-UTIL under Windows 7 with Maple as FLASH"</title>
			<link>http://forums.leaflabs.com/topic.php?id=113#post-688</link>
			<pubDate>Fri, 06 Aug 2010 02:51:30 +0000</pubDate>
			<dc:creator>x893</dc:creator>
			<guid isPermaLink="false">688@http://forums.leaflabs.com/</guid>
			<description>&#60;p&#62;Yes - i not use maple bootloader currently. Also i remove SPI and NOR download and add RAM download. I see dfu-util source - it's very easy. May be problem in libusb on W7. Can't say exactly - need time for investigation.
&#60;/p&#62;</description>
		</item>
		<item>
			<title>poslathian on "DFU-UTIL under Windows 7 with Maple as FLASH"</title>
			<link>http://forums.leaflabs.com/topic.php?id=113#post-686</link>
			<pubDate>Thu, 05 Aug 2010 23:27:14 +0000</pubDate>
			<dc:creator>poslathian</dc:creator>
			<guid isPermaLink="false">686@http://forums.leaflabs.com/</guid>
			<description>&#60;p&#62;interesting. so youre using the ST DFUse firmware as a bootloader running on maple? You are NOT using the maple bootloader....if you are than I will be very surprised!
&#60;/p&#62;</description>
		</item>
		<item>
			<title>x893 on "DFU-UTIL under Windows 7 with Maple as FLASH"</title>
			<link>http://forums.leaflabs.com/topic.php?id=113#post-684</link>
			<pubDate>Thu, 05 Aug 2010 17:20:54 +0000</pubDate>
			<dc:creator>x893</dc:creator>
			<guid isPermaLink="false">684@http://forums.leaflabs.com/</guid>
			<description>&#60;p&#62;I make next actions for test&#60;br /&#62;
1. Adopt Device_Firmware_Upgrade from ST for Maple platform with led blinks, delay and USB pin analyzing/disconnect.&#60;br /&#62;
2. Convert Blink.cpp.bin to dfu format and upload it to Maple via DfuSeDemo.exe&#60;br /&#62;
Perfect result under Windows 7. All write correctly.&#60;br /&#62;
3. Make a simplest dfu-util (on C#) which convert .....cpp.bin (from maple-ide) to ST dfu file and upload it via ST dfu protocol.&#60;/p&#62;
&#60;p&#62;Now not a problem with Windows 7&#60;br /&#62;
Thanks for all
&#60;/p&#62;</description>
		</item>
		<item>
			<title>poslathian on "DFU-UTIL under Windows 7 with Maple as FLASH"</title>
			<link>http://forums.leaflabs.com/topic.php?id=113#post-682</link>
			<pubDate>Thu, 05 Aug 2010 12:25:15 +0000</pubDate>
			<dc:creator>poslathian</dc:creator>
			<guid isPermaLink="false">682@http://forums.leaflabs.com/</guid>
			<description>&#60;p&#62;Ill have to hunt around for the source of our version of dfu-util, i think it was a snapshot of the repo from a while ago, it was stable to we held on to it. I believe dfu-util is back under active maintenance. &#60;/p&#62;
&#60;p&#62;The ST DFU upload will not work with the maple bootloader. In fact, the ST DFU is not DFU at all, but &#34;DFUse&#34; where the &#34;se&#34; stands for &#34;st extended.&#34; This program is designed to work only with the ST DFU firmware (feel free to give this a try!) and it is not in anyway DFU compliant. the DFUse firmware wraps a propietary non-dfu protocol around a set of DFU device enumeration descriptors, and most of the heavy lifting (flash page clear/write algorithm) is left up to the host PC &#34;DFU firmware uploader&#34; software. Do let us know if you are able to use that software though. &#60;/p&#62;
&#60;p&#62;Can you share some of these binaries with us? We officially dont support win7 yet, but were getting there, and have are building a win7 test box. We have had several successful reports of users working with win7, but were still building up the list of &#34;caveates&#34; for us to fix for an official win7 release. Thanks for your help pointing out these problems!
&#60;/p&#62;</description>
		</item>
		<item>
			<title>x893 on "DFU-UTIL under Windows 7 with Maple as FLASH"</title>
			<link>http://forums.leaflabs.com/topic.php?id=113#post-680</link>
			<pubDate>Thu, 05 Aug 2010 03:09:11 +0000</pubDate>
			<dc:creator>x893</dc:creator>
			<guid isPermaLink="false">680@http://forums.leaflabs.com/</guid>
			<description>&#60;p&#62;Hi poslathian,&#60;/p&#62;
&#60;p&#62;first question - answer yes&#60;/p&#62;
&#60;p&#62;i program first 20K (from 8000000) via serial line (system bootloader) and STMicroelectronics flash loader.exe. It's equal maple-bootloader and work fine.&#60;/p&#62;
&#60;p&#62;After i use maple-ide to compile/upload code (simple blinky sketch) to board.&#60;br /&#62;
It's say all ok but not work. I switch system bootloader again and read flash (from 800000 or from 8005000) and compare - from 8000000 to 8004FFFF with maple-bootloader and 80050000-.... with blink bin file (from TEMP/..... folder).&#60;/p&#62;
&#60;p&#62;I can find sources of dfu-util only from Openmoko but it's not equal to maple dfu-util.&#60;br /&#62;
Where i can find sources for your version of dfu-util ?&#60;/p&#62;
&#60;p&#62;Also i start to adopt project Device_Firmware_Upgrade from ST (um0424.zip) to compare with dfu-util (for maple pins).&#60;/p&#62;
&#60;p&#62;Thanks&#60;br /&#62;
Mitek
&#60;/p&#62;</description>
		</item>

	</channel>
</rss>
