<?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: Getting Started in a Windows OS</title>
		<link>http://forums.leaflabs.com/topic.php?id=11</link>
		<description>A place to share, learn, and grow...</description>
		<language>en-US</language>
		<pubDate>Fri, 22 Jan 2016 00:14:59 +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=11" rel="self" type="application/rss+xml" />

		<item>
			<title>poslathian on "Getting Started in a Windows OS"</title>
			<link>http://forums.leaflabs.com/topic.php?id=11#post-216</link>
			<pubDate>Tue, 08 Jun 2010 10:16:55 +0000</pubDate>
			<dc:creator>poslathian</dc:creator>
			<guid isPermaLink="false">216@http://forums.leaflabs.com/</guid>
			<description>&#60;p&#62;youd think there is some sort of odd ego play going on here. But actually,  our &#34;support&#34; strategy is to ensure that an LL person has the last word on all troubleshooting threads. So you see, mis-labelling my post as another's is like the system refusing to close a ticket..which i inevitably forget about, and then click on over and over every morning.
&#60;/p&#62;</description>
		</item>
		<item>
			<title>efox on "Getting Started in a Windows OS"</title>
			<link>http://forums.leaflabs.com/topic.php?id=11#post-203</link>
			<pubDate>Fri, 04 Jun 2010 21:02:01 +0000</pubDate>
			<dc:creator>efox</dc:creator>
			<guid isPermaLink="false">203@http://forums.leaflabs.com/</guid>
			<description>&#60;p&#62;im pretty sure that i said that poslathian :p&#60;/p&#62;
&#60;p&#62;*disclaimer: the above sentence is fictional.
&#60;/p&#62;</description>
		</item>
		<item>
			<title>importer on "Getting Started in a Windows OS"</title>
			<link>http://forums.leaflabs.com/topic.php?id=11#post-39</link>
			<pubDate>Sat, 03 Apr 2010 12:27:36 +0000</pubDate>
			<dc:creator>importer</dc:creator>
			<guid isPermaLink="false">39@http://forums.leaflabs.com/</guid>
			<description>&#60;p&#62;[on Mon 22 of Feb., 2010 23:15 EST, by poslathian]&#60;/p&#62;
&#60;p&#62;Hmmm....tiki seems to claim the above post was made by efox. It wasnt. It was made by me! (poslathian). Weird....were migrating away from tiki anyways...to wordpress.
&#60;/p&#62;</description>
		</item>
		<item>
			<title>importer on "Getting Started in a Windows OS"</title>
			<link>http://forums.leaflabs.com/topic.php?id=11#post-35</link>
			<pubDate>Sat, 03 Apr 2010 12:25:32 +0000</pubDate>
			<dc:creator>importer</dc:creator>
			<guid isPermaLink="false">35@http://forums.leaflabs.com/</guid>
			<description>&#60;p&#62;[on Mon 22 of Feb., 2010 23:15 EST, by poslathian]&#60;/p&#62;
&#60;p&#62;Hmmm....tiki seems to claim the above post was made by efox. It wasnt. It was made by me! (poslathian). Weird....were migrating away from tiki anyways...to wordpress.
&#60;/p&#62;</description>
		</item>
		<item>
			<title>importer on "Getting Started in a Windows OS"</title>
			<link>http://forums.leaflabs.com/topic.php?id=11#post-34</link>
			<pubDate>Sat, 03 Apr 2010 12:25:01 +0000</pubDate>
			<dc:creator>importer</dc:creator>
			<guid isPermaLink="false">34@http://forums.leaflabs.com/</guid>
			<description>&#60;p&#62;[on Mon 25 of Jan., 2010 11:56 EST, by efox]&#60;/p&#62;
