<?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>how to define target configuration in keil</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/19165/how-to-define-target-configuration-in-keil</link><description>Hi, I have nrf51822QFAA series. I am using S110 for softdevice which takes 96KB. My current program size is Code=31908 RO-data=512 RW-data=312 ZI-data=8360. I want to know what will be the target configuration in keil, so that my code will run on this</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Mon, 23 Jan 2017 09:08:35 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/19165/how-to-define-target-configuration-in-keil" /><item><title>RE: how to define target configuration in keil</title><link>https://devzone.nordicsemi.com/thread/74185?ContentTypeID=1</link><pubDate>Mon, 23 Jan 2017 09:08:35 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:dc685351-134b-439c-a3b4-38ab4c3d90f5</guid><dc:creator>Amit Varshney</dc:creator><description>&lt;p&gt;Thanks Sigurd for explaining to me that how to calculate RAM size. I have reduced my HEAP and Stack memory. Now my uses RAM 6.4375 KB and my application is running perfectly.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: how to define target configuration in keil</title><link>https://devzone.nordicsemi.com/thread/74184?ContentTypeID=1</link><pubDate>Mon, 23 Jan 2017 09:04:02 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:5ce0172e-1f56-489d-b9b7-67c24ec35d6e</guid><dc:creator>Sigurd</dc:creator><description>&lt;p&gt;The nrf51822QFAA has 16kB RAM. The RAM usage for your application code is ZI-data + RW-data = 8.46875 kB. The SoftDevice uses 8kB, so the total RAM usage is 16.46875kB…&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: how to define target configuration in keil</title><link>https://devzone.nordicsemi.com/thread/74183?ContentTypeID=1</link><pubDate>Sun, 22 Jan 2017 05:33:31 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:9143c9f1-25c5-4ed0-b627-97a2b704f811</guid><dc:creator>Roger Clark</dc:creator><description>&lt;p&gt;Have you checked if your application will actually fit in 16k of RAM ?&lt;/p&gt;
&lt;p&gt;Some examples will not run on the QFAA (16k) version.&lt;/p&gt;
&lt;p&gt;I&amp;#39;d either attach a debug terminal via serial (e.g. use USB to Serial converter and set NRF_LOG_ENABLED 1&lt;/p&gt;
&lt;p&gt;Or use the Segger debug terminal, or perhaps just run the application in the debugger and see if it catches any memory exceptions etc&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: how to define target configuration in keil</title><link>https://devzone.nordicsemi.com/thread/74182?ContentTypeID=1</link><pubDate>Sun, 22 Jan 2017 05:22:49 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:60fb4fd2-e4e2-471d-9f13-c74eb0fb1767</guid><dc:creator>Amit Varshney</dc:creator><description>&lt;p&gt;My application still not running after changing IRAM1 value feom 0x4000 to 0x2000. I can run this applucation in nRF51822QFAC series which has RAM of 32KB. Is that one the issue which causing problem to me because QFAA series has 16KB Ram only.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: how to define target configuration in keil</title><link>https://devzone.nordicsemi.com/thread/74181?ContentTypeID=1</link><pubDate>Sat, 21 Jan 2017 21:30:02 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:52355373-d063-4051-82c4-ad5d8ef2d87c</guid><dc:creator>Roger Clark</dc:creator><description>&lt;p&gt;Assuming the values you quoted are correct...&lt;/p&gt;
&lt;p&gt;The IROM1 values you entered look correct, but the IRAM1 value is wrong, because 0x4000 is the total RAM size, not the size available to the application&lt;/p&gt;
&lt;p&gt;If the SD is taking 0x2000 of RAM then the size of RAM left to the application will be 0x4000 - 0x2000 = 0x2000&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>