<?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>What do I need to do to get a sample program in the SDK to advertise?</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/29943/what-do-i-need-to-do-to-get-a-sample-program-in-the-sdk-to-advertise</link><description>Hello, 
 I have just purchased the nRF51 Development Kit and I am having extreme difficulty getting any of the sample programs to function. 
 There are the specifications at this point: 
 IDE uVision V5.24.2.0 
 SDK nRF5_SDK_11.0.0 
 nrf SoftDevice</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Mon, 05 Feb 2018 17:03:26 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/29943/what-do-i-need-to-do-to-get-a-sample-program-in-the-sdk-to-advertise" /><item><title>RE: What do I need to do to get a sample program in the SDK to advertise?</title><link>https://devzone.nordicsemi.com/thread/119811?ContentTypeID=1</link><pubDate>Mon, 05 Feb 2018 17:03:26 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:ff35cf21-471a-4545-aba8-1cc697f284e2</guid><dc:creator>brian fleming</dc:creator><description>&lt;p&gt;Hello, this support site seems to have changed, and I can not find how to mark this question as answered.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: What do I need to do to get a sample program in the SDK to advertise?</title><link>https://devzone.nordicsemi.com/thread/119419?ContentTypeID=1</link><pubDate>Thu, 01 Feb 2018 19:03:13 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:7d30ef6b-f9a3-4f09-aa99-aa48f8f3cd70</guid><dc:creator>Jay Tyzzer</dc:creator><description>&lt;p&gt;I believe if you use the drag and drop to program the device it will do a Erase of the flash which means if the Softdevice was in there it will be gone. One way to fix this is to merge the Softdevice with the application code using Mergehex.exe which can be downloaded with other utilities from the Nordic website.&amp;nbsp;&amp;nbsp; Then you can use the drag and drop method.&lt;/p&gt;
