<?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>Custom Board - Keil configuration</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/8314/custom-board---keil-configuration</link><description>I have a query that is similar to the question below 
 https://devzone.nordicsemi.com/question/44424/how-do-i-switch-the-target-from-a-nrf51422_xxac-to-nrf51422_xxab-in-keil/ 
 I am currently developing using the Nordic DK which has a nrf51422 SOC </description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Wed, 18 May 2016 08:40:49 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/8314/custom-board---keil-configuration" /><item><title>RE: Custom Board - Keil configuration</title><link>https://devzone.nordicsemi.com/thread/30050?ContentTypeID=1</link><pubDate>Wed, 18 May 2016 08:40:49 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:0385384e-4419-4c0a-9280-8b91a25e2d35</guid><dc:creator>Hani Abidi</dc:creator><description>&lt;p&gt;Hello. I think I am running in a similar problem. Can you share how you fixed it? Thanks&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Custom Board - Keil configuration</title><link>https://devzone.nordicsemi.com/thread/30049?ContentTypeID=1</link><pubDate>Tue, 25 Aug 2015 17:43:39 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:a2224094-b649-48e4-8570-33a42d457425</guid><dc:creator>pltv</dc:creator><description>&lt;p&gt;I got this working finally without much issues&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Custom Board - Keil configuration</title><link>https://devzone.nordicsemi.com/thread/30048?ContentTypeID=1</link><pubDate>Fri, 24 Jul 2015 02:25:51 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:928ce6f9-781c-4e46-bbdc-88befba3ef04</guid><dc:creator>pltv</dc:creator><description>&lt;p&gt;I got it working to an extent. I had to use internal clock and also remove all references button events. The entire program was not working but i got the advertising packets. I need to debug more to find out where the issue is&lt;/p&gt;
&lt;p&gt;I will report back. Thanks&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Custom Board - Keil configuration</title><link>https://devzone.nordicsemi.com/thread/30047?ContentTypeID=1</link><pubDate>Thu, 23 Jul 2015 22:48:33 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:035fce96-a441-4dc5-a147-a17c3b7d647a</guid><dc:creator>pltv</dc:creator><description>&lt;p&gt;Thanks. I removed RTT and was able to compile the code clean without any errors.&lt;/p&gt;
&lt;p&gt;Now i flashed the Softdevice on to my custom board and then flashed the hex file of my firmware. The flashing works fine. But i am not sure if the program was successfully loaded on to the custom board. The firmware is supposed to send out advertising packets with a custom name. I dont see that coming out from my custom board. I also tried directly loading the program to the custom board from Keil. It says successfully loaded but i dont see the result&lt;/p&gt;
&lt;p&gt;Any inputs on how i can move from here? The program is fully tested on the Development Kit.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Custom Board - Keil configuration</title><link>https://devzone.nordicsemi.com/thread/30046?ContentTypeID=1</link><pubDate>Thu, 23 Jul 2015 07:19:15 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:f89a32f5-9ab6-42ef-bcac-a96a54e6cf55</guid><dc:creator>&amp;#216;yvind Karlsen</dc:creator><description>&lt;p&gt;You are overflowing the RAM by about 1kB, see this error:&lt;code&gt;.\_build\nrf51822_xxaa_s130.axf: Error: L6407E: Sections of aggregate size 0x508 bytes could not fit into .ANY selector(s).&lt;/code&gt;&lt;/p&gt;
&lt;p&gt;You need to limit your RAM usage, usually taking away the heap with &lt;a href="http://www.keil.com/arm/microlib.asp"&gt;microlib&lt;/a&gt; is enough, however you have already enabled this.&lt;/p&gt;
&lt;p&gt;See this post on reducing &lt;a href="https://devzone.nordicsemi.com/question/1088/putting-my-app-on-a-ram-memory-diet/?answer=1175#post-id-1175"&gt;RAM consumption&lt;/a&gt;. Currently RTT is taking a lot of your RAM.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Custom Board - Keil configuration</title><link>https://devzone.nordicsemi.com/thread/30045?ContentTypeID=1</link><pubDate>Wed, 22 Jul 2015 16:23:25 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:1ddc86ec-d326-4404-a262-b4cbbf6d3e04</guid><dc:creator>pltv</dc:creator><description>&lt;p&gt;Thanks Øyvind. That error vanished. But as you mentioned there are linking errors. I posted the errors here&lt;/p&gt;
&lt;p&gt;&lt;a href="http://pastebin.com/t7BLifeR"&gt;http://pastebin.com/t7BLifeR&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;The iRAM and iROM base and size values are exactly as you mentioned. See screenshot below&lt;/p&gt;
&lt;p&gt;&lt;a href="https://www.dropbox.com/s/3uvc406m7hkidjq/screenshot.jpg?dl=0"&gt;https://www.dropbox.com/s/3uvc406m7hkidjq/screenshot.jpg?dl=0&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;How should i re include the files?&lt;/p&gt;
&lt;p&gt;Best
Prasanna&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Custom Board - Keil configuration</title><link>https://devzone.nordicsemi.com/thread/30044?ContentTypeID=1</link><pubDate>Wed, 22 Jul 2015 08:03:46 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:2f70e501-2e00-40a6-b8dc-54f4d52a96c3</guid><dc:creator>&amp;#216;yvind Karlsen</dc:creator><description>&lt;p&gt;Hi Prasanna,&lt;/p&gt;
&lt;p&gt;a) This should be configured in the configuration files nrf_drv_config. The path usually looks like this &lt;code&gt;SDK9\examples\ble_peripheral\ble_app_beacon\config&lt;/code&gt;.&lt;/p&gt;
&lt;p&gt;b) QFAA means 256kB of flash and 16kB of RAM.&lt;/p&gt;
&lt;p&gt;According to section 13 of the &lt;a href="http://infocenter.nordicsemi.com/topic/com.nordic.infocenter.pdf.sds/S130_SDS_v1.0.pdf"&gt;SoftDevice Specification&lt;/a&gt; for S130 the IRAM base should be a minimum of 0x200022D8, and might be larger depending on the requirements of your application. Use the default &lt;strong&gt;0x20002800&lt;/strong&gt;.&lt;/p&gt;
&lt;p&gt;The IRAM size consumption is dependent on the attribute table size(see section 13.1 of the SDS) with the default value of 0x600 bytes you would end up having an IRAM size of 0x4000 - 0x2800 = &lt;strong&gt;0x1800&lt;/strong&gt;.&lt;/p&gt;
&lt;p&gt;The IROM base should be &lt;strong&gt;0x0001C000&lt;/strong&gt; which is the same as 0x1C000. The size should be 0x40000 - 0x1C000 = &lt;strong&gt;0x24000&lt;/strong&gt;.&lt;/p&gt;
&lt;p&gt;c) That should be it, however note that there might be an issue if you change the target like described in the related post where the configuration files do not get linked to the new target, you may have to re-include these in your project.&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Øyvind&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>