<?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>start service radvd failed .</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/8276/start-service-radvd-failed</link><description>Hello, I try to set up the 6lowpan environment on my rpi2 following This page 
 When I wanted to run the radvd demon, I got error: ioct1 failed for bt0: No such device. 
 How can I resolve this problem?</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Fri, 07 Aug 2015 14:06:14 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/8276/start-service-radvd-failed" /><item><title>RE: start service radvd failed .</title><link>https://devzone.nordicsemi.com/thread/29848?ContentTypeID=1</link><pubDate>Fri, 07 Aug 2015 14:06:14 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:7179550e-7dc5-4f5c-b2f9-86a8fd82249d</guid><dc:creator>horiebin</dc:creator><description>&lt;p&gt;Thx, I change the value of Heap_Size to 0 and it works.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: start service radvd failed .</title><link>https://devzone.nordicsemi.com/thread/29847?ContentTypeID=1</link><pubDate>Fri, 07 Aug 2015 11:21:02 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:4408676f-b3f1-4dba-8767-df1c8dc13a6d</guid><dc:creator>Petter Myhre</dc:creator><description>&lt;p&gt;If you compile yourself, what is Heap_Size EQU set to? 2048 or 0? arm_startup_nrf51.s is actually a library, so this is not included in the project I gave you. This also means that if you set Heap_Size EQU to 0 this will affect all projects that use the library.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: start service radvd failed .</title><link>https://devzone.nordicsemi.com/thread/29846?ContentTypeID=1</link><pubDate>Thu, 06 Aug 2015 14:50:37 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:025e169d-19c4-49d6-a359-6bffae997d0f</guid><dc:creator>horiebin</dc:creator><description>&lt;p&gt;I flash the hex file u made and it can be detected now. But I don&amp;#39;t know why&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: start service radvd failed .</title><link>https://devzone.nordicsemi.com/thread/29845?ContentTypeID=1</link><pubDate>Thu, 06 Aug 2015 14:47:49 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:a206dac8-fe49-4645-9ac2-1db9d25a6982</guid><dc:creator>horiebin</dc:creator><description>&lt;p&gt;I compile your project and flash the hex file to the board but it can&amp;#39;t be detected&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: start service radvd failed .</title><link>https://devzone.nordicsemi.com/thread/29844?ContentTypeID=1</link><pubDate>Thu, 06 Aug 2015 13:45:15 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:5625265a-1e79-4c23-8d0a-117b82ba49d6</guid><dc:creator>Petter Myhre</dc:creator><description>&lt;p&gt;I was sure you got it working. But I see now that you didn&amp;#39;t. How are you testing this? I just took an the coap server example from IoT SDK 0.7.0, changed the ram setting and heap, and it works fine on PCA10001. I have updated my answer with my project.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: start service radvd failed .</title><link>https://devzone.nordicsemi.com/thread/29841?ContentTypeID=1</link><pubDate>Mon, 27 Jul 2015 08:39:51 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:9976c584-7fea-4d6b-9fa6-c7150d1c6485</guid><dc:creator>horiebin</dc:creator><description>&lt;p&gt;ok。 thanks&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: start service radvd failed .</title><link>https://devzone.nordicsemi.com/thread/29840?ContentTypeID=1</link><pubDate>Mon, 27 Jul 2015 08:35:09 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:0646f83d-4fb1-47cf-856a-f2d46ab4fe35</guid><dc:creator>Petter Myhre</dc:creator><description>&lt;p&gt;The example is made for nRF51 DK, which has four LEDs. A program that requires four LEDs cannot work out of the box with two LEDs. You can of course write your own program, or modify it to work with two LEDs. I general you should only ask one question in each question, so I think it is time to close this question. New questions should be added separatly.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: start service radvd failed .</title><link>https://devzone.nordicsemi.com/thread/29843?ContentTypeID=1</link><pubDate>Mon, 27 Jul 2015 06:57:59 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:8a60dc3e-d37a-4a29-8379-80297e0b7c48</guid><dc:creator>horiebin</dc:creator><description>&lt;p&gt;I use the example of  ...\Nordic\nrf51\examples\iot\ipv6_coap_client\boards\pca10028\arm\app_ipv6_coap_client_pca10028.
