<?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: IDE Version 0.0.5</title>
		<link>http://forums.leaflabs.com/topic.php?id=51</link>
		<description>A place to share, learn, and grow...</description>
		<language>en-US</language>
		<pubDate>Fri, 22 Jan 2016 00:16:17 +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=51" rel="self" type="application/rss+xml" />

		<item>
			<title>poslathian on "IDE Version 0.0.5"</title>
			<link>http://forums.leaflabs.com/topic.php?id=51#post-244</link>
			<pubDate>Sat, 12 Jun 2010 18:01:11 +0000</pubDate>
			<dc:creator>poslathian</dc:creator>
			<guid isPermaLink="false">244@http://forums.leaflabs.com/</guid>
			<description>&#60;p&#62;Jakob,&#60;br /&#62;
  This looks like a permissions issue. Try running the ide as root, e.g.&#60;br /&#62;
$ sudo ./maple-ide&#60;/p&#62;
&#60;p&#62;On some systems, you may need to do a little work before running the udev script, such as creating the plugdev group. You may also need to do a little work such as restarting your udev. Please see the udev section of the linux install instructions here:&#60;br /&#62;
&#60;a href=&#34;http://leaflabs.com/docs/maple-ide/installation/&#34; rel=&#34;nofollow&#34;&#62;http://leaflabs.com/docs/maple-ide/installation/&#60;/a&#62;&#60;/p&#62;
&#60;p&#62;hope that helps!
&#60;/p&#62;</description>
		</item>
		<item>
			<title>videomusik on "IDE Version 0.0.5"</title>
			<link>http://forums.leaflabs.com/topic.php?id=51#post-243</link>
			<pubDate>Sat, 12 Jun 2010 15:54:51 +0000</pubDate>
			<dc:creator>videomusik</dc:creator>
			<guid isPermaLink="false">243@http://forums.leaflabs.com/</guid>
			<description>&#60;p&#62;Hey leafblowers. I hope this is the right place to post, as I am new to Maple and this forum.&#60;/p&#62;
