<?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>Putting Code Into RAM</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/79424/putting-code-into-ram</link><description>Hello, 
 I am running ble_app_beacon demo from nRF5 SDK 17.0.2 on nRF52 DK and would like to decrease power consumption as much as possible. From this post , I have seen that it is possible for nRF51 but could not replicate for my case. Could you help</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Thu, 09 Sep 2021 12:48:45 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/79424/putting-code-into-ram" /><item><title>RE: Putting Code Into RAM</title><link>https://devzone.nordicsemi.com/thread/328833?ContentTypeID=1</link><pubDate>Thu, 09 Sep 2021 12:48:45 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:299fc180-53d0-4144-862b-130274c9b0bb</guid><dc:creator>Amanda Hsieh</dc:creator><description>[quote user="Burnie Barren"]I cannot give them the same address if I am using a SoftDevice, right?[/quote]
&lt;p&gt;&amp;nbsp;Correct.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
[quote user="Burnie Barren"]In my case, minimum RAM is&amp;nbsp;&lt;span&gt;0x20001628 and flash start is&amp;nbsp;0x26000.&lt;/span&gt;[/quote]
&lt;p&gt;&amp;nbsp;If you are using&amp;nbsp;s132_nrf52_7.2.0,&amp;nbsp;&lt;span&gt;the minimum required memory is&amp;nbsp;5.6 kB (0x1668 bytes). So, the&amp;nbsp;&lt;/span&gt;&lt;span&gt;RAM start is&amp;nbsp;&lt;/span&gt;&lt;span&gt;0x20001668. See release-note under nRF5_SDK_17.0.2\components\softdevice\s132\doc&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;-Amanda&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Putting Code Into RAM</title><link>https://devzone.nordicsemi.com/thread/328816?ContentTypeID=1</link><pubDate>Thu, 09 Sep 2021 12:19:58 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:bacfe5ff-0c50-42df-9b43-0ae10fd3935e</guid><dc:creator>Burnie Barren</dc:creator><description>&lt;p&gt;So just asking to verify, I cannot give them the same address if I am using a SoftDevice, right? In my case, minimum RAM is&amp;nbsp;&lt;span&gt;0x20001628 and flash start is&amp;nbsp;0x26000.&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Putting Code Into RAM</title><link>https://devzone.nordicsemi.com/thread/328811?ContentTypeID=1</link><pubDate>Thu, 09 Sep 2021 12:05:45 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:bda499df-e5be-4be5-8dc9-4a288243e1a1</guid><dc:creator>Amanda Hsieh</dc:creator><description>&lt;p&gt;&lt;span&gt;If your Application uses a SoftDevice the start address for the FLASH memory must be set to the correct value for the corresponding SoftDevice, otherwise, the Application will not run. This is because the SoftDevice expects the Application to start at one specific address. The RAM start address on the other hand can vary depending on the number of features used in the SoftDevice, but it has always the lowest possible starting address.&amp;nbsp;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;-Amanda&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Putting Code Into RAM</title><link>https://devzone.nordicsemi.com/thread/328794?ContentTypeID=1</link><pubDate>Thu, 09 Sep 2021 11:28:19 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:bc51d39c-28cf-47d5-bcc4-5b34b73d9ccb</guid><dc:creator>Burnie Barren</dc:creator><description>&lt;p&gt;&lt;span&gt;I had checked that link but could not be sure, is it enough that I make RAM start address and the flash start address the same to run the code in RAM?&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Putting Code Into RAM</title><link>https://devzone.nordicsemi.com/thread/328777?ContentTypeID=1</link><pubDate>Thu, 09 Sep 2021 11:09:14 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:ee44cc5b-2a05-4f7a-b9d9-5eee31992f40</guid><dc:creator>Amanda Hsieh</dc:creator><description>&lt;p&gt;Hi&amp;nbsp;&lt;span&gt;Burnie,&amp;nbsp;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;Have a look at this tutorial &lt;a href="https://devzone.nordicsemi.com/nordic/short-range-guides/b/getting-started/posts/adjustment-of-ram-and-flash-memory"&gt;Adjustment of RAM and Flash memory&lt;/a&gt;. You also can refer to the default setting of the &lt;span&gt;ble_app_beacon&amp;nbsp;&lt;/span&gt;Keil project:&lt;/p&gt;
&lt;p&gt;&lt;img alt=" " src="https://devzone.nordicsemi.com/resized-image/__size/320x240/__key/communityserver-discussions-components-files/4/276203.PNG" /&gt;&lt;/p&gt;
&lt;p&gt;Regards,&lt;br /&gt;Amanda&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>