<?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>Building my first code with softdevice</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/28613/building-my-first-code-with-softdevice</link><description>Hi,
I&amp;#39;m trying to build and install my first code that uses the BLE / softdevice to my NRF52-DK 
 I&amp;#39;m using Windows 10, Eclipse/gcc and nRF5_SDK_14.2.0_17b948a I&amp;#39;m able to build and download the blinky code to my DK (all working as expected),I&amp;#39;m able</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Mon, 18 Dec 2017 22:21:31 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/28613/building-my-first-code-with-softdevice" /><item><title>RE: Building my first code with softdevice</title><link>https://devzone.nordicsemi.com/thread/113410?ContentTypeID=1</link><pubDate>Mon, 18 Dec 2017 22:21:31 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:83a479a9-7c58-41af-b39b-044eefbda651</guid><dc:creator>Matt</dc:creator><description>&lt;p&gt;I&amp;#39;m just too old fashioned I guess, as I still prefer to start with the good old breadboard :)&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Building my first code with softdevice</title><link>https://devzone.nordicsemi.com/thread/113418?ContentTypeID=1</link><pubDate>Mon, 18 Dec 2017 22:15:30 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:d83205a2-010a-4c59-ab4c-12e50837e3d0</guid><dc:creator>PaulP</dc:creator><description>&lt;p&gt;I got the micro-bit for £9UK maybe around $14. The only reason I got it (for her... I have far to many uC boards here already) was for the simple block programming and educational support - these have being free given to all UK school children (last year - not sure what age group) and are being used in current lessons.  Have a look at the web site &lt;a href="https://www.microbit.co.uk/home"&gt;www.microbit.co.uk/home&lt;/a&gt; - you can try the block coding stuff with out logging in or anything so it&amp;#39;s very child friendly (as are the physical boards).&lt;/p&gt;