&#60;p&#62;I just got my board to today, and hurried home to hook it up and get it a-blinking.&#60;br /&#62;
As of now, I have yet to get it to upload the program. I would like to just check that I've done everything right, as I am certain that it should be possible with my setup.&#60;/p&#62;
&#60;p&#62;I am running Ubuntu 10.4LTS on a standard PC.&#60;br /&#62;
I followed your quickstart guide at &#60;a href=&#34;http://leaflabs.com/docs/maple/quickstart/&#34; rel=&#34;nofollow&#34;&#62;http://leaflabs.com/docs/maple/quickstart/&#60;/a&#62; and followed the JRE installation instruction on &#60;a href=&#34;http://leaflabs.com/docs/maple-ide/installation/&#34; rel=&#34;nofollow&#34;&#62;http://leaflabs.com/docs/maple-ide/installation/&#60;/a&#62;.&#60;/p&#62;
&#60;p&#62;running the terminal command to install JRE I decided not to continue (see below) because I was not sure what removing all those files would mean to rest of my system. Checking under &#34;Ubuntu software center I could also see that &#34;OpenJDK Java 6 Runtime&#34; was already installed along with &#34;openjdk-6-jre-lib&#34;, &#34;openjdk-6-jre-headless&#34; and &#34;icedtea-6-jre-cacao&#34;. So I assumed that I had all the Java components I needed already.&#60;/p&#62;
&#60;p&#62;******************* terminal text *******************&#60;br /&#62;
user@computer:~$ sudo aptitude install openjdk-6-jre&#60;br /&#62;
[sudo] password for user:&#60;br /&#62;
Reading package lists... Done&#60;br /&#62;
Building dependency tree&#60;br /&#62;
Reading state information... Done&#60;br /&#62;
Reading extended state information&#60;br /&#62;
Initializing package states... Done&#60;br /&#62;
The following packages will be REMOVED:&#60;br /&#62;
  amarok-common{u} amarok-utils{u} gobject-introspection{u}&#60;br /&#62;
  java-wrappers{u} kde-icons-oxygen{u} kdemultimedia-kio-plugins{u}&#60;br /&#62;
  libass3{u} libaudclient2{u} libaudcore1{u} libaudid3tag2{u}&#60;br /&#62;
  libaudutil1{u} libbinio1ldbl{u} libboost-date-time1.38.0{u}&#60;br /&#62;
  libboost-thread1.38.0{u} libcairo2-dev{u} libcddb2{u} libcelt0{u}&#60;br /&#62;
  libcommons-cli-java{u} libcommons-lang-java{u} libdirectfb-dev{u}&#60;br /&#62;
  libdirectfb-extra{u} libexiv2-5{u} libexpat1-dev{u} libfaad0{u}&#60;br /&#62;
  libffado1{u} libfluidsynth1{u} libfontconfig1-dev{u} libfreebob0{u}&#60;br /&#62;
  libfreetype6-dev{u} libglew1.5{u} libjline-java{u} libjpeg62-dev{u}&#60;br /&#62;
  libkcddb4{u} libknotificationitem1{u} liblash2{u} liblastfm0{u}&#60;br /&#62;
  liblog4j1.2-java{u} liblzma0{u} libmcs1{u} libmowgli1{u} libopenjpeg2{u}&#60;br /&#62;
  libpixman-1-dev{u} libpng12-dev{u} libprojectm-data{u} libprojectm2{u}&#60;br /&#62;
  libqt4-gui{u} libqt4-phonon{u} libqtscript4-core{u} libqtscript4-gui{u}&#60;br /&#62;
  libqtscript4-network{u} libqtscript4-sql{u} libqtscript4-uitools{u}&#60;br /&#62;
  libqtscript4-xml{u} libreadline5{u} libresid-builder0c2a{u} libsad2{u}&#60;br /&#62;
  libsidplay2{u} libswt-cairo-gtk-3.4-jni{u} libswt-gnome-gtk-3.4-jni{u}&#60;br /&#62;
  libswt-gtk-3.4-java{u} libswt-gtk-3.4-jni{u}&#60;br /&#62;
  libswt-mozilla-gtk-3.4-jni{u} libsysfs-dev{u} libtag-extras1{u}&#60;br /&#62;
  libx264-67{u} libxcb-render-util0-dev{u} libxcb-render0-dev{u}&#60;br /&#62;
  libxfixes-dev{u} libxft-dev{u} libxml++2.6-2{u} libxrender-dev{u} lsb{u}&#60;br /&#62;
  lsb-core{u} lsb-cxx{u} lsb-desktop{u} lsb-graphics{u} lsb-printing{u}&#60;br /&#62;
  m4{u} ncurses-term{u} nvidia-185-kernel-source{u} nvidia-185-libvdpau{u}&#60;br /&#62;
  pax{u} rhino{u} sdparm{u} wine-gecko{u} x11proto-fixes-dev{u}&#60;br /&#62;
  x11proto-render-dev{u}&#60;br /&#62;
0 packages upgraded, 0 newly installed, 87 to remove and 11 not upgraded.&#60;br /&#62;
Need to get 0B of archives. After unpacking 73,5MB will be freed.&#60;br /&#62;
Do you want to continue? [Y/n/?] n&#60;br /&#62;
*************************************************************************&#60;/p&#62;
&#60;p&#62;After this I downloaded the latest Linux version of the IDE: maple-ide-LATEST-linux32.tgz and unpacked to my desktop as suggested.&#60;br /&#62;
I opened the folder and ran the install-udev-rules.sh.&#60;br /&#62;
Then I run the IDE by double-clicking the maple-ide shell-script and selecting run in the following dialog.&#60;br /&#62;
In the IDE I select the blink sketch. I plug in my Maple board in the front USB port on my desktop computer and press the reset button, immediately followed by the &#34;but&#34; button to make it enter &#34;perpetual bootloader mode&#34; to give me enough time to upload a sketch.&#60;br /&#62;
I select &#34;Tools -&#38;gt; Board -&#38;gt; LeafLabs R3 Maple to RAM&#34;, and &#34;Tools -&#38;gt; Serial Port -&#38;gt; /dev/ttyS0&#34; as my serial port - the only one available (when I am in normal &#34;non-perpetual bootloader mode&#34; I also have the option of /dev/ttyACM0, but I understand from this article: &#34;http://leaflabs.com/docs/maple-bootloader/&#34;, that the CDC ACM is only used for user code).&#60;/p&#62;
&#60;p&#62;After having pressed the &#34;play&#34; button to compile the blink sketch, I press the &#34;upload&#34; button, and the following gets printed in my IDE terminal window:&#60;/p&#62;
&#60;p&#62;******************************************************&#60;br /&#62;
Going to build using 'make' (ARM)&#60;br /&#62;
	Compiling core...&#60;br /&#62;
	Compiling any libs...&#60;br /&#62;
	Compiling the sketch...&#60;br /&#62;
	running linker asynchronously...&#60;br /&#62;
	running obj copy asynchronously...&#60;br /&#62;
	running size asynchronously...&#60;/p&#62;
