<?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: Olimeximo Setup on Windows 7 OK</title>
		<link>http://forums.leaflabs.com/topic.php?id=2602</link>
		<description>A place to share, learn, and grow...</description>
		<language>en-US</language>
		<pubDate>Fri, 22 Jan 2016 00:06: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=2602" rel="self" type="application/rss+xml" />

		<item>
			<title>BJ Freeman on "Olimeximo Setup on Windows 7 OK"</title>
			<link>http://forums.leaflabs.com/topic.php?id=2602#post-20742</link>
			<pubDate>Fri, 02 Nov 2012 13:58:42 +0000</pubDate>
			<dc:creator>BJ Freeman</dc:creator>
			<guid isPermaLink="false">20742@http://forums.leaflabs.com/</guid>
			<description>&#60;p&#62;OK finally.&#60;br /&#62;
I opened the windows explorer, and saw the flag&#60;br /&#62;
 on the file for run as admin.&#60;br /&#62;
I opened the properties and the run as admin was not checked.&#60;br /&#62;
so I used run regedit&#60;br /&#62;
I searched and deleted all references to dfu-util&#60;br /&#62;
the flag was gone&#60;br /&#62;
now it works.
&#60;/p&#62;</description>
		</item>
		<item>
			<title>BJ Freeman on "Olimeximo Setup on Windows 7 OK"</title>
			<link>http://forums.leaflabs.com/topic.php?id=2602#post-20741</link>
			<pubDate>Fri, 02 Nov 2012 12:30:01 +0000</pubDate>
			<dc:creator>BJ Freeman</dc:creator>
			<guid isPermaLink="false">20741@http://forums.leaflabs.com/</guid>
			<description>&#60;p&#62;I have narrowed this down to the name dfu-util.exe name.&#60;br /&#62;
I can reanme it in the same folder and works as it should&#60;br /&#62;
so my work-around is to change the name in Board.txt&#60;br /&#62;
maple.upload.uploader=dfu-util&#60;br /&#62;
to&#60;br /&#62;
maple.upload.uploader=dfu-util-fix&#60;br /&#62;
and rename the exe to the same name.&#60;/p&#62;
&#60;p&#62;well that did not work&#60;br /&#62;
[code]&#60;br /&#62;
Binary sketch size is reported above. Check it against a 17000 byte maximum.&#60;br /&#62;
Loading via dfu-util-fix&#60;/p&#62;
&#60;p&#62;processing.app.debug.RunnerException: No valid uploader (dfu-util or avrdude) selected in your preferences!&#60;br /&#62;
	at processing.app.Sketch.upload(Sketch.java:1470)&#60;br /&#62;
	at processing.app.Sketch.exportApplet(Sketch.java:1405)&#60;br /&#62;
	at processing.app.Sketch.exportApplet(Sketch.java:1368)&#60;br /&#62;
	at processing.app.Editor$45.run(Editor.java:1965)&#60;br /&#62;
	at java.lang.Thread.run(Thread.java:619)&#60;br /&#62;
processing.app.debug.RunnerException: No valid uploader (dfu-util or avrdude) selected in your preferences!&#60;br /&#62;
	at processing.app.Sketch.upload(Sketch.java:1470)&#60;br /&#62;
	at processing.app.Sketch.exportApplet(Sketch.java:1405)&#60;br /&#62;
	at processing.app.Sketch.exportApplet(Sketch.java:1368)&#60;br /&#62;
	at processing.app.Editor$45.run(Editor.java:1965)&#60;br /&#62;
	at java.lang.Thread.run(Thread.java:619)&#60;br /&#62;
[/code]
&#60;/p&#62;</description>
		</item>
		<item>
			<title>BJ Freeman on "Olimeximo Setup on Windows 7 OK"</title>
			<link>http://forums.leaflabs.com/topic.php?id=2602#post-20740</link>
			<pubDate>Fri, 02 Nov 2012 04:31:00 +0000</pubDate>
			<dc:creator>BJ Freeman</dc:creator>
			<guid isPermaLink="false">20740@http://forums.leaflabs.com/</guid>
			<description>&#60;p&#62;the URL gave a 404 error.&#60;br /&#62;
