<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="https://devzone.nordicsemi.com/cfs-file/__key/system/syndication/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Debugging hids_keyboard weirdness under OSX/Eclipse (nrf51422)</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/4145/debugging-hids_keyboard-weirdness-under-osx-eclipse-nrf51422</link><description>Hello, 
 I’m porting the hids_keyboard demo to work with the nrf51422 dev board. I just changed the #defines for the board in project settings, as well as the pin assignments for the buttons and LEDs. 
 When I compile and flash the code, the device</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Sat, 18 Oct 2014 21:11:22 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/4145/debugging-hids_keyboard-weirdness-under-osx-eclipse-nrf51422" /><item><title>RE: Debugging hids_keyboard weirdness under OSX/Eclipse (nrf51422)</title><link>https://devzone.nordicsemi.com/thread/14829?ContentTypeID=1</link><pubDate>Sat, 18 Oct 2014 21:11:22 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:8ca2091f-b352-496c-bc1d-eb22aae3e881</guid><dc:creator>405nm</dc:creator><description>&lt;p&gt;&lt;a href="https://devzone.nordicsemi.com/question/18226/stack-trace-starting-from-a-hex-address/"&gt;Here&lt;/a&gt; is the new thread.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Debugging hids_keyboard weirdness under OSX/Eclipse (nrf51422)</title><link>https://devzone.nordicsemi.com/thread/14828?ContentTypeID=1</link><pubDate>Sat, 18 Oct 2014 19:48:59 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:2727153b-779c-4f0d-85e4-e02623667e08</guid><dc:creator>405nm</dc:creator><description>&lt;p&gt;OK, will do that, thanks!&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Debugging hids_keyboard weirdness under OSX/Eclipse (nrf51422)</title><link>https://devzone.nordicsemi.com/thread/14827?ContentTypeID=1</link><pubDate>Sat, 18 Oct 2014 18:41:31 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:28b4f4fe-a103-4ede-bdfa-be1c39bd4520</guid><dc:creator>Nguyen Hoan Hoang</dc:creator><description>&lt;p&gt;Probably there is something that wasn&amp;#39;t initialized correctly.  Look at the stack trace (left top windows of the debug perspective).  Back trace to which was the last function causing the exception.  You can then post a new question in the forum about it.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Debugging hids_keyboard weirdness under OSX/Eclipse (nrf51422)</title><link>https://devzone.nordicsemi.com/thread/14826?ContentTypeID=1</link><pubDate>Sat, 18 Oct 2014 16:47:04 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:6df70a85-d9eb-45de-8fab-41af24e02d83</guid><dc:creator>405nm</dc:creator><description>&lt;p&gt;Ah, cool.  I put a breakpoint in the app_error_handler and the program went there.  What should I do next?  Not quite sure how to interpret the results the debugger is giving me - error_code is 0xDEADBEEF (generic), and it says line_num = 1377, and p_file_name is src\rem.c - a file which is not in my project...&lt;a href="http://i.imgur.com/dQFvIFC.png"&gt;here&amp;#39;s&lt;/a&gt; a screen grab.&lt;/p&gt;
&lt;p&gt;Thanks for taking the time to help me out with this!&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Debugging hids_keyboard weirdness under OSX/Eclipse (nrf51422)</title><link>https://devzone.nordicsemi.com/thread/14825?ContentTypeID=1</link><pubDate>Sat, 18 Oct 2014 10:21:23 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:fc6de37a-821e-4ef6-94d7-b531aefdd13b</guid><dc:creator>Nguyen Hoan Hoang</dc:creator><description>&lt;p&gt;There might be an error code returned before it reaches you LED which case an exception.  Try to locate app_error_handler some where. Either put break point there or LED see if that was the problem.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Debugging hids_keyboard weirdness under OSX/Eclipse (nrf51422)</title><link>https://devzone.nordicsemi.com/thread/14824?ContentTypeID=1</link><pubDate>Sat, 18 Oct 2014 06:17:53 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:d0279a44-8faa-4018-bb45-57464db56459</guid><dc:creator>405nm</dc:creator><description>&lt;p&gt;Pretty much - I am using the eclipse ARM plugins, as well as the eclipse project template I mentioned in original post, as I am using a dev kit and code written for the PCA10001 which is similar to the board Im using (PCA10003).  So I&amp;#39;m not using your EHAL source tree.  Thing seems to be compiling fine though, but it freezes when going into that keys_send function.  Even when I&amp;#39;m not using a debugger and just try to turn on an LED in that function....it just never gets there.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Debugging hids_keyboard weirdness under OSX/Eclipse (nrf51422)</title><link>https://devzone.nordicsemi.com/thread/14823?ContentTypeID=1</link><pubDate>Sat, 18 Oct 2014 02:09:12 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:48adfcb6-5850-4715-bbe6-eb8a1f6ad1e0</guid><dc:creator>Nguyen Hoan Hoang</dc:creator><description>&lt;p&gt;Did you follow the reference on my blog to setup the plugins? Kepler works fine for me on OSX but have not try Yosemite yet.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Debugging hids_keyboard weirdness under OSX/Eclipse (nrf51422)</title><link>https://devzone.nordicsemi.com/thread/14822?ContentTypeID=1</link><pubDate>Fri, 17 Oct 2014 22:29:15 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:751e8e0c-58dd-4e62-8804-684919abcce2</guid><dc:creator>405nm</dc:creator><description>&lt;p&gt;Just downloaded/installed/configured Kepler.  Same exact problem :-(&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Debugging hids_keyboard weirdness under OSX/Eclipse (nrf51422)</title><link>https://devzone.nordicsemi.com/thread/14821?ContentTypeID=1</link><pubDate>Fri, 17 Oct 2014 21:41:49 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:f4a108b8-c5d9-4f36-a3cc-81c8e3b97a34</guid><dc:creator>Nguyen Hoan Hoang</dc:creator><description>&lt;p&gt;It&amp;#39;s an intermittent problem.  some time it works but lots of time i doesn&amp;#39;t.  Some time you can start fine, then suddenly goes hey-wire.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Debugging hids_keyboard weirdness under OSX/Eclipse (nrf51422)</title><link>https://devzone.nordicsemi.com/thread/14820?ContentTypeID=1</link><pubDate>Fri, 17 Oct 2014 21:37:45 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:35f50e23-ea79-489a-8f12-a1c29b3d41eb</guid><dc:creator>405nm</dc:creator><description>&lt;p&gt;Hmm, that&amp;#39;s distressing.  It seems to work fine with a normal blinky example...I can set breakpoints and step, etc.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Debugging hids_keyboard weirdness under OSX/Eclipse (nrf51422)</title><link>https://devzone.nordicsemi.com/thread/14819?ContentTypeID=1</link><pubDate>Fri, 17 Oct 2014 21:17:30 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:19c201c1-d3a1-42c6-98d5-ab0d4fd832e9</guid><dc:creator>Nguyen Hoan Hoang</dc:creator><description>&lt;p&gt;Luna and the Arm plugins have issue with debug.  see here &lt;a href="http://embeddedsoftdev.blogspot.ca/p/eclipse.html"&gt;embeddedsoftdev.blogspot.ca/.../eclipse.html&lt;/a&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>