<?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>NRF52832 DFU problems</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/14599/nrf52832-dfu-problems</link><description>Why each time to upgrade your program need to manually reset chips to run at a time, I use a software reset, but no effect?</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Tue, 21 Jun 2016 11:58:38 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/14599/nrf52832-dfu-problems" /><item><title>RE: NRF52832 DFU problems</title><link>https://devzone.nordicsemi.com/thread/55728?ContentTypeID=1</link><pubDate>Tue, 21 Jun 2016 11:58:38 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:b74e6741-710d-4236-bf19-c9c834e28023</guid><dc:creator>Hung Bui</dc:creator><description>&lt;p&gt;Hi Tom,&lt;/p&gt;
&lt;p&gt;I assume that it only requires a reset after you do a DFU update.&lt;/p&gt;
&lt;p&gt;This issue could be from either the bootloader or the application.&lt;/p&gt;
&lt;p&gt;I would suggest to test with the stock bootloader to see if it&amp;#39;s the issue with the modified bootloader or not.&lt;/p&gt;
&lt;p&gt;Secondly, to test if the issue in the application, you can follow this steps to test your application:&lt;/p&gt;
&lt;p&gt;1 - Run your application in debug mode&lt;/p&gt;
&lt;p&gt;2 - Switch to bootloader&lt;/p&gt;
&lt;p&gt;3 - Add a breakpoint in main() in your application&lt;/p&gt;
&lt;p&gt;4 - Do the DFU with the same image as your application&lt;/p&gt;
&lt;p&gt;5 - Check if it run to main() in your application or not.&lt;/p&gt;
&lt;p&gt;You can also use UART trace to check if it managed to jump to application or not.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: NRF52832 DFU problems</title><link>https://devzone.nordicsemi.com/thread/55727?ContentTypeID=1</link><pubDate>Tue, 21 Jun 2016 04:01:25 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:96bd14b2-68be-4196-887b-98038a9608a5</guid><dc:creator>TOM123</dc:creator><description>&lt;p&gt;Hi Hung Bui,&lt;/p&gt;
&lt;p&gt;The SDK version is V11.
I in official Bootlader program to modify some of the program, modify parts as follows:
if(*p0==0x55667788)
dfu_start=true;
else
dfu_start=false;
//dfu_start |= ((nrf_gpio_pin_read(BOOTLOADER_BUTTON) == 0) ? true: false);&lt;/p&gt;
&lt;pre&gt;&lt;code&gt;if(dfu_start )//||(!bootloader_app_is_valid(DFU_BANK_0_REGION_START)))
{
		  *p0=0;
    //nrf_gpio_pin_clear(UPDATE_IN_PROGRESS_LED);

    // Initiate an update of the firmware.
    err_code = bootloader_dfu_start(); 
    APP_ERROR_CHECK(err_code);

    //nrf_gpio_pin_set(UPDATE_IN_PROGRESS_LED);
}
else if(!dfu_start)
//if(bootloader_app_is_valid(DFU_BANK_0_REGION_START) &amp;amp;&amp;amp; !bootloader_dfu_sd_in_progress())
{
    // Select a bank region to use as application region.
    // @note: Only applications running from DFU_BANK_0_REGION_START is supported.
    bootloader_app_start(DFU_BANK_0_REGION_START);
}
&lt;/code&gt;&lt;/pre&gt;
&lt;p&gt;When I want to upgrade, I have already wrote in the specified flash 0 x55667788, can now normal upgrade, just after the upgrade need to manually reset the development board, is this why?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: NRF52832 DFU problems</title><link>https://devzone.nordicsemi.com/thread/55726?ContentTypeID=1</link><pubDate>Mon, 20 Jun 2016 12:36:00 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:8526deea-aa0b-4e2f-924f-5e474c973341</guid><dc:creator>Hung Bui</dc:creator><description>&lt;p&gt;Hi Tom,&lt;/p&gt;
&lt;p&gt;Please provide more information. Which SDK version you are using ?&lt;/p&gt;
&lt;p&gt;How did you test? Have you tried with our stock bootloader example in the SDK and the example .zip file comes with the phone app ?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>