<?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>combine dfu service to nus service failed</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/28277/combine-dfu-service-to-nus-service-failed</link><description>Hello, 
 my sdk is from nRF5_SDK_12.3.0_d7731ad, I added the dfu service to the ble_app_uart project on nrf51822QFAC,but it just could run to serviive_init() function and return NRF_ERROR_NO_MEM. 
 I have searched the similar problem in the Nordic Developer</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Fri, 15 Dec 2017 01:32:26 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/28277/combine-dfu-service-to-nus-service-failed" /><item><title>RE: combine dfu service to nus service failed</title><link>https://devzone.nordicsemi.com/thread/111697?ContentTypeID=1</link><pubDate>Fri, 15 Dec 2017 01:32:26 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:5d4171f1-7ca9-4949-b2ea-183ffc209770</guid><dc:creator>vernon</dc:creator><description>&lt;p&gt;Hello Hung,&lt;/p&gt;
&lt;p&gt;Thanks a lot for the answer,the problem is that as you said the p_app_ram_base is the RAM needed for the software. and if call the buttonless function, should init the fs_init() first. if not, it return NRF_ERROR_INTERNAL.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: combine dfu service to nus service failed</title><link>https://devzone.nordicsemi.com/thread/111695?ContentTypeID=1</link><pubDate>Thu, 14 Dec 2017 12:55:06 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:771d3d88-2f5a-4342-9a1f-96c93dad850b</guid><dc:creator>Hung Bui</dc:creator><description>&lt;p&gt;Have you check what is the RAM memorey softdevice request ? You can get the information about the RAM needed for softdevice when calling sd_ble_enable() the return value of the p_app_ram_base is the RAM needed for the softdevice.&lt;/p&gt;
&lt;p&gt;If you still have problem, please zip your project so we can test here.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: combine dfu service to nus service failed</title><link>https://devzone.nordicsemi.com/thread/111693?ContentTypeID=1</link><pubDate>Thu, 14 Dec 2017 01:34:03 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:a4311c7e-3fa1-496f-b9b8-e339358d92b6</guid><dc:creator>vernon</dc:creator><description>&lt;p&gt;I have tried vs_uuid_count = 4 event = 5, but failed. the 0x20002B80 is a test and didn&amp;#39;t work. I &amp;#39;m not sure what the problems cause the error NRF_ERROR_NO_MEM or NRF_ERROR_INTERNAL. please help me solve this problem. Thanks in advance.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: combine dfu service to nus service failed</title><link>https://devzone.nordicsemi.com/thread/111694?ContentTypeID=1</link><pubDate>Wed, 13 Dec 2017 16:24:05 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:a66df293-0284-4803-9fcc-bb8c2881c5a9</guid><dc:creator>Hung Bui</dc:creator><description>&lt;p&gt;Have you tried vs_uuid_count = 3 ? Also would the 0x20002B80 is what the softdevice request ?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: combine dfu service to nus service failed</title><link>https://devzone.nordicsemi.com/thread/111692?ContentTypeID=1</link><pubDate>Wed, 13 Dec 2017 11:13:01 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:849d477b-7872-4ef5-bcb2-e82e25f76c4b</guid><dc:creator>vernon</dc:creator><description>&lt;p&gt;Hello Hung Bui,&lt;/p&gt;
&lt;p&gt;the exactly place return NRF_ERROR_NO_MEM is in the line 175 of ble_dfu.c&lt;/p&gt;
&lt;p&gt;err_code = sd_ble_uuid_vs_add(&amp;amp;nus_base_uuid, &amp;amp;p_dfu-&amp;gt;uuid_type);
VERIFY_SUCCESS(err_code);&lt;/p&gt;
&lt;p&gt;and below is my setting of the project&lt;/p&gt;
&lt;p&gt;IROM1: start: 0x1B000        size: 0x25000
IRAM1: start: 0x20002B80   size: 0x5480&lt;/p&gt;
&lt;p&gt;I have also changed the IRAM1 start address and size, but it didn&amp;#39;t work yet.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: combine dfu service to nus service failed</title><link>https://devzone.nordicsemi.com/thread/111696?ContentTypeID=1</link><pubDate>Wed, 13 Dec 2017 10:12:24 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:bec0b77e-dac2-4da1-92ed-4288b3c62be1</guid><dc:creator>Hung Bui</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;Please check and tell which exactly the function returns NRF_ERROR_NO_MEM.
Have you updated the RAM setting in your project to give enough RAM for the softdevice (IRAM1 setting). You can have a look at the answer from Bjørn &lt;a href="https://devzone.nordicsemi.com/question/120268/change-ram-size-for-softdevice/"&gt;here&lt;/a&gt;.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>