<?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>Migration from nRF52832 to nRF52810</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/31176/migration-from-nrf52832-to-nrf52810</link><description>Hi 
 Currently I try to migrate my software project (with SDK14.2, S132 (5.0.0), arm-gcc toolchain ) from nRF52832 to nRF52810 (with SDK14.2, S112 (5.1.0), arm-gcc toolchain). 
 But when I build the &amp;quot;new&amp;quot; nRF52810-project the linker tells me that I have</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Tue, 13 Mar 2018 14:44:58 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/31176/migration-from-nrf52832-to-nrf52810" /><item><title>RE: Migration from nRF52832 to nRF52810</title><link>https://devzone.nordicsemi.com/thread/124197?ContentTypeID=1</link><pubDate>Tue, 13 Mar 2018 14:44:58 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:85d53d46-6616-47d5-b888-3eb8b11f5f62</guid><dc:creator>Alex</dc:creator><description>&lt;p&gt;Hi Kristin,&lt;/p&gt;
&lt;p&gt;Finally I was successful :-)&lt;/p&gt;
&lt;p&gt;Due to a problem in the build configuration the application contained some unnecessary modules (nrf-log, RTT, remains of the bootloader etc.). Now the application fits into the flash as expected.&lt;/p&gt;
&lt;p&gt;After this I was able to read the actual RAM usage of the softdevice with the nrf_sdh_ble_enable() function (as you suggested).&lt;/p&gt;
&lt;p&gt;So this problem is solved, thanks.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Migration from nRF52832 to nRF52810</title><link>https://devzone.nordicsemi.com/thread/123669?ContentTypeID=1</link><pubDate>Fri, 09 Mar 2018 12:42:02 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:942527db-f45e-4349-b4c3-6a98fa6dae15</guid><dc:creator>Turbo J</dc:creator><description>&lt;p&gt;The &amp;quot;Call stack&amp;quot; section directly below your link specifies 0x600 bytes stack minimum, which is not too far off the 2KB that some older softdevices require (and I was referring to).&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Migration from nRF52832 to nRF52810</title><link>https://devzone.nordicsemi.com/thread/123497?ContentTypeID=1</link><pubDate>Thu, 08 Mar 2018 16:33:04 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:e7e70633-74c9-4698-9fbc-fd9978787b06</guid><dc:creator>Alex</dc:creator><description>&lt;p&gt;Hi J, I am not sure if I have understood your answer at all. According to the &lt;a href="https://infocenter.nordicsemi.com/index.jsp?topic=%2Fcom.nordic.infocenter.s112.sds%2Fdita%2Fsoftdevices%2Fs130%2Fmem_usage%2Fmem_resource_reqs.html&amp;amp;cp=2_3_0_0_13_0_0"&gt;Memory resource requirements&lt;/a&gt; the S112 softdevice needs &lt;span class="ph"&gt;0xd60&lt;/span&gt; + X Bytes RAM. Besides this memory, do you mean that the softdevice needs 2kB additional RAM? On the stack? &lt;/p&gt;
&lt;p&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Migration from nRF52832 to nRF52810</title><link>https://devzone.nordicsemi.com/thread/123495?ContentTypeID=1</link><pubDate>Thu, 08 Mar 2018 16:23:16 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:dcc72576-30a5-4404-9fe5-970c49b4a661</guid><dc:creator>Alex</dc:creator><description>&lt;p&gt;With the following linker-file settings the build is successful:&lt;/p&gt;
&lt;p style="padding-left:30px;"&gt;&amp;nbsp; FLASH (rx) : ORIGIN = 0x18000, LENGTH = 0x18500&lt;br /&gt;&amp;nbsp; RAM (rwx) :&amp;nbsp; ORIGIN = 0x20000F10, LENGTH = 0x50F0&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Note:&lt;/p&gt;
&lt;p&gt;The stack and heap size in the gcc_startup_nrf52810.S are set as follows:&lt;/p&gt;
&lt;p style="padding-left:30px;"&gt;Stack_Size = 2048&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; (default value)&lt;/p&gt;
&lt;p style="padding-left:30px;"&gt;Heap_Size = 0&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Migration from nRF52832 to nRF52810</title><link>https://devzone.nordicsemi.com/thread/123467?ContentTypeID=1</link><pubDate>Thu, 08 Mar 2018 14:58:48 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:318025c9-9fd9-49b1-b00e-5620f9a09147</guid><dc:creator>Turbo J</dc:creator><description>&lt;p&gt;Careful: The RAM usage displayed does &lt;strong&gt;not&lt;/strong&gt; include the softdevice memories. And the softdevice wants about 2KB of stack memory, which has to be &lt;strong&gt;free&lt;/strong&gt; after linking your application. That is what the linker moans about here. Not exactly sure about flash - try to fix the ram issue first.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Migration from nRF52832 to nRF52810</title><link>https://devzone.nordicsemi.com/thread/123457?ContentTypeID=1</link><pubDate>Thu, 08 Mar 2018 14:32:37 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:67ec8755-5aae-4d8b-99e9-de907f86c572</guid><dc:creator>FormerMember</dc:creator><description>&lt;p&gt;From the build information, the ~80 kB application should fit well into the remaining 96kB of flash.&lt;/p&gt;
&lt;p&gt;Could you test how much you&amp;nbsp; need to increase the flash setting when compiling to make the compile finish without space issues? (Just for testing purpose..)&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Migration from nRF52832 to nRF52810</title><link>https://devzone.nordicsemi.com/thread/123286?ContentTypeID=1</link><pubDate>Wed, 07 Mar 2018 15:10:08 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:572a0ef5-0ade-4f88-81be-7e49d00b2dc7</guid><dc:creator>Alex</dc:creator><description>&lt;p&gt;Hi Kristin, thanks for your reply.&lt;/p&gt;
&lt;p&gt;I have changed the RAM size in the linker file. Furthermore I have set the HEAP_SIZE in the gcc_startup_nrf52810.S to 0 because I do not use dynamic memory allocation. So regarding the &amp;quot;overflowed RAM region&amp;quot; problem the linker is satisfied.&lt;/p&gt;
&lt;p&gt;But unfortunately I still have the Flash overflow problem and therefore no running application yet...&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Migration from nRF52832 to nRF52810</title><link>https://devzone.nordicsemi.com/thread/123268?ContentTypeID=1</link><pubDate>Wed, 07 Mar 2018 14:16:45 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:fba625c3-cbf3-42c0-9b33-f8f63227c635</guid><dc:creator>FormerMember</dc:creator><description>&lt;p&gt;I will start with the last:&amp;nbsp; When enabling the softdevice using the function&amp;nbsp;nrf_sdh_ble_enable(), the actual RAM usage used by the application will be printed over UART/RTT when log is enabled and the severity level includes &amp;quot;warning (sdk_config.h).&lt;/p&gt;
&lt;p&gt;As stated in the S112 release note, the minimum amount RAM used by the softdevice is 3.68 kB. Could you try to lower the setting for the&amp;nbsp; amount of RAM used by the softdevice in your application, until it compiles? And then, check how much RAM the softdevice requires in you application?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>