<?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>NRF51822 IRAM1 Settings (multilinkCentral Projects)</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/18778/nrf51822-iram1-settings-multilinkcentral-projects</link><description>Hi, Im using Nrf51422 DK board.
When I try the ble_app_multilink_central example in the SDK12, it works on the DK board.
But it does not work in NRF51822. (NRF51822 QF AA ) 
 I tried the settings on this link but it did not. Link 
 Help me please</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Fri, 08 Sep 2017 14:40:37 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/18778/nrf51822-iram1-settings-multilinkcentral-projects" /><item><title>RE: NRF51822 IRAM1 Settings (multilinkCentral Projects)</title><link>https://devzone.nordicsemi.com/thread/72533?ContentTypeID=1</link><pubDate>Fri, 08 Sep 2017 14:40:37 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:59509663-6609-4a1b-a6a3-bc0ffed99778</guid><dc:creator>sam</dc:creator><description>&lt;p&gt;ok thanks for the help&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: NRF51822 IRAM1 Settings (multilinkCentral Projects)</title><link>https://devzone.nordicsemi.com/thread/72532?ContentTypeID=1</link><pubDate>Fri, 08 Sep 2017 14:24:01 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:7b0e76fa-c9c3-40f4-a290-1fbf0c645dbd</guid><dc:creator>bjorn-spockeli</dc:creator><description>&lt;p&gt;Ok, could you create a new question describing you issue and link to this question?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: NRF51822 IRAM1 Settings (multilinkCentral Projects)</title><link>https://devzone.nordicsemi.com/thread/72531?ContentTypeID=1</link><pubDate>Fri, 08 Sep 2017 13:12:31 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:d9285beb-f1ad-4e61-a848-aeabae3ad68e</guid><dc:creator>sam</dc:creator><description>&lt;p&gt;i didn&amp;#39;t see any error when start the debug session, but when i set a break point at the main(), it just didn&amp;#39;t hit it.  I have tried 0x20002BCo and 0x1440 but got a compile error.  thanks..&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: NRF51822 IRAM1 Settings (multilinkCentral Projects)</title><link>https://devzone.nordicsemi.com/thread/72530?ContentTypeID=1</link><pubDate>Fri, 08 Sep 2017 10:24:42 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:925581b8-fa3c-43f3-9cc2-b83413b5a0d6</guid><dc:creator>bjorn-spockeli</dc:creator><description>&lt;p&gt;The IRAM settings should be identical as in the answer. i.e. start = 0x20002BC0 and size = 0x1440.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: NRF51822 IRAM1 Settings (multilinkCentral Projects)</title><link>https://devzone.nordicsemi.com/thread/72540?ContentTypeID=1</link><pubDate>Fri, 08 Sep 2017 09:31:58 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:c9d7c00c-5972-4093-b10f-c49831119e91</guid><dc:creator>bjorn-spockeli</dc:creator><description>&lt;p&gt;Do you get any error when you&amp;#39;re starting the debug session? Why are you not able to debug the project?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: NRF51822 IRAM1 Settings (multilinkCentral Projects)</title><link>https://devzone.nordicsemi.com/thread/72539?ContentTypeID=1</link><pubDate>Fri, 08 Sep 2017 09:28:54 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:5f0d7dfa-2da6-462d-b947-385779f3ee50</guid><dc:creator>sam</dc:creator><description>&lt;p&gt;or perhaps you can tell me the correct iRAM setting?  my setting is 0x20002BC0 and 0x2000&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: NRF51822 IRAM1 Settings (multilinkCentral Projects)</title><link>https://devzone.nordicsemi.com/thread/72529?ContentTypeID=1</link><pubDate>Fri, 08 Sep 2017 09:26:03 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:09563e88-46eb-493b-b416-5fb1bc1f8d8e</guid><dc:creator>sam</dc:creator><description>&lt;p&gt;Hi i&amp;#39;m using Keil and not able to debug the project, it may not running.  sorry for cause so much trouble.