&#60;p&#62;The principle hold up has been serial com in windows. Heres a run down of the issue:&#60;/p&#62;
&#60;p&#62;Maple enumerates itself over USB as a CDC ACM device, a standard for virtual COM and other modems. It appends to the bottom of the enumeration information about the dfu utility.&#60;/p&#62;
&#60;p&#62;Linux and Mac both treat the DFU as somewhat extraneous, complying to DFU spec, and load the appropriate driver quietly in the background. The CDC ACM driver is assigned to the device automatically and its built in to both OS's&#60;/p&#62;
&#60;p&#62;In windows, there is no stock DFU nor CDC ACM driver that &#34;generically&#34; loads. So we provide them both, libusb for DFU, and usbser for serial. We didnt write either of these drivers, and we tell windows about them via .inf files&#60;/p&#62;
&#60;p&#62;In windows, two binary drivers may not be assigned to the same USB device! Yuck, so you cant do libusb+usbser at the same time. After learning this, we modified the bootloader to enumerate Maple as a &#34;compound IAD device&#34; which is a spec for assigning independent drivers to different interfaces of the same USB device. In windows this means that two &#34;new devices&#34; pop up when you plug in. In the /maple/build/windows/dist/Drivers/mapleDrv we provide maple.inf for the first, and ./serial/maple_serial.inf for the second. In addition, this IAD nonsense, means that while in &#34;DFU Mode&#34; Maple is no longer a compound device, and it needs its own driver, maple_dfu.inf. So after you upload your sketch for the first time, youll need to point windows there after it warns you of new hardware.&#60;/p&#62;
&#60;p&#62;People with Maple rev1 (purchased before Jan 2010) are hosed without a bootloader upgrade, or some solution we dont know about (LET US KNOW IF YOU DO!). Maple rev2 bootloader uses this the 3-drivers solution, which is crap. Compound IAD, while a spec, isnt supported by Mac. So what were doing is writing a custom windows driver that will revert back to the non-compound device model and will work with Rev1 and all future Maples (except maybe the 4 rev2 boards out there ;) ). We only just decided to do this last week, so give us a 10-15 days to sort out the niceties of writing a windows driver.&#60;/p&#62;
&#60;p&#62;Our MAJOR apologies on the fuckup&#60;/p&#62;
&#60;p&#62;Binaries: exist and will be posted as soon as they have the new serial driver packaged in with them.&#60;/p&#62;
&#60;p&#62;TLDR:&#60;br /&#62;
maple rev1's arnt going to work in windows until we release a custom driver were writing, should be out in 2 weeks. Maple rev2's should work fine in windows with a nasty driver setup in the repo, but the nastiness will go away with our custom driver. Sorry for the wait! Windows driver management is REALLY a mess.&#60;/p&#62;
&#60;p&#62;p.s. we also had to modify dfu-util because of this windows issue. Windows dislikes that Maple has the same vendor/product ID while in DFU mode, because it matches the serial driver to it - even though there isnt a serial interface exposed during upload. So in dfu mode the new bootloader increments in product ID by 1. The stock version of dfu-util should ostensibly support this, as its part of the DFU spec. But a seeming bug make it fail. Rather than fix the bug, we made a hack patch for dfu-util that gracefully recognizes the &#34;increment by one.&#34; rev2 and higher bootloader will need this new dfu-util, which is in the /dist/ directories of each of the builds (mac,linux,win)&#60;/p&#62;
&#60;p&#62;cheers guys! thanks for hacking!
&#60;/p&#62;</description>
		</item>
		<item>
			<title>importer on "Getting Started in a Windows OS"</title>
			<link>http://forums.leaflabs.com/topic.php?id=11#post-32</link>
			<pubDate>Sat, 03 Apr 2010 12:24:28 +0000</pubDate>
			<dc:creator>importer</dc:creator>
			<guid isPermaLink="false">32@http://forums.leaflabs.com/</guid>
			<description>&#60;p&#62;[on Mon 18 of Jan., 2010 00:51 EST, by Mikro]&#60;/p&#62;