&#60;p&#62;/tmp/build7589438001463521808.tmp/Blink.cpp.bin  :&#60;br /&#62;
section    size   addr&#60;br /&#62;
.data   11056      0&#60;br /&#62;
Total   11056&#60;/p&#62;
&#60;p&#62;Binary sketch size is reported above. Check it against a 17000 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;br /&#62;
Cannot claim interface: could not claim interface 0: Operation not permitted&#60;/p&#62;
&#60;p&#62;Opening USB Device 0x1eaf:0x0003...&#60;br /&#62;
Found Runtime: [0x1eaf:0x0003] devnum=0, cfg=0, intf=0, alt=0, name=&#34;UNDEFINED&#34;&#60;br /&#62;
Claiming USB DFU Interface...&#60;br /&#62;
**************************************************&#60;/p&#62;
&#60;p&#62;And then it hangs here forever..&#60;/p&#62;
&#60;p&#62;Am I correct in assuming that I should be doing the right thing up until this point?&#60;/p&#62;
&#60;p&#62;I also tried resetting the board, and _not_ entering perpetual bootloader mode.&#60;br /&#62;
When I upload the sketch with the /dev/ttyS0 device serial port selected I get:&#60;/p&#62;
&#60;p&#62;**********************************************************&#60;br /&#62;
Going to build using 'make' (ARM)&#60;br /&#62;
	Compiling core...&#60;br /&#62;
	Compiling any libs...&#60;br /&#62;
	Compiling the sketch...&#60;br /&#62;
	running linker asynchronously...&#60;br /&#62;
	running obj copy asynchronously...&#60;br /&#62;
	running size asynchronously...&#60;/p&#62;
&#60;p&#62;/tmp/build7589438001463521808.tmp/Blink.cpp.bin  :&#60;br /&#62;
section    size   addr&#60;br /&#62;
.data   11056      0&#60;br /&#62;
Total   11056&#60;/p&#62;
&#60;p&#62;Binary sketch size is reported above. Check it against a 17000 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;
dfu-util - (C) 2007 by OpenMoko Inc.&#60;br /&#62;
This program is Free Software and has ABSOLUTELY NO WARRANTY&#60;/p&#62;
&#60;p&#62;Couldn't find the DFU device: [1EAF:0003]&#60;br /&#62;
************************************************&#60;/p&#62;
&#60;p&#62;with he last three lines (five, including empty lines) appearing a few seconds later.&#60;/p&#62;
&#60;p&#62;And when I select the /dev/ttyACM0 port I get the same as when in perpetual boot-loader mode. (which doesn't make sense to me, because I thought the CDC ACM port was for user code. But then again I have no clue really what's going on).&#60;/p&#62;
&#60;p&#62;I know this turned out to be a very long and probably far too simple post for what you guys are doing at the moment, but I thought maybe someone else might have a similar problem, and be very new to this thing.&#60;/p&#62;
&#60;p&#62;I am very stuck here, and would appreciate any help to get going again.&#60;br /&#62;
I tried to follow the quickstart guide as closely as possible, and I think I have a pretty standard setup. Is there something very obvious that I am missing here?&#60;/p&#62;
&#60;p&#62;Best Regards,&#60;/p&#62;
&#60;p&#62;Jakob
&#60;/p&#62;</description>
		</item>
		<item>
			<title>bnewbold on "IDE Version 0.0.5"</title>
			<link>http://forums.leaflabs.com/topic.php?id=51#post-241</link>
			<pubDate>Fri, 11 Jun 2010 18:55:49 +0000</pubDate>
			<dc:creator>bnewbold</dc:creator>
			<guid isPermaLink="false">241@http://forums.leaflabs.com/</guid>
			<description>&#60;p&#62;Hi Starbug, sorry it didn't work &#34;out of the box&#34;...&#60;/p&#62;
