<?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>Is DFU update possible from nRF5 SDK to nRF Connect SDK in nRF52832?</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/107101/is-dfu-update-possible-from-nrf5-sdk-to-nrf-connect-sdk-in-nrf52832</link><description>We are currently using nRF52832 on a custom board for our product and nRF5 SDK v17.1.0, softdevice s132. Since the we have been considering migrating our product firmware into nRF Connect SDK, in order that it will always be up to date for future Bluetooth</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Thu, 04 Jan 2024 13:17:21 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/107101/is-dfu-update-possible-from-nrf5-sdk-to-nrf-connect-sdk-in-nrf52832" /><item><title>RE: Is DFU update possible from nRF5 SDK to nRF Connect SDK in nRF52832?</title><link>https://devzone.nordicsemi.com/thread/462693?ContentTypeID=1</link><pubDate>Thu, 04 Jan 2024 13:17:21 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:fe552121-bf32-46d7-a9e0-683885a20d6c</guid><dc:creator>AHaug</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
[quote user=""]1. Since we have products in the market, will we be able to update those devices to the new firmware with DFU as we currently use or we will have to flash the devices?[/quote]
&lt;p&gt;The short answer is yes, but it is not recommended or supported meaning that you will have to create your own proprietary solution for how to do this.&lt;/p&gt;
[quote user=""]2. Is there an easy way to start the migration, or a guide?&amp;nbsp;[/quote]
&lt;p&gt;As mentioned there are no official support for this, but other users have managed to migrate their applications through their own solutions. You can have a look at this ticket&amp;nbsp;&amp;nbsp;&lt;a href="https://devzone.nordicsemi.com/f/nordic-q-a/95859/one-bootloader-to-rule-them-all"&gt;One bootloader to rule them all&lt;/a&gt;&amp;nbsp;and the links mentioned in this discussion.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;As for an &amp;quot;easy way&amp;quot;, then the answer is no. It will specially require in depth knowledge of the memory layout of your application, and you will reduce the total available ROM on the device since there are certain parts of the flash storage that you won&amp;#39;t be able to replace with NCS (which is mentioned in&amp;nbsp;&amp;nbsp;&lt;a href="https://devzone.nordicsemi.com/f/nordic-q-a/92774/hang-with-nrf5-sdk-17-1-0-bootloader-and-nrf-connect-sdk-2-1-0-application/390460"&gt;RE: Hang with nRF5 SDK 17.1.0 Bootloader and nRF Connect SDK 2.1.0 application&lt;/a&gt;&amp;nbsp;which the first case I mentioned discusses). Since you&amp;#39;re using the nRF52832 with &amp;quot;only&amp;quot; 512kB of flash, you might find that you don&amp;#39;t have enough available flash in&amp;nbsp; NCS when adding MCUboot and DFU support with dual slots when a section of the flash has to be used for artifacts from the nRF5 application, so this will also be something that you have to consider when designing your new application.&lt;/p&gt;
[quote user=""]3. From other questions in the forum, I have come to the conclusion that we will have to use&amp;nbsp; Visual Studio Code and not Segger Embedded Studio, and that we will have to develop it from scratch, and it will also take a significant amount of time, am I right?[/quote]
&lt;p&gt;For NCS you can use any IDE you want, but it is only VS Code and the nRF Connect Extension we have built in Command line support in GUI. So if you&amp;#39;re familiar with using west, nrfjprog, etc, you may use whatever you want. Do note that we only support the extension in VS Code and the tools used in the extension, so if you end up wanting to force development in NCS v2.x.x in something other than nRF Connect Extension for VS Code or command line using the tools that the extension uses, you will be left with severely limited support.&lt;/p&gt;
&lt;p&gt;Regarding getting into using NCS in VS Code, I would say the time to learn becomes shorter for every day as we provide better and improved tools as well as courses for getting started and familiarizing yourself with using NCS. You can see them at&amp;nbsp;&lt;a href="https://academy.nordicsemi.com/"&gt;https://academy.nordicsemi.com/&lt;/a&gt;&amp;nbsp;where &lt;a href="https://academy.nordicsemi.com/courses/nrf-connect-sdk-fundamentals/"&gt;nRF Connect SDK Fundamentals&amp;nbsp;&lt;/a&gt;&amp;nbsp;is the recommended starting point, in addition to the Installation and Create an application starting page at&amp;nbsp;&lt;a href="https://developer.nordicsemi.com/nRF_Connect_SDK/doc/latest/nrf/index.html"&gt;https://developer.nordicsemi.com/nRF_Connect_SDK/doc/latest/nrf/index.html&lt;/a&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;For longevity using nRF devices, there are no better point in time to get started with NCS than today. I would recommend that you consider the time cost of trying to port the application from nRF5 to NCS vs simply starting in NCS up against the cost of not having an update available for the older devices, but both options are possible given that you&amp;#39;ve designed your new application with ROM restrictions in mind.&lt;/p&gt;
&lt;p&gt;Let me know if this answers your question&lt;/p&gt;
&lt;p&gt;Kind regards,&lt;br /&gt;Andreas&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>