<?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>Not able to switch code from NRF51822 QFAC chip to NRF51822 QFAA chip</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/34888/not-able-to-switch-code-from-nrf51822-qfac-chip-to-nrf51822-qfaa-chip</link><description>Hello everyone , 
 We have done advertising and scanning(both in a single firmware) on nrf51822 using QFAC chip. using SDK 12. Now we want to switch our code to NRF51822 QFAA chip. but we not able to do so .. when i program same code in nrf51822QFAA it</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Wed, 30 May 2018 13:34:30 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/34888/not-able-to-switch-code-from-nrf51822-qfac-chip-to-nrf51822-qfaa-chip" /><item><title>RE: Not able to switch code from NRF51822 QFAC chip to NRF51822 QFAA chip</title><link>https://devzone.nordicsemi.com/thread/134050?ContentTypeID=1</link><pubDate>Wed, 30 May 2018 13:34:30 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:3e9043b6-9370-4bc8-ac8b-fa9c8f8f78d1</guid><dc:creator>tesc</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;The size of the program itself should not matter, as the available flash is the same, but the amount of RAM might be a problem.&lt;/p&gt;
&lt;p&gt;The RAM requirement of the SoftDevice depends on configuration, see the documentation for sd_ble_enable() for how to obtain the minimum RAM requirement for your configuration.&lt;/p&gt;
&lt;p&gt;Then you must make sure to configure RAM usage correctly. If you use Keil, you do that in &amp;quot;Options for Target&amp;quot;, the &amp;quot;Target&amp;quot; panel, under &amp;quot;Read/Write Memory Areas&amp;quot;, where IRAM1 Start and Size are the start address and size of application RAM area. It should start at 0x20000000 plus the RAM requirement of the SoftDevice (e.g. 0x200033B0 for a randomly chosen SDK example applicaiton). Its size should be such that Start + Size equals 0x20004000 for the QFAA (16 kB of RAM) or equals 0x20008000 for the QFAC.&lt;/p&gt;
&lt;p&gt;Depending on your configuration, the RAM requirements of your application, and the combined stack usage of the SoftDevice and your application, the QFAA might or might not have enough RAM. In that case you can either try to reduce RAM usage by changing SoftDevice configuration, change optimization level for your application, optimize your application manually. Or, increase available RAM by continue using the QFAC.&lt;/p&gt;
&lt;p&gt;Regards,&lt;br /&gt;Terje&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>