<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="https://test-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>Can I use SVC function to copy bootloader image during FOTA?</title><link>https://test-devzone.nordicsemi.com/f/nordic-q-a/85632/can-i-use-svc-function-to-copy-bootloader-image-during-fota</link><description>Can I use SVC function in my application code to copy bootloader image into flash instead of using mbr commands? If this is not possible, what are the other alternative options to update the bootloader? 
 
 This is required since we have a power constraint</description><dc:language>en-US</dc:language><generator>Telligent Community 13 Non-Production</generator><lastBuildDate>Thu, 10 Mar 2022 15:35:28 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://test-devzone.nordicsemi.com/f/nordic-q-a/85632/can-i-use-svc-function-to-copy-bootloader-image-during-fota" /><item><title>RE: Can I use SVC function to copy bootloader image during FOTA?</title><link>https://test-devzone.nordicsemi.com/thread/357484?ContentTypeID=1</link><pubDate>Thu, 10 Mar 2022 15:35:28 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:0db6abc7-ab2b-4acc-9420-e6b0735d9331</guid><dc:creator>user8164</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;What is possible depend on SDK version. What SDK and which version of that SDK have you built your project on?&lt;/p&gt;
&lt;p&gt;Modifying the MBR is, as you write, not possible.&lt;/p&gt;
&lt;p&gt;Doing the flash swap operations from the application could be possible, although very risky, as long as you do not need to use that mechanism for replacing the application itself. In any case you do get a time window where power loss bricks the device.&lt;/p&gt;
&lt;p&gt;Can you elaborate on the power constraints? The feasibility of doing the flahs operations from the app depend on this (in addition to SDK version etc.) There might be other, better, workarounds.&lt;/p&gt;
&lt;p&gt;Regards,&lt;br /&gt;Terje&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>