the error I get from the IDE is&#60;br /&#62;
java.io.IOException: Cannot run program &#34;C:\projects\maple\maple-ide-0.0.12-windowsxp32\hardware/tools/arm/bin/dfu-util&#34;: CreateProcess error=740, The requested operation requires elevation&#60;/p&#62;
&#60;p&#62;so the IDE is accessing dfu, so paths are not necessary.&#60;br /&#62;
This is a permissions problem.m&#60;br /&#62;
it is not a java permission since the run as asmin dialog happens when running from command line.&#60;/p&#62;
&#60;p&#62;Yet, I can run it from another path successfully, manually.&#60;br /&#62;
it is very frustrating
&#60;/p&#62;</description>
		</item>
		<item>
			<title>tfcroft4 on "Olimeximo Setup on Windows 7 OK"</title>
			<link>http://forums.leaflabs.com/topic.php?id=2602#post-20739</link>
			<pubDate>Fri, 02 Nov 2012 04:09:45 +0000</pubDate>
			<dc:creator>tfcroft4</dc:creator>
			<guid isPermaLink="false">20739@http://forums.leaflabs.com/</guid>
			<description>&#60;p&#62;I have tried manually running dfu-utils from the command prompt and both locations run OK.&#60;/p&#62;
&#60;p&#62;When I was setting up this is what I followed.&#60;/p&#62;
&#60;p&#62;&#34;This is the adaptation I made:&#60;br /&#62;
I followed the notes here:&#60;br /&#62;
&#60;a href=&#34;https://github.com/leaflabs/leaflabs-docs/blob/unix-toolchain-overhaul/source/unix-toolchain.rst#windows&#34; rel=&#34;nofollow&#34;&#62;https://github.com/leaflabs/leaflabs-docs/blob/unix-toolchain-overhaul/source/unix-toolchain.rst#windows&#60;/a&#62;&#60;/p&#62;
&#60;p&#62;But also had to add some extra steps.&#60;/p&#62;
&#60;p&#62;Copy dfu-utils.exe from C:\Program Files\maple-ide\hardware\tools\arm\bin to libmaple\arm\bin&#60;br /&#62;
Add python to my PATH&#60;br /&#62;
Add libmaple\arm\bin to my PATH&#34;&#60;/p&#62;
&#60;p&#62;Hope this helps.&#60;br /&#62;
TF
&#60;/p&#62;</description>
		</item>
		<item>
			<title>BJ Freeman on "Olimeximo Setup on Windows 7 OK"</title>
			<link>http://forums.leaflabs.com/topic.php?id=2602#post-20730</link>
			<pubDate>Thu, 01 Nov 2012 14:50:00 +0000</pubDate>
			<dc:creator>BJ Freeman</dc:creator>
			<guid isPermaLink="false">20730@http://forums.leaflabs.com/</guid>
			<description>&#60;p&#62;if I run dfu-util from&#60;br /&#62;
maple-ide-0.0.12-windowsxp32\&#60;br /&#62;
it runs fine&#60;br /&#62;
if I run from&#60;br /&#62;
maple-ide-0.0.12-windowsxp32\hardware\tools\arm\bin&#60;br /&#62;
it opens the run as admin window.&#60;br /&#62;
the permission of the folders are full control
&#60;/p&#62;</description>
		</item>
		<item>
			<title>iainism on "Olimeximo Setup on Windows 7 OK"</title>
			<link>http://forums.leaflabs.com/topic.php?id=2602#post-20673</link>
			<pubDate>Wed, 31 Oct 2012 04:57:35 +0000</pubDate>
			<dc:creator>iainism</dc:creator>
			<guid isPermaLink="false">20673@http://forums.leaflabs.com/</guid>
			<description>&#60;p&#62;I was logged in as a standard user, but I've had to do 'stuff' that has left my W7 installation in 'test mode'.  Unfortunately it was quite a while ago now, and I can't remember what I did or why!
&#60;/p&#62;</description>
		</item>
		<item>
			<title>tfcroft4 on "Olimeximo Setup on Windows 7 OK"</title>
			<link>http://forums.leaflabs.com/topic.php?id=2602#post-20633</link>
			<pubDate>Tue, 30 Oct 2012 12:52:38 +0000</pubDate>
			<dc:creator>tfcroft4</dc:creator>
			<guid isPermaLink="false">20633@http://forums.leaflabs.com/</guid>
			<description>&#60;p&#62;BJ&#60;br /&#62;
