<?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>After program bootloader  software ,application reset</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/35860/after-program-bootloader-software-application-reset</link><description>Hi all , 
 
 I using sdk12.3 experimental_ble_app_buttonless_dfu project to development , below is my bootloader and project ram setting: 
 
 if I don&amp;#39;t download the bootloader software, application works ok . But after download the bootloader , in initial</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Thu, 26 Jul 2018 09:41:45 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/35860/after-program-bootloader-software-application-reset" /><item><title>RE: After program bootloader  software ,application reset</title><link>https://devzone.nordicsemi.com/thread/141493?ContentTypeID=1</link><pubDate>Thu, 26 Jul 2018 09:41:45 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:0cce939b-4b55-4ee8-be94-9373f25c8694</guid><dc:creator>mdevil39</dc:creator><description>&lt;p&gt;It is the ram setting error . It resolves now . Thanks for your answer.&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: After program bootloader  software ,application reset</title><link>https://devzone.nordicsemi.com/thread/141406?ContentTypeID=1</link><pubDate>Wed, 25 Jul 2018 16:45:28 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:fd1643b5-429a-41c4-a945-3ba232910ad5</guid><dc:creator>bjorn-spockeli</dc:creator><description>&lt;p&gt;Could you debug the bootloader and see if you enter main() of the bootloader?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: After program bootloader  software ,application reset</title><link>https://devzone.nordicsemi.com/thread/140254?ContentTypeID=1</link><pubDate>Mon, 16 Jul 2018 15:28:39 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:8c66bbef-d583-4e6e-ad1d-277c36964147</guid><dc:creator>mdevil39</dc:creator><description>&lt;p&gt;I noticed that:&lt;/p&gt;
