<?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: Database of reliable &#34;delay&#34; (from &#34;File &#62;&#62; Preferences&#34; menu)</title>
		<link>http://forums.leaflabs.com/topic.php?id=135</link>
		<description>A place to share, learn, and grow...</description>
		<language>en-US</language>
		<pubDate>Fri, 22 Jan 2016 00:23:12 +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=135" rel="self" type="application/rss+xml" />

		<item>
			<title>StephenFromNYC on "Database of reliable &#34;delay&#34; (from &#34;File &#62;&#62; Preferences&#34; menu)"</title>
			<link>http://forums.leaflabs.com/topic.php?id=135#post-820</link>
			<pubDate>Wed, 25 Aug 2010 08:53:33 +0000</pubDate>
			<dc:creator>StephenFromNYC</dc:creator>
			<guid isPermaLink="false">820@http://forums.leaflabs.com/</guid>
			<description>&#60;p&#62;Database of reliable &#34;delay&#34; (from &#34;File &#38;gt;&#38;gt; Preferences&#34; menu)&#60;/p&#62;
&#60;p&#62;August 25, 2010&#60;/p&#62;
&#60;p&#62;Hello-&#60;/p&#62;
&#60;p&#62;I am using a Maple Rev 3 (summer 2010) board with Maple-IDE 0.0.6 running on a 1 GHz Pentium III (512 meg RAM) system with Windows XP Professional SP3 and one USB 1.1 port.&#60;/p&#62;
&#60;p&#62;I do not know how many developers are still using slow USB 1.1 ports on a Pentium III system, so I do not know how informative my problem is to other Maple developers.  I have not updated my computer, because I like the 1400 X 1050 pixel resolution of a 14 inch screen.  Good for seeing a lot of code on one screen.&#60;/p&#62;
&#60;p&#62;I am still having trouble uploading sketches to FLASH memory, but this is not a long term solution because eventually my sketches will not fit into Maple RAM and I am reluctant to spend time porting my LabVIEW/Arduino code to the Maple unless I know my board is working 100%.&#60;/p&#62;
&#60;p&#62;&#60;a href=&#34;http://forums.leaflabs.com/topic.php?id=128&#34; rel=&#34;nofollow&#34;&#62;http://forums.leaflabs.com/topic.php?id=128&#60;/a&#62;&#60;/p&#62;
&#60;p&#62;In an attempt to make it easier to trouble-shoot my Maple FLASH problem (and to help other users avoid the problem) I decided to find a way to reproducibly create an error message during a sketch upload to FLASH memory.&#60;/p&#62;
&#60;p&#62;I decided to systematically change the &#34;delay&#34; setting accessed via the &#34;File &#38;gt;&#38;gt; Preferences&#34; menu.&#60;/p&#62;
&#60;p&#62;I read that a setting of 600 ms works on a fast system (I assume with USB 2.0 ports). See&#60;/p&#62;
&#60;p&#62;&#60;a href=&#34;http://forums.leaflabs.com/topic.php?id=47&#34; rel=&#34;nofollow&#34;&#62;http://forums.leaflabs.com/topic.php?id=47&#60;/a&#62;&#60;/p&#62;
&#60;p&#62;The problem experienced by member starbug seems similar to my problem.  It is not clear if ??? found a permanent solution to the problem or a reasonable temporary fix.&#60;/p&#62;
&#60;p&#62;Note: unlike my previous posts, in following the steps described in the summary (see below) I did not need to use the &#34;perpetual bootloader mode&#34; at all.&#60;/p&#62;
&#60;p&#62;I assumed that by slowly increasing (or decreasing) the delay I would eventually reach a delay value where the upload would not work.&#60;/p&#62;
&#60;p&#62;If the optimal delay is different, depending on cpu speeds/USB type/service pack, then it might be useful if the LeafLabs developers created a database on their web site which lists the delay different users have found to work reliably on their systems.&#60;/p&#62;
&#60;p&#62;Unfortunately, as you can see below, the same delay which works successfully for me at one point results in a failure during a subsequent upload.  Compare steps 36-40 (failure) and steps 42-46 (success).&#60;/p&#62;
&#60;p&#62;Why is my Maple not behaving in a predictable way?  What am I doing wrong?&#60;/p&#62;
&#60;p&#62;Thanks!&#60;/p&#62;
&#60;p&#62;Stephen from NYC&#60;/p&#62;
&#60;p&#62;&#38;lt;start of summary&#38;gt;&#60;/p&#62;
&#60;p&#62;01) set delay to 1200 ms, exit Maple-IDE, restart Maple-IDE, load Blink&#60;br /&#62;
02) reset two Blink delays to 2000 ms&#60;br /&#62;
03) set &#34;Tools &#38;gt;&#38;gt; Board &#38;gt;&#38;gt; FLASH&#34;&#60;br /&#62;
04) compile separately; upload into FLASH after compile is done&#60;br /&#62;
05) result: success&#60;br /&#62;
06) reset two Blink delays to 1000 ms&#60;br /&#62;
07) set &#34;Tools &#38;gt;&#38;gt; Board &#38;gt;&#38;gt; RAM&#34;&#60;br /&#62;
08) compile separately; upload into RAM after compile is done&#60;br /&#62;
09) result: success&#60;br /&#62;
10) conclusion: FLASH works&#60;/p&#62;
&#60;p&#62;11) set delay to 1300 ms, exit Maple-IDE, restart Maple-IDE, load Blink&#60;br /&#62;
12) reset two Blink delays to 2000 ms&#60;br /&#62;
13) set &#34;Tools &#38;gt;&#38;gt; Board &#38;gt;&#38;gt; FLASH&#34;&#60;br /&#62;
14) compile separately; upload into FLASH after compile is done&#60;br /&#62;
15) result: success&#60;br /&#62;
16) reset two Blink delays to 1000 ms&#60;br /&#62;
17) set &#34;Tools &#38;gt;&#38;gt; Board &#38;gt;&#38;gt; RAM&#34;&#60;br /&#62;
18) compile separately; upload into RAM after compile is done&#60;br /&#62;
19) result: success&#60;br /&#62;
20) conclusion: RAM works&#60;/p&#62;
&#60;p&#62;21) 1400 ms delay: uploading to FLASH works; uploading to RAM works&#60;br /&#62;
22) 1500 ms delay: uploading to FLASH works; uploading to RAM works&#60;br /&#62;
23) 1600 ms delay: uploading to FLASH works; uploading to RAM works&#60;br /&#62;
24) 1700 ms delay: uploading to FLASH works; uploading to RAM works&#60;/p&#62;
&#60;p&#62;25) believe that sketch is not functioning correctly (blinking seems to remain at 1000 ms)&#60;br /&#62;
26) confirm belief by removing &#34;LED on&#34; line (after upload, blinking continues, meaning removing the code to turn on the LED does not affect the observed behavior)&#60;br /&#62;
27) I was expecting an error message or an unsuccessful load when the delay was too long&#60;/p&#62;
&#60;p&#62;29) return to 1400 ms delay, but increase Blink timing to 3000 ms delay&#60;br /&#62;
30) 1400 ms delay: uploading to FLASH shows 1000 ms blink interval (modified code not working)&#60;br /&#62;
31) 1200 ms delay: uploading to FLASH still shows 1000 ms blink (modified code not working)&#60;br /&#62;
32) 1200 ms delay: uploading to RAM now shows 3000 ms blink (modified code working in RAM)&#60;br /&#62;
33) decrease Blink timing to 1000 ms delay&#60;br /&#62;
34) 1200 ms delay: uploading to RAM now shows 1000 ms blink (modified code working in RAM)&#60;/p&#62;
&#60;p&#62;35) restart assessment: use 3000 and 1000 ms to distinguish between successful uploads to FLASH/RAM&#60;/p&#62;
&#60;p&#62;36) set delay to 1300 ms, exit Maple-IDE, restart Maple-IDE, load Blink&#60;br /&#62;
37) reset two Blink delays to 3000 ms&#60;br /&#62;
38) set &#34;Tools &#38;gt;&#38;gt; Board &#38;gt;&#38;gt; FLASH&#34;&#60;br /&#62;
39) compile separately; upload into FLASH after compile is done&#60;br /&#62;
40) result: stops after line: &#34;Starting download: [&#34;&#60;/p&#62;
&#60;p&#62;41) conclusion: upload to FLASH does not succeed with 1300 ms delay (steps 36-40) even though the same steps succeed with the same delay (steps 11-15). &#60;/p&#62;
&#60;p&#62;42) keep delay to 1300 ms, exit Maple-IDE, restart Maple-IDE, load Blink&#60;br /&#62;
43) reset two Blink delays to 3000 ms&#60;br /&#62;
44) set &#34;Tools &#38;gt;&#38;gt; Board &#38;gt;&#38;gt; FLASH&#34;&#60;br /&#62;
45) compile separately; upload into FLASH after compile is done&#60;br /&#62;
46) result: success&#60;/p&#62;
&#60;p&#62;47) conclusion: compare steps 36-40 and steps 42-46 (same procedure, but different results)&#60;/p&#62;
&#60;p&#62;&#38;lt;end of summary&#38;gt;
&#60;/p&#62;</description>
		</item>

	</channel>
</rss>