&lt;p&gt;&amp;nbsp; FYI -- The SDK 11 has&amp;nbsp;the example and the Softdevice merged already...&amp;nbsp; in the hex subdirectory.&lt;/p&gt;
&lt;p&gt;X:......nRF52_SDk_11.0\examples\ble_peripheral\ble_app_hrs\hex&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: What do I need to do to get a sample program in the SDK to advertise?</title><link>https://devzone.nordicsemi.com/thread/119412?ContentTypeID=1</link><pubDate>Thu, 01 Feb 2018 17:39:26 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:efa0d56d-2baa-4fd1-9f3a-9903721e7022</guid><dc:creator>brian fleming</dc:creator><description>&lt;p&gt;Hello, yes it is advertising because I can see it as an available BLE device on the phone. The website seems to have changed because I can not see where I can indicate that this question has been answered correctly.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: What do I need to do to get a sample program in the SDK to advertise?</title><link>https://devzone.nordicsemi.com/thread/119096?ContentTypeID=1</link><pubDate>Wed, 31 Jan 2018 11:45:12 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:03e34375-5d31-493f-ab2d-5be625cc6cba</guid><dc:creator>Joakim Jakobsen</dc:creator><description>&lt;p&gt;Also, you can take a look at this page in our infocenter, about &lt;a href="https://infocenter.nordicsemi.com/topic/com.nordic.infocenter.sdk5.v14.2.0/getting_started_softdevice.html?cp=4_0_0_1_3_0#getting_started_sd"&gt;programming softdevices&lt;/a&gt;.&lt;br /&gt;
Cheers.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: What do I need to do to get a sample program in the SDK to advertise?</title><link>https://devzone.nordicsemi.com/thread/119095?ContentTypeID=1</link><pubDate>Wed, 31 Jan 2018 11:38:26 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:d8b784c0-8d90-4c8d-b1dd-f69ccbce8199</guid><dc:creator>Joakim Jakobsen</dc:creator><description>&lt;p&gt;Ok, I&amp;#39;m glad you sort of got it to work.&lt;br /&gt;
So you can see your device advertising now?&lt;br /&gt;
If you don&amp;#39;t have any more questions at this point, I&amp;#39;d appreciate it if you could close the case by marking the answer as correct.&lt;br /&gt;
You are of course welcome to post another question at a later point if you face any more problems.&lt;br /&gt;
Cheers.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: What do I need to do to get a sample program in the SDK to advertise?</title><link>https://devzone.nordicsemi.com/thread/119094?ContentTypeID=1</link><pubDate>Tue, 30 Jan 2018 18:21:37 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:97237c14-6e67-4a92-8e76-1e5238e81c8b</guid><dc:creator>brian fleming</dc:creator><description>&lt;p&gt;Hello,&lt;/p&gt;
&lt;p&gt;I got it working last night, but I have no idea what I did differently.&lt;/p&gt;
&lt;p&gt;I had a suspicion that the soft device was the problem, and I tried the batch build to build only the soft device and flash it first, but the IDE would not allow me to do it.  It seems to work now though, although I have to close the IDE, and start again sometimes.&lt;/p&gt;
&lt;p&gt;No, I have not made any changes to the examples at this point.  I am not smart enough to attempt that, later I hope.&lt;/p&gt;
&lt;p&gt;Thank you for the link to the tutorial, I need all the help I can get.&lt;/p&gt;
&lt;p&gt;Cheers,
Brian Fleming&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: What do I need to do to get a sample program in the SDK to advertise?</title><link>https://devzone.nordicsemi.com/thread/119093?ContentTypeID=1</link><pubDate>Tue, 30 Jan 2018 12:25:25 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:b752e7b3-6c72-47be-8602-2c8072e35149</guid><dc:creator>Joakim Jakobsen</dc:creator><description>&lt;p&gt;Hi again Brian.&lt;/p&gt;
&lt;p&gt;Yes, you are correct. I forgot to mention that you can also drag-and-drop the hex file to the
removable drive that appears.&lt;br /&gt;
But as the pre-compiled hex file is working, we can rule out any HW issues.&lt;/p&gt;
&lt;p&gt;You haven&amp;#39;t made any modifications to the examples you are testing?&lt;br /&gt;
My guess would be that the softdevice is not being downloaded to your DK.&lt;br /&gt;
The softdevice can be found as a hex-file in the SDK;&lt;br /&gt;
&lt;code&gt;sdk_root/components/softdevice/s130/hex&lt;/code&gt;&lt;/p&gt;
&lt;p&gt;This file doesn&amp;#39;t need to be built or modified, you can simply flash it directly to your DK.&lt;br /&gt;
This can be done by using nRFGo Studio, like I mentioned in my comment. nRFGo Studio is a software solution provided by Nordic Semiconductor and can be used for programming nRF5x devices through SEGGER J-Link&lt;span class="emoticon" data-url="https://devzone.nordicsemi.com/cfs-file/__key/system/emoji/00ae.svg" title="Registered"&gt;&amp;#x00ae;&lt;/span&gt;.
After the softdevice is on your board, you can flash your application.&lt;/p&gt;
&lt;p&gt;You should take a look at our tutorials page here on devzone.&lt;br /&gt;
There we have a &lt;a href="https://devzone.nordicsemi.com/tutorials/36/"&gt;Getting started with the nRF51 or nRF52 Development Kit&lt;/a&gt; tutorial that I&amp;#39;m sure will be helpful.&lt;/p&gt;
&lt;p&gt;Note;
I will get a notification when you reply here on devzone, so there is no need to send an
e-mail.&lt;/p&gt;
&lt;p&gt;Best regards,&lt;br /&gt;
Joakim.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: What do I need to do to get a sample program in the SDK to advertise?</title><link>https://devzone.nordicsemi.com/thread/119092?ContentTypeID=1</link><pubDate>Mon, 29 Jan 2018 19:24:50 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:65016fd8-4879-411e-8c3d-b0fcd4bd57de</guid><dc:creator>brian fleming</dc:creator><description>&lt;p&gt;Hello, thank you for your reply.&lt;/p&gt;
&lt;p&gt;I am completely new at this IDE, so I have never used the nRFGo Studio, so I don’t know at this time how to load a file and send it to the nRF51 development board.  However, I do recall somewhere reading that the .Hex files could be copied and pasted into the device directly, so I took a chance and with Windows File Explorer copied and pasted the file to the JLINK folder, after erasing the device in Keil.  The LED 1 blinks at a rate of 0.5Hz and my BluetoothLE ‘sniffer’ app now displays Nordic_HRM which confirms that the radio is working.&lt;/p&gt;
&lt;p&gt;Prior to the above, I tried flashing etc, the HRM program in Keil, and the device did not advertise.&lt;/p&gt;
&lt;p&gt;I hope this helps, because I really need to get some work done again.&lt;/p&gt;
&lt;p&gt;Cheers,
Brian Fleming&lt;/p&gt;
&lt;p&gt;P.S. is email the correct method of replying to your support responses?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: What do I need to do to get a sample program in the SDK to advertise?</title><link>https://devzone.nordicsemi.com/thread/119091?ContentTypeID=1</link><pubDate>Mon, 29 Jan 2018 14:16:15 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:81ed932c-0e2f-4bc3-b7e6-eb3286b50d70</guid><dc:creator>Joakim Jakobsen</dc:creator><description>&lt;p&gt;Hi Brian!&lt;br /&gt;
That&amp;#39;s strange. You can&amp;#39;t make any of the examples in the SDK work?&lt;br /&gt;
Could you try to erase the DK, and then try to use one of the pre-compiled hex-files in the SDK?&lt;br /&gt;
If you could test the HRS-example, the pre-compiled hex-file can be found here: sdk_root/examples/ble_peripheral/ble_app_hrs/hex/ble_app_hrs_s130_pca10028.hex.&lt;br /&gt;
This file includes both the application AND the softdevice, so you only have to download that file to your board.&lt;br /&gt;
You can use &lt;a href="http://www.nordicsemi.com/eng/Products/2.4GHz-RF/nRFgo-Studio/(language)/eng-GB"&gt;nRFGo Studio&lt;/a&gt; or &lt;a href="http://infocenter.nordicsemi.com/topic/com.nordic.infocenter.tools/dita/tools/nrf5x_command_line_tools/nrf5x_nrfjprogexe.html"&gt;nrfjprog&lt;/a&gt; to erase and download the hex-file.
Best regards.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>