&#60;p&#62;@rsbohn, You Da Man! Thanks for posting your Arduio IDE build. I downloaded it, ran the executable and it works fine. I was puzzled how you programmed it without getting a virtual com port setup, and it looked like from another post that you just wired up the D0 D1 pins somehow. So I concocted a way to connect my XBee Shield for Arduino to the Maple (I couldn't directly plug it in because of the extra female header for the extra pins of the Maple). Then I used an XBee Explorer from Sparkfun and communicated wirelessly to the Maple.&#60;/p&#62;
&#60;p&#62;So I guess the cool thing is that it's possible to program a Maple wirelessly (apparently something an Arduino can't do without some hacking). I'll take some time in the next few weeks to port over a 6 degree of freedom IMU I built for the Arduino and hopefully post some video of it working with an artificial horizon GUI.
&#60;/p&#62;</description>
		</item>
		<item>
			<title>importer on "Getting Started in a Windows OS"</title>
			<link>http://forums.leaflabs.com/topic.php?id=11#post-30</link>
			<pubDate>Sat, 03 Apr 2010 12:24:09 +0000</pubDate>
			<dc:creator>importer</dc:creator>
			<guid isPermaLink="false">30@http://forums.leaflabs.com/</guid>
			<description>&#60;p&#62;[on Sat 09 of Jan., 2010 23:39 EST, by rsbohn]&#60;/p&#62;
&#60;p&#62;The arm chain and dfu-util are in arm.zip. If you don't have it just download &#60;a href=&#34;http://code.google.com/p/leaflabs/source/browse/trunk/maple/build/windows/arm.zip&#34; rel=&#34;nofollow&#34;&#62;http://code.google.com/p/leaflabs/source/browse/trunk/maple/build/windows/arm.zip&#60;/a&#62;&#60;br /&#62;
and unzip it in work/hardware/tools/arm/. You will need to copy dfu-util.exe to work/hardware/tools/avr/bin/ (the Arduino software insists on finding it there.) The latest in svn should be working at this point (r104).&#60;/p&#62;
&#60;p&#62;I posted the dist package (built and ready to run) at &#60;a href=&#34;http://media.rsbohn.com/arduino-0018-maple-win.zip&#34; rel=&#34;nofollow&#34;&#62;http://media.rsbohn.com/arduino-0018-maple-win.zip&#60;/a&#62; - about 115MB download but it should have all the required bits. This isn't an official build, just one I put together today.
&#60;/p&#62;</description>
		</item>
		<item>
			<title>importer on "Getting Started in a Windows OS"</title>
			<link>http://forums.leaflabs.com/topic.php?id=11#post-29</link>
			<pubDate>Sat, 03 Apr 2010 12:22:28 +0000</pubDate>
			<dc:creator>importer</dc:creator>
			<guid isPermaLink="false">29@http://forums.leaflabs.com/</guid>
			<description>&#60;p&#62;[on Sat 09 of Jan., 2010 19:44 EST, by Mikro]&#60;/p&#62;
