<?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>Programming failed, flash is not erased in nrf51822 how can we fix this issue?</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/41145/programming-failed-flash-is-not-erased-in-nrf51822-how-can-we-fix-this-issue</link><description>Hi Team, 
 
 i am working on nrf51822 customized board, the SDK version is 12.3.0 (soft-device is s130 ) and Developing environment in keil 5.26 (on windows). 
 i am trying to load the program using nRFgo studio using j-link segger i am getting issue</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Wed, 05 Dec 2018 15:06:28 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/41145/programming-failed-flash-is-not-erased-in-nrf51822-how-can-we-fix-this-issue" /><item><title>RE: Programming failed, flash is not erased in nrf51822 how can we fix this issue?</title><link>https://devzone.nordicsemi.com/thread/160434?ContentTypeID=1</link><pubDate>Wed, 05 Dec 2018 15:06:28 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:55cba7db-5de2-474a-9b13-acfd9248911a</guid><dc:creator>Kenneth</dc:creator><description>&lt;p&gt;Try:&amp;nbsp;&lt;a href="https://www.nordicsemi.com/Software-and-Tools/Development-Tools/nRF5-Command-Line-Tools"&gt;https://www.nordicsemi.com/Software-and-Tools/Development-Tools/nRF5-Command-Line-Tools&lt;/a&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;You need to connect GND, VDD, SWDIO and SWDCLK to program the board.&amp;nbsp;(And GND_DETECT to GND if you are using a nRF51-DK as programmer). &lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Make sure that VDD voltage is supported by the programmer (e.g. 3 - 3.3V if you are using a nRF51-DK as programmer).&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Best regards,&lt;br /&gt;Kenneth&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Programming failed, flash is not erased in nrf51822 how can we fix this issue?</title><link>https://devzone.nordicsemi.com/thread/160299?ContentTypeID=1</link><pubDate>Wed, 05 Dec 2018 06:29:42 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:e3b08c00-a5d8-479b-adc4-1d017ab39060</guid><dc:creator>naresh</dc:creator><description>&lt;p&gt;Dear Kenneth,&lt;/p&gt;
&lt;p&gt;Thanks for you help,&lt;/p&gt;
&lt;p&gt;how we connect Nordic device in command prompt, i am trying to connect with J-link commander but it is not connecting.&amp;nbsp; how we configure please help me to come out.i am using nrf51422_XX-AC, SDK 12.3.0 , Keil 5.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;i am waiting for your reply .....&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;have a great day ..&lt;/p&gt;
&lt;p&gt;Regards,&lt;/p&gt;
&lt;p&gt;Naresh.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Programming failed, flash is not erased in nrf51822 how can we fix this issue?</title><link>https://devzone.nordicsemi.com/thread/160038?ContentTypeID=1</link><pubDate>Mon, 03 Dec 2018 15:33:20 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:ad45d02d-438a-47e5-81bb-7474762c2702</guid><dc:creator>Kenneth</dc:creator><description>&lt;p&gt;You don&amp;#39;t need to use nRFgo Studio, you may use the command line instead to program both softdevice and application. It is the same command for both, example:&lt;/p&gt;
&lt;p&gt;&lt;img src="https://devzone.nordicsemi.com/resized-image/__size/640x480/__key/support-attachments/beef5d1b77644c448dabff31668f3a47-55a2f8441bd4493abdf2785054320872/pastedimage1543851195833v1.png" alt=" " /&gt;&lt;/p&gt;
&lt;p&gt;In your case it will be:&lt;/p&gt;
&lt;p&gt;nrfjprog --eraseall&lt;/p&gt;
&lt;p&gt;nrfjprog --program softdevice.hex --sectorerase&lt;br /&gt;nrfjprog --program application.hex --sectorerase&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Programming failed, flash is not erased in nrf51822 how can we fix this issue?</title><link>https://devzone.nordicsemi.com/thread/159986?ContentTypeID=1</link><pubDate>Mon, 03 Dec 2018 14:03:19 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:d9696957-fdcb-45d8-90f7-de069cc81d07</guid><dc:creator>naresh</dc:creator><description>&lt;p&gt;Hello,&lt;/p&gt;
&lt;p&gt;&amp;nbsp;When I program the soft device hex file s130 and Blu_App_Uart hex file are flashing into the target board , but it doesn&amp;#39;t connect the&amp;nbsp; nRF Tool box&amp;nbsp;&amp;nbsp;android&amp;nbsp;app (GAT connection fail)&lt;/p&gt;
&lt;p&gt;if i use other hex file ble_app_proximity and ble_app template its throws error i am attaching below please find.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;img src="https://devzone.nordicsemi.com/resized-image/__size/320x240/__key/communityserver-discussions-components-files/4/pastedimage1543845507607v1.png" alt=" " /&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Programming failed, flash is not erased in nrf51822 how can we fix this issue?</title><link>https://devzone.nordicsemi.com/thread/159953?ContentTypeID=1</link><pubDate>Mon, 03 Dec 2018 12:41:51 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:f1f4d977-d0da-4368-b252-1e98a960bd73</guid><dc:creator>Kenneth</dc:creator><description>&lt;p&gt;Sounds to me that you may have setup the project wrong or have mixed wrong softdevice binary with the SDK example. If done correctly there should be no overlap in memory (flash) between the two, however if you compile the projects with the wrong compiler settings or wrong softdevice, then you may get such problem. Have you followed the getting started in the sdk on how to compile and program one of the BLE examples as-is?&lt;/p&gt;
&lt;p&gt;Best regards,&lt;br /&gt;Kenneth&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>