<?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>why SDK12.2.0 ANCS keil target RAM1:start is 0x20003340</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/20112/why-sdk12-2-0-ancs-keil-target-ram1-start-is-0x20003340</link><description>why SDK12.2.0 ANCS keil target RAM1:start is 0x20003340? 
 and is it only can be this adress?</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Thu, 02 Mar 2017 14:44:46 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/20112/why-sdk12-2-0-ancs-keil-target-ram1-start-is-0x20003340" /><item><title>RE: why SDK12.2.0 ANCS keil target RAM1:start is 0x20003340</title><link>https://devzone.nordicsemi.com/thread/78311?ContentTypeID=1</link><pubDate>Thu, 02 Mar 2017 14:44:46 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:16daf7f0-ca7b-4353-b25d-fe4920254ed6</guid><dc:creator>FormerMember</dc:creator><description>&lt;p&gt;thank you friend,now the time is 22:42,it&amp;#39;s time to go to sleep in china.thanks for your answer.wish you have a good day.i&amp;#39;ll think your answer Tomorrow&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: why SDK12.2.0 ANCS keil target RAM1:start is 0x20003340</title><link>https://devzone.nordicsemi.com/thread/78310?ContentTypeID=1</link><pubDate>Thu, 02 Mar 2017 14:41:15 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:54d8864f-54b5-4cbf-9f5c-b6ba369b7772</guid><dc:creator>Sigurd</dc:creator><description>&lt;p&gt;This is the value the &lt;code&gt;softdevice_enable()&lt;/code&gt; will tell you to use, 0x20002078 - start(0x20000000) = 0x2078 = 8312 byte = 8.1171875 kB.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: why SDK12.2.0 ANCS keil target RAM1:start is 0x20003340</title><link>https://devzone.nordicsemi.com/thread/78309?ContentTypeID=1</link><pubDate>Thu, 02 Mar 2017 14:38:17 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:93545575-1847-4675-a6c6-af8e2386b84b</guid><dc:creator>FormerMember</dc:creator><description>&lt;p&gt;hello friend ,For this example the SoftDevice uses 8.11kB RAM..where to see this 8.11 value&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: why SDK12.2.0 ANCS keil target RAM1:start is 0x20003340</title><link>https://devzone.nordicsemi.com/thread/78308?ContentTypeID=1</link><pubDate>Thu, 02 Mar 2017 14:23:22 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:bbce5ca1-4576-4a94-a62c-0e598a21986b</guid><dc:creator>Sigurd</dc:creator><description>&lt;p&gt;No, you cannot calculate the RAM usage for the SoftDevice directly.
