<?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>Migration from nRF5 SDK to nRF Connect SDK</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/106254/migration-from-nrf5-sdk-to-nrf-connect-sdk</link><description>Hi all, 
 in our company we are in the process of thinking about a migration of our devices firmware from nRF5 SDK to nRF Connect SDK. 
 Actually we have many different boards with different form-factor, different I/Os (leds, buttons, sensors) etc. 
</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Mon, 26 Feb 2024 09:57:57 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/106254/migration-from-nrf5-sdk-to-nrf-connect-sdk" /><item><title>RE: Migration from nRF5 SDK to nRF Connect SDK</title><link>https://devzone.nordicsemi.com/thread/470657?ContentTypeID=1</link><pubDate>Mon, 26 Feb 2024 09:57:57 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:0b58c5db-3722-4a3a-af69-48e62b1a3ff3</guid><dc:creator>papatel</dc:creator><description>&lt;p&gt;Not sure about your designs Samuele, but for our company, we standardized on a single SOC for all our designs and maintained pin consistency across all designs as much as possible.&amp;nbsp; For the minor deviations where a GPIO had to be reassigned from an input or output or a flash chip is present or not, we can configure those deviations at run time based on UICR.&amp;nbsp; You can still use Customer UICR registers to indicate features/versions etc... and have your code execute accordingly.&lt;/p&gt;
&lt;p&gt;If your designs deviate massively in pin assignments and features, this approach will be problematic.&amp;nbsp; But as you indicated, your designs are mostly the same and are focused on beaconing/indoor positioning, I think this approach will work.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Migration from nRF5 SDK to nRF Connect SDK</title><link>https://devzone.nordicsemi.com/thread/460622?ContentTypeID=1</link><pubDate>Fri, 15 Dec 2023 16:05:13 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:dd6f2c43-637b-430a-b8f3-5c0dff5d632b</guid><dc:creator>Samuele Forconi</dc:creator><description>&lt;p&gt;Ok Susheel,&amp;nbsp;&lt;/p&gt;
&lt;p&gt;thanks anyway for your support.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Migration from nRF5 SDK to nRF Connect SDK</title><link>https://devzone.nordicsemi.com/thread/460362?ContentTypeID=1</link><pubDate>Thu, 14 Dec 2023 12:41:00 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:d16cda9d-00d0-4903-8000-d79b4b648f30</guid><dc:creator>Susheel Nuguru</dc:creator><description>&lt;p&gt;Samuele,&amp;nbsp;&lt;/p&gt;
&lt;p&gt;We do not seem to have any clear solution for this.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;I think one solution can be to use&lt;a href="https://devzone.nordicsemi.com/f/nordic-q-a/81082/zephyr-driver-vs-nrfx-for-nrf5340"&gt; nrfx driver directly instead of the Zephyr driver&lt;/a&gt;&amp;nbsp;and you can control initialization and power control of peripheral in application.&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Migration from nRF5 SDK to nRF Connect SDK</title><link>https://devzone.nordicsemi.com/thread/459481?ContentTypeID=1</link><pubDate>Fri, 08 Dec 2023 09:08:11 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:faed14bf-9deb-4e8c-ba3b-e0e5c3936bb2</guid><dc:creator>Susheel Nuguru</dc:creator><description>&lt;p&gt;Sorry for delays Samuele,&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Your use case seems genuine, I will ask around internally to see if there were any other requests or if anyone else succeeded in having one firmware for different boards with NCs. If yes, I will find out more info on how to do it.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Migration from nRF5 SDK to nRF Connect SDK</title><link>https://devzone.nordicsemi.com/thread/459056?ContentTypeID=1</link><pubDate>Tue, 05 Dec 2023 16:39:29 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:7811aad1-acdc-4150-9cb7-75bb10a78e22</guid><dc:creator>Samuele Forconi</dc:creator><description>&lt;p&gt;Hi Susheel,&lt;/p&gt;
&lt;p&gt;thanks for your feedback.&lt;/p&gt;
&lt;p&gt;As I told in the previous message, our company makes BLE products mainly focused for indoor positioning and location based systems. We have at least&amp;nbsp;15 boards to manage and each one has its own hardware I/Os - i.e. some of them have an accelerometer, some of them have a RGB led, some monochrome led(s), some have button(s), etc...&lt;/p&gt;
&lt;p&gt;The firmware that runs on these boards is mainly focused on the BLE advertising, as well as manage the hardware peripherals (i.e. speed-up/down advertising interval if movemnt is detected, etc.).&amp;nbsp;&lt;/p&gt;
&lt;p&gt;The firmware application logic is the same for all the boards.&lt;/p&gt;
&lt;p&gt;The production department uses&amp;nbsp;a custom programming software to program the firmware on the boards.&lt;/p&gt;
&lt;p&gt;The production programming software let the operator choose on which board the firmware will be programmed and many other options that&amp;nbsp;builds up the so called factory configuration.&lt;/p&gt;
&lt;p&gt;With this kind of architecture, if a bug or if a new feature is introduced in the firmware, a single new firmware is released for all the boards and this is possible because when the firmware starts up it detects on which board is running by looking at the factory-written&amp;nbsp; UICR register where the board identifier is set (during production).&lt;/p&gt;
&lt;p&gt;With nRF Connect we will need to build 15 different firmwares (that are mainly all equal because the only thing that changes is the pin connections), but we will need to maintain many firmware versions both on production and in the cloud environment for the update via DFU-OTA.&lt;/p&gt;
&lt;p&gt;I think that the approach of nRF Connect SDK is good for developers and makers, but today hardware companies are forced to have many models of their hardware&amp;nbsp;to face every client needs,&amp;nbsp;and being forced to have one-firmware-per-board I think is an SDK limitation.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Migration from nRF5 SDK to nRF Connect SDK</title><link>https://devzone.nordicsemi.com/thread/458654?ContentTypeID=1</link><pubDate>Mon, 04 Dec 2023 07:53:13 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:c987e8bf-00c8-482f-bf06-dc37097c5143</guid><dc:creator>Susheel Nuguru</dc:creator><description>&lt;p&gt;Hi Samuele,&lt;/p&gt;
&lt;p&gt;It might have been somehow manageable for you to have one firmware for all your products and boards and then detect the hardware versions later at run time in the nRF5SDK but in the nRF Connect SDK, this will be very very tricky. There are lot of settings in the device tree file based on a product and the board where many of the nodes/peripherals are set default enabled or disabled. If you have to follow the same strategy of detecting your board at runtime, then you most likely need to keep all the peripherals and modules enabled by default and then make sure that in runtime after you detect the right version of the hardware, disable the hardware peripherals which are not relevant for that product. There is a lot of risk involved in managing the power and security efficiency this way.&lt;/p&gt;
[quote user=""]We would like to have a single firmware file usable for many boards where&amp;nbsp;the firmware initializes the boards I/O dinamically at runtime (i.e. reading the model number of the board from a UICR register).[/quote]
&lt;p&gt;Not sure why you would like to have a single firmware file this way. Could be achievable but I do not recommend this.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>