&#60;p&#62;In &#34;perpetual bootloader&#34; mode the blue status LED should blink at a constant rate forever. In that mode the IDE should compain about &#34;failing to reset&#34; the board (because it's already &#34;reset&#34; into DFU mode) but then find it and upload via DFU. If you're successfully in perpetual bootloader (constant blinking) but there is still at &#34;DFU device not found: 0x1EAF:0x0003&#34; type error than there's something strange about your setup*? It sounds like that wasn't your problem though as you were able to upload after several resets... did you do anything different to get it to finally work? Now that you've managed to upload a new program (to FLASH?) can you upload new ones reliably? &#60;/p&#62;
&#60;p&#62;On to the COMM issue, you shouldn't have to flash any new bootloader, and the serial monitor in the IDE should work fine with any baudrate when using SerialUSB. &#60;/p&#62;
&#60;p&#62;One thing you could try is removing any writes (.print or .println) to Serial# (1, 2, or 3) from your sketch if you have any. Writing to those USART ports will sometimes block if there is no FTDI device or similar receiving the transmission (will be fixed in 0.1.0). This could be causing your program to halt. &#60;/p&#62;
&#60;p&#62;As another debugging step, can you confirm that your sketch is running correctly and that you just aren't receiving the bytes on windows? For example you could use the standard Examples/Digital/Blink program and add &#34;SerialUSB.println(&#34;Hello starbug!&#34;);&#34; to the end of the loop(), then check to make sure that the LED keeps blinking (if it doesn't blink that indicates that the program halted, possibly when trying to write).&#60;/p&#62;
&#60;p&#62;A last, most advanced debugging trick would be to try an alternative serial port monitor that can configure the DTR/RTS lines and make sure that at least one of those lines is pulled high when you are receiving bytes from the Maple. I can't think of such a program for windows (PySerial does it if you're comfortable with python, or GtkTerm on linux, or &#34;Serial Tools&#34; on Mac OSX). I'll ask around!&#60;/p&#62;
&#60;p&#62;*As some more context, the windows DFU drivers we use are a standard part of windows; the &#34;driver&#34; that needs to be installed is just a text file that tells windows to use that particular driver for the Maple device. With the Maple in perpetual bootloader mode it's a very simple DFU device with no tricky timing constraints, so unless you were using a virtual machine, a bunch of USB hubs, or something along those lines it should work every time. We've never had an upload fail on any operating system (including Windows XP 32bit) with the Maple in perpetual bootloader mode, so if you had trouble with that we'd definitely like to hear about it!
&#60;/p&#62;</description>
		</item>
		<item>
			<title>starbug on "IDE Version 0.0.5"</title>
			<link>http://forums.leaflabs.com/topic.php?id=51#post-240</link>
			<pubDate>Fri, 11 Jun 2010 17:47:27 +0000</pubDate>
			<dc:creator>starbug</dc:creator>
			<guid isPermaLink="false">240@http://forums.leaflabs.com/</guid>
			<description>&#60;p&#62;Installed the new 0.0.5 release of the IDE. Compiled and uploaded the InteractiveTest.&#60;br /&#62;
I didnot see any reaction after (hold the BUT button for a few seconds immediately after you release the RESET button). It was just like before as the dfu was not detected and i had to press the reset button several times. But i managed to get a upload.&#60;br /&#62;
Everything was fine, but after reset there is no output on the defined COMM SerialUSB. Does COMM use the same Baudrate as the SerialPort in the IDE Tools and can i also use the SerialMonitor from the IDE?&#60;br /&#62;
I am a bit confused, must i flash the bootloader out of the new 005 directory nor not? Must i install some new drivers? Give me tip please.
&#60;/p&#62;</description>
		</item>
		<item>
			<title>bnewbold on "IDE Version 0.0.5"</title>
			<link>http://forums.leaflabs.com/topic.php?id=51#post-236</link>
			<pubDate>Fri, 11 Jun 2010 15:04:15 +0000</pubDate>
			<dc:creator>bnewbold</dc:creator>
			<guid isPermaLink="false">236@http://forums.leaflabs.com/</guid>
			<description>&#60;p&#62;As mentioned in a recent blog post, we've uploaded a new 0.0.5 release of the IDE; you can download from &#60;a href=&#34;http://static.leaflabs.com/pub/leaflabs/maple-ide/&#34; rel=&#34;nofollow&#34;&#62;http://static.leaflabs.com/pub/leaflabs/maple-ide/&#60;/a&#62; .&#60;/p&#62;