I can't recall any special settings to run dfu-util but I do find the W 7 security exasperating too. I find that sometimes I need to add a specific user permission for my self to open or execute a program or file. See if giving your self full rights to the dfu-util file saves having to run with admin privelige.&#60;br /&#62;
TF
&#60;/p&#62;</description>
		</item>
		<item>
			<title>BJ Freeman on "Olimeximo Setup on Windows 7 OK"</title>
			<link>http://forums.leaflabs.com/topic.php?id=2602#post-20527</link>
			<pubDate>Sun, 28 Oct 2012 12:11:03 +0000</pubDate>
			<dc:creator>BJ Freeman</dc:creator>
			<guid isPermaLink="false">20527@http://forums.leaflabs.com/</guid>
			<description>&#60;p&#62;What were you logged in as for Win 7. I can't run dfu-util if don't specify that dfu-util can run in admin mode.
&#60;/p&#62;</description>
		</item>
		<item>
			<title>iainism on "Olimeximo Setup on Windows 7 OK"</title>
			<link>http://forums.leaflabs.com/topic.php?id=2602#post-20279</link>
			<pubDate>Fri, 12 Oct 2012 05:20:35 +0000</pubDate>
			<dc:creator>iainism</dc:creator>
			<guid isPermaLink="false">20279@http://forums.leaflabs.com/</guid>
			<description>&#60;p&#62;Different toolchain, but in case it's of interest I blogged about setting up the Olimexino-STM32 with Eclipse on Windows a while back (the blog post was based off my XP machine, but setting up my Win7 machine was an identical process): &#60;a href=&#34;http://iainism-blogism.blogspot.co.uk/2012/04/booting-up.html&#34; rel=&#34;nofollow&#34;&#62;http://iainism-blogism.blogspot.co.uk/2012/04/booting-up.html&#60;/a&#62;&#60;/p&#62;
&#60;p&#62;May/may not be of interest.
&#60;/p&#62;</description>
		</item>
		<item>
			<title>blindbox on "Olimeximo Setup on Windows 7 OK"</title>
			<link>http://forums.leaflabs.com/topic.php?id=2602#post-20189</link>
			<pubDate>Thu, 04 Oct 2012 21:04:34 +0000</pubDate>
			<dc:creator>blindbox</dc:creator>
			<guid isPermaLink="false">20189@http://forums.leaflabs.com/</guid>
			<description>&#60;p&#62;Any chance of seeing these in the docs already? As a side effect for me not finding this post, I've actually made Cygwin work with the unix toolchain. (I haven't got the time to write this yet)
&#60;/p&#62;</description>
		</item>
		<item>
			<title>mbolivar on "Olimeximo Setup on Windows 7 OK"</title>
			<link>http://forums.leaflabs.com/topic.php?id=2602#post-13166</link>
			<pubDate>Wed, 05 Sep 2012 00:32:33 +0000</pubDate>
			<dc:creator>mbolivar</dc:creator>
			<guid isPermaLink="false">13166@http://forums.leaflabs.com/</guid>
			<description>&#60;p&#62;Thank you for these! I have begun incorporating your advice into the Unix toolchain quickstart. A snapshot build of this document is available here:&#60;/p&#62;
&#60;p&#62;&#60;a href=&#34;http://static.leaflabs.com/pub/leaflabs/maple-docs/snapshots/2012-09-04/unix-toolchain.html&#34; rel=&#34;nofollow&#34;&#62;http://static.leaflabs.com/pub/leaflabs/maple-docs/snapshots/2012-09-04/unix-toolchain.html&#60;/a&#62;&#60;/p&#62;
&#60;p&#62;The instructions given should work on Windows 7, though you'll still need to use your trick of copying dfu-util.exe into arm\bin\. I'll update our toolchain tarballs soon so that's not necessary.&#60;/p&#62;
&#60;p&#62;Thanks again!
&#60;/p&#62;</description>
		</item>
		<item>
			<title>tfcroft4 on "Olimeximo Setup on Windows 7 OK"</title>
			<link>http://forums.leaflabs.com/topic.php?id=2602#post-12958</link>
			<pubDate>Tue, 28 Aug 2012 15:03:54 +0000</pubDate>
			<dc:creator>tfcroft4</dc:creator>
			<guid isPermaLink="false">12958@http://forums.leaflabs.com/</guid>
			<description>&#60;p&#62;I have a Olimexino Maple Clone board. I have set up in Windows 7 32 bit OK. Here are some notes on my setup.&#60;/p&#62;