Then open it in Keil_v5.
Options for Target setting is Device :nRF51422xx_AC&lt;/p&gt;
&lt;p&gt;IROM1 : start 0x18000 and size 0x28000 IRAM1 : start 0x20002000 and size 0x2000&lt;/p&gt;
&lt;p&gt;And I see the function leds_init is :&lt;/p&gt;
&lt;p&gt;static void leds_init(void)
{
// Configure leds.
LEDS_CONFIGURE((LED_ONE | LED_TWO | LED_THREE | LED_FOUR));&lt;/p&gt;
&lt;pre&gt;&lt;code&gt;// Turn leds off.
LEDS_OFF((LED_ONE | LED_TWO | LED_THREE | LED_FOUR));
&lt;/code&gt;&lt;/pre&gt;
&lt;p&gt;}&lt;/p&gt;
&lt;p&gt;But the board only has two leds. This program can&amp;#39;t work on PCA10001?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: start service radvd failed .</title><link>https://devzone.nordicsemi.com/thread/29842?ContentTypeID=1</link><pubDate>Mon, 27 Jul 2015 06:45:41 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:17d6baae-cec7-4404-9cab-ec0976224a4f</guid><dc:creator>horiebin</dc:creator><description>&lt;p&gt;No yet. I flash the program into the PAC10001 but it still don&amp;#39;t work&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: start service radvd failed .</title><link>https://devzone.nordicsemi.com/thread/29839?ContentTypeID=1</link><pubDate>Fri, 24 Jul 2015 15:58:18 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:9ffe63ad-760b-4e89-b020-ccb4ee22b797</guid><dc:creator>Petter Myhre</dc:creator><description>&lt;p&gt;Great! Should we close this question?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: start service radvd failed .</title><link>https://devzone.nordicsemi.com/thread/29838?ContentTypeID=1</link><pubDate>Fri, 24 Jul 2015 15:05:28 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:4d833fd3-f7e7-48e7-8caa-e9b2ebf401e7</guid><dc:creator>horiebin</dc:creator><description>&lt;p&gt;thx ,it works&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: start service radvd failed .</title><link>https://devzone.nordicsemi.com/thread/29837?ContentTypeID=1</link><pubDate>Fri, 24 Jul 2015 15:01:04 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:4db60dc2-2cec-48bf-8286-2d9f2751eece</guid><dc:creator>Petter Myhre</dc:creator><description>&lt;p&gt;Change &lt;code&gt;Heap_Size EQU 2048&lt;/code&gt; to &lt;code&gt;Heap_Size EQU 0&lt;/code&gt; in arm_startup_nrf51.s&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: start service radvd failed .</title><link>https://devzone.nordicsemi.com/thread/29836?ContentTypeID=1</link><pubDate>Fri, 24 Jul 2015 14:48:59 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:609dce97-68c1-4eab-882e-cb0d1d890bcd</guid><dc:creator>horiebin</dc:creator><description>&lt;p&gt;I set the size to 0x4000 and try do the debug, the program stop in the system_nrf51.c, function SystemInit().&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: start service radvd failed .</title><link>https://devzone.nordicsemi.com/thread/29835?ContentTypeID=1</link><pubDate>Fri, 24 Jul 2015 14:24:38 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:9f92dd7b-23b0-45cf-bf94-e5431ed4b344</guid><dc:creator>horiebin</dc:creator><description>&lt;p&gt;If I change the size to 0x2000, the code can&amp;#39;t be compiled because of the code size is 20580&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: start service radvd failed .</title><link>https://devzone.nordicsemi.com/thread/29834?ContentTypeID=1</link><pubDate>Fri, 24 Jul 2015 14:06:18 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:4b91df01-4f91-4c12-86ce-a09eeb822f1d</guid><dc:creator>Petter Myhre</dc:creator><description>&lt;p&gt;Great! For IRAM1 you should use start 0x20002000 and size 0x2000. Since you only have 16 kB and not 32 kB. Did you flash the chip with the IoT SDK 0.7.0 SoftDevice found in \nrf51\components\softdevice\s1xx_iot using nRFgo Studio first? If you enter debug mode and put a breakpoint the start of main() are you hitting it?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: start service radvd failed .</title><link>https://devzone.nordicsemi.com/thread/29833?ContentTypeID=1</link><pubDate>Fri, 24 Jul 2015 13:57:32 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:524a4f04-456c-4407-8f12-2020315bfa8c</guid><dc:creator>horiebin</dc:creator><description>&lt;p&gt;I can compile the application now, and program it to the board PCA10001 V2.2.0 successful.
But the led didn&amp;#39;t blink.&lt;br /&gt;
I use the example coap_ipv6_client from SDK version 0.7.0.
Options for Target setting is  Device :nRF51422xx_AC
IROM1 : start 0x18000 and size 0x28000
IRAM1 : start 0x20002000 and size 0x6000.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: start service radvd failed .</title><link>https://devzone.nordicsemi.com/thread/29832?ContentTypeID=1</link><pubDate>Thu, 23 Jul 2015 15:15:18 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:34a5e0e8-178c-4dbb-8617-83e1e12a6c22</guid><dc:creator>horiebin</dc:creator><description>&lt;p&gt;In face, reinstall MDK didn&amp;#39;t work. I need to download a MDKCM Add-On from &lt;a href="http://www2.keil.com/mdk5/legacy/"&gt;here&lt;/a&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: start service radvd failed .</title><link>https://devzone.nordicsemi.com/thread/29831?ContentTypeID=1</link><pubDate>Thu, 23 Jul 2015 15:06:37 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:a144e95c-4ca4-4f6f-9fbc-b07b38f7874c</guid><dc:creator>horiebin</dc:creator><description>&lt;p&gt;The problem is I use the Keil V5.15. I found the solution here &lt;a href="https://devzone.nordicsemi.com/question/4802/mdk-5-can-not-found-nrf-device/"&gt;here&lt;/a&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: start service radvd failed .</title><link>https://devzone.nordicsemi.com/thread/29830?ContentTypeID=1</link><pubDate>Thu, 23 Jul 2015 14:12:51 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:972054a6-61de-44a1-86b9-4b13096180c3</guid><dc:creator>horiebin</dc:creator><description>&lt;p&gt;I try the example from NRF51 SDK and it was the same problem&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: start service radvd failed .</title><link>https://devzone.nordicsemi.com/thread/29829?ContentTypeID=1</link><pubDate>Thu, 23 Jul 2015 13:59:37 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:a92efaa1-bb9c-45ea-a0e0-753d5c4789d7</guid><dc:creator>horiebin</dc:creator><description>&lt;p&gt;I use the kit with the IoT SDK download from [here version 0.7.0].(&lt;a href="https://www.nordicsemi.com/eng/nordic/Products/nRF51-IoT-SDK/nRF51-IoT-SDK-zip/41601)"&gt;www.nordicsemi.com/.../41601)&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;you mean I need download the NRF51 SDK from &lt;a href="http://developer.nordicsemi.com/nRF51_SDK/"&gt;here?&lt;/a&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: start service radvd failed .</title><link>https://devzone.nordicsemi.com/thread/29827?ContentTypeID=1</link><pubDate>Thu, 23 Jul 2015 13:30:11 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:3a906ae9-4334-41dc-89d4-4469de33c3d2</guid><dc:creator>Petter Myhre</dc:creator><description>&lt;p&gt;Have you used this kit with our SDK? Not IoT SDK? Have you installed a nRF51 MDK?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: start service radvd failed .</title><link>https://devzone.nordicsemi.com/thread/29828?ContentTypeID=1</link><pubDate>Thu, 23 Jul 2015 13:04:08 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:f013c11b-81bf-4ef9-a9cd-47c412ed2478</guid><dc:creator>horiebin</dc:creator><description>&lt;p&gt;I open the project on Keil and it said that project references devices, files or libraries that are not installed, and I click ok to download the lacked files, it&amp;#39;s a error : Devices not found&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: start service radvd failed .</title><link>https://devzone.nordicsemi.com/thread/29826?ContentTypeID=1</link><pubDate>Thu, 23 Jul 2015 10:30:11 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:3fcfaa13-211f-405b-87e4-3da390def610</guid><dc:creator>Petter Myhre</dc:creator><description>&lt;p&gt;I believe all PCA10001 have revision 2. You can double check by checking the device markings (on the nRF51822 chip) and then use the Table 2 in the nRF51 Series compatibility matrix to figure out what revision you have. If you have revision 2 you need to use IoT SDK 0.7.0.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: start service radvd failed .</title><link>https://devzone.nordicsemi.com/thread/29825?ContentTypeID=1</link><pubDate>Thu, 23 Jul 2015 09:56:55 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:1a120d42-9655-467c-9090-c9e685564252</guid><dc:creator>horiebin</dc:creator><description>&lt;p&gt;How can I tell My board is which revision.&lt;/p&gt;
&lt;p&gt;I have found it was a PCA10001. It means I need to use the SDK 0.7.0,right?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: start service radvd failed .</title><link>https://devzone.nordicsemi.com/thread/29824?ContentTypeID=1</link><pubDate>Thu, 23 Jul 2015 09:46:30 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:94d1a6d5-bb6c-4d88-b7b9-5ba54d1937f2</guid><dc:creator>Petter Myhre</dc:creator><description>&lt;p&gt;You should unzip the SDK to C:\Keil_v5\ARM\Device\Nordic, or C:\Keil_v5\ARM\Device\IoT SDK.&lt;/p&gt;
&lt;p&gt;If you see in the release notes if IoT SDK 0.8.0 &lt;a href="http://developer.nordicsemi.com/nRF51_IoT_SDK/doc/iot/html/a00053.html"&gt;here&lt;/a&gt;, under supported boards, you will see that only the nRF51 DK is supported. This has a nRF51422. The examples should work on nRF51822 as well, but you need 32 kB of RAM, which means you need revision 3 of the chip, which I&amp;#39;m fearing that you don&amp;#39;t have. Please see the nRF51 Series compatibility matrix document, available &lt;a href="https://www.nordicsemi.com/eng/Products/Bluetooth-Smart-Bluetooth-low-energy/nRF51822#Downloads"&gt;here&lt;/a&gt;. If you have a revision 2 chip, i.e. 16 kB RAM, you may be able to use the IoT SDK 0.7.0, if you see in the Supported boards section &lt;a href="http://developer.nordicsemi.com/nRF51_IoT_SDK/doc/iot/html/a00052.html"&gt;here&lt;/a&gt;.&lt;/p&gt;
&lt;p&gt;You need to program the SoftDevice first, using the SoftDevice tab, then the application using the application tab, you are probably getting because the memory region of your application overlaps the memory region of the SoftDevice.&lt;/p&gt;
&lt;p&gt;In Keil, go to Options for Target-&amp;gt;Target. There your IROM1 should be start 0x18000 and size 0x28000 and IRAM1 should be start 0x20002000 and size 0x6000.&lt;/p&gt;
&lt;p&gt;Edit 06.08.2015: &lt;a href="https://devzone.nordicsemi.com/cfs-file/__key/communityserver-discussions-components-files/4/ipv6_5F00_coap_5F00_server_5F00_horie.rar"&gt;Here&lt;/a&gt; is my project, unzip it in \nrf51\examples\iot. You first need to flash &lt;a href="https://devzone.nordicsemi.com/cfs-file/__key/communityserver-discussions-components-files/4/s1xx_2D00_iot_2D00_prototype2_5F00_softdevice.hex"&gt;this&lt;/a&gt; SoftDevice. The LEDs will not work if you don&amp;#39;t redefine the pins, but of you scan the device should appear in Master Control Panel for PC, nRF Master Control Panel for Android, or doing an hcitool lescan in linux.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>