<?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>Control nRF51822 led with mobile app</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/15323/control-nrf51822-led-with-mobile-app</link><description>Hi, 
 Can anyone suggest me an example program to control LED connected to nRF51822 with a mobile app?</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Thu, 26 Apr 2018 06:58:06 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/15323/control-nrf51822-led-with-mobile-app" /><item><title>RE: Control nRF51822 led with mobile app</title><link>https://devzone.nordicsemi.com/thread/129865?ContentTypeID=1</link><pubDate>Thu, 26 Apr 2018 06:58:06 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:fd38367a-f364-43bb-8dce-f2061d687da5</guid><dc:creator>shivali singh</dc:creator><description>&lt;p&gt;if we can control three led by &lt;strong&gt;ble_app_blinky,how pls tell me&lt;/strong&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Control nRF51822 led with mobile app</title><link>https://devzone.nordicsemi.com/thread/58564?ContentTypeID=1</link><pubDate>Fri, 29 Jul 2016 10:23:44 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:6eb55046-449d-47c4-abfa-18727630012f</guid><dc:creator>Ole Bauck</dc:creator><description>&lt;p&gt;The application should have all the correct settings when you first open it from the SDK. See &lt;a href="http://infocenter.nordicsemi.com/topic/com.nordic.infocenter.sdk51.v10.0.0/getting_started_softdevice.html?cp=6_0_1_1_2"&gt;here&lt;/a&gt; on how to download an application with SoftDevice.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Control nRF51822 led with mobile app</title><link>https://devzone.nordicsemi.com/thread/58563?ContentTypeID=1</link><pubDate>Thu, 28 Jul 2016 05:52:32 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:007d00c3-ccdd-4cfa-84d1-2884fab101dc</guid><dc:creator>tharun</dc:creator><description>&lt;p&gt;&lt;img src="https://devzone.nordicsemi.com/cfs-file/__key/communityserver-discussions-components-files/4/keilsoft.jpg" alt="image description" /&gt; This is the image of the SoftDevice Project file seen in my keil 5. I have seen some error in the files, they are clearly visible in the screen shot I uploaded. Even though with this error I could build and download the SoftDevice to the module. Is this the issue? if so, how to solve them?&lt;/p&gt;