Thanks,&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: NRF51822 IRAM1 Settings (multilinkCentral Projects)</title><link>https://devzone.nordicsemi.com/thread/72528?ContentTypeID=1</link><pubDate>Fri, 08 Sep 2017 09:18:17 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:4a04fa3e-e468-49da-8af0-395b10b0fbc8</guid><dc:creator>bjorn-spockeli</dc:creator><description>&lt;p&gt;Are you compiling the central exaple using Keil or GCC? Are you able to debug the project? If so, could you check whether you end up in the app_error_handler?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: NRF51822 IRAM1 Settings (multilinkCentral Projects)</title><link>https://devzone.nordicsemi.com/thread/72538?ContentTypeID=1</link><pubDate>Fri, 08 Sep 2017 08:54:03 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:30606759-a4f1-4157-82e8-57d4f5a128e2</guid><dc:creator>sam</dc:creator><description>&lt;p&gt;hi~ it&amp;#39;s not working, my project original set CENTRAL_LINK_COUNT to 1, the RW-data and ZI-data didn&amp;#39;t change the size when I changed to 2, I was able to compile and download to my board but it just doesn&amp;#39;t run.  i&amp;#39;m using ble_app_hrs_c example.&lt;/p&gt;
&lt;p&gt;thanks,&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: NRF51822 IRAM1 Settings (multilinkCentral Projects)</title><link>https://devzone.nordicsemi.com/thread/72537?ContentTypeID=1</link><pubDate>Fri, 08 Sep 2017 08:02:56 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:75ac18b6-c0b3-4d8b-b192-50ab7cc117ef</guid><dc:creator>sam</dc:creator><description>&lt;p&gt;thanks for the reply, let me have a test by setting CENTRAL_LINK_COUNT to 2 and let you know the result.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: NRF51822 IRAM1 Settings (multilinkCentral Projects)</title><link>https://devzone.nordicsemi.com/thread/72536?ContentTypeID=1</link><pubDate>Fri, 08 Sep 2017 08:00:35 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:629e1524-793b-4770-bc23-ac3259ceef68</guid><dc:creator>bjorn-spockeli</dc:creator><description>&lt;p&gt;The solution above appears to apply to SDK v12.0.0 only, if I use the same settings in SDK v12.3.0 then I am not able compile the project, i.e. the libraries/drivers used in the example has grown in size since the SDK v12.0.0 release. I am able to compile the SDK v13.0.0 if I set the &lt;code&gt;CENTRAL_LINK_COUNT&lt;/code&gt; to 2.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: NRF51822 IRAM1 Settings (multilinkCentral Projects)</title><link>https://devzone.nordicsemi.com/thread/72535?ContentTypeID=1</link><pubDate>Fri, 08 Sep 2017 07:48:21 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:e85d0932-a9bf-4a30-9f26-866bc40074ed</guid><dc:creator>sam</dc:creator><description>&lt;p&gt;Hi ~ i&amp;#39;m using SDK 12.3.0_d7731ad&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: NRF51822 IRAM1 Settings (multilinkCentral Projects)</title><link>https://devzone.nordicsemi.com/thread/72534?ContentTypeID=1</link><pubDate>Fri, 08 Sep 2017 07:44:33 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:b566e6e4-5be3-4bd3-9144-9375efde84a1</guid><dc:creator>bjorn-spockeli</dc:creator><description>&lt;p&gt;Which SDK are you using @samsc?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: NRF51822 IRAM1 Settings (multilinkCentral Projects)</title><link>https://devzone.nordicsemi.com/thread/72527?ContentTypeID=1</link><pubDate>Wed, 06 Sep 2017 07:43:48 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:6582e7c2-6af0-4b78-aaa5-a3c405d545e0</guid><dc:creator>sam</dc:creator><description>&lt;p&gt;Hi~
I have the same problem, but can you tell me how to &amp;quot;reduce the number of peripheral connections from 8 to 4&amp;quot;?  I change &amp;quot;N_WRITE_BUFFERS&amp;quot; from 8 to 4, but ZI-data only reduced 400, so which one is the correct setting?&lt;/p&gt;
&lt;p&gt;Thanks,&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: NRF51822 IRAM1 Settings (multilinkCentral Projects)</title><link>https://devzone.nordicsemi.com/thread/72526?ContentTypeID=1</link><pubDate>Thu, 05 Jan 2017 09:51:04 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:8cfff41d-1b2e-478b-9205-18d71d4c1ab0</guid><dc:creator>bjorn-spockeli</dc:creator><description>&lt;p&gt;Happy to help :) I would appreciate if you could mark the answer as correct by clicking the check-mark in the circle to the left of the answer.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: NRF51822 IRAM1 Settings (multilinkCentral Projects)</title><link>https://devzone.nordicsemi.com/thread/72525?ContentTypeID=1</link><pubDate>Thu, 05 Jan 2017 09:49:59 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:35286c7b-ddee-4acc-a972-96ad0fa0f738</guid><dc:creator>Oguz Emre</dc:creator><description>&lt;p&gt;Thank you. :)&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: NRF51822 IRAM1 Settings (multilinkCentral Projects)</title><link>https://devzone.nordicsemi.com/thread/72523?ContentTypeID=1</link><pubDate>Thu, 05 Jan 2017 09:45:09 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:c667d991-826e-4228-88d6-20cc39d4ccf2</guid><dc:creator>bjorn-spockeli</dc:creator><description>&lt;p&gt;Yes, the unmodified ble_app_multilink central from SDK v12.x.0 will work with all nRF51x22 devices that has 256kB Flash and 32kB RAM.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: NRF51822 IRAM1 Settings (multilinkCentral Projects)</title><link>https://devzone.nordicsemi.com/thread/72524?ContentTypeID=1</link><pubDate>Thu, 05 Jan 2017 09:42:38 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:861a4679-fd51-4137-9c9b-c4a9990143e4</guid><dc:creator>Oguz Emre</dc:creator><description>&lt;p&gt;Thank you for your quickly answer.
if we use the mutlilnk_central project in SDK without changing it, will it work with nRF51822 QFAC since it has 32 kB RAM ?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: NRF51822 IRAM1 Settings (multilinkCentral Projects)</title><link>https://devzone.nordicsemi.com/thread/72522?ContentTypeID=1</link><pubDate>Thu, 05 Jan 2017 09:14:36 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:a735e90d-3e3a-4f95-a9cc-12130beae98b</guid><dc:creator>bjorn-spockeli</dc:creator><description>&lt;p&gt;Hi Oguz,&lt;/p&gt;
&lt;p&gt;the nRF51822 QFAA variant only has 16kB (0x4000 bytes) of RAM while the SDK examples are compiled for the nRF51 DK, which uses the nRF51422 QFAC variant with 32kB(0x8000 bytes) of RAM.&lt;/p&gt;
&lt;p&gt;The ble_app_multilink_central example is by default configured to have up to
8 peripheral connections, for which the SoftDevice requires 0x3C78 bytes of RAM. In order to account for the reduction you have reduce the size of the IRAM1 block, i.e. set the size to 0x4000-0x3C78 = 0x388 bytes.&lt;/p&gt;
&lt;p&gt;However, the project will not compile with these settings, but if they did you also have to take into account that the SoftDevice and the application shares the call stack. The S130 v2.0.1 may use up to 1536bytes (0x600 bytes) which must be added to the application stack usage, see &lt;a href="http://infocenter.nordicsemi.com/topic/com.nordic.infocenter.s130.sds/dita/softdevices/s130/mem_usage/mem_resource_reqs.html?cp=3_7_2_0_13_0_0"&gt;this&lt;/a&gt; page in the S130 SoftDevice Specification.&lt;/p&gt;
&lt;p&gt;Thus, if the project compiled with the IRAM1 size to 0x4000-0x3C78 = 0x388 bytes, we see that we&amp;#39;ll get a stack overflow if the SoftDevice reaches the maximum stack usage( or if the application pushes lot to the stack).&lt;/p&gt;
&lt;p&gt;The solution is to reduce the number of peripheral connections from 8 to 4, which reduces the SoftDevice RAM requirement from 0x3C78 to 0x2BC0, i.e.&lt;/p&gt;
&lt;p&gt;&lt;img src="https://devzone.nordicsemi.com/cfs-file/__key/communityserver-discussions-components-files/4/ble_5F00_app_5F00_multilink_5F00_central_5F00_4_5F00_peripheral_5F00_conns.JPG" alt="image description" /&gt;&lt;/p&gt;
&lt;p&gt;Note: The SoftDevice returns the application ram base, i.e. how much RAM it needs, when you enable the stack using &lt;a href="http://infocenter.nordicsemi.com/topic/com.nordic.infocenter.s130.api.v2.0.1/group___b_l_e___c_o_m_m_o_n___f_u_n_c_t_i_o_n_s.html#ga812ea2c6258c1cf705c7c114b6297aab"&gt;sd_ble_enable()&lt;/a&gt;.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>