&#60;p&#62;I also don't get a virtual COM port. I'm installing this under Windows 7. I can install the Maple driver (found in mapleDrv) under the Device Manager, but what's supposed to happen next is that an unidentied USB device is supposed to show up to install the FTDI driver (here's the FTDI Windows 7 installation instructions): &#60;a href=&#34;http://www.ftdichip.com/Documents/AppNotes/AN_119_FTDI_Drivers_Installation_Guide_for_Windows7.pdf)&#34; rel=&#34;nofollow&#34;&#62;http://www.ftdichip.com/Documents/AppNotes/AN_119_FTDI_Drivers_Installation_Guide_for_Windows7.pdf)&#60;/a&#62;&#60;/p&#62;
&#60;p&#62;Near the end of the document it states that the VID and PID may not be matching what's burned into the device's EEPROM. Could that be the problem? I used the USB View tool they referenced in the document and found VID = 0x0110 and PID = 0x1001. It matches the Maple.inf file. Could the EEPROM be inconsistent, or am I just digging way too far inside the guts of this and the problem is much more simpler to solve?&#60;/p&#62;
&#60;p&#62;On a good note I was able to compile and run the IDE per all your instructions. I am not able to compile a sketch though, and realized I didn't get dfu-util, nor the arm chain. Can you guys kindly give a view more hints on how to do this?
&#60;/p&#62;</description>
		</item>
		<item>
			<title>importer on "Getting Started in a Windows OS"</title>
			<link>http://forums.leaflabs.com/topic.php?id=11#post-28</link>
			<pubDate>Sat, 03 Apr 2010 12:22:07 +0000</pubDate>
			<dc:creator>importer</dc:creator>
			<guid isPermaLink="false">28@http://forums.leaflabs.com/</guid>
			<description>&#60;p&#62;[on Sat 09 of Jan., 2010 15:56 EST, by rsbohn]&#60;/p&#62;
&#60;p&#62;I don't even get a virtual COM port.
&#60;/p&#62;</description>
		</item>
		<item>
			<title>importer on "Getting Started in a Windows OS"</title>
			<link>http://forums.leaflabs.com/topic.php?id=11#post-27</link>
			<pubDate>Sat, 03 Apr 2010 12:21:48 +0000</pubDate>
			<dc:creator>importer</dc:creator>
			<guid isPermaLink="false">27@http://forums.leaflabs.com/</guid>
			<description>&#60;p&#62;[on Sat 09 of Jan., 2010 12:00 EST, by poslathian]&#60;/p&#62;
&#60;p&#62;Awesome! Nice catch on the hardware/tools/arm path error. Ill commit this patch. Does the virtual COM port work for you? it does not work on my xp64 for some reason, still working on that. Try a sketch that looks like:&#60;br /&#62;
HardwareUsb Usb;&#60;br /&#62;
void setup() {&#60;br /&#62;
}&#60;/p&#62;
&#60;p&#62;void loop() {&#60;br /&#62;
delay(1000);&#60;br /&#62;
Usb.println(&#34;Hello!&#34;);&#60;br /&#62;
}&#60;/p&#62;
&#60;p&#62;and see if the serial monitor echos's it like it does on linux
&#60;/p&#62;</description>
		</item>
		<item>
			<title>importer on "Getting Started in a Windows OS"</title>
			<link>http://forums.leaflabs.com/topic.php?id=11#post-26</link>
			<pubDate>Sat, 03 Apr 2010 12:21:14 +0000</pubDate>
			<dc:creator>importer</dc:creator>
			<guid isPermaLink="false">26@http://forums.leaflabs.com/</guid>
			<description>&#60;p&#62;[on Fri 08 of Jan., 2010 22:24 EST, by rsbohn]&#60;/p&#62;
