<?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>&amp;quot;Error: Flash Download failed - Cortex-M0&amp;quot; after upgrade to SDK 5.1.0</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/1296/error-flash-download-failed---cortex-m0-after-upgrade-to-sdk-5-1-0</link><description>Having just upgraded to the Soft Device 6.0.0 and SDK 5.1.0, I can no longer flash my nRF51822 from Keil. I get this in the Keil console: 
 Load &amp;quot;C:\\Users\\Eliot\\dev\\nrf51_sdk\\nrf51822\\Board\\nrf6310\\s110\\ble_app_proximity\\arm\\_build\\ble_app_proximity</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Tue, 14 Jul 2015 19:14:14 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/1296/error-flash-download-failed---cortex-m0-after-upgrade-to-sdk-5-1-0" /><item><title>RE: "Error: Flash Download failed - Cortex-M0" after upgrade to SDK 5.1.0</title><link>https://devzone.nordicsemi.com/thread/5969?ContentTypeID=1</link><pubDate>Tue, 14 Jul 2015 19:14:14 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:4af5fe57-af6c-421d-96fe-a8314bb0bdd5</guid><dc:creator>Scott</dc:creator><description>&lt;p&gt;Another cause for download errors is if you have a softdevice loaded in your device and try to program it with an app that does not include the soft device.  Solution is to erase the chip (i.e., the soft device) then program with your app.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: "Error: Flash Download failed - Cortex-M0" after upgrade to SDK 5.1.0</title><link>https://devzone.nordicsemi.com/thread/5968?ContentTypeID=1</link><pubDate>Wed, 02 Apr 2014 09:20:59 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:f629884e-9111-437e-92aa-87dcdb315940</guid><dc:creator>wlgrd</dc:creator><description>&lt;p&gt;On every new install, I&amp;#39;ve installed Keil 5.1, then installed the SDK and things are working. Since Keil 5.1 uses this new package manager, you should try open it and look for the Nordic package (which comes with the SDK). If you get an error on opening packages, this is due to Keil and you should make sure you are using the absolute latest relase.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: "Error: Flash Download failed - Cortex-M0" after upgrade to SDK 5.1.0</title><link>https://devzone.nordicsemi.com/thread/5967?ContentTypeID=1</link><pubDate>Wed, 02 Apr 2014 06:53:13 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:275aa6ad-0a4e-4e9c-a7c5-32f3d1a02f7c</guid><dc:creator>Chris</dc:creator><description>&lt;p&gt;I&amp;#39;ve been chasing this around in circles for the last three hours and can&amp;#39;t get it to work at all.&lt;/p&gt;
