<?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: Just curious - The Blue Status LED Throbbing.</title>
		<link>http://forums.leaflabs.com/topic.php?id=141</link>
		<description>A place to share, learn, and grow...</description>
		<language>en-US</language>
		<pubDate>Fri, 22 Jan 2016 00:19:34 +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=141" rel="self" type="application/rss+xml" />

		<item>
			<title>leaflabsandy on "Just curious - The Blue Status LED Throbbing."</title>
			<link>http://forums.leaflabs.com/topic.php?id=141#post-891</link>
			<pubDate>Mon, 30 Aug 2010 11:20:15 +0000</pubDate>
			<dc:creator>leaflabsandy</dc:creator>
			<guid isPermaLink="false">891@http://forums.leaflabs.com/</guid>
			<description>&#60;p&#62;Quote: &#34;I think the best would be a very low default verbosity that could be modified by the user with a #define in the header of their code&#34;&#60;/p&#62;
&#60;p&#62;Reply: Yep, keep it real simple.
&#60;/p&#62;</description>
		</item>
		<item>
			<title>bnewbold on "Just curious - The Blue Status LED Throbbing."</title>
			<link>http://forums.leaflabs.com/topic.php?id=141#post-890</link>
			<pubDate>Mon, 30 Aug 2010 10:26:05 +0000</pubDate>
			<dc:creator>bnewbold</dc:creator>
			<guid isPermaLink="false">890@http://forums.leaflabs.com/</guid>
			<description>&#60;p&#62;The hard fault (file, line number) is currently printed to Serial2. The mechanism for this adds crude debugging symbols to the usercode programs for every single ASSERT(), which contributes a couple kb to the bloated program size. Currently there is a MAPLE_DEBUG variable in the source code which can disable this feature. We just disabled it by default in the repositories but will probably come up with a more subtle solution like verbosity levels which can be modified in a makefile. &#60;/p&#62;
&#60;p&#62;Do you think it would be worth having a verbosity control in the IDE or just having DEBUG/RELEASE targets? I think the best would be a very low default verbosity that could be modified by the user with a #define in the header of their code instead of via a menu option or build target, but I haven't looked in to this option yet.
&#60;/p&#62;</description>
		</item>
		<item>
			<title>leaflabsandy on "Just curious - The Blue Status LED Throbbing."</title>
			<link>http://forums.leaflabs.com/topic.php?id=141#post-869</link>
			<pubDate>Sat, 28 Aug 2010 08:39:15 +0000</pubDate>
			<dc:creator>leaflabsandy</dc:creator>
			<guid isPermaLink="false">869@http://forums.leaflabs.com/</guid>
			<description>&#60;p&#62;Quote: &#34;Throbbing = Hardfault&#34;&#60;/p&#62;
&#60;p&#62;Reply: Translation - The ARM is halted in an infinite loop.&#60;/p&#62;
&#60;p&#62;Quote: &#34;what caused this? My best guess is a memory access hardfault. This happens you go outof bounds on a buffer or derefence null. It could be a bug youve found by thrashing the comm port libs. If so it would be a great find! Care to share some code?&#34;&#60;/p&#62;
&#60;p&#62;Reply: I am using Azeotech's Daq Factory Express to hammer the Maple's comports. By adjusting the polling parameters and the Maple's millis sketch code, I was able to stop the throbbing. Probably overflowing the buffers or the ARM's capability to respond to multiple polls with large blocks of data sent out from the ARM? &#60;/p&#62;
&#60;p&#62;Quote: &#34;FYI it is possible to recover from hardfaults via overriding the exception handlers and doing your own thing. Id have to dig a little to get you more&#60;br /&#62;
info on this if you are interested.&#34;&#60;/p&#62;
&#60;p&#62;Reply: A reset/POR will do it &#34;IF&#34; the condition is gone.&#60;/p&#62;
&#60;p&#62;Maybe by using an enable flag, the hardfault would be printed to a serial port?
&#60;/p&#62;</description>
		</item>
		<item>
			<title>poslathian on "Just curious - The Blue Status LED Throbbing."</title>
			<link>http://forums.leaflabs.com/topic.php?id=141#post-860</link>
			<pubDate>Fri, 27 Aug 2010 22:16:45 +0000</pubDate>
			<dc:creator>poslathian</dc:creator>
			<guid isPermaLink="false">860@http://forums.leaflabs.com/</guid>
			<description>&#60;p&#62;Oof. Throbbing = Hardfault&#60;/p&#62;
&#60;p&#62;which hardfault? err...currently you cant differentiate between the different kinds, they all throb. The state of the chip is that its sitting in a while(true){throb} loop inside of some hard fault exception handler. Weve been throwing out lots of ideas (internally) about a &#34;better way&#34; to deal with hardfaults, so were on it! &#60;/p&#62;
&#60;p&#62;what caused this? My best guess is a memory access hardfault. This happens you go out of bounds on a buffer or derefence null. It could be a bug youve found by thrashing the comm port libs. If so it would be a great find! Care to share some code? &#60;/p&#62;
&#60;p&#62;FYI it is possible to recover from hardfaults via overriding the exception handlers and doing your own thing. Id have to dig a little to get you more info on this if you are interested.
&#60;/p&#62;</description>
		</item>
		<item>
			<title>leaflabsandy on "Just curious - The Blue Status LED Throbbing."</title>
			<link>http://forums.leaflabs.com/topic.php?id=141#post-855</link>
			<pubDate>Fri, 27 Aug 2010 18:07:49 +0000</pubDate>
			<dc:creator>leaflabsandy</dc:creator>
			<guid isPermaLink="false">855@http://forums.leaflabs.com/</guid>
			<description>&#60;p&#62;Just curious - The Blue Status LED Throbbing.&#60;/p&#62;
&#60;p&#62;Note: I am not using assert() and debug = 0.&#60;br /&#62;
During my testing, I am hammering the Maples's comports with everything they can take.&#60;/p&#62;
&#60;p&#62;What condition(s) would cause the Maple blue status LED to throbb?&#60;/p&#62;
&#60;p&#62;What is the state of the Maple (running/halted/?) in when this happens?
&#60;/p&#62;</description>
		</item>

	</channel>
</rss>
