<?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 in softdevice s310 programming using keil in nrf51422</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/13377/error-in-softdevice-s310-programming-using-keil-in-nrf51422</link><description>Hi,
i am using the sru232 module (having nrf51422) in my project. I just want to program the softdevices-s310 using Keil-5 but i am not able to do so, while i am trying the same i am getting error 
Erase Failed!
Error: Flash Download failed - &amp;quot;Cortex</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Tue, 09 Aug 2016 18:16:09 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/13377/error-in-softdevice-s310-programming-using-keil-in-nrf51422" /><item><title>RE: Error in softdevice s310 programming using keil in nrf51422</title><link>https://devzone.nordicsemi.com/thread/51031?ContentTypeID=1</link><pubDate>Tue, 09 Aug 2016 18:16:09 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:45cb0c22-c10e-4e15-9724-6b7d5b2ca5ce</guid><dc:creator>saiteja</dc:creator><description>&lt;p&gt;help: &lt;a href="https://devzone.nordicsemi.com/question/90085/undefined-reference-to-softdevice_handler_initnrf_clock_lf_cfg_t-void-unsigned-short-unsigned-long/"&gt;devzone.nordicsemi.com/.../&lt;/a&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Error in softdevice s310 programming using keil in nrf51422</title><link>https://devzone.nordicsemi.com/thread/51028?ContentTypeID=1</link><pubDate>Tue, 09 Aug 2016 18:15:54 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:b84c02ac-4f75-4675-9512-27eb57b64513</guid><dc:creator>saiteja</dc:creator><description>&lt;p&gt;help me: &lt;a href="https://devzone.nordicsemi.com/question/90085/undefined-reference-to-softdevice_handler_initnrf_clock_lf_cfg_t-void-unsigned-short-unsigned-long/"&gt;devzone.nordicsemi.com/.../&lt;/a&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Error in softdevice s310 programming using keil in nrf51422</title><link>https://devzone.nordicsemi.com/thread/51020?ContentTypeID=1</link><pubDate>Tue, 09 Aug 2016 18:15:06 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:10915b01-8d2f-47d4-87db-9b7ef49e796a</guid><dc:creator>saiteja</dc:creator><description>&lt;p&gt;help:-&lt;a href="https://devzone.nordicsemi.com/question/90085/undefined-reference-to-softdevice_handler_initnrf_clock_lf_cfg_t-void-unsigned-short-unsigned-long/"&gt;devzone.nordicsemi.com/.../&lt;/a&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Error in softdevice s310 programming using keil in nrf51422</title><link>https://devzone.nordicsemi.com/thread/51025?ContentTypeID=1</link><pubDate>Fri, 22 Apr 2016 11:06:20 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:77cdde4e-c6d2-428d-bafa-12f54a07f5bb</guid><dc:creator>tesc</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;If you do have an nRF51 DK or an nRF52 DK you can use the DK as a SEGGER J-Link programmer for any custom board. All you need to do is to connect SWDIO, SWCLK, GND and VDD of the custom board to the corresponding pins of one of the DEBUG OUT ports (P19 or P20) on the DK. Then you can program as you would normally do for the DK, but now the custom board gets programmed. All that is needed for this to work is that the custom board has the same level of VDD as the DK, for the programmer to detect that the custom board is connected. See the DK user guide and/or hardware files for details (for the nRF51 DK these are found at the bottom of the &lt;a href="http://www.nordicsemi.com/eng/Products/nRF51-DK#Downloads"&gt;nRF51 DK download page&lt;/a&gt;.)&lt;/p&gt;
&lt;p&gt;Regards, Terje&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Error in softdevice s310 programming using keil in nrf51422</title><link>https://devzone.nordicsemi.com/thread/51027?ContentTypeID=1</link><pubDate>Fri, 22 Apr 2016 10:29:33 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:a2b939b3-e3e8-42dc-89cb-6017b37a025c</guid><dc:creator>sumanta</dc:creator><description>&lt;p&gt;sorry nrf51422&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Error in softdevice s310 programming using keil in nrf51422</title><link>https://devzone.nordicsemi.com/thread/51026?ContentTypeID=1</link><pubDate>Fri, 22 Apr 2016 10:28:28 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:851c89c6-51bf-41f5-884b-7b6d824c8b7e</guid><dc:creator>sumanta</dc:creator><description>&lt;p&gt;all the application working fine with Jlink and nrfgoStudieo&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Error in softdevice s310 programming using keil in nrf51422</title><link>https://devzone.nordicsemi.com/thread/51024?ContentTypeID=1</link><pubDate>Fri, 22 Apr 2016 10:26:45 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:79d826b4-0513-43d6-a4dd-659144fd40e0</guid><dc:creator>sumanta</dc:creator><description>&lt;p&gt;yes i have downloaded the s310 soft device successfully using nrfgo-studio  before and hence my application working fine with nrf54122 with jlink as programmer but i am trying to do the same using Stlink(SWD), and not able to do the same&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Error in softdevice s310 programming using keil in nrf51422</title><link>https://devzone.nordicsemi.com/thread/51023?ContentTypeID=1</link><pubDate>Fri, 22 Apr 2016 10:25:33 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:8c40fa2c-56e8-4f2e-ac7f-1cf3fb1212ba</guid><dc:creator>tesc</dc:creator><description>&lt;p&gt;Does downloading any of the SDK examples (without modifications) work?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Error in softdevice s310 programming using keil in nrf51422</title><link>https://devzone.nordicsemi.com/thread/51022?ContentTypeID=1</link><pubDate>Fri, 22 Apr 2016 10:05:44 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:e82d23b4-c9b1-4ca8-a0d1-e78456787f75</guid><dc:creator>sumanta</dc:creator><description>&lt;p&gt;Yes this process also not working the Erase operation for soft-device is successful  but not able to  down load the program (soft-device),application program downloaded successfully&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Error in softdevice s310 programming using keil in nrf51422</title><link>https://devzone.nordicsemi.com/thread/51021?ContentTypeID=1</link><pubDate>Fri, 22 Apr 2016 08:58:58 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:10565528-b185-407a-947a-6d939a9d9998</guid><dc:creator>tesc</dc:creator><description>&lt;p&gt;Based on the settings in the SDK examples, the following settings should have worked:&lt;/p&gt;
&lt;p&gt;SoftDevice: IROM1: start 0x0, size 0x40000 and IRAM1: start 0x20000000, size 0x8000&lt;/p&gt;
&lt;p&gt;Application: IROM1: start 0x1D000, size 0x23000 and IRAM1: start 0x20002200, size 0x5E00&lt;/p&gt;
&lt;p&gt;Does it not work even when setting those settings, erasing the flash, recompiling the application, downloading application and then downloading SoftDevice?&lt;/p&gt;
&lt;p&gt;Have you previously successfully installed SoftDevices and/or applications on the device?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Error in softdevice s310 programming using keil in nrf51422</title><link>https://devzone.nordicsemi.com/thread/51018?ContentTypeID=1</link><pubDate>Fri, 22 Apr 2016 08:02:11 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:58ca994c-cbb5-4ee3-bfd9-37703ad90416</guid><dc:creator>sumanta</dc:creator><description>&lt;p&gt;Hi,
i have used the set up for  stlink given in the mail  no the erase operation is successfully done but not programming the  soft-device  do you think that the RAM and ROM location are till not accurate plz let me know you solution&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Error in softdevice s310 programming using keil in nrf51422</title><link>https://devzone.nordicsemi.com/thread/51016?ContentTypeID=1</link><pubDate>Thu, 21 Apr 2016 14:05:24 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:2b815302-7756-47c2-b2c7-2d6e09b74b28</guid><dc:creator>tesc</dc:creator><description>&lt;p&gt;Are there any other messages before the &amp;quot;Erase Failed!&amp;quot; etc., such as in this question: &lt;a href="https://devzone.nordicsemi.com/question/59768/using-stlink-and-keil-to-program-nrf51/"&gt;Using stlink and Keil to program nrf51&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Have you seen this blogpost: &lt;a href="https://devzone.nordicsemi.com/blogs/485/programming-nrf51-with-st-link-uvision/"&gt;Programming nRF51 with ST-Link &amp;amp; uVision&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;I also see that others on the forum has used an ST-Link for programming the nRF51, using OpenOCD.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Error in softdevice s310 programming using keil in nrf51422</title><link>https://devzone.nordicsemi.com/thread/51017?ContentTypeID=1</link><pubDate>Thu, 21 Apr 2016 12:55:48 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:c11f8099-337e-4cdc-9a12-500d613e34d9</guid><dc:creator>sumanta</dc:creator><description>&lt;p&gt;nrfjprog i am not able to use as i am using SWD  hardware to program the nrf51422 . So only i can use keil-v5 to program the soft-device s310v3. I can program my application without any problem but only problem i am facing with the soft-device. I am using the Stlink debugger for programming&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Error in softdevice s310 programming using keil in nrf51422</title><link>https://devzone.nordicsemi.com/thread/51030?ContentTypeID=1</link><pubDate>Thu, 21 Apr 2016 12:49:48 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:608da956-05a9-49e3-afed-37e842fd97d4</guid><dc:creator>sumanta</dc:creator><description>&lt;p&gt;yes i have tried the same but also i am getting the same Error the default value of the IROM-0X0 AND SIZE-0X40000 AND THE IROM-0X20000000 SIZE- 0X8000 . I have changed the location to IROM-0X16000 SIZE-0X29000 AND IROM-20002000 SIZE-0X2200 but still getting the error. I am using the STlink debugger and using the same i am able to program my application without any issue only i am not able to program the softdevice s310v3 .Plz let me know your answer&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Error in softdevice s310 programming using keil in nrf51422</title><link>https://devzone.nordicsemi.com/thread/51029?ContentTypeID=1</link><pubDate>Thu, 21 Apr 2016 07:53:32 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:28486fe1-4569-4edb-9bd7-178a0c859df5</guid><dc:creator>Jorge</dc:creator><description>&lt;p&gt;When you are getting that error the cause could be two things, from what I understand. One, the selected target is not the one you are using, or the IRAM and IROM don&amp;#39;t have the right sizes or locations in the memory. You can see them in &amp;quot;Target options&amp;quot; and see if they match to your setup.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Error in softdevice s310 programming using keil in nrf51422</title><link>https://devzone.nordicsemi.com/thread/51019?ContentTypeID=1</link><pubDate>Thu, 21 Apr 2016 07:09:58 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:bfe8eeb8-8c71-4de7-ad18-8d850ac4c49c</guid><dc:creator>tesc</dc:creator><description>&lt;p&gt;You can try erasing the flash using nrfjprog (&lt;code&gt;nrfjprog -e&lt;/code&gt;) or nRFgo studio.&lt;/p&gt;
&lt;p&gt;What is your setup for programming the module, what kind of programmer do you use?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>