<?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>NRF51822 Steps for Upload Bootloader,Softdevice,Application</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/32300/nrf51822-steps-for-upload-bootloader-softdevice-application</link><description>Hello Supporter, 
 I&amp;#39;m going to develop one BLE nrf51822 based custom device. in which i want to use BLE DFU. 
 i am able to load DFU and APPLICATION with KEIL uvison 5. 
 and i am able to load softdevice using openocd 
 as i done. 
 first i upload DFU</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Mon, 19 Mar 2018 12:40:50 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/32300/nrf51822-steps-for-upload-bootloader-softdevice-application" /><item><title>RE: NRF51822 Steps for Upload Bootloader,Softdevice,Application</title><link>https://devzone.nordicsemi.com/thread/124977?ContentTypeID=1</link><pubDate>Mon, 19 Mar 2018 12:40:50 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:fee8209b-ce0d-442c-b3aa-17a1f09ff7a3</guid><dc:creator>Vidar Berg</dc:creator><description>&lt;p&gt;Changing the device type will reset the linker configuration to the default range for that device type. That is, use all available flash and ram.&amp;nbsp;But it should have worked after you updated the settings to the correct values. For some reason, the ram allocation does not seem reflect the changes you made.&amp;nbsp;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;51822_xxAC and 51422_xxAC are identical except that the latter is&amp;nbsp;licensed for use with the ANT protocol stacks (s2xx and s3xx). Suggest to try again with a clean SDK copy without making any changes to the configuration (you may add your own key set). Then verify that the initial stack pointer is &amp;gt;0x20002C00&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: NRF51822 Steps for Upload Bootloader,Softdevice,Application</title><link>https://devzone.nordicsemi.com/thread/124968?ContentTypeID=1</link><pubDate>Mon, 19 Mar 2018 11:49:56 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:a94a4f4e-c2b7-4b4a-9b11-95b0fbaec80a</guid><dc:creator>Mannu</dc:creator><description>&lt;p&gt;Hello vidar thanks,now what to do?&lt;/p&gt;
