<?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>SVC Handler Missing</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/1083/svc-handler-missing</link><description>I am trying to get the Heart Rate example in the nRF51 SDK to work (found in ...nrf51822/board/nrf6310/ble/ble_app_hrs). It fails at line 338 in main.c (at the call sd_ble_gap_device_name_set) with an error code of 1, which, according to nrf_error.h,</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Thu, 23 Oct 2014 23:12:26 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/1083/svc-handler-missing" /><item><title>RE: SVC Handler Missing</title><link>https://devzone.nordicsemi.com/thread/5112?ContentTypeID=1</link><pubDate>Thu, 23 Oct 2014 23:12:26 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:00e395ec-4653-49b3-be58-fe0e87c57c8e</guid><dc:creator>Amit</dc:creator><description>&lt;p&gt;Using the latest SDK (6.1.0) and S110 v7, I&amp;#39;m getting this error as well now. I&amp;#39;ve previously been able to run similar code witht the S110 but not sure which configuration it was. Getting the same error (NRF_ERROR_SVC_HANDLER_MISSING) on an invocation to &lt;code&gt;sd_ble_gap_device_set_name&lt;/code&gt;.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: SVC Handler Missing</title><link>https://devzone.nordicsemi.com/thread/5104?ContentTypeID=1</link><pubDate>Mon, 15 Sep 2014 07:36:24 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:30337bc9-c22e-44e4-9d92-19c687a2b3a4</guid><dc:creator>TEJ</dc:creator><description>&lt;p&gt;It would be great if the header files could contain sdk version info and possibly also sd version.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: SVC Handler Missing</title><link>https://devzone.nordicsemi.com/thread/5109?ContentTypeID=1</link><pubDate>Fri, 07 Feb 2014 10:58:18 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:e2db8d0d-042d-4246-84ac-99bc3c36cb3c</guid><dc:creator>Lionel Sacks</dc:creator><description>&lt;p&gt;Thanks Ole.
yes, indeed, I was using the wrong examples... I guess I just didn&amp;#39;t scroll down the file menu far enough!&lt;/p&gt;
&lt;p&gt;(great support, by the way, thanks again)&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: SVC Handler Missing</title><link>https://devzone.nordicsemi.com/thread/5111?ContentTypeID=1</link><pubDate>Fri, 07 Feb 2014 10:56:23 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:bb96da9c-8cd1-4c3f-8278-64bd40604950</guid><dc:creator>Lionel Sacks</dc:creator><description>&lt;p&gt;Thanks, I had seen that post... but OM above has the solution!!&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: SVC Handler Missing</title><link>https://devzone.nordicsemi.com/thread/5108?ContentTypeID=1</link><pubDate>Fri, 07 Feb 2014 10:53:04 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:f0844551-0af5-49c8-935d-171510dad264</guid><dc:creator>Ole Morten</dc:creator><description>&lt;p&gt;This is really a completely separate issue, so please post it as a new question, to avoid messing up this one, which already has a clear answer.&lt;/p&gt;
&lt;p&gt;However, it sounds as if you may be working with the examples in Board\nrf6310\ble_s110_serialization. Beware that those are &lt;em&gt;not&lt;/em&gt; for use with the softdevice, but with the serialization module, as indicated by the folder name. The ones that work with the softdevice are in Board\nrf6310\s110.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: SVC Handler Missing</title><link>https://devzone.nordicsemi.com/thread/5110?ContentTypeID=1</link><pubDate>Fri, 07 Feb 2014 10:44:12 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:655c3438-a405-4880-a7c6-b00b30683bea</guid><dc:creator>DonalM</dc:creator><description>&lt;p&gt;Hi Lionel,
Instructions stolen from another thread here.
BR,
Donal&lt;/p&gt;
&lt;p&gt;There could be several reasons for this, but the most common two are:&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;
&lt;p&gt;That the chip is in system off.
When the chip is in this mode, it is not accessible to the debugger, and hence any download will fail. You can either wake it up in some way (pressing a button configured as a wake-up, reset or similar), or use nRFgo Studio&amp;#39;s Recover functionality. If nRFgo Studio finds a programmer, but can&amp;#39;t communicate with the chip, it will offer to try a recovery. This will erase all contents on the chip, and in that way ensure that it doesn&amp;#39;t enter system off again.&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;That you try to flash a program on top of the softdevice
If you have programmed the softdevice into the chip (which occupies the flash from address 0x0 to 0x14000), and then try to program an application in this same space (i.e. an application not meant for use with the softdevice), you may see this error.&lt;/p&gt;
&lt;/li&gt;
&lt;/ol&gt;
&lt;p&gt;Again, there are two ways to fix this:
a. Erase the softdevice.
b. Choose the nRF51822_xxyy_s110 target from the dropdown next to the Download button in Keil. All the non-BLE examples in the SDK come with project settings so that they can be used both with and without the softdevice programmed. If you set this to one of the _s110 targets, the application will be moved from address 0x0 to address 0x14000, meaing it will work nicely on top of the softdevice, even though it doesn&amp;#39;t use it.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: SVC Handler Missing</title><link>https://devzone.nordicsemi.com/thread/5107?ContentTypeID=1</link><pubDate>Fri, 07 Feb 2014 09:57:16 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:0e2d73f3-58ef-4336-8501-96cc9ea65670</guid><dc:creator>Lionel Sacks</dc:creator><description>&lt;p&gt;Hi,
I though I&amp;#39;d append this problem here, rather than start a new thread as I&amp;#39;m having similar issues...
for SDK 5.1.0, using Keil 5.1  and the _hrs example and _advertising example:&lt;/p&gt;
&lt;p&gt;If I load the softdevice 6.0, I get&lt;/p&gt;
&lt;blockquote&gt;
&lt;p&gt;Error: Flash Download failed  -  &amp;quot;Cortex-M0&amp;quot;&lt;/p&gt;
&lt;/blockquote&gt;
&lt;p&gt;If I clear the softdevice and download, I get no load errors, get some LEDs (for _advertising); but of course it stops when initialising the softdevice.&lt;/p&gt;
&lt;p&gt;I&amp;#39;ve built for nrf51822_xxab and nrf51822_xxxx - same result.&lt;/p&gt;
&lt;p&gt;thanks for any ideas,&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: SVC Handler Missing</title><link>https://devzone.nordicsemi.com/thread/5106?ContentTypeID=1</link><pubDate>Sun, 26 Jan 2014 16:59:36 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:b3d1c1d2-1847-4f45-9b14-edffa5b8ca03</guid><dc:creator>DonalM</dc:creator><description>&lt;p&gt;Hi There,
This problem also got me.
NRF_ERROR_SVC_HANDLER_MISSING or 0x01 returned from sd_ble_gap_device_name_set()
Donal&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: SVC Handler Missing</title><link>https://devzone.nordicsemi.com/thread/5105?ContentTypeID=1</link><pubDate>Fri, 06 Dec 2013 09:37:07 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:95267c02-3924-4c68-9573-877f087f1766</guid><dc:creator>Dalbert</dc:creator><description>&lt;p&gt;Thanks.  I expected it would be something simple that I overlooked.  I appreciate your patience...&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: SVC Handler Missing</title><link>https://devzone.nordicsemi.com/thread/5103?ContentTypeID=1</link><pubDate>Fri, 06 Dec 2013 09:04:07 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:9271adff-b508-4a98-af68-f0e1d132f99e</guid><dc:creator>Ole Morten</dc:creator><description>&lt;p&gt;This is the error you will get if you use the wrong softdevice version with the wrong header files.&lt;/p&gt;
&lt;p&gt;As stated in the release notes of SDK 5.0.0, it&amp;#39;s built for S110 6.0.0, and if you try to use it with 5.2.1, you will see this error. If you want to stay on 5.2.1 (although I can&amp;#39;t really see any reason why you would), you should also stay at SDK version 4.4.2 (or possibly later ones in the 4.x.y series).&lt;/p&gt;
&lt;p&gt;You can access old versions of downloads by clicking on the version number in the download list on our regular web site.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>