&#60;p&#62;Maple IDE - when installing USB drivers I 'pointed' at the MapleDrv directory - both the DFU and Virtual Port drivers were installed. I am able to load example 'sketches' and load them from the maple IDE.&#60;/p&#62;
&#60;p&#62;I also wished to look at using a tool chain outside Maple IDE as have used Raisonance Ride and AVR tools up to now.&#60;/p&#62;
&#60;p&#62;I followed the notes here:&#60;br /&#62;
&#60;a href=&#34;https://github.com/leaflabs/leaflabs-docs/blob/unix-toolchain-overhaul/source/unix-toolchain.rst#windows&#34; rel=&#34;nofollow&#34;&#62;https://github.com/leaflabs/leaflabs-docs/blob/unix-toolchain-overhaul/source/unix-toolchain.rst#windows&#60;/a&#62;&#60;/p&#62;
&#60;p&#62;But also had to add some extra steps.&#60;/p&#62;
&#60;p&#62;Copy dfu-utils.exe from C:\Program Files\maple-ide\hardware\tools\arm\bin to libmaple\arm\bin&#60;br /&#62;
Add python to my PATH&#60;br /&#62;
Add libmaple\arm\bin to my PATH&#60;br /&#62;
Remember to re open the command console after changing the PATH settings.&#60;br /&#62;
Edited MakeFile in libmaple to include the lines indictated with a * below&#60;/p&#62;
&#60;p&#62;        ser.write(&#34;1EAF&#34;.encode(&#34;ascii&#34;))&#60;br /&#62;
        ser.flush()&#60;br /&#62;
     *  # Windows quirk: delay a bit before proceeding&#60;br /&#62;
     *   if plat_sys == 'Windows': time.sleep(0.5)&#60;br /&#62;
     *  # Delay a bit more before proceeding&#60;br /&#62;
        time.sleep(0.1)&#60;/p&#62;
&#60;p&#62;Remember to use cs-make. For example to install the example program:&#60;/p&#62;
&#60;p&#62;&#38;gt; cd libmaple&#60;br /&#62;
&#38;gt; cp examples/test-session.cpp main.cpp&#60;br /&#62;
&#38;gt; cs-make clean&#60;br /&#62;
&#38;gt; cs-make&#60;br /&#62;
&#38;gt; cs-make install&#60;/p&#62;
&#60;p&#62;The install process pauses to allow selection of the appropriate COM port. (perhaps Port enumeration could pick up the description and pre select the Maple port ??)&#60;/p&#62;
&#60;p&#62;This is the output:&#60;br /&#62;
&#60;pre&#62;&#60;code&#62;C:\Users\Ted\libmaple&#38;gt;cs-make install
Install target: flash

Found multiple candidates for the Maple device:
        1. COM1
        2. COM8
        3. COM7
        4. COM4
        5. COM6
Enter a number to select one, or q to quit: 5
Using COM6 as Maple serial port
dfu-util - (C) 2007-2008 by OpenMoko Inc.
This program is Free Software and has ABSOLUTELY NO WARRANTY

Opening USB Device 0x1eaf:0x0003...
Found Runtime: [0x1eaf:0x0003] devnum=1, cfg=0, intf=0, alt=1, name=&#38;quot;DFU Program
 FLASH 0x08005000&#38;quot;
Setting Configuration 1...
Claiming USB DFU Interface...
Setting Alternate Setting ...
Determining device status: state = dfuIDLE, status = 0
dfuIDLE, continuing
Transfer Size = 0x0400
bytes_per_hash=616
Starting download: [##################################################] finished
!
state(8) = dfuMANIFEST-WAIT-RESET, status(0) = No error condition is present
Done!
Resetting USB to switch back to runtime mode
error resetting after download: usb_reset: could not reset device, win error:
The system cannot find the file specified.&#60;/code&#62;&#60;/pre&#62;
&#60;p&#62;The main.cpp.example runs on the board OK. I connected a second TTL/RS232 to D7/D8 to use USART1. I received output on this port too.&#60;/p&#62;
&#60;p&#62;The only 'problem' at present is that if the USBSerial is reset and restored in software, as in some demos, then any Windows based terminal program loses the connection and does not reconnect even though Windows Device Manager does reflect the restored COM port. My work around would be to not reset the USBSerial port!!&#60;/p&#62;
&#60;p&#62;I hope this helps any users setting up on Windows.
&#60;/p&#62;</description>
		</item>

	</channel>
</rss>