&#60;p&#62;Here are my build notes. I currently have r102 from the svn repository installed. Several work-arounds here but it does in fact build and upload&#60;br /&#62;
the sketch to the board!&#60;/p&#62;
&#60;p&#62;0. You need cygwin installed, with perl, zip, unzip (and bash of course).&#60;br /&#62;
1. Use svn to download the software&#60;br /&#62;
2. Connect the Maple board, install the driver from maple\build\windows\work\drivers\mapleDrv&#60;br /&#62;
3. Patch make.sh as below&#60;br /&#62;
3a - puts the arm toolchain in hardware\tools\arm&#60;br /&#62;
3b - workaround for the 'spaces in path' issue&#60;br /&#62;
4. Load and compile the blinky sketch (proves the toolchain is working)&#60;br /&#62;
5. Move dfu-util.exe from hardware\tools\arm\bin to hardware\tools\avr\bin&#60;br /&#62;
6. Upload the sketch to the maple board&#60;br /&#62;
7. Enjoy the blinking lights of success!&#60;/p&#62;
&#60;p&#62;Here is the patch:&#60;br /&#62;
Index: make.sh&#60;br /&#62;
===================================================================&#60;br /&#62;
make.sh (revision 102)&#60;br /&#62;
+++ make.sh (working copy)&#60;br /&#62;
@@ -35,7 +35,7 @@&#60;br /&#62;
unzip -q -d work/hardware/ avr_tools.zip&#60;/p&#62;
&#60;p&#62;echo Extracting arm tools...&#60;br /&#62;
- unzip -q -d work/hardware/tools/ arm.zip&#60;br /&#62;
+ unzip -q -d work/hardware/tools/arm/ arm.zip&#60;/p&#62;
&#60;p&#62;echo Extracting enormous JRE...&#60;br /&#62;
unzip -q -d work/ jre.zip&#60;br /&#62;
@@ -45,7 +45,7 @@&#60;br /&#62;
# to build them, use the following:&#60;br /&#62;
# cd head_src/gui_head &#38;amp;&#38;amp; make -f Makefile.win&#60;br /&#62;
cd launcher&#60;br /&#62;
- ./launch4j/launch4jc.exe config.xml&#60;br /&#62;
+ USERPROFILE=. ./launch4j/launch4jc.exe config.xml&#60;br /&#62;
cp arduino.exe ../work/&#60;br /&#62;
cd ..
&#60;/p&#62;</description>
		</item>
		<item>
			<title>importer on "Getting Started in a Windows OS"</title>
			<link>http://forums.leaflabs.com/topic.php?id=11#post-25</link>
			<pubDate>Sat, 03 Apr 2010 12:20:20 +0000</pubDate>
			<dc:creator>importer</dc:creator>
			<guid isPermaLink="false">25@http://forums.leaflabs.com/</guid>
			<description>&#60;p&#62;[on Fri 08 of Jan., 2010 15:37 EST, by poslathian]&#60;/p&#62;
&#60;p&#62;Windows!&#60;/p&#62;
&#60;p&#62;I just committed some patches to the dist/windows directory, and tested it. There still seems to be problems with the serial port, and i havnt put together a binary package. But you can get it running in a fairly straightforward manner by following the instructions here:&#60;/p&#62;
&#60;p&#62;&#60;a href=&#34;http://code.google.com/p/arduino/wiki/BuildingArduino&#34; rel=&#34;nofollow&#34;&#62;http://code.google.com/p/arduino/wiki/BuildingArduino&#60;/a&#62;&#60;br /&#62;
substitute their repository for ours:&#60;br /&#62;
&#60;a href=&#34;http://leaflabs.googlecode.com/svn/trunk&#34; rel=&#34;nofollow&#34;&#62;http://leaflabs.googlecode.com/svn/trunk&#60;/a&#62;&#60;/p&#62;
&#60;p&#62;depending on your version of windows, cygwin may complain about not being able to find a &#34;Documents&#34; directory after calling launch4jc. This is just an annoying quirk of cygwin hating directories with spaces in the names. To get around this, go to start-&#38;gt;run-&#38;gt;cmd , navigate to the launch4j directory and type:&#60;/p&#62;
&#60;p&#62;&#38;gt; launch4jc.exe ../config.xml&#60;br /&#62;
&#38;gt; copy arduino.exe ../work&#60;/p&#62;
&#60;p&#62;then run ./make.sh again.&#60;br /&#62;
finally run ./run.sh to bring it up!&#60;/p&#62;
&#60;p&#62;When you plug in your maple, windows is going to ask you for drivers. They can be found in the repo:&#60;br /&#62;
leaflabs/maple/build/windows/dist/drivers/mapleDrv&#60;/p&#62;
&#60;p&#62;the &#34;installer&#34; is just a few steps away from here, namely, modifying the dist.sh script and then running it. However, I have to put this task away for a little while and would also like to get the serial port working before releasing an official &#34;windows&#34; release.&#60;/p&#62;
&#60;p&#62;if you do either of these things, post and share!!
&#60;/p&#62;</description>
		</item>
		<item>
			<title>importer on "Getting Started in a Windows OS"</title>
			<link>http://forums.leaflabs.com/topic.php?id=11#post-24</link>
			<pubDate>Sat, 03 Apr 2010 12:19:42 +0000</pubDate>
			<dc:creator>importer</dc:creator>
			<guid isPermaLink="false">24@http://forums.leaflabs.com/</guid>
			<description>&#60;p&#62;[on Fri 08 of Jan., 2010 04:05 EST, by Mikro]&#60;/p&#62;
