<?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>Erase Failed: Flash Download Failed - Flashing SoftDevice with Keil (CMSIS-DAP)</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/6670/erase-failed-flash-download-failed---flashing-softdevice-with-keil-cmsis-dap</link><description>Hello! 
 I&amp;#39;m trying to flash my SeeedStudio Tiny BLE board (nRF51822 QFAA) with SoftDevice S110 using Keil but it doesn&amp;#39;t look like it&amp;#39;s going to let me. I&amp;#39;m just getting the following error: 
 Erase Failed!
Error: Flash Download Failed - &amp;quot;Cortex-M0</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Sat, 19 Mar 2016 22:45:37 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/6670/erase-failed-flash-download-failed---flashing-softdevice-with-keil-cmsis-dap" /><item><title>RE: Erase Failed: Flash Download Failed - Flashing SoftDevice with Keil (CMSIS-DAP)</title><link>https://devzone.nordicsemi.com/thread/23402?ContentTypeID=1</link><pubDate>Sat, 19 Mar 2016 22:45:37 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:079b1814-54ee-4ff1-86b4-1905e6354290</guid><dc:creator>kattaliraees</dc:creator><description>&lt;p&gt;This one worked for RedBearLab BLE Nano board + CMSIS-DAP&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Erase Failed: Flash Download Failed - Flashing SoftDevice with Keil (CMSIS-DAP)</title><link>https://devzone.nordicsemi.com/thread/23400?ContentTypeID=1</link><pubDate>Thu, 17 Sep 2015 06:53:19 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:7f600527-58b3-4dfe-b4c7-209507de33ad</guid><dc:creator>Xtrem3</dc:creator><description>&lt;p&gt;Martin, you saved my life! Was searching for an answer for 2 hours. Your solution finally worked, thanks!&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Erase Failed: Flash Download Failed - Flashing SoftDevice with Keil (CMSIS-DAP)</title><link>https://devzone.nordicsemi.com/thread/23401?ContentTypeID=1</link><pubDate>Fri, 24 Apr 2015 09:01:08 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:61000c11-6861-492e-94fb-e7aae0869bc0</guid><dc:creator>MartinBL</dc:creator><description>&lt;p&gt;Hi! I&amp;#39;m glad you got i working. I have been asking around and think I might have found the cause to your original problem. Try the following:&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;Open &amp;quot;Target options -&amp;gt; Debug -&amp;gt; Settings -&amp;gt; Flash Download&amp;quot;.&lt;/li&gt;
&lt;li&gt;Remove the entry in the &amp;quot;Programming Algorithm&amp;quot; list.&lt;/li&gt;
&lt;li&gt;Click &amp;quot;Add&amp;quot; and add &amp;quot;nRF51xxx External Connectivity Board&amp;quot; instead to the list.&lt;/li&gt;
&lt;li&gt;Make sure &amp;quot;Erase Full Chip&amp;quot; is enabled in &amp;quot;Download Function&amp;quot;.&lt;/li&gt;
&lt;/ol&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Erase Failed: Flash Download Failed - Flashing SoftDevice with Keil (CMSIS-DAP)</title><link>https://devzone.nordicsemi.com/thread/23399?ContentTypeID=1</link><pubDate>Thu, 23 Apr 2015 13:19:51 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:1b055a68-1c59-48c8-8c33-df339ac7d4ec</guid><dc:creator>ImQ009</dc:creator><description>&lt;p&gt;Yes, though in the troubleshooting section it says that I&amp;#39;m supposed to do something specific to that mbed kit board, something I can&amp;#39;t really do on mine.&lt;/p&gt;
&lt;p&gt;Anyway, I&amp;#39;ve got it now. Compiling using GCC and then merging the hex file with the SoftDevice (using SRecord) works just fine!&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Erase Failed: Flash Download Failed - Flashing SoftDevice with Keil (CMSIS-DAP)</title><link>https://devzone.nordicsemi.com/thread/23398?ContentTypeID=1</link><pubDate>Thu, 23 Apr 2015 12:28:46 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:97c2335b-5abe-4572-8fad-240a6b7627eb</guid><dc:creator>MartinBL</dc:creator><description>&lt;p&gt;Have you tried the steps in &lt;a href="https://devzone.nordicsemi.com/blogs/11/using-nrf51-sdk-with-the-nrf51822-mbed-kit/"&gt;this blog post&lt;/a&gt;?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Erase Failed: Flash Download Failed - Flashing SoftDevice with Keil (CMSIS-DAP)</title><link>https://devzone.nordicsemi.com/thread/23397?ContentTypeID=1</link><pubDate>Thu, 23 Apr 2015 11:07:19 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:3eed374c-fd84-4333-9831-0ad4be9c0aeb</guid><dc:creator>ImQ009</dc:creator><description>&lt;ul&gt;
&lt;li&gt;No, I&amp;#39;m not using nRFGo Studio.&lt;/li&gt;
&lt;li&gt;Yes, I&amp;#39;m using the CMSIS-DAP debugger, it&amp;#39;s the appropriate one
for the board I&amp;#39;m using, because it has a built-in CMSIS-DAP programmer.&lt;/li&gt;
&lt;li&gt;Yes, it has power.&lt;/li&gt;
&lt;li&gt;Again, using built-in CMSIS-DAP debugger&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;The settings that you&amp;#39;ve shown me match mine (with the exception of the debugger itself)&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Erase Failed: Flash Download Failed - Flashing SoftDevice with Keil (CMSIS-DAP)</title><link>https://devzone.nordicsemi.com/thread/23396?ContentTypeID=1</link><pubDate>Thu, 23 Apr 2015 10:52:56 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:89850edb-8f10-4544-a6df-2f4dc9500896</guid><dc:creator>MartinBL</dc:creator><description>&lt;p&gt;Hi.&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;How exactly are you trying to flash your SoftDevice? Are you using nrfGo Studio?&lt;/li&gt;
&lt;li&gt;Have you chosen correct debugger and device?&lt;/li&gt;
&lt;li&gt;Do you provide power to your device?&lt;/li&gt;
&lt;li&gt;What sort of debugger do you use and how have you wired it up?&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;&lt;img src="https://devzone.nordicsemi.com/cfs-file/__key/communityserver-discussions-components-files/4/Target-setup.png" alt="image description" /&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>