&#60;p&#62;Major Changes:&#60;/p&#62;
&#60;ul&#62;
&#60;li&#62;Mac OSX Compatibility! Tested on Snow Leopard (10.6) machines, both 32bit (old mac mini) and 64bit. It should be physically possible to get things compiled on other versions of OSX, but you would have to be a compilation wizard.
 &#60;/li&#62;
&#60;li&#62;New reset scheme (to work on OSX, ugh): on the falling edge of DTR look in the first USB packed for &#34;1EAF&#34;
 &#60;/li&#62;
&#60;li&#62;SerialUSB is now compiled in by default in sketches (required for reset scheme)
 &#60;/li&#62;
&#60;li&#62;&#34;Less-blocking&#34; SerialUSB: only push bytes into buffer if DTR or RTS is high (indicating a serial port monitor running on some host OS somewhere)
 &#60;/li&#62;
&#60;li&#62;Newer, cleaner binary-depedancies download scheme for building the IDE (you can directly download the codesourcery binaries for all platforms from &#60;a href=&#34;http://static.leaflabs.com/pub/codesourcery/&#34; rel=&#34;nofollow&#34;&#62;http://static.leaflabs.com/pub/codesourcery/&#60;/a&#62; )
 &#60;/li&#62;
&#60;li&#62;Some documentation tweaks (more to come!)
&#60;/li&#62;
&#60;/ul&#62;
&#60;p&#62;Incompatabilities:&#60;/p&#62;
&#60;ul&#62;
&#60;li&#62;&#34;SerialUSB&#34; not &#34;HardwareUSB&#34;: you now shouldn't declare a HardwareUsb device in your header. Just use SerialUSB like you would Serial1, Serial2, etc.
&#60;/li&#62;
&#60;li&#62;New reset-over-serial scheme: if you have a maple with an old program on it, you may have to enter perpetual bootloader mode (hold the BUT button for a few seconds immediately &#38;lt;i&#38;gt;after&#38;lt;/i&#38;gt; you release the RESET button) to upload a new program with the new scheme. The reason for this is that the special USB-serial reset-to-bootloader message that the maple listens for has changed; the IDE will try both methods but this isn't reliable. Any new program that gets successfully uploaded will have the new (much more reliable!) method included, so this only has to be done once. This is related to the bootloader, but not actually an issue with the bootloader: the &#34;wait for reset&#34; code is part of the SerialUSB interrupt routine in libmaple.
&#60;/li&#62;
&#60;/ul&#62;
&#60;p&#62;We're sorry to push changes that possibly break your existing code! Unless there are further upload and serial port issues, our development focus for the 0.1.0 release is to iron out any further API changes to prevent later broken incompatibilities. We'll also be testing on more OS versions and configurations, restructuring libmaple t (we aren't planning on doing releases) to be portable across the whole STM32F103 line (for Maple Mini and Maple Native!), providing a higher level interface for timers, upgrading Linux and Win32 to the 2010q1 version of codesourcery gcc, and possibly changing the block behavior of all the HardwareSerial and SerialUSB devices. Other development priorities (if we can squeeze them in!) are USB HID class functionality, wrapping up the I2C library, and porting arduino libraries.&#60;/p&#62;
&#60;p&#62;&#60;strong&#62;EDIT:&#60;/strong&#62; just noticed a bug in ASCIITable: one of the Serial.prints should be SerialUSB.print, also you almost certainly want to replace the final infinite loop in &#34;if(thisByte == 126) {}&#34; with &#34;thisByte = 0;&#34; to make the table dump over and over; otherwise you'll miss it!
&#60;/p&#62;</description>
		</item>

	</channel>
</rss>
