<?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>Regarding flash download failed... (nrf51822)</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/36043/regarding-flash-download-failed-nrf51822</link><description>Hi I am using nrf51 SDK (version 10) 
 firmware:s110_nrf51_8.0.0_softdevice. 
 while uploading program in nrf51822 through J-segger I have getting following errors: 
 
 *** error 56: cannot open file Error: Flash Download failed - Could not load file</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Wed, 04 Sep 2019 08:50:31 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/36043/regarding-flash-download-failed-nrf51822" /><item><title>RE: Regarding flash download failed... (nrf51822)</title><link>https://devzone.nordicsemi.com/thread/207838?ContentTypeID=1</link><pubDate>Wed, 04 Sep 2019 08:50:31 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:14986c7a-c063-4b58-91ad-61258d456e1c</guid><dc:creator>nd_asker</dc:creator><description>&lt;p&gt;In &lt;span class="highLight" id="tran_0_3"&gt;short, keep the length of directory name less than 54 letters.&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Regarding flash download failed... (nrf51822)</title><link>https://devzone.nordicsemi.com/thread/207834?ContentTypeID=1</link><pubDate>Wed, 04 Sep 2019 08:46:41 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:4e71839b-1aa6-4b44-b2bc-16a10857878b</guid><dc:creator>nd_asker</dc:creator><description>&lt;p&gt;I met similar problem today and I have solved it.&lt;br /&gt;I&amp;#39;m using SDK &amp;quot;nRF5_SDK_15.2.0_9412b96&amp;quot; and chip nRF52840.&lt;/p&gt;
&lt;p&gt;When I have copied project &amp;quot;[nRF5_SDK_15.2.0_9412b96]\examples\ble_peripheral\ble_app_uart_xxx&amp;quot; as &amp;quot;...\ble_app_uart_yyy&amp;quot; to get new start, I found that in project &amp;quot;ble_app_uart_yyy&amp;quot;, Keil 5&amp;nbsp; cannot download SoftDevice file to the chip.&lt;br /&gt;Keil 5 reports an error which is almost the same with as said by Deepak Handore. &lt;br /&gt;&amp;quot;Error: Flash Download failed&amp;nbsp; -&amp;nbsp; Could not load file &amp;#39;..\..\..\..\..\..\components\softdevice\s140\hex\s140_nrf52_6.1.0_softdevice.hex&amp;#39;&amp;quot;&lt;br /&gt;But in old project &amp;quot;ble_app_uart_xxx&amp;quot;, there is no problem.&lt;br /&gt;The SoftDevice file is OK. I have checked it.&lt;/p&gt;
&lt;p&gt;I tried to reduce the length of directory name &amp;quot;ble_app_uart_yyy&amp;quot;, and then the problem miraculously disappered.&lt;br /&gt;Before: [nRF5_SDK_15.2.0_9412b96]\examples\ble_peripheral\ble_app_uart_yyy...yyy (very long name)&lt;br /&gt;After:&amp;nbsp; [nRF5_SDK_15.2.0_9412b96]\examples\ble_peripheral\ble_app_uart_yyy&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; (shorter name)&lt;br /&gt;I have check that if (length_of_dir_name &amp;gt; 54), Keil 5 would report this problem.&lt;br /&gt;And if (length_of_dir_name &amp;lt;= 54), everything is fine.&lt;/p&gt;
&lt;p&gt;Good luck.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Regarding flash download failed... (nrf51822)</title><link>https://devzone.nordicsemi.com/thread/150291?ContentTypeID=1</link><pubDate>Tue, 25 Sep 2018 13:53:49 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:328615f5-65f5-4755-b2cd-635c378d1515</guid><dc:creator>Ron</dc:creator><description>&lt;p&gt;Hi, I would love to know how&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Thanks Deepak&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Regarding flash download failed... (nrf51822)</title><link>https://devzone.nordicsemi.com/thread/143937?ContentTypeID=1</link><pubDate>Mon, 13 Aug 2018 12:07:08 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:dbf38313-fff9-441b-a422-b1f571f7112b</guid><dc:creator>Susheel Nuguru</dc:creator><description>&lt;p&gt;Can you please care to share how you solved the problem Deepak, other forum members who have similar problem will be grateful to you.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Regarding flash download failed... (nrf51822)</title><link>https://devzone.nordicsemi.com/thread/143761?ContentTypeID=1</link><pubDate>Fri, 10 Aug 2018 17:51:55 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:52480e35-8716-4fd7-be9a-769fc56dd6bb</guid><dc:creator>Deepak Handore</dc:creator><description>&lt;p&gt;Solved the problem...&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Regarding flash download failed... (nrf51822)</title><link>https://devzone.nordicsemi.com/thread/138939?ContentTypeID=1</link><pubDate>Wed, 04 Jul 2018 11:37:00 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:93ca7908-b74b-4ef4-86b3-a5a649cd2ba5</guid><dc:creator>Susheel Nuguru</dc:creator><description>&lt;p&gt;&amp;#39;..\..\..\..\..\..\components\softdevice\s110\hex\s110_nrf51_8.0.0_softdevice.hex&amp;#39;&lt;/p&gt;
&lt;p&gt;This above path is correct for the default SDK folder structure. But looks like something is changed in your project folder structure. So I cannot know where the hex file is moved in your setting.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;BTW, I just tested this in SDK10 and it had no problems flashing the hex file&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Regarding flash download failed... (nrf51822)</title><link>https://devzone.nordicsemi.com/thread/138883?ContentTypeID=1</link><pubDate>Wed, 04 Jul 2018 06:20:31 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:3bdfec57-0a6b-4bef-88d5-ae222fa37939</guid><dc:creator>Deepak Handore</dc:creator><description>&lt;p&gt;I will try to provide correct path &amp;amp; update u but can u send snap of hex file location or just path...&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Regarding flash download failed... (nrf51822)</title><link>https://devzone.nordicsemi.com/thread/138829?ContentTypeID=1</link><pubDate>Tue, 03 Jul 2018 18:05:01 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:309b7ded-8c46-4066-af7c-54820ac3efe3</guid><dc:creator>Susheel Nuguru</dc:creator><description>&lt;p&gt;I haven&amp;#39;t seen this myself, but seems like uVision is not able to find the hex file in the given path.&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Regarding flash download failed... (nrf51822)</title><link>https://devzone.nordicsemi.com/thread/138823?ContentTypeID=1</link><pubDate>Tue, 03 Jul 2018 17:20:14 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:ab096c77-0823-4ea7-b18d-3cf79f8a84f9</guid><dc:creator>Deepak Handore</dc:creator><description>&lt;p&gt;actually what happened when i am uploading code then following files goes in (compound-softdevice-s110) folder:&lt;/p&gt;
&lt;p&gt;DEP file &amp;amp; log.htm file..&lt;img alt=" " src="https://devzone.nordicsemi.com/resized-image/__size/320x240/__key/communityserver-discussions-components-files/4/22780.Capture.PNG" /&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>