<?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>Having trouble flashing from Eclipse</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/1220/having-trouble-flashing-from-eclipse</link><description>I&amp;#39;ve spent quite a while getting Eclipse on Mac OSX working. I started with the original makefile but have come up with, finally, a working native Eclipse build which does the same thing. It&amp;#39;s quite nice having full Eclipse integration. (If anyone is</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Wed, 15 Jan 2014 17:43:10 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/1220/having-trouble-flashing-from-eclipse" /><item><title>RE: Having trouble flashing from Eclipse</title><link>https://devzone.nordicsemi.com/thread/5642?ContentTypeID=1</link><pubDate>Wed, 15 Jan 2014 17:43:10 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:f2ed4b20-297f-49a5-a83c-ab684e4068d8</guid><dc:creator>Jim</dc:creator><description>&lt;p&gt;Which GDB launcher are you using?  I had this trouble until I switched from DSF to the standard launcher.&lt;/p&gt;
&lt;p&gt;See this: &lt;a href="https://devzone.nordicsemi.com/index.php/discussions/eclipse,-gdb,-macos-so-close"&gt;devzone.nordicsemi.com/.../eclipse,-gdb,-macos-so-close&lt;/a&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Having trouble flashing from Eclipse</title><link>https://devzone.nordicsemi.com/thread/5641?ContentTypeID=1</link><pubDate>Fri, 03 Jan 2014 12:01:07 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:ee62e19d-9740-45cc-8ef0-5203f3547ed0</guid><dc:creator>Ole Morten</dc:creator><description>&lt;p&gt;Have you seen &lt;a href="https://devzone.nordicsemi.com/index.php/uart-application-problem"&gt;this&lt;/a&gt;? I suspect you may be seeing consequences of the same problem.&lt;/p&gt;
&lt;p&gt;Also, are your project using a softdevice or not? If it is not, you should make sure that you don&amp;#39;t in any way accidentially flash a softdevice to your chip, as that will most likely cause the kind of verification errors you see.&lt;/p&gt;
&lt;p&gt;Personally, I find myself using command-line gdb more than Eclipse, and I&amp;#39;ve put my Makefiles and linker scripts on GitHub &lt;a href="https://github.com/hlnd/nrf51-pure-gcc-setup"&gt;here&lt;/a&gt;. It might be a good idea to check whether things are working from the command line before moving into Eclipse, as I sometimes suspect Eclipse of causing additional problems...&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Having trouble flashing from Eclipse</title><link>https://devzone.nordicsemi.com/thread/5637?ContentTypeID=1</link><pubDate>Sun, 29 Dec 2013 06:53:58 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:441bb830-cbf4-4e5a-a2f3-7c68e751fa94</guid><dc:creator>RK</dc:creator><description>&lt;p&gt;no I just used the normal CDT plugin, the one nan-29 recommends. It&amp;#39;s a bit of a bear, especially if you don&amp;#39;t know eclipse (I don&amp;#39;t .. well I didn&amp;#39;t) but it works. I think nan-29 is ok, it got me started at least even making allowances for it being windows and me using OSX.&lt;/p&gt;
&lt;p&gt;That plugin looks quite cute, I&amp;#39;ll grab a fresh install of Eclipse and see if, now I&amp;#39;ve learned how eclipse works, that makes it any easier. If I&amp;#39;m feeling super smart I&amp;#39;ll try building a template for nordic .. that won&amp;#39;t be this week!&lt;/p&gt;
&lt;p&gt;Sometimes I wish I didn&amp;#39;t have a day job ..&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Having trouble flashing from Eclipse</title><link>https://devzone.nordicsemi.com/thread/5640?ContentTypeID=1</link><pubDate>Sun, 29 Dec 2013 03:28:02 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:439b189f-174b-430e-91b2-c8e4b4470e40</guid><dc:creator>Eliot Stock</dc:creator><description>&lt;p&gt;Thanks. I probably found the same Eclipse plugin you did:&lt;/p&gt;
&lt;p&gt;&lt;a target="_blank" href="http://gnuarmeclipse.livius.net/blog/" rel="nofollow"&gt;http://gnuarmeclipse.livius.net/blog/&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;That&amp;#39;s got me further along but I still haven&amp;#39;t flashed the device using it, so I may hit the same issue you&amp;#39;re seeing shortly. The plugin looks promising though - if it works then the Nordic NAN 29 should probably be updated to use it. I certainly never got far with the NAN 29 instructions as they are now.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Having trouble flashing from Eclipse</title><link>https://devzone.nordicsemi.com/thread/5639?ContentTypeID=1</link><pubDate>Sun, 29 Dec 2013 02:45:22 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:07f59f79-3427-485c-849a-b648b5549e16</guid><dc:creator>RK</dc:creator><description>&lt;p&gt;It&amp;#39;s not under current Toolchain, that should be set to &amp;#39;Cross GCC&amp;#39; (if you don&amp;#39;t have a Cross GCC option in the dropdown then you probably need to download another piece of the CDT in addition to those suggested by nan-29, I certainly added a few extra bits I thought would be useful).&lt;/p&gt;
&lt;p&gt;Then in the option above that one, Properties -&amp;gt; C/C++ build-&amp;gt; Settings, in the first tab, &amp;#39;Tool Settings&amp;#39;, in the first option, &amp;#39;Cross Settings&amp;#39; (man Eclipse has a lot of settings) there are boxes for prefix and Path which I have set to&lt;/p&gt;
&lt;p&gt;arm-none-eabi-&lt;/p&gt;
&lt;p&gt;and&lt;/p&gt;
&lt;p&gt;&amp;lt;my homedir + stuff&amp;gt;/gcc/gcc-arm-none-eabi-4_7-2013q3&lt;/p&gt;
&lt;p&gt;I actually didn&amp;#39;t have to do a lot of that, I started with a new C project and picked Cross GCC as the toolchain right at the start and it asked me where things were. I didn&amp;#39;t build this project around a working makefile, I started from scratch and set Eclipse up to have all the correct paths, includes and flags in it to build the way the makefile does. I&amp;#39;m hoping to turn that into some kind of template and then do another template for a project with softdevice, which I suspect is just going to be another 6 hours of mashing eclipse buttons until it works.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Having trouble flashing from Eclipse</title><link>https://devzone.nordicsemi.com/thread/5638?ContentTypeID=1</link><pubDate>Sat, 28 Dec 2013 21:37:46 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:304c712a-677d-47da-bf18-56f9887edeed</guid><dc:creator>Eliot Stock</dc:creator><description>&lt;p&gt;Afraid I can&amp;#39;t help you with your flash issue but since you seem to have Eclipse CDT working with the gcc/gdb toolchain on Mac, would you mind explaining how you set up the Toolchain for CDT under project properties -&amp;gt; C/C++ Build -&amp;gt; Tool Chain Editor -&amp;gt; Current toolchain?&lt;/p&gt;
&lt;p&gt;The example project from Nordic has no toolchain here and I suspect this is the cause of a bunch of build errors in the BLE proximity example app (more detail here: &lt;a href="http://stackoverflow.com/questions/20051550/eclipse-cdt-error-symbol-xxx-could-not-be-resolved)."&gt;stackoverflow.com/.../eclipse-cdt-error-symbol-xxx-could-not-be-resolved).&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Hopefully someone from Nordic can respond about your flash issue.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>