&lt;table class="doxtable"&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;th colspan="1" rowspan="1"&gt;Usage&lt;/th&gt;
&lt;th colspan="1" rowspan="1"&gt;Memory range nRF51 (S130 v2.0.x)&lt;/th&gt;
&lt;th colspan="1" rowspan="1"&gt;Memory range nRF52 (S132 v3.0.x)&lt;/th&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td colspan="1" rowspan="1"&gt;Bootloader settings&lt;/td&gt;
&lt;td colspan="1" rowspan="1"&gt;0x0003 FC00 - 0x0004 0000 (1 kB)&lt;/td&gt;
&lt;td colspan="1" rowspan="1"&gt;0x0007 F000 - 0x0008 0000 (4 kB)&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td colspan="1" rowspan="1"&gt;MBR parameter storage&lt;/td&gt;
&lt;td colspan="1" rowspan="1"&gt;n/a&lt;/td&gt;
&lt;td colspan="1" rowspan="1"&gt;0x0007 E000 - 0x0007 F000 (4 kB)&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td colspan="1" rowspan="1"&gt;Bootloader&lt;/td&gt;
&lt;td colspan="1" rowspan="1"&gt;0x0003 AC00 - 0x0003 FC00 (20 kB)&lt;/td&gt;
&lt;td colspan="1" rowspan="1"&gt;0x0007 8000 - 0x0007 E000 (24 kB)&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td colspan="1" rowspan="1"&gt;Application area (incl. free space)&lt;/td&gt;
&lt;td colspan="1" rowspan="1"&gt;0x0001 B000 - 0x0003 AC00 (127 kB)&lt;/td&gt;
&lt;td colspan="1" rowspan="1"&gt;0x0001 F000 - 0x0007 8000 (356 kB)&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td colspan="1" rowspan="1"&gt;SoftDevice&lt;/td&gt;
&lt;td colspan="1" rowspan="1"&gt;0x0000 1000 - 0x0001 B000 (104 kB)&lt;/td&gt;
&lt;td colspan="1" rowspan="1"&gt;0x0000 1000 - 0x0001 F000 (120 kB)&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td colspan="1" rowspan="1"&gt;Master Boot Record (MBR)&lt;/td&gt;
&lt;td colspan="1" rowspan="1"&gt;0x0000 0000 - 0x0000 1000 (4 kB)&lt;/td&gt;
&lt;td colspan="1" rowspan="1"&gt;0x0000 0000 - 0x0000 1000 (4 kB)&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;
&lt;p&gt;The chip only has 256K ; so application area is&amp;nbsp;&lt;span&gt;0x0001 B000 - 0x0003 AC00 (127 kB ), it should begin&amp;nbsp;0x0001 B000&amp;nbsp; size is:&amp;nbsp;&lt;strong&gt;0x1FC00 then:&lt;/strong&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;strong&gt;0x0001 B000 +&amp;nbsp;&amp;nbsp;0x1FC00 =&amp;nbsp;&amp;nbsp;0x0003 AC00&amp;nbsp; .&lt;/strong&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;strong&gt;but after that it also cannot work , is it the ram I should change ? Any one can give me some tips ?&amp;nbsp; There are 4 services in my project .&lt;/strong&gt;&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: After program bootloader  software ,application reset</title><link>https://devzone.nordicsemi.com/thread/140171?ContentTypeID=1</link><pubDate>Mon, 16 Jul 2018 08:45:10 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:638d9630-5127-41a5-82d8-41f0e6b91e75</guid><dc:creator>mdevil39</dc:creator><description>&lt;p&gt;Sorry for the late reply . Iusing the 51822QFAA chip , the sdk is 12.03 .&lt;/p&gt;
&lt;p&gt;The bootloader setting :0x3AC00&amp;nbsp;&amp;nbsp;0x5000&amp;nbsp; &amp;nbsp;/&amp;nbsp; 0x200025E0&amp;nbsp;0x1A20&amp;nbsp;&lt;/p&gt;
&lt;p&gt;application setting :0x1B000&amp;nbsp;&amp;nbsp;0x1FC00 /&amp;nbsp;0x20002138&amp;nbsp;&amp;nbsp;0xDEC8&lt;/p&gt;
&lt;p&gt;After download the application it works ok . but after download the bootloader it cannot work .(It cannot search by phone).&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Add the&amp;nbsp;&lt;span&gt;Arguments to bootloader software&amp;nbsp;and download by keil , it tell a error messsage:&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Reading flash area to program to guarantee it is erased.&lt;br /&gt;ERROR: The area to write is not erased.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Here is my operation step:&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;1. Eras the chip by nRFgo studio.&amp;nbsp;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;2. Using the&amp;nbsp;nRFgo studio to download softDevice and application . (It can find by phone)&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;3. Using bootloader_secure project to download bootloader.(Tells the error message , if using&amp;nbsp;&amp;nbsp;nRFgo studio to download it cannot find by phone )&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: After program bootloader  software ,application reset</title><link>https://devzone.nordicsemi.com/thread/138082?ContentTypeID=1</link><pubDate>Thu, 28 Jun 2018 11:18:07 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:ea659222-fec7-4d02-a5db-4f3023b0a4fc</guid><dc:creator>Vidar Berg</dc:creator><description>&lt;p&gt;Looks like you are missing a dash &amp;#39;-&amp;#39; in the argument, should be -f NRF51. Can you read out the&amp;nbsp;&lt;span&gt;UICR.NRFFW[0] register?&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&amp;gt; nrfjprog --memrd 0x10001014&amp;nbsp;&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: After program bootloader  software ,application reset</title><link>https://devzone.nordicsemi.com/thread/138062?ContentTypeID=1</link><pubDate>Thu, 28 Jun 2018 09:36:27 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:340afcde-00e1-4fe8-9785-e8bb70910926</guid><dc:creator>mdevil39</dc:creator><description>&lt;p&gt;I don&amp;#39;t use the watchdog . It is the default status .&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: After program bootloader  software ,application reset</title><link>https://devzone.nordicsemi.com/thread/138060?ContentTypeID=1</link><pubDate>Thu, 28 Jun 2018 09:33:03 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:9058b1a2-2fb1-42ec-99ec-c65d216ce412</guid><dc:creator>mdevil39</dc:creator><description>&lt;p&gt;Is it the Arguments write :&amp;nbsp;&amp;nbsp;--program &amp;quot;#H&amp;quot; f NRF51&amp;nbsp; ? But it said :ERROR: An invalid argument was provided. Use --help for a list of valid . I don&amp;#39;t know what&amp;nbsp;&lt;span&gt;character instead of f&amp;nbsp;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;I has been try to download by nRFgo studio , it is the same .&amp;nbsp;&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: After program bootloader  software ,application reset</title><link>https://devzone.nordicsemi.com/thread/138032?ContentTypeID=1</link><pubDate>Thu, 28 Jun 2018 08:41:46 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:0d94b825-1eac-475e-8c3c-2e872536cd18</guid><dc:creator>Mikhail</dc:creator><description>&lt;p&gt;Do you use watchdog? I use it and forget about it. Was same behavior.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: After program bootloader  software ,application reset</title><link>https://devzone.nordicsemi.com/thread/138018?ContentTypeID=1</link><pubDate>Thu, 28 Jun 2018 07:38:14 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:fa8cec43-7207-4304-8f09-a0114ec89927</guid><dc:creator>Vidar Berg</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;FDS/FSTORAGE will place the&amp;nbsp;&amp;quot;application data&amp;quot;&amp;nbsp; below the bootloader&amp;nbsp;(&lt;a href="http://infocenter.nordicsemi.com/topic/com.nordic.infocenter.sdk5.v12.3.0/lib_bootloader.html?cp=4_0_6_3_5_0_1_0#lib_bootloader_memory51" target="_blank" rel="noopener noreferrer"&gt;memory layout&lt;/a&gt;) provided that the UICR.NRFFW[0] register contains the bootloader&amp;#39;s start address. Based on the error I suspect that this register is not being set.&amp;nbsp;Please make sure you&amp;#39;re programming the bootloader with the default debugger configuration shown&amp;nbsp;&lt;a href="http://infocenter.nordicsemi.com/topic/com.nordic.infocenter.sdk5.v11.0.0/bledfu_example_running.html?cp=4_0_9_4_3_1_1_0_1#bledfu_example_running_program.%C2%A0" target="_blank" rel="noopener noreferrer"&gt;here&amp;nbsp;&lt;/a&gt;(omit the &amp;quot;-f NRF52&amp;quot; argument).&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>