<?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>About memory error after adding a VS service (using Embedded Studio)</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/65830/about-memory-error-after-adding-a-vs-service-using-embedded-studio</link><description>Hi, 
 I have just added a VS service (PCA10040, s132 7.0.1, embedded studio v5.10a x64)and I understand I need to increase the ram given to the softdevice. However, I have try to add the followings in &amp;quot;Section Placement Macros&amp;quot;. 
 FLASH_PH_START=0x0 </description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Fri, 11 Sep 2020 13:18:58 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/65830/about-memory-error-after-adding-a-vs-service-using-embedded-studio" /><item><title>RE: About memory error after adding a VS service (using Embedded Studio)</title><link>https://devzone.nordicsemi.com/thread/269178?ContentTypeID=1</link><pubDate>Fri, 11 Sep 2020 13:18:58 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:8ffdbad5-cd23-491f-a87b-41b40879252b</guid><dc:creator>Vidar Berg</dc:creator><description>&lt;p&gt;Hi Jones, &lt;/p&gt;
[quote userid="8668" url="~/f/nordic-q-a/65830/about-memory-error-after-adding-a-vs-service-using-embedded-studio/269177"]got nth inside[/quote]
&lt;p&gt;Sorry, I&amp;#39;m not sure what you&amp;#39;re referring to here.&lt;/p&gt;
&lt;p&gt;Regards,&lt;/p&gt;
&lt;p&gt;Vidar&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: About memory error after adding a VS service (using Embedded Studio)</title><link>https://devzone.nordicsemi.com/thread/269177?ContentTypeID=1</link><pubDate>Fri, 11 Sep 2020 13:14:14 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:41861959-3a34-4c17-8dc2-07e9c3d0dc37</guid><dc:creator>Jones</dc:creator><description>&lt;p&gt;Hi Vidar,&lt;/p&gt;
&lt;p&gt;For all example, &amp;quot;&lt;span&gt;Section Placement Macros&amp;quot; got nth inside. That&amp;#39;s why I can&amp;#39;t confirm whether I got it right or not.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Thanks,&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Jones&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: About memory error after adding a VS service (using Embedded Studio)</title><link>https://devzone.nordicsemi.com/thread/269175?ContentTypeID=1</link><pubDate>Fri, 11 Sep 2020 13:08:50 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:39136ab1-2edd-49de-b0b1-44dacd950770</guid><dc:creator>Vidar Berg</dc:creator><description>&lt;p&gt;Hi Jones,&lt;/p&gt;
&lt;p&gt;FLASH_PH_* and RAM_PH_* specifies the total memory address range for the chip, while FLASH_* and RAM_* is for the application only.&lt;/p&gt;
&lt;p&gt;[quote user="ngjones"][/quote]&lt;/p&gt;
&lt;p&gt;Could you give me example on what should be needed for nRF52832 and nRF52840?&lt;/p&gt;
&lt;p&gt;Do this MACROS of nRF52832 different from nRF52810?&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;Please use the existing SDK examples as reference.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: About memory error after adding a VS service (using Embedded Studio)</title><link>https://devzone.nordicsemi.com/thread/269172?ContentTypeID=1</link><pubDate>Fri, 11 Sep 2020 12:59:59 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:2bdfbbaf-36d6-4030-ad36-1935490d03b8</guid><dc:creator>Jones</dc:creator><description>&lt;p&gt;Hi Vidar,&lt;/p&gt;
&lt;p&gt;Thank you for your quick reply.&lt;/p&gt;
&lt;p&gt;Do you mean FLASH_PH_SIZE, FLASH_PH_START, RAM_PH_SIZE and RAM_PH_START are mutually exclusive to FLASH_SIZE, FLASH_START, RAM_SIZE and RAM_START?&lt;/p&gt;
&lt;p&gt;Could you give me example on what should be needed for nRF52832 and nRF52840?&lt;/p&gt;
&lt;p&gt;Do this MACROS of nRF52832 different from nRF52810?&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Thanks,&lt;/p&gt;
&lt;p&gt;Jones&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: About memory error after adding a VS service (using Embedded Studio)</title><link>https://devzone.nordicsemi.com/thread/269168?ContentTypeID=1</link><pubDate>Fri, 11 Sep 2020 12:42:33 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:a97f25ea-5411-4472-9a5b-61b98d4e8e5b</guid><dc:creator>Vidar Berg</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;SRAM_START and SRAM_SIZE should be named RAM_START and RAM_SIZE by default, maybe that&amp;#39;s why the settings aren&amp;#39;t applied in your case? And please remember to update RAM_SIZE according to the log output. The current RAM setting will lead to a hardfault if you are running the code on a pca10040 board.&lt;/p&gt;
&lt;p&gt;&lt;img src="https://devzone.nordicsemi.com/resized-image/__size/320x240/__key/support-attachments/beef5d1b77644c448dabff31668f3a47-19dbf599152544d7952fc6f3af431762/pastedimage1599827868001v1.png" alt=" " /&gt;&lt;/p&gt;
&lt;p&gt;Also, note that the FLASH_PH_SIZE and RAM_PH_SIZE are for the nRF52840 (1MB flash and 256KB RAM), not the nRF52832 which has 512KB flash and 64KB RAM.&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Vidar&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>