&lt;p&gt;&lt;img src="https://devzone.nordicsemi.com/cfs-file/__key/communityserver-discussions-components-files/4/keilapplication.jpg" alt="image description" /&gt; This is the image of Appliction Program project file seen in Keil 5.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Control nRF51822 led with mobile app</title><link>https://devzone.nordicsemi.com/thread/58562?ContentTypeID=1</link><pubDate>Wed, 27 Jul 2016 14:31:57 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:cb3d43d1-cf80-453c-b629-17a027a1951a</guid><dc:creator>Ole Bauck</dc:creator><description>&lt;p&gt;Ok, then this should be the RAM and ROM adresses and sizes:&lt;/p&gt;
&lt;p&gt;IROM1:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;
&lt;p&gt;Start: 0x18000&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;Size: 0x28000&lt;/p&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;IRAM1:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;
&lt;p&gt;Start: 0x20002000&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;Size: 0x6000&lt;/p&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;Again, it will be easiest just to download a fresh copy of the SDK. You may also want to use the newest SDK which is version 11.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Control nRF51822 led with mobile app</title><link>https://devzone.nordicsemi.com/thread/58557?ContentTypeID=1</link><pubDate>Wed, 27 Jul 2016 13:21:09 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:b9cdf373-0e00-4083-8ef8-08c991d7299a</guid><dc:creator>tharun</dc:creator><description>&lt;p&gt;I am trying to build the project from nRF51_SDK_10.0.0_dc26b5e. And the &lt;a href="http://infocenter.nordicsemi.com/topic/com.nordic.infocenter.sdk5.v11.0.0/ble_sdk_app_blinky.html?cp=6_0_0_4_2_2_19"&gt;ble_app_blinky&lt;/a&gt; has s110_nrf51_8.0.0_softdevice and the name of application program am  using is nrf51422_xxac_s110.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Control nRF51822 led with mobile app</title><link>https://devzone.nordicsemi.com/thread/58561?ContentTypeID=1</link><pubDate>Wed, 27 Jul 2016 11:29:50 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:34e3f04b-4eb4-4a9f-8463-5df1253ed97c</guid><dc:creator>Ole Bauck</dc:creator><description>&lt;p&gt;The error you are getting is when you try to flash in an area where the SoftDevice is located.&lt;/p&gt;
&lt;p&gt;Which SDK version and SoftDevice version do you use? I assumed SoftDevice version S130 v2 in my answers (ROM and RAM addresses are for this SoftDevice).&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Control nRF51822 led with mobile app</title><link>https://devzone.nordicsemi.com/thread/58556?ContentTypeID=1</link><pubDate>Wed, 27 Jul 2016 11:12:30 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:b8bc2e88-b6fa-4576-b616-282ef464f814</guid><dc:creator>tharun</dc:creator><description>&lt;p&gt;I couldn&amp;#39;t download an application program to nRF51822 after loading the SoftDevice using keil 5 as it always pop up with Error: Flash download failed - &amp;quot;Cortex-MO&amp;quot;. To your notice I am using BLE400 motherboard. Do you have some solutions?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Control nRF51822 led with mobile app</title><link>https://devzone.nordicsemi.com/thread/58560?ContentTypeID=1</link><pubDate>Tue, 26 Jul 2016 14:10:57 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:bae23cb7-581a-4bfb-996f-5c62019ee089</guid><dc:creator>Ole Bauck</dc:creator><description>&lt;p&gt;It may be best if you just download a fresh copy of SDK again as it will have the correct settings, but if you want to try this is the correct ROM and RAM start address and size (for 256KB flash and 32KB ram version of the chip):&lt;/p&gt;
&lt;p&gt;IROM1:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;
&lt;p&gt;Start: 0x1B000&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;Size: 0x25000&lt;/p&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;IRAM1:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;
&lt;p&gt;Start: 0x20002080&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;Size: 0x5F80&lt;/p&gt;
&lt;/li&gt;
&lt;/ul&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Control nRF51822 led with mobile app</title><link>https://devzone.nordicsemi.com/thread/58559?ContentTypeID=1</link><pubDate>Tue, 26 Jul 2016 13:47:30 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:ab92f573-bfb1-4207-87ac-bc2f5f3261fa</guid><dc:creator>tharun</dc:creator><description>&lt;p&gt;As you suggested, I first I download the SoftDevice to the board. After that i tried downloading the program Application, but unfortunately I got an Error: Flash download failed - &amp;quot;Cortex-MO&amp;quot;.&lt;/p&gt;
&lt;p&gt;So I tried giving a IROM1 space for SoftDevice 0x00 and 0x16000 and for program Application I gave IROM1 0x18000 andd 0x39000. It was flash load finished without any error but the device was not advertising. Do you find some issue in flashing or can u suggest some methords to solve this issue.
thanks  in advance.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Control nRF51822 led with mobile app</title><link>https://devzone.nordicsemi.com/thread/58558?ContentTypeID=1</link><pubDate>Tue, 26 Jul 2016 10:58:49 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:d3837416-9b74-40b6-ba05-aa001f62de39</guid><dc:creator>Ole Bauck</dc:creator><description>&lt;p&gt;You need to flash the SoftDevice on the board first. The precompiled hex file you used already has the SoftDevice in it. See &lt;a href="http://infocenter.nordicsemi.com/topic/com.nordic.infocenter.sdk5.v11.0.0/getting_started_softdevice.html?cp=6_0_0_1_3"&gt;here&lt;/a&gt; for how to run an application that uses SoftDevice.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Control nRF51822 led with mobile app</title><link>https://devzone.nordicsemi.com/thread/58555?ContentTypeID=1</link><pubDate>Mon, 25 Jul 2016 16:12:55 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:de4ee1d0-6e1f-4dab-ae5c-5e43667f81a5</guid><dc:creator>tharun</dc:creator><description>&lt;p&gt;Hi sir,&lt;/p&gt;
&lt;p&gt;Thank you for your response. I flashed the hex file of &lt;a href="http://infocenter.nordicsemi.com/topic/com.nordic.infocenter.sdk5.v11.0.0/ble_sdk_app_blinky.html?cp=6_0_0_4_2_2_19"&gt;ble_app_blinky&lt;/a&gt; to my nRF51822 motherboard BLE400 successfully. But when I am trying to build the application using Keil 5 project document, I cannot successfully execute it. This happens to me always as I couldn&amp;#39;t execute any of the sdk ble_peripheral/central examples successfully. Is that my setting issue or something else? Please help me to figure it out.&lt;/p&gt;
&lt;p&gt;This is how i set it up: Clicking on option for target &amp;#39;Device&amp;#39; I selected nRF51822_xxAA and set the debug used. I left the &amp;#39;Target&amp;#39; within the option as default. Then I select the debug option and use J-Link and followed settings I added the programming algorithm &amp;#39;nrf51xxx&amp;#39;. In utilities I give a tick in checkbox  &amp;#39;Update the target before Debugging&amp;#39;. After I build and Downloaded it to the moduled but it was not advertising anything.&lt;/p&gt;
&lt;p&gt;What i noticed in the build file is that, the size of the .hex file generated was too less compared to the .hex  file given in the sdk. I am struck at this and can u help me to solve this?? Or just suggest me some ways to solve this issue.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Control nRF51822 led with mobile app</title><link>https://devzone.nordicsemi.com/thread/58554?ContentTypeID=1</link><pubDate>Mon, 25 Jul 2016 15:08:59 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:3788cf35-c38b-45dd-808b-0edd2d0e5890</guid><dc:creator>Ole Bauck</dc:creator><description>&lt;p&gt;The easiest way is to take the &lt;a href="http://infocenter.nordicsemi.com/topic/com.nordic.infocenter.sdk5.v11.0.0/ble_sdk_app_blinky.html?cp=6_0_0_4_2_2_19"&gt;ble_app_blinky&lt;/a&gt; application and control the LED using the &lt;a href="https://play.google.com/store/apps/details?id=no.nordicsemi.android.nrfblinky"&gt;nRF blinky&lt;/a&gt; app.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>