<?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>Troubles testing SDK examples for nRF51DK</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/5667/troubles-testing-sdk-examples-for-nrf51dk</link><description>Hello everyone! 
 I&amp;#39;m writing here becouse I&amp;#39;m quite new to the embedded world and I&amp;#39;m experiencing some troubles starting with this platform.. I must say that, since I found a severe lack of documentation, I have not a clear idea of how the things work</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Tue, 31 Mar 2015 10:53:12 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/5667/troubles-testing-sdk-examples-for-nrf51dk" /><item><title>RE: Troubles testing SDK examples for nRF51DK</title><link>https://devzone.nordicsemi.com/thread/19852?ContentTypeID=1</link><pubDate>Tue, 31 Mar 2015 10:53:12 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:f4359078-f4e6-48b4-a545-a7205483094f</guid><dc:creator>Stian R&amp;#248;ed Hafskjold</dc:creator><description>&lt;p&gt;Alright! We would really appreciate that! You are of course welcome to ask any other questions in the forum. A nice evening for you too:)&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Troubles testing SDK examples for nRF51DK</title><link>https://devzone.nordicsemi.com/thread/19851?ContentTypeID=1</link><pubDate>Mon, 30 Mar 2015 18:45:13 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:be5a2edf-3aa8-41da-9c54-6ad9fda58068</guid><dc:creator>Francesco F</dc:creator><description>&lt;p&gt;Thank you for your interest to my question. I&amp;#39;ll surely take a look to the new SDK (I didn&amp;#39;t know it has been released yet!). I was trying to work in a full open source environment so I rejected J-Segger on behalf of CMSIS-DAP, that&amp;#39;s the reason why I was trying to merge the two hex files.
I&amp;#39;ve studied a lot of already made projects and makefiles and, in the end, I discovered that I had to tweak the makefile in order to make the project compile correctly.&lt;/p&gt;
&lt;p&gt;As soon as I have enough time, I&amp;#39;ve planned to clean my files and post here the solution to my troubles.&lt;/p&gt;
&lt;p&gt;Have a nice evening :)&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Troubles testing SDK examples for nRF51DK</title><link>https://devzone.nordicsemi.com/thread/19850?ContentTypeID=1</link><pubDate>Mon, 30 Mar 2015 15:33:03 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:14170ac7-d847-4b99-9cc9-3bb555ec2bdc</guid><dc:creator>Stian R&amp;#248;ed Hafskjold</dc:creator><description>&lt;p&gt;I&amp;#39;m not sure why the merging fails, but you don&amp;#39;t really have to merge them. You can flash the softdevice hex and then the application hex. If you use JLinkExe to flash the chip you can flash both hex-files with a batch script similar to this:&lt;/p&gt;
&lt;pre&gt;&lt;code&gt;echo &amp;quot;device nrf51822&amp;quot; &amp;gt; $BINDIR/burn.seg
echo &amp;quot;speed 1000&amp;quot; &amp;gt;&amp;gt; $BINDIR/burn.seg
echo &amp;quot;w4 4001e504 2&amp;quot; &amp;gt;&amp;gt; $BINDIR/burn.seg
echo &amp;quot;w4 4001e50C 1&amp;quot; &amp;gt;&amp;gt; $BINDIR/burn.seg
echo &amp;quot;sleep 100&amp;quot; &amp;gt;&amp;gt; $BINDIR/burn.seg
echo &amp;quot;r&amp;quot; &amp;gt;&amp;gt; $BINDIR/burn.seg
echo &amp;quot;loadbin $SOFTDEVICE_HEX 0x0&amp;quot; &amp;gt;&amp;gt; $BINDIR/burn.seg
echo &amp;quot;loadbin $APP_HEX 0x18000&amp;quot; &amp;gt;&amp;gt; $BINDIR/burn.seg
echo &amp;quot;sleep 100&amp;quot; &amp;gt;&amp;gt; $BINDIR/burn.seg
echo &amp;quot;r&amp;quot; &amp;gt;&amp;gt; $BINDIR/burn.seg
echo &amp;quot;g&amp;quot; &amp;gt;&amp;gt; $BINDIR/burn.seg
echo &amp;quot;exit&amp;quot; &amp;gt;&amp;gt; $BINDIR/burn.seg
echo &amp;quot;&amp;quot; &amp;gt;&amp;gt; $BINDIR/burn.seg
JLinkExe &amp;lt; $BINDIR/burn.seg
&lt;/code&gt;&lt;/pre&gt;
&lt;p&gt;We do not currently have a complete support on GCC, but the makefiles in each of the example folders should at least compile the code out of the box. However,
there have been some issues with the SDK7 makefiles, and some requires modifications to work. The GCC support is better in SDK8.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>