&lt;p&gt;I&amp;#39;m running Keil 5.1 and I get the same error when trying to flash a device. I have nothing under the Devices tab on the options for target nrf51822_xxaa_s110 (256k)... so it has no idea how to flash it (if I look under debug etc and the flashing algorithm its blank and if I try to add it&amp;#39;s not found).&lt;/p&gt;
&lt;p&gt;I&amp;#39;ve installed the legacy support and then went back and forth and reinstalled the SDK in all sorts of order..&lt;/p&gt;
&lt;p&gt;This is amazingly difficult to get a simple SDK up and running.&lt;/p&gt;
&lt;p&gt;I just can&amp;#39;t get it to list the nRF51822 device at all! Driving me slightly insane.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: "Error: Flash Download failed - Cortex-M0" after upgrade to SDK 5.1.0</title><link>https://devzone.nordicsemi.com/thread/5966?ContentTypeID=1</link><pubDate>Mon, 13 Jan 2014 18:55:15 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:0a7ed018-ac61-4031-8c19-86423c69bf14</guid><dc:creator>Adrian Eggenberger</dc:creator><description>&lt;p&gt;Ok, i fixed it.&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;I installed the legacy extention from Keil (&lt;a target="_blank" href="http://www2.keil.com/mdk5/legacy/" rel="nofollow"&gt;http://www2.keil.com/mdk5/legacy/&lt;/a&gt;)&lt;/li&gt;
&lt;li&gt;Reinstall of the SDK 5.1&lt;/li&gt;
&lt;/ol&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: "Error: Flash Download failed - Cortex-M0" after upgrade to SDK 5.1.0</title><link>https://devzone.nordicsemi.com/thread/5965?ContentTypeID=1</link><pubDate>Mon, 13 Jan 2014 18:26:41 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:b708e3cc-6d6d-4df6-85b1-9edb16a3416d</guid><dc:creator>Adrian Eggenberger</dc:creator><description>&lt;p&gt;I don&amp;#39;t see the nRF51 devices in Keil 5.1. I did Uninstall/Install the KEIL uVision, but the only devices in the Device Database are the standard cortex M0, M0+, M3 and M4 devices. Where are my nRF51 devices?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: "Error: Flash Download failed - Cortex-M0" after upgrade to SDK 5.1.0</title><link>https://devzone.nordicsemi.com/thread/5964?ContentTypeID=1</link><pubDate>Sun, 12 Jan 2014 05:18:48 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:17431ebc-f44c-4938-9981-1b83926a368e</guid><dc:creator>Simon Third</dc:creator><description>&lt;p&gt;You are correct in that I now see the nRF51 devices in Keil 5.1, but it wasn&amp;#39;t there in 5.0.5.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: "Error: Flash Download failed - Cortex-M0" after upgrade to SDK 5.1.0</title><link>https://devzone.nordicsemi.com/thread/5963?ContentTypeID=1</link><pubDate>Fri, 10 Jan 2014 14:22:23 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:6198a4fb-1d4f-4a96-a089-a5a90e1026f6</guid><dc:creator>Ole Saether</dc:creator><description>&lt;p&gt;Hi folks,&lt;/p&gt;
&lt;p&gt;Keil 5.x does not need the nrf51.cdb file and it is deleted from your Keil folder when upgrading to SDK 5.1.0.&lt;/p&gt;
&lt;p&gt;The problem you are experiencing is probably because your project referenced a device in the deleted database. This problem can be fixed by opening the project, selecting the device again, edit the memory settings and recompile.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: "Error: Flash Download failed - Cortex-M0" after upgrade to SDK 5.1.0</title><link>https://devzone.nordicsemi.com/thread/5962?ContentTypeID=1</link><pubDate>Thu, 09 Jan 2014 10:36:12 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:bd7d7c1f-7f66-465f-a68c-11bf978099fc</guid><dc:creator>Eliot Stock</dc:creator><description>&lt;p&gt;Thank you very much indeed, that&amp;#39;s fixed it.&lt;/p&gt;
&lt;p&gt;In my case I already had the CDB232 line in TOOLS.INI under Keil and an uninstall and reinstall of SDK 5 from the .msi seemed to bring my nrf51.cdb file back.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: "Error: Flash Download failed - Cortex-M0" after upgrade to SDK 5.1.0</title><link>https://devzone.nordicsemi.com/thread/5961?ContentTypeID=1</link><pubDate>Thu, 09 Jan 2014 10:26:42 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:0305a624-56cd-4cb8-8ba8-2e6ce2af6578</guid><dc:creator>run_ar</dc:creator><description>&lt;p&gt;If you run the SDK installation again and choose “repair”, the cdb files should be installed properly.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: "Error: Flash Download failed - Cortex-M0" after upgrade to SDK 5.1.0</title><link>https://devzone.nordicsemi.com/thread/5960?ContentTypeID=1</link><pubDate>Thu, 09 Jan 2014 04:08:35 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:7e686b44-7ff8-430d-a370-58236a78dec7</guid><dc:creator>Simon Third</dc:creator><description>&lt;p&gt;I had the same problem.  Looks like SDK 5 install removes the links to the Nordic Semi CPU device database file from the ARM tools.ini file, and also removes the nrf51.cdb file.&lt;/p&gt;
&lt;p&gt;I fixed my setup by copying nrf51.cdb to
/Keil/UV4/
and adding the following to the end of the [UV2] section
&lt;code&gt;CDB232=UV4\nrf51.cdb(&amp;quot;Nordic nRF51 Series Devices&amp;quot;)&lt;/code&gt;&lt;/p&gt;
&lt;p&gt;I think there is still issues with this as the Devices Tab Shows NXP and STM parts.  But is works for now.
I guess Keil will have the nRF51 devices in their .cdb file on next update (as listed on their site), and the nrf51.cdb database won&amp;#39;t be needed.&lt;/p&gt;
&lt;p&gt;I had to roll back to SDK 4.4 to find the nrf51.cdb file.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: "Error: Flash Download failed - Cortex-M0" after upgrade to SDK 5.1.0</title><link>https://devzone.nordicsemi.com/thread/5959?ContentTypeID=1</link><pubDate>Wed, 08 Jan 2014 20:58:01 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:11f150c8-a9f4-485c-af95-f32a02b7b178</guid><dc:creator>Eliot Stock</dc:creator><description>&lt;p&gt;Yeah I tried that already too! To make sure the Keil directory had an up to date Nordic directory under it, you mean.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: "Error: Flash Download failed - Cortex-M0" after upgrade to SDK 5.1.0</title><link>https://devzone.nordicsemi.com/thread/5958?ContentTypeID=1</link><pubDate>Wed, 08 Jan 2014 20:41:58 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:c51be82e-48f8-4c8e-a128-ab3f9da5793c</guid><dc:creator>run_ar</dc:creator><description>&lt;p&gt;Hi, Could you try to do a &amp;quot;repair&amp;quot; of the SDK installation?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>