The nrf51822QFAA has 16kB RAM. The RAM usage for the ANCS example code is ZI-data + RW-data = 8.953125 kB. For this example the SoftDevice uses 8,11kB RAM, so the total RAM usage is &lt;strong&gt;17.07kB&lt;/strong&gt;.
If you turn off the NRF_LOG(set NRF_LOG_ENABLED to 0 in sdk_config.h) the total RAM usage is 15,3125 kB. Also, with the nrf51822QFAA you should set the start to 0x20002078 and the size to &lt;strong&gt;0x1F88&lt;/strong&gt;. You will almost have no extra RAM for your application, so if you want to add anything to the ANCS example, you should maybe buy a &lt;a href="https://infocenter.nordicsemi.com/topic/com.nordic.infocenter.nrf51/dita/nrf51/compatibility_matrix/nRF51822_ic_revision_overview.html?cp=3_0_1"&gt;nRF51822&lt;/a&gt; that have 32kB RAM.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: why SDK12.2.0 ANCS keil target RAM1:start is 0x20003340</title><link>https://devzone.nordicsemi.com/thread/78317?ContentTypeID=1</link><pubDate>Thu, 02 Mar 2017 13:56:40 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:d7d0f75c-64a7-4ea5-a82b-43e453379317</guid><dc:creator>FormerMember</dc:creator><description>&lt;p&gt;hello friend,i see the Memory resource map and usage,but i still don&amp;#39;t know why it should be 0x3440.i use nrf51822QFAA with 256KB flash and 16kb ram, and i download the SDK12.2.0 softdevice s130,and download the sdk12.2.0 ANCS project application,it can&amp;#39;t run,the RAM and flash. RAM=ZI-data + RW-data.and in the SDK12.2.0 ANCS project.RAM=8480+504=8984=8.984KB flash=Code + RO-data + RW-data,and in the SDK12.2.0 ANCS project.flash=39772+1964+504=42240=42.24KB. i  know because the RAM is not enough. but i don&amp;#39;t know why it could be 0x3440.and the first time you answer my question with a web,i click it,there it say set it to be 0x20002078, it&amp;#39;s also ok. i want to know is there any way that calculate the value without print out it？ because i use nrf51822QFAA,i can&amp;#39;t debug now&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: why SDK12.2.0 ANCS keil target RAM1:start is 0x20003340</title><link>https://devzone.nordicsemi.com/thread/78316?ContentTypeID=1</link><pubDate>Thu, 02 Mar 2017 10:35:52 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:3a06d22b-7c13-4e4b-9e9b-6f771c25dec8</guid><dc:creator>FormerMember</dc:creator><description>&lt;p&gt;ok thank you so much.     O(∩_∩)O~&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: why SDK12.2.0 ANCS keil target RAM1:start is 0x20003340</title><link>https://devzone.nordicsemi.com/thread/78315?ContentTypeID=1</link><pubDate>Thu, 02 Mar 2017 10:22:47 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:2948634e-8590-4389-afd9-530ce8aa69c9</guid><dc:creator>Sigurd</dc:creator><description>&lt;p&gt;Yes, feel free to ask new questions, and I will do my best to answer them.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: why SDK12.2.0 ANCS keil target RAM1:start is 0x20003340</title><link>https://devzone.nordicsemi.com/thread/78312?ContentTypeID=1</link><pubDate>Thu, 02 Mar 2017 10:21:15 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:1bd256c6-7867-40a5-abe8-1f3747dfac61</guid><dc:creator>FormerMember</dc:creator><description>&lt;p&gt;ok,tank you so much , i will look it,and if i have any question,can i ask you ? thank  you again&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: why SDK12.2.0 ANCS keil target RAM1:start is 0x20003340</title><link>https://devzone.nordicsemi.com/thread/78314?ContentTypeID=1</link><pubDate>Thu, 02 Mar 2017 10:15:05 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:57919b66-dc2d-40c5-8fe6-4259074d3c2e</guid><dc:creator>Sigurd</dc:creator><description>&lt;p&gt;Yes, you can find it when debugging, &lt;code&gt;softdevice_enable()&lt;/code&gt; will tell you how much RAM the SoftDevice needs. The SoftDevice will use minimum 0x200013C8 + extra RAM for the services, characteristics, etc that are enabled by the application. You can read more about this &lt;a href="https://infocenter.nordicsemi.com/topic/com.nordic.infocenter.s130.sds/dita/softdevices/s130/mem_usage/mem_resource_map_usage.html?cp=3_7_2_0_13_0"&gt;here&lt;/a&gt;.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: why SDK12.2.0 ANCS keil target RAM1:start is 0x20003340</title><link>https://devzone.nordicsemi.com/thread/78313?ContentTypeID=1</link><pubDate>Thu, 02 Mar 2017 10:02:37 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:a4e5176a-38d9-48fa-9900-083da3fa122b</guid><dc:creator>FormerMember</dc:creator><description>&lt;p&gt;HELLO friend&lt;/p&gt;
&lt;p&gt;i see the web,and the answer is &amp;quot;I&amp;#39;m not sure why 0x20003440 is used here, but you can safely change it to 0x20002078 and the size to 0x5F88.&amp;quot;&lt;/p&gt;
&lt;p&gt;there is no reason,can you tell me the detail? what address can set? is there any place can i find it?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: why SDK12.2.0 ANCS keil target RAM1:start is 0x20003340</title><link>https://devzone.nordicsemi.com/thread/78307?ContentTypeID=1</link><pubDate>Thu, 02 Mar 2017 08:49:44 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:4b80a05a-2c4b-442a-8aa7-27f427c9c40a</guid><dc:creator>Sigurd</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;See &lt;a href="https://devzone.nordicsemi.com/question/115937/can-the-ancs-example-in-sdk-122-be-running-on-nrf51822-qfaa-chip/"&gt;this&lt;/a&gt; answer.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>