<?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>Possible to disable pre- and post-validation in the DFU process?</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/73601/possible-to-disable-pre--and-post-validation-in-the-dfu-process</link><description>We&amp;#39;re working on a product that is able to store around 400uC of charge (two 220uF capacitors). There is a constant input of 21 uA minimum coming from a small solar panel. We are using the secure_bootloader example 
 When testing the DFU, the prevalidation</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Tue, 06 Apr 2021 14:13:42 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/73601/possible-to-disable-pre--and-post-validation-in-the-dfu-process" /><item><title>RE: Possible to disable pre- and post-validation in the DFU process?</title><link>https://devzone.nordicsemi.com/thread/303215?ContentTypeID=1</link><pubDate>Tue, 06 Apr 2021 14:13:42 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:617c28f9-647a-469f-9164-10f759870ad0</guid><dc:creator>Edvin</dc:creator><description>&lt;p&gt;Hello,&lt;/p&gt;
&lt;p&gt;As I just posted in your previous ticket, you should look into the project settings in sdk_config.h in your bootloader project.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
[quote user=""]Commenting out postvalidation check (lines 563-569 of nrf_dfu_req_handler) allows the DFU to state it was &amp;quot;complete&amp;quot; but it will fail to boot into the application and advertise as dfutarg.[/quote]
&lt;p&gt;&amp;nbsp;Are you sure it is the postvalidation check that causes the issue? It may be the MBR that handles the moving of the image that is drawing the power. I guess you need to experiment with the uECC_verify to figure this out. If the issue is the moving of the new application (from temporary position into final position) then you should look into deleting the old application first and writing the new one directly to the place it will run from. This, however, will only work for application, and not for softdevice updates.&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>