&lt;p&gt;By the way... I&amp;#39;m not associated in any way, just think it&amp;#39;s a nice starting place for the next gen.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Building my first code with softdevice</title><link>https://devzone.nordicsemi.com/thread/113417?ContentTypeID=1</link><pubDate>Mon, 18 Dec 2017 21:06:36 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:14670e83-72a0-47a1-8cd0-bf4820269798</guid><dc:creator>Matt</dc:creator><description>&lt;p&gt;Micro Bit is too pricy; the nRF52 breakout board that I played with before was &amp;lt; USD$9 :)&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Building my first code with softdevice</title><link>https://devzone.nordicsemi.com/thread/113416?ContentTypeID=1</link><pubDate>Mon, 18 Dec 2017 20:40:30 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:e279cc4e-2c2b-4beb-ade0-99dd6bc7ead7</guid><dc:creator>PaulP</dc:creator><description>&lt;p&gt;LOL... no dev boards for me... tho I did get my 5yr old niece a BBC Micro Bit.... Soshe can make LED&amp;#39;s flash... just like me!&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Building my first code with softdevice</title><link>https://devzone.nordicsemi.com/thread/113415?ContentTypeID=1</link><pubDate>Mon, 18 Dec 2017 14:47:18 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:8d5d8c47-5312-4900-ba66-55dc8ad3a4cd</guid><dc:creator>Matt</dc:creator><description>&lt;p&gt;Good to hear you are off the naughty list :)
As for X&amp;#39;mas shopping... how about a few more nRF52 breakout boards (yeah, to test your SWD programming skills, ha ha) under the x&amp;#39;mas tree?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Building my first code with softdevice</title><link>https://devzone.nordicsemi.com/thread/113414?ContentTypeID=1</link><pubDate>Mon, 18 Dec 2017 14:34:46 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:eb10a379-2571-4712-93e0-72ebe6c10ed0</guid><dc:creator>PaulP</dc:creator><description>&lt;p&gt;Sorted :-D Many thanks!
I used nRFgo to load softdevice then my .hex and now appears to be working as expected.&lt;/p&gt;
&lt;p&gt;I can&amp;#39;t see how to convert you comment to answer.&lt;/p&gt;
&lt;p&gt;Thanks again... I can go do xmas shopping happy now :-D&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Building my first code with softdevice</title><link>https://devzone.nordicsemi.com/thread/113413?ContentTypeID=1</link><pubDate>Mon, 18 Dec 2017 14:24:18 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:346b6b68-6be6-41d5-a84a-cdced88d90c7</guid><dc:creator>PaulP</dc:creator><description>&lt;p&gt;Ohhh.. I gotta try this before I go out!!! (I&amp;#39;ve been using the drag n drop!)&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Building my first code with softdevice</title><link>https://devzone.nordicsemi.com/thread/113421?ContentTypeID=1</link><pubDate>Mon, 18 Dec 2017 14:16:55 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:49b94383-6ef1-4401-8e7b-25f230f79956</guid><dc:creator>Hung Bui</dc:creator><description>&lt;p&gt;@PaulP: The pre-compiled version has the softdevice included, that&amp;#39;s why it&amp;#39;s 452kB. To test the hex file that you compiled yourself, you need to flash the softdevice first, then flash the application hex. Make sure you use nrfjprog.exe or Jlink.exe to flash, don&amp;#39;t do drag and drop.&lt;/p&gt;
&lt;p&gt;I suggest to test first by using make to compile directly with gcc. Eclipse is not recommended, if you want a free IDE, you can try Segger Embedded Studio. It&amp;#39;s free if you use with Nordic chip. SES is supported natively in SDK v14.2&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Building my first code with softdevice</title><link>https://devzone.nordicsemi.com/thread/113412?ContentTypeID=1</link><pubDate>Mon, 18 Dec 2017 13:59:42 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:5f3c28e7-2c87-4350-abc1-e55110195e81</guid><dc:creator>PaulP</dc:creator><description>&lt;p&gt;No I don&amp;#39;t see anything in the app with my version, also LED1 does not flash, also no data via the serial COM.. basically appears dead!&lt;/p&gt;
&lt;p&gt;I&amp;#39;ve gotta go out for a few hours, but when  get back I will attempt to get the debug running and update here once I&amp;#39;ve done it.&lt;/p&gt;
&lt;p&gt;I still don&amp;#39;t understand why the pre-compiled version is 452KB and mine only 108KB&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Building my first code with softdevice</title><link>https://devzone.nordicsemi.com/thread/113411?ContentTypeID=1</link><pubDate>Mon, 18 Dec 2017 13:47:19 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:0f46e20b-a652-4fba-92c8-78df063971bc</guid><dc:creator>Matt</dc:creator><description>&lt;p&gt;So with your own version do you see the DK in the nRF Connect app when you power it up? Are you familiar with Segger Real Time Trace? You can add segger rtt to the main() of the sample code and see if there is anything displayed in the RTT viewer in the windows pc.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Building my first code with softdevice</title><link>https://devzone.nordicsemi.com/thread/113409?ContentTypeID=1</link><pubDate>Mon, 18 Dec 2017 13:08:48 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:3e2ba41b-6d6b-4c59-9cc4-b7ec19b35e4d</guid><dc:creator>PaulP</dc:creator><description>&lt;p&gt;I have tested the SDK pre-compiled example with a PC COM Terminal to DK, and DK via BLE  to phone (running Nordic app) as mentioned before that all works as expected.&lt;/p&gt;
&lt;p&gt;I have followed the instructions as in the link above (tho for SDK 14.2) I just can&amp;#39;t compile a working version myself.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Building my first code with softdevice</title><link>https://devzone.nordicsemi.com/thread/113420?ContentTypeID=1</link><pubDate>Mon, 18 Dec 2017 12:41:03 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:f9c6737a-b1ec-4367-a583-28bd8351235a</guid><dc:creator>Matt</dc:creator><description>&lt;p&gt;The ble_app_uart example is about the Nordic Uart Service (NUS) correct? To test that one you need to have another nRF device (another DK or the nRF51 dongle) or the nRF Connect app in the smartphone to connect to the nRF52 DK and then send some text from the dongle/app to the DK. Please refer to&lt;/p&gt;
&lt;p&gt;&lt;a href="http://infocenter.nordicsemi.com/index.jsp"&gt;infocenter.nordicsemi.com/index.jsp&lt;/a&gt;
Software Development Kit &amp;gt; nRF5 SDK &amp;gt; nRF5 SDK v14.0.0 &amp;gt; Examples &amp;gt; Bluetooth low energy examples &amp;gt; BLE Peripheral &amp;gt; UART/Serial Port Emulation over BLE&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Building my first code with softdevice</title><link>https://devzone.nordicsemi.com/thread/113419?ContentTypeID=1</link><pubDate>Mon, 18 Dec 2017 11:52:51 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:5fbd32e3-e547-44da-993f-aa0c4a190a67</guid><dc:creator>PaulP</dc:creator><description>&lt;p&gt;Hi Matt,
I have re-loaded the soft device from the SDK, but no change!
I &amp;#39;think&amp;#39; the softdevive must be OK as the pre-compiled example run&amp;#39;s fine - unless this somehow has the softdevice within itself. (this would explain my .hex size difference?)&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Building my first code with softdevice</title><link>https://devzone.nordicsemi.com/thread/113408?ContentTypeID=1</link><pubDate>Sun, 17 Dec 2017 20:22:00 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:c5a39f12-f440-45b6-ac97-772907ec811f</guid><dc:creator>Matt</dc:creator><description>&lt;p&gt;Have you loaded the softdevice into the nRF52 already?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>