<?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 qfaa has problem with eddystone example</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/25122/nrf51822-qfaa-has-problem-with-eddystone-example</link><description>Hi; 
 I am using nrf51822 qfaa device with sdk12.3. I compiled eddystone example code and it worked with nrf51dk(nrf51422_qfac) board. Also, i have a board that has nrf51822_qfaa and it does not work with my eddystone code. I think that it is about ram</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Wed, 13 Sep 2017 15:35:09 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/25122/nrf51822-qfaa-has-problem-with-eddystone-example" /><item><title>RE: nrf51822 qfaa has problem with eddystone example</title><link>https://devzone.nordicsemi.com/thread/98953?ContentTypeID=1</link><pubDate>Wed, 13 Sep 2017 15:35:09 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:0fdd93e8-7cca-4049-adfd-ae1177d6e678</guid><dc:creator>MartinBL</dc:creator><description>&lt;p&gt;It sounds like you got it right. The reason you sometimes have to debug and get the address from &amp;#39;app_ram_base&amp;#39; is that the Softdevice requires different amounts of RAM according to how many services and characteristics you have, what bandwidth configuration you use, etc.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nrf51822 qfaa has problem with eddystone example</title><link>https://devzone.nordicsemi.com/thread/98952?ContentTypeID=1</link><pubDate>Wed, 13 Sep 2017 07:31:46 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:0906ecd3-aa96-4e79-af3f-884e4aef27f7</guid><dc:creator>secondbest</dc:creator><description>&lt;p&gt;Hi Martin;&lt;/p&gt;
&lt;p&gt;Thank you for your response. After I reviewed webpage about ram and rom management, I think i found a solution. According to web page, If s130v2 is used, ram settings of the nrf51822_qfaa is IRAM base - 0x20001870 and size - 0x2790(16kb). I set up my code with these IRAM settings. After that my code start to work. However, it is continuously reset and start again because my iram start address is not correct.
To learn what it is iram base(start) adress, i add a break point inside the softdevice_enable() function. I think that &amp;quot;app_ram_base&amp;quot; variable inside softdevice_enable is our IRAM start adress and it is equal to 0x20001FE8 at debug.
We can also easily calculate the our ram size. It is equal to (0x2790 - (0x20001FE8 - 0x20001870)) = 0x2018.
When Iram base adress is 0x20001FE8 and size is 0x2018, eddystone example code have started to work correctly.&lt;/p&gt;
&lt;p&gt;Is this valid solution? Or, Does my code hang in some situation?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nrf51822 qfaa has problem with eddystone example</title><link>https://devzone.nordicsemi.com/thread/98951?ContentTypeID=1</link><pubDate>Tue, 12 Sep 2017 15:23:51 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:f3164a72-f377-42de-9889-8332707bdbe0</guid><dc:creator>MartinBL</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;Here is a great writeup about &lt;a href="https://devzone.nordicsemi.com/tutorials/26/"&gt;RAM and ROM management&lt;/a&gt;.&lt;/p&gt;
&lt;p&gt;I suppose one solution might be to go back to an earlier SDK, like e.g. SDK 11. It has less features added to the example and is only experimental, but it seems like you can just about fit the example onto a QFAA chip. I think removing unnecessary features from the SDK 12.3 version will be a major hassle and it might not be possible to remove enough either.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>