<?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>Flashing SDK examples onto a QFAB board</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/15880/flashing-sdk-examples-onto-a-qfab-board</link><description>Hi! 
 I am attempting to flash sdk11 examples onto a QFAB board compiled using arm-gcc over JLINK SWD p20 via the NRF-51DK. 
 While running make flash, the nrfjprog command line utility fails to flash onto the QFAB board with the error message that</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Thu, 25 Aug 2016 10:53:38 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/15880/flashing-sdk-examples-onto-a-qfab-board" /><item><title>RE: Flashing SDK examples onto a QFAB board</title><link>https://devzone.nordicsemi.com/thread/60573?ContentTypeID=1</link><pubDate>Thu, 25 Aug 2016 10:53:38 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:65f41ba8-20fd-4a75-84aa-168bb53fbb0d</guid><dc:creator>bjorn-spockeli</dc:creator><description>&lt;p&gt;The QFAB has 128kB Flash/ 16kB RAM as opposed to the 256 kB Flash/16kB RAM of the QFAA variant. The linker script must be changed accordingly, i.e.&lt;/p&gt;
&lt;pre&gt;&lt;code&gt;  FLASH (rx) : ORIGIN = 0x1b000, LENGTH = 0x5000
  RAM (rwx) :  ORIGIN = 0x20002080, LENGTH = 0x1920
&lt;/code&gt;&lt;/pre&gt;
&lt;p&gt;Furthermore, you might have to tell the compiler to optimize for size (-Os) and not for speed(-O3) in order to get the applications to fit in application flash, i.e.&lt;/p&gt;
&lt;pre&gt;&lt;code&gt;CFLAGS += -Wall -Werror -Os -g3
&lt;/code&gt;&lt;/pre&gt;
&lt;p&gt;-Bjørn&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>