&lt;p&gt;i&amp;#39;m not able to understand that you said&amp;quot;I see the device type has been changed from xxAC (default) to xxAA, which will reset the project configuration&amp;quot;.&lt;/p&gt;
&lt;p&gt;if i changed it AA so what happen by this change change .and should i change it to default ?&lt;/p&gt;
&lt;p&gt;one other thing i used same&amp;nbsp; AA for application so it&amp;#39;s working. so is it right or wrong?&lt;/p&gt;
&lt;p&gt;by default it comes with nrf51422..xxAC i&amp;#39;m using nrf51822 that&amp;#39;s why i changed&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: NRF51822 Steps for Upload Bootloader,Softdevice,Application</title><link>https://devzone.nordicsemi.com/thread/124947?ContentTypeID=1</link><pubDate>Mon, 19 Mar 2018 10:15:47 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:0dfef5c6-3267-45e6-b317-b229e4baf453</guid><dc:creator>Mannu</dc:creator><description>&lt;p&gt;one other thing i observed that when i upload application + softdevice ,than application working fine,but after when upload dfu..application stop working and when i again upload application again than also application not working .i must have to upload softdevice .once again if i uploaded dfu . it means dfu may overwrite softdevice or something like that or not. i&amp;#39;m not sure&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: NRF51822 Steps for Upload Bootloader,Softdevice,Application</title><link>https://devzone.nordicsemi.com/thread/124946?ContentTypeID=1</link><pubDate>Mon, 19 Mar 2018 10:15:21 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:7c34b3cf-d01b-488a-ad2e-39d0919abc29</guid><dc:creator>Vidar Berg</dc:creator><description>&lt;p&gt;I see the device type has been changed from xxAC (default) to xxAA, which will reset the project configuration. The linker settings appear to be correct, but the .hex file you sent does not correspond with the configuration shown in the screenshot.&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: NRF51822 Steps for Upload Bootloader,Softdevice,Application</title><link>https://devzone.nordicsemi.com/thread/124943?ContentTypeID=1</link><pubDate>Mon, 19 Mar 2018 10:08:31 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:ca25c5b5-d66c-4a70-9a1b-dabfe339f931</guid><dc:creator>Mannu</dc:creator><description>&lt;p&gt;&lt;img alt=" " src="https://devzone.nordicsemi.com/resized-image/__size/320x240/__key/communityserver-discussions-components-files/4/not.png" /&gt;&lt;/p&gt;
&lt;p&gt;Hello Vidar , Currently i have not written any project code. my first goal is to make possible to enable DFU service than after i will write code and upload via DFU.so for now we can use any example as i gave you notification example. so i need your help for upload DFU and make it working...&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;i already changedand compiled DFU settings as you gave earlier. i attached pic you can see it.and also sent you application settings&lt;/p&gt;
&lt;p&gt;&lt;img alt=" " src="https://devzone.nordicsemi.com/resized-image/__size/320x240/__key/communityserver-discussions-components-files/4/3872.dfu.png" /&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: NRF51822 Steps for Upload Bootloader,Softdevice,Application</title><link>https://devzone.nordicsemi.com/thread/124937?ContentTypeID=1</link><pubDate>Mon, 19 Mar 2018 09:45:39 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:9f313e94-7b4f-4ece-88a9-226ae7dc9ee5</guid><dc:creator>Vidar Berg</dc:creator><description>&lt;p&gt;The initial stack pointer for&amp;nbsp;your bootloader is set to 0x20001418, which is in the softdevice&amp;#39;s reserved memory. It&amp;#39;s expected to be closer to 0x20003C00 with the default linker settings that I provided earlier.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Memory readout from the bootloader hex you sent:&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;img src="https://devzone.nordicsemi.com/resized-image/__size/320x240/__key/communityserver-discussions-components-files/4/pastedimage1521451657114v1.png" alt=" " /&gt; &amp;nbsp;&lt;/p&gt;
&lt;p&gt;Also noticed that the &lt;a href="http://infocenter.nordicsemi.com/topic/com.nordic.infocenter.sdk5.v12.3.0/structnrf__dfu__settings__t.html"&gt;bootloader settings&lt;/a&gt; page at 0x3F000 is filled with invalid data.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;I&amp;#39;m not sure what I have happened here. Could you share your project (remember to include necessary dependencies) ?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: NRF51822 Steps for Upload Bootloader,Softdevice,Application</title><link>https://devzone.nordicsemi.com/thread/124915?ContentTypeID=1</link><pubDate>Mon, 19 Mar 2018 08:20:46 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:6a2c8a95-8a40-42c7-b570-54eca69bcbb4</guid><dc:creator>Mannu</dc:creator><description>&lt;p&gt;Hello Vidar,i sent you all three files that i want to upload on device.please check it and give me updates.&lt;/p&gt;
&lt;p&gt;Thank You.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: NRF51822 Steps for Upload Bootloader,Softdevice,Application</title><link>https://devzone.nordicsemi.com/thread/124914?ContentTypeID=1</link><pubDate>Mon, 19 Mar 2018 08:11:15 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:d01ed70a-6076-4c91-8da2-9d2b2db40f66</guid><dc:creator>Mannu</dc:creator><description>&lt;p&gt;Hello Vidar,&lt;a href="https://devzone.nordicsemi.com/cfs-file/__key/communityserver-discussions-components-files/4/DFU.hex"&gt;devzone.nordicsemi.com/.../DFU.hex&lt;/a&gt;&lt;a href="https://devzone.nordicsemi.com/cfs-file/__key/communityserver-discussions-components-files/4/App_5F00_notification.hex"&gt;devzone.nordicsemi.com/.../App_5F00_notification.hex&lt;/a&gt;&lt;a href="https://devzone.nordicsemi.com/cfs-file/__key/communityserver-discussions-components-files/4/6675.s130_5F00_nrf51_5F00_2.0.1_5F00_softdevice.hex"&gt;devzone.nordicsemi.com/.../6675.s130_5F00_nrf51_5F00_2.0.1_5F00_softdevice.hex&lt;/a&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: NRF51822 Steps for Upload Bootloader,Softdevice,Application</title><link>https://devzone.nordicsemi.com/thread/124786?ContentTypeID=1</link><pubDate>Fri, 16 Mar 2018 14:03:21 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:980c4174-75d7-4382-9611-1ca0ce644d28</guid><dc:creator>Vidar Berg</dc:creator><description>&lt;p&gt;Could you&amp;nbsp;share the hex files (bootloader + application) from your builds so I can try to run them here?&amp;nbsp;&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: NRF51822 Steps for Upload Bootloader,Softdevice,Application</title><link>https://devzone.nordicsemi.com/thread/124776?ContentTypeID=1</link><pubDate>Fri, 16 Mar 2018 13:14:11 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:94e73c58-98ce-4fdf-85f1-c581e831be95</guid><dc:creator>Mannu</dc:creator><description>&lt;p&gt;when i flash app and softdevice.than app works&lt;/p&gt;
&lt;p&gt;but when i flash app,softdevice and dfu than don&amp;#39;t work&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: NRF51822 Steps for Upload Bootloader,Softdevice,Application</title><link>https://devzone.nordicsemi.com/thread/124775?ContentTypeID=1</link><pubDate>Fri, 16 Mar 2018 13:12:39 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:660ceefa-e2c7-4f07-93d6-8ac5bc8be403</guid><dc:creator>Mannu</dc:creator><description>&lt;p&gt;i flashed one by one application,softdevice,dfu.&lt;/p&gt;
&lt;p&gt;it doesn&amp;#39;t work&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: NRF51822 Steps for Upload Bootloader,Softdevice,Application</title><link>https://devzone.nordicsemi.com/thread/124769?ContentTypeID=1</link><pubDate>Fri, 16 Mar 2018 12:51:46 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:79e182f1-1c24-4b0d-b4c0-54f2ffb83c84</guid><dc:creator>Mannu</dc:creator><description>&lt;p&gt;hello Vidar ,i flashed it.now what&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: NRF51822 Steps for Upload Bootloader,Softdevice,Application</title><link>https://devzone.nordicsemi.com/thread/124768?ContentTypeID=1</link><pubDate>Fri, 16 Mar 2018 12:48:47 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:666a1a8d-d086-42c7-814a-81c538119e7f</guid><dc:creator>Mannu</dc:creator><description>&lt;p&gt;what i have to do now for this ..i mean have flash this one only..and what after that&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: NRF51822 Steps for Upload Bootloader,Softdevice,Application</title><link>https://devzone.nordicsemi.com/thread/124767?ContentTypeID=1</link><pubDate>Fri, 16 Mar 2018 12:46:48 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:0313ef90-64d7-4980-80a8-fcfb8399fc5a</guid><dc:creator>Vidar Berg</dc:creator><description>&lt;p&gt;Ok thanks, here are the default linker settings:&lt;/p&gt;
&lt;p&gt;&lt;img src="https://devzone.nordicsemi.com/resized-image/__size/320x240/__key/support-attachments/beef5d1b77644c448dabff31668f3a47-273292b2dea94187bc416e6d07e47fb8/linker.PNG" alt=" " /&gt;&lt;/p&gt;
&lt;p&gt;If this doesn&amp;#39;t help, are you able to debug the bootloader from Keil to see where it may become stuck/reset?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: NRF51822 Steps for Upload Bootloader,Softdevice,Application</title><link>https://devzone.nordicsemi.com/thread/124763?ContentTypeID=1</link><pubDate>Fri, 16 Mar 2018 12:39:22 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:26cefd82-8e6b-4bcc-bba0-d68315d1682a</guid><dc:creator>Mannu</dc:creator><description>&lt;p&gt;&lt;img alt=" " src="https://devzone.nordicsemi.com/resized-image/__size/320x240/__key/communityserver-discussions-components-files/4/61vgqKiJgzL._5F00_SL1250_5F00_.jpg" /&gt;&lt;img alt=" " src="https://devzone.nordicsemi.com/resized-image/__size/320x240/__key/communityserver-discussions-components-files/4/71AHQwXUfoL._5F00_SL1384_5F00_.jpg" /&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;ul class="a-unordered-list a-vertical a-spacing-none"&gt;
&lt;li&gt;&lt;span class="a-list-item"&gt; Onboard chip: nRF51822 &lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span class="a-list-item"&gt; Communication distance (open outdoor@1M data rate): 30m &lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span class="a-list-item"&gt; Frequency range: 2.4GHz &lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span class="a-list-item"&gt; Operating voltage: 2.0V ~ 3.6V &lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span class="a-list-item"&gt; ARM&amp;reg; CortexTM-M0 32 bit processor, 128 bit AES HW encryption, 256kB flash &amp;amp; 32kB RAM, &lt;/span&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;and using ST-LINK V2 for Programming&lt;/p&gt;
&lt;p&gt;&amp;nbsp;sdk version is SDK 12.3&lt;/p&gt;
&lt;p&gt;i&amp;#39;m able to flash programming using Keil and Opencd but don&amp;#39;t know steps to solve this problem&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: NRF51822 Steps for Upload Bootloader,Softdevice,Application</title><link>https://devzone.nordicsemi.com/thread/124758?ContentTypeID=1</link><pubDate>Fri, 16 Mar 2018 12:30:28 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:c5d74800-4744-4f8d-849f-958e1e5d7445</guid><dc:creator>Vidar Berg</dc:creator><description>&lt;p&gt;Please let me know the SDK version, softdevice version, and the &lt;strong&gt;&lt;a href="http://infocenter.nordicsemi.com/topic/com.nordic.infocenter.nrf51/dita/nrf51/compatibility_matrix/nRF51822_ic_revision_overview.html?cp=3_0_1"&gt;chip variant&lt;/a&gt;&lt;/strong&gt; you are using. Correct linker configuration depends on the setup.&amp;nbsp; &amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: NRF51822 Steps for Upload Bootloader,Softdevice,Application</title><link>https://devzone.nordicsemi.com/thread/124678?ContentTypeID=1</link><pubDate>Fri, 16 Mar 2018 04:23:50 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:e444e1ab-6a8c-4b09-aa4b-4fcf5527bbd5</guid><dc:creator>Mannu</dc:creator><description>&lt;p&gt;i didn&amp;#39;t change anything i used dfu bootloader example as it is and sent you screenshot of it&amp;#39;s rom location..so tell me what ROM configuration i should do.and for what i mean bootloader, softdevice and application.and make change in softdevice because i have only hex file for it.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;when i upload flash using opencd like following&lt;/p&gt;
&lt;p&gt;flash write_image softdevice.hex 0&lt;/p&gt;
&lt;p&gt;than loaded ....than after i load application&lt;/p&gt;
&lt;p&gt;flash write_image application.hex 0&lt;/p&gt;
&lt;p&gt;also loaded than i give&lt;/p&gt;
&lt;p&gt;reset run&lt;/p&gt;
&lt;p&gt;after this command device running and advertising service...it&amp;#39;s works fine&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;but when after this i upload dfu bootloader ..by keil uvision&lt;/p&gt;
&lt;p&gt;bootloader get uploaded but device stop to running and doesn;&amp;#39;t advertsing&lt;/p&gt;
&lt;p&gt;so what is the problem ..is dfu overwrite or something like that.&lt;/p&gt;
&lt;p&gt;i can&amp;#39;t understand&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: NRF51822 Steps for Upload Bootloader,Softdevice,Application</title><link>https://devzone.nordicsemi.com/thread/124605?ContentTypeID=1</link><pubDate>Thu, 15 Mar 2018 13:52:46 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:062de262-55a0-439c-8674-954cd50c3326</guid><dc:creator>Vidar Berg</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;The linker settings shown in you screen-dump is incorrect, the first section of flash is actually reserved for the softdevice (&lt;a href="http://infocenter.nordicsemi.com/topic/com.nordic.infocenter.sdk5.v12.3.0/lib_bootloader.html?cp=4_0_5_3_5_0_1#lib_bootloader_memory"&gt;memory layout&lt;/a&gt;). Recommend that you get a clean copy of the SDK, and use the default bootloader example as reference.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>