<?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>DFU in nrf52820</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/83968/dfu-in-nrf52820</link><description>Hi Everyone, 
 I&amp;#39;m using VS Code, nrfConnect SDK v1.7.0 
 I&amp;#39;m trying for minimal bluetooth roles(either central/peripheral) along dfu support in nrf52820 chipset. 
 when I try to build the code, I get build error such that 
 &amp;quot; 
 I think it&amp;#39;s possible</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Thu, 27 Jan 2022 11:30:10 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/83968/dfu-in-nrf52820" /><item><title>RE: DFU in nrf52820</title><link>https://devzone.nordicsemi.com/thread/349948?ContentTypeID=1</link><pubDate>Thu, 27 Jan 2022 11:30:10 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:fd797e41-4d8f-40fa-b9d8-61fd6f702dae</guid><dc:creator>Elfving</dc:creator><description>&lt;p&gt;Hello Visma, and sorry about the delay.&lt;/p&gt;
[quote user=""]I think it&amp;#39;s possible to add DFU with one of either bluetooth roles, please let me know if it&amp;#39;s possible?[/quote]
&lt;p&gt;Yes, both should be possible. &lt;/p&gt;
[quote user=""]Is there any minimal version of following build configuration, so that everything can fit in?[/quote]
&lt;p&gt;In a way. There are several configurations that are enabled by default that should be turned off in order for you to get a minimal build. You can find all of these configurations on the prj_minimal.conf files that are provided in some of our example projects. See for instance samples/bluetooth/peripheral_uart/prj_minimal.conf, and try to compare these configurations with what you need, and see the resulting flash space usage.&lt;/p&gt;
[quote user=""]I wish to overwrite current running firmware using serial DFU and without secondary slot in flash.[/quote]
&lt;p&gt;There is allways the option of doing DFU using serial recovery mode, with which you can get a new image over the serial port. You would have to enter serial recovery mode either holding a button on startup or setting the GPREGRET register. It also has some other limitations. Besides that, it seems that you would need a secondary slot.&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Elfving&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>