<?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>Error: flash is not erased</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/25314/error-flash-is-not-erased</link><description>Hi everyone, 
 I&amp;#39;m trying to compile my own bootloader. I had this error when trying to flash it into my module: 
 
 Here is my linker script for the bootloader: 
 SEARCH_DIR(.)
GROUP(-lgcc -lc -lnosys)

MEMORY
{
 FLASH (rx) : ORIGIN = 0x0003c000</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Wed, 20 Sep 2017 10:49:58 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/25314/error-flash-is-not-erased" /><item><title>RE: Error: flash is not erased</title><link>https://devzone.nordicsemi.com/thread/99765?ContentTypeID=1</link><pubDate>Wed, 20 Sep 2017 10:49:58 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:1c854e71-d206-4c33-b388-573877c417e9</guid><dc:creator>Bj&amp;#248;rn Kvaale</dc:creator><description>&lt;p&gt;Check this &lt;a href="https://devzone.nordicsemi.com/question/30622/what-is-role-of-bootloader/"&gt;case&lt;/a&gt;, this &lt;a href="https://devzone.nordicsemi.com/question/22056/combining-sd-dfu-and-application-hex-and-programming/?answer=22246#post-id-22246"&gt;one&lt;/a&gt; and look at this &lt;a href="http://developer.nordicsemi.com/nRF51_SDK/nRF51_SDK_v7.x.x/doc/7.2.0/s110/html/a00069.html"&gt;flash layout&lt;/a&gt;.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Error: flash is not erased</title><link>https://devzone.nordicsemi.com/thread/99764?ContentTypeID=1</link><pubDate>Wed, 20 Sep 2017 08:46:30 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:27edeffc-87fa-4d35-b6ba-dc803e714a3e</guid><dc:creator>Hamza</dc:creator><description>&lt;p&gt;Of course, I have even tried without the softdevice programmed.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Error: flash is not erased</title><link>https://devzone.nordicsemi.com/thread/99763?ContentTypeID=1</link><pubDate>Wed, 20 Sep 2017 08:43:44 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:de35337b-d539-4899-8f6d-0ffaec88208e</guid><dc:creator>Bj&amp;#248;rn Kvaale</dc:creator><description>&lt;p&gt;Did you remember to press the erase all button before you flashed your own bootloader?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>