&#60;p&#62;Thanks for the info! I took a look at how to build the IDE. For Windows, the Arduino directions say to load cygwin, so I'm going to guess the process is very close to how the linux approach works. I'll try to give it a go (too many projects... to little time) and report back if I get it going.&#60;/p&#62;
&#60;p&#62;An installer would be MUCH appreciated for us spoiled Arduino types. :)
&#60;/p&#62;</description>
		</item>
		<item>
			<title>importer on "Getting Started in a Windows OS"</title>
			<link>http://forums.leaflabs.com/topic.php?id=11#post-23</link>
			<pubDate>Sat, 03 Apr 2010 12:19:14 +0000</pubDate>
			<dc:creator>importer</dc:creator>
			<guid isPermaLink="false">23@http://forums.leaflabs.com/</guid>
			<description>&#60;p&#62;[on Thu 07 of Jan., 2010 19:20 EST, by poslathian]&#60;/p&#62;
&#60;p&#62;Sorry about the delay. Weve been working on an installer....!&#60;br /&#62;
Informatively though, the Maple IDE is not a plugin for arduino, rather it IS arduino + a patch. The Maple IDE will do everything arduino does with arduino boards AND compile for maple. The instructions for building the Maple IDE are identical to building the Arduino IDE (which can be found at arduino.cc)&#60;/p&#62;
&#60;p&#62;In addition to the standard dependencies of Arduino - libusb and avr-dude - the Maple IDE also depends on dfu-util and codesourcery's arm-none-eabi-gcc package (codesourcery.com - get the LITE EABI version).&#60;/p&#62;
&#60;p&#62;The actual wait on the installers is integrating THESE dependencies into the installer, if you get them yourself, then building from the repo is identical to building arduino.
&#60;/p&#62;</description>
		</item>
		<item>
			<title>importer on "Getting Started in a Windows OS"</title>
			<link>http://forums.leaflabs.com/topic.php?id=11#post-22</link>
			<pubDate>Sat, 03 Apr 2010 12:18:50 +0000</pubDate>
			<dc:creator>importer</dc:creator>
			<guid isPermaLink="false">22@http://forums.leaflabs.com/</guid>
			<description>&#60;p&#62;[on Sat 26 of Dec., 2009 15:07 EST, by Mikro]&#60;/p&#62;
&#60;p&#62;Just got my Maple in today! Interested to see what it could do. I have an existing Arduino project that flies a 4 rotor helicopter (&#60;a href=&#34;http://www.AeroQuad.info)&#34; rel=&#34;nofollow&#34;&#62;http://www.AeroQuad.info)&#60;/a&#62;, so I'm hoping I can just plug in my existing shield (will have to move the last minute cap fix), port over my code and see what happens.&#60;/p&#62;
&#60;p&#62;Saw the other &#34;getting started&#34; thread. I poked around the repository and read a little of the read me file. Is the intent to use the existing Arduino IDE and somehow create a plug-in for the Maple? If this is the case, what are the instructions for installing the repository contents into an existing installed Arduino IDE. If I'm way off base, then please post an installer or some setup instructions to help us get started!
&#60;/p&#62;</description>
		</item>

	</channel>
</rss>
