<?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>Loading nRF Connect SDK app via UART using nRF5 SDK secure bootloader</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/110609/loading-nrf-connect-sdk-app-via-uart-using-nrf5-sdk-secure-bootloader</link><description>Hi, 
 
 we are facing an issue of loading the application written with nRF Connect SDK to the nRF52840 which has nRF5 SDK&amp;#39;s secure bootloader. Update process should be performed by another MCU via UART (so two files are used for a single update: init</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Wed, 12 Jun 2024 13:30:50 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/110609/loading-nrf-connect-sdk-app-via-uart-using-nrf5-sdk-secure-bootloader" /><item><title>RE: Loading nRF Connect SDK app via UART using nRF5 SDK secure bootloader</title><link>https://devzone.nordicsemi.com/thread/488511?ContentTypeID=1</link><pubDate>Wed, 12 Jun 2024 13:30:50 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:86fa00cb-efcf-4e3c-8f14-caa2f612837f</guid><dc:creator>Hieu</dc:creator><description>&lt;p&gt;Yes, the scenario you mentioned is certainly possible. If you want to investigate this, you might want to dive into&amp;nbsp;app_is_valid() and see which of the check inside is failing.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Loading nRF Connect SDK app via UART using nRF5 SDK secure bootloader</title><link>https://devzone.nordicsemi.com/thread/488188?ContentTypeID=1</link><pubDate>Mon, 10 Jun 2024 20:03:43 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:c4ba2285-8911-4bd2-b46e-adee9cb09b0c</guid><dc:creator>DarkMeans</dc:creator><description>&lt;p&gt;Thank you, I do appreciate your responses still.&lt;/p&gt;
&lt;p&gt;The part it was getting locked up on was always this, even though everything was signed, it never seemed to want to treat the application as valid.&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="text"&gt;    if (!app_is_valid(crc_on_valid_app_required()))
    {
        NRF_LOG_DEBUG(&amp;quot;DFU mode because app is not valid.&amp;quot;);
        return true;
    }&lt;/pre&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Once that was placed, it worked 100% of the time and didn&amp;#39;t just constantly enter the bootloader.&lt;/p&gt;
&lt;p&gt;Since we are using a direct serial line communication, I don&amp;#39;t see any way that the system could be bricked, but it could certainly get loaded with a bad program and lock up.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Loading nRF Connect SDK app via UART using nRF5 SDK secure bootloader</title><link>https://devzone.nordicsemi.com/thread/485651?ContentTypeID=1</link><pubDate>Thu, 23 May 2024 13:28:08 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:ff24be45-621a-467a-84e9-7c0470cbac0d</guid><dc:creator>Hieu</dc:creator><description>&lt;p&gt;Sorry, there was a holiday, and then I was out of office until now. It&amp;#39;s good to know that you are satisfied for the time being, though not entirely good that we still haven&amp;#39;t known what caused the issue yet.&lt;/p&gt;
&lt;p&gt;If you ever returned to this, I suggest the next steps of the investigation to be:&lt;br /&gt;- Check the nRF5 SDK bootloader code to see what trigger dfu_enter&lt;br /&gt;- Check the partitioning of the NCS application&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Loading nRF Connect SDK app via UART using nRF5 SDK secure bootloader</title><link>https://devzone.nordicsemi.com/thread/485233?ContentTypeID=1</link><pubDate>Tue, 21 May 2024 22:06:13 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:0e8d6fb9-93ed-408d-a019-37df64f630c2</guid><dc:creator>DarkMeans</dc:creator><description>&lt;p&gt;Based on the above code that was successful only the first time, but then would fail, I decided to massively rearrange the code spaces in both the NRF5 and the nRF Connect programs.&amp;nbsp; I decided to change it from 0x1000 to 0xC000 to be respectful of the possibilities of future changes to MCUBoot.&lt;/p&gt;
&lt;p&gt;I also moved the new flash storage down to 0x000D0000 from 0x000F8000.&lt;/p&gt;
&lt;p&gt;I cannot be 100% sure which of these was the root cause without further investigation, but right now I&amp;#39;m able to update and that&amp;#39;s good enough for me to move on with some other tasks.&lt;/p&gt;
&lt;p&gt;&lt;img style="max-height:240px;max-width:320px;" alt=" " src="https://devzone.nordicsemi.com/resized-image/__size/640x480/__key/communityserver-discussions-components-files/4/pastedimage1716328972140v1.png" /&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Loading nRF Connect SDK app via UART using nRF5 SDK secure bootloader</title><link>https://devzone.nordicsemi.com/thread/484817?ContentTypeID=1</link><pubDate>Fri, 17 May 2024 11:09:53 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:8114e1f8-7e11-40e5-a2bc-1ef2763cd18b</guid><dc:creator>DarkMeans</dc:creator><description>&lt;p&gt;I dove into the bootloader code a bit to see if it would even start the application, and if I do a fresh Erase and Write&amp;nbsp;in the programmer,&amp;nbsp;the following change will get the application to boot once and it appears to act like it should.&lt;/p&gt;
&lt;p&gt;&lt;img style="max-height:240px;max-width:320px;" src="https://devzone.nordicsemi.com/resized-image/__size/640x480/__key/communityserver-discussions-components-files/4/pastedimage1715943666372v1.png" alt=" " /&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;After that, any subsequent resets will hard-fault at the nrf_dfu_flash.c file call of&amp;nbsp;nrf_fstorage_init where it tries to initialize additional data.&lt;/p&gt;
&lt;p&gt;&lt;img style="max-height:240px;max-width:320px;" src="https://devzone.nordicsemi.com/resized-image/__size/640x480/__key/communityserver-discussions-components-files/4/pastedimage1715944040971v2.png" alt=" " /&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;I cannot figure out why this is happening only after a reset after the initial write/reprogram.&amp;nbsp; There must be something&amp;nbsp;missing, I just currently cannot figure out what that might be.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Loading nRF Connect SDK app via UART using nRF5 SDK secure bootloader</title><link>https://devzone.nordicsemi.com/thread/484790?ContentTypeID=1</link><pubDate>Thu, 16 May 2024 23:07:04 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:27469803-2f21-4862-88b6-32a3a0538922</guid><dc:creator>DarkMeans</dc:creator><description>&lt;p&gt;Alright, I have found the MBR for the bootloader and that can be added at the same time.&lt;/p&gt;
&lt;p&gt;Without a bootloader and the address set to 0x0000 for the application, everything boots and works fine.&lt;/p&gt;
&lt;p&gt;If I add the bootloader, the MBR, and the address has been changed to 0x1000 using the&amp;nbsp;&lt;span&gt;CONFIG_FLASH_LOAD_OFFSET=0x1000 configuration, the application will not load.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&amp;nbsp;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Looking into this further, it would appear that I needed to generate a&amp;nbsp;bootloader settings file, which I have done and added with the command below.&lt;/span&gt;&lt;br /&gt;&lt;pre class="ui-code" data-mode="text"&gt;nrfutil settings generate --no-backup --family NRF52840 --application build/zephyr/zephyr.hex --application-version 3 --app-boot-validation NO_VALIDATION --bootloader-version 2 --bl-settings-version 2 settings.hex&lt;/pre&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Still, it will not boot.&amp;nbsp; I believe that the missing link might be that I haven&amp;#39;t created the&amp;nbsp;&amp;quot;MBR&amp;nbsp;params page&amp;quot; hex file.&amp;nbsp; I however cannot figure out how to create it.&lt;/p&gt;
&lt;p&gt;Does it sound like I am on the right track with needing this &amp;quot;MBR params page&amp;quot; file?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Loading nRF Connect SDK app via UART using nRF5 SDK secure bootloader</title><link>https://devzone.nordicsemi.com/thread/483222?ContentTypeID=1</link><pubDate>Tue, 14 May 2024 11:04:25 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:be629a29-2ed1-4988-b0d7-b9d81eb74d64</guid><dc:creator>Hieu</dc:creator><description>[quote user="DarkMeans"]&lt;p&gt;When I program the project from the Segger programmer (using the ! button), this is the code that is loaded to my chip. [...]&lt;/p&gt;
&lt;p&gt;Using the nRF Connect for Desktop Programmer tool, it only programs the hex file at 0xF8000 and nothing in the 0x0000 range, and it won&amp;#39;t connect to the external microcontroller.&lt;/p&gt;[/quote]
&lt;p&gt;Do you mean you get the 0x0000-0x1000 region by flashing from inside SEGGER Embedded Studio (SES)? The bootloader&amp;nbsp;SES projects are setup to flash both the MBR and the compiled bootloader, and that&amp;#39;s&amp;nbsp;why you get the MBR.&lt;/p&gt;
&lt;p&gt;When flashing the hex files manually via nRF Connect or any programming tools, you need to add the MBR hex file.&lt;/p&gt;
&lt;p&gt;In the nRF5 SDK, the MBR is located at&amp;nbsp;&lt;em&gt;&amp;lt;sdk_root&amp;gt;\components\softdevice\mbr\hex\&lt;/em&gt;.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Loading nRF Connect SDK app via UART using nRF5 SDK secure bootloader</title><link>https://devzone.nordicsemi.com/thread/483106?ContentTypeID=1</link><pubDate>Mon, 13 May 2024 15:17:12 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:e7c8545b-e91a-4b98-b014-699d4fae0288</guid><dc:creator>DarkMeans</dc:creator><description>&lt;p&gt;When I program the project from the Segger programmer (using the ! button), this is the code that is loaded to my chip.&amp;nbsp; I have yet to recreate this memory structure using just the nRF Connect for Desktop Programmer tool.&amp;nbsp; I suppose that is part of the issue, because when I program the bootloader from the Segger programmer, I can connect to it with the external microcontroller and perform a serial update.&lt;/p&gt;
&lt;p&gt;Using the nRF Connect for Desktop Programmer tool, it only programs the hex file at 0xF8000 and nothing in the 0x0000 range, and it won&amp;#39;t connect to the external microcontroller.&lt;/p&gt;
&lt;p&gt;&lt;img style="max-height:240px;max-width:320px;" alt=" " src="https://devzone.nordicsemi.com/resized-image/__size/640x480/__key/communityserver-discussions-components-files/4/pastedimage1715613112477v1.png" /&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Loading nRF Connect SDK app via UART using nRF5 SDK secure bootloader</title><link>https://devzone.nordicsemi.com/thread/483097?ContentTypeID=1</link><pubDate>Mon, 13 May 2024 14:39:36 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:67d2d857-60fe-4748-a3d2-636f25a5b9a1</guid><dc:creator>DarkMeans</dc:creator><description>&lt;p&gt;Thank you, that 0x0FF8 explanation makes the most sense.&amp;nbsp; Programming it manually through your nRF Connect Programmer, it has an address starting at 0x1000.&lt;br /&gt;&lt;br /&gt;I&amp;#39;ll take a look at the other link and respond back if I have additional questions.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Loading nRF Connect SDK app via UART using nRF5 SDK secure bootloader</title><link>https://devzone.nordicsemi.com/thread/483007?ContentTypeID=1</link><pubDate>Mon, 13 May 2024 11:23:21 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:23c4a0a7-e6de-4b58-89c9-60fda93ed683</guid><dc:creator>Hieu</dc:creator><description>&lt;p&gt;Hi DarkMeans,&lt;/p&gt;
[quote user="DarkMeans"]A few additional questions on this.&amp;nbsp; Using the nRF5 SDK bootloader, I cannot seem to program it and have it work using the&amp;nbsp;&lt;span&gt;&amp;quot;nRF Connect for Desktop&amp;quot; Programmer tool.&amp;nbsp; It always gives an error with the size.&lt;/span&gt;&lt;br /&gt;&lt;span&gt;&lt;img style="max-height:240px;max-width:320px;cursor:zoom-in;" src="https://devzone.nordicsemi.com/resized-image/__size/640x480/__key/communityserver-discussions-components-files/4/0724.pastedimage1715206412758v2.png" alt=" " /&gt;&lt;/span&gt;[/quote]
&lt;p&gt;This is not necessarily an error. The image you generated for DFU with the nRF5 SDK bootloader often includes some data in the UICR region, where the address is outside of the flash memory address, so you see such a warning.&lt;/p&gt;
&lt;p&gt;To confirm if that is the case, or if it is something wrong, you can&amp;nbsp;open the file with a hex editor, and see what kind of data lies outside of the flash memory address range.&lt;/p&gt;
[quote user="DarkMeans"]&lt;p&gt;Using this, the code does appear to load, but nothing is actually starting at offset 0x1000.&amp;nbsp; It starts 8-bytes shy, I think, at 0x0FF8.&amp;nbsp; The &amp;quot;nRF Connect for Desktop&amp;quot; Programmer output is below.&lt;/p&gt;
&lt;p&gt;&lt;img src="https://devzone.nordicsemi.com/resized-image/__size/640x480/__key/communityserver-discussions-components-files/4/1881.pastedimage1715206200357v1.png" alt=" " style="cursor:zoom-in;" /&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;I would suspect that it would be starting at address 0x1000, but&amp;nbsp;it isn&amp;#39;t, and the application isn&amp;#39;t starting.&lt;/p&gt;[/quote]
&lt;p&gt;In the nRF5 SDK boot solution, the MBR reserves the 0x0000-0x1000 address space, and has some data at the very end, at 0x0FF8. What you see is likely that the nRF Programmer tool seeing continuous non-FF data starting from 0x0FF8 and&amp;nbsp;visualize it as a continuous chunk.&lt;/p&gt;
&lt;p&gt;To check if your application actually starts from 0x1000, you could use a hex editor.&lt;/p&gt;
&lt;p&gt;I recommend you add logging to your bootloader to check if the MBR has jumped to the bootloader, and if the bootloader can jump to the application.&lt;/p&gt;
&lt;p&gt;For your reference, my colleague Vidar discuss the details of using a NCS application with a nRF5 SDK bootloader here:&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/390792"&gt;RE: Hang with nRF5 SDK 17.1.0 Bootloader and nRF Connect SDK 2.1.0 application&lt;/a&gt;&amp;nbsp;. Please take a look to see what the considerations in such a scenario are.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Loading nRF Connect SDK app via UART using nRF5 SDK secure bootloader</title><link>https://devzone.nordicsemi.com/thread/482615?ContentTypeID=1</link><pubDate>Wed, 08 May 2024 22:22:15 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:949ddeea-db01-483f-8491-5d713ef02433</guid><dc:creator>DarkMeans</dc:creator><description>&lt;p&gt;One other question is relating to the programming.&lt;/p&gt;
&lt;p&gt;In order to target at addres 0x1000, we are building using nRF Connect v2.5.0 and trying to point the application to the proper memory location using the following KConfig flag.&lt;br /&gt;&lt;span&gt;CONFIG_FLASH_LOAD_OFFSET&lt;/span&gt;&lt;span&gt;=0x1000&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;The nrfutil command used to create the package is as follows:&lt;br /&gt;&lt;/span&gt;nrfutil pkg generate --application build/zephyr/zephyr.hex --application-version 0 --hw-version 52 --sd-req 0x0 --key-file private-key.pem zephyr-application.zip&lt;br /&gt;&lt;br /&gt;Using this, the code does appear to load, but nothing is actually starting at offset 0x1000.&amp;nbsp; It starts 8-bytes shy, I think, at 0x0FF8.&amp;nbsp; The &amp;quot;nRF Connect for Desktop&amp;quot; Programmer output is below.&lt;/p&gt;
&lt;p&gt;&lt;img src="https://devzone.nordicsemi.com/resized-image/__size/640x480/__key/communityserver-discussions-components-files/4/pastedimage1715206200357v1.png" alt=" " /&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;I would suspect that it would be starting at address 0x1000, but&amp;nbsp;it isn&amp;#39;t, and the application isn&amp;#39;t starting.&lt;/p&gt;
&lt;p&gt;If I build the application directly in VSCode and program it without the&amp;nbsp;&lt;span&gt;CONFIG_FLASH_LOAD_OFFSET set, it starts up and works every time, we just cannot update it in the field as there is no bootloader installed.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Loading nRF Connect SDK app via UART using nRF5 SDK secure bootloader</title><link>https://devzone.nordicsemi.com/thread/482613?ContentTypeID=1</link><pubDate>Wed, 08 May 2024 22:14:42 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:30952b37-ee52-41e8-ade7-d878d696a8fd</guid><dc:creator>DarkMeans</dc:creator><description>&lt;p&gt;Hello, Hieu.&amp;nbsp; This is a project I&amp;#39;m working on with Anton.&lt;br /&gt;&lt;br /&gt;A few additional questions on this.&amp;nbsp; Using the nRF5 SDK bootloader, I cannot seem to program it and have it work using the&amp;nbsp;&lt;span&gt;&amp;quot;nRF Connect for Desktop&amp;quot; Programmer tool.&amp;nbsp; It always gives an error with the size.&lt;/span&gt;&lt;br /&gt;&lt;span&gt;&lt;img style="max-height:240px;max-width:320px;" src="https://devzone.nordicsemi.com/resized-image/__size/640x480/__key/communityserver-discussions-components-files/4/pastedimage1715206412758v2.png" alt=" " /&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;I can program it directly from Segger, but I need to find a way to program it via a programming tool.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Loading nRF Connect SDK app via UART using nRF5 SDK secure bootloader</title><link>https://devzone.nordicsemi.com/thread/480882?ContentTypeID=1</link><pubDate>Fri, 26 Apr 2024 12:10:54 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:f145d0cb-8b32-4b8d-80d3-c6f902acf38c</guid><dc:creator>Hieu</dc:creator><description>&lt;p&gt;Hi Anton,&lt;/p&gt;
&lt;p&gt;I see. nRF Util should still be able to generate such a package for the app created with nRF Connect SDK (NCS). Please give it a try.&lt;br /&gt;Note that you might have to change the DFU package type to SoftDevice, because the NCS application starts at 0x1000, where the SoftDevice starts in the nRF5 SDK.&lt;/p&gt;
&lt;p&gt;By the way, if you are not heavily invested into this yet, I still recommend you consider if the nRF Connect SDK solutions are&amp;nbsp;feasible for your project.&lt;/p&gt;
&lt;p&gt;Regards,&lt;/p&gt;
&lt;p&gt;Hieu&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Loading nRF Connect SDK app via UART using nRF5 SDK secure bootloader</title><link>https://devzone.nordicsemi.com/thread/480802?ContentTypeID=1</link><pubDate>Fri, 26 Apr 2024 06:41:40 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:f4e0ce31-54ac-4638-9df8-5cf8420f8ba9</guid><dc:creator>AntonZ</dc:creator><description>&lt;p&gt;Hi Hieu,&lt;br /&gt;&lt;br /&gt;I&amp;#39;ve replied, yet not to your response, sorry.&amp;nbsp;&lt;br /&gt;Can you please comment below?&lt;br /&gt;&lt;br /&gt;Thanks,&lt;br /&gt;Anton&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Loading nRF Connect SDK app via UART using nRF5 SDK secure bootloader</title><link>https://devzone.nordicsemi.com/thread/480713?ContentTypeID=1</link><pubDate>Thu, 25 Apr 2024 13:24:49 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:c09f6253-5006-4db2-9f8b-5daf75be684a</guid><dc:creator>AntonZ</dc:creator><description>&lt;p&gt;Hi Hieu,&lt;br /&gt;&lt;br /&gt;No, I might&amp;#39;ve put the wrong explanation: the bootloader is taked from nRF5 SDK (secure bootloader) which is triggered by another external MCU.&lt;br /&gt;&lt;br /&gt;Two files I&amp;#39;m talking about are: 1. Init packet; 2. FW binary.&lt;br /&gt;&lt;br /&gt;Both files are normally generated by nrfutil. But, as I understand, nrfutil can&amp;#39;t generate such package for the app created with nRF Connect SDK.&lt;br /&gt;So, how is is possible to send such application to the secure bootloader?&lt;br /&gt;&lt;br /&gt;Thanks,&lt;br /&gt;Anton&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Loading nRF Connect SDK app via UART using nRF5 SDK secure bootloader</title><link>https://devzone.nordicsemi.com/thread/480710?ContentTypeID=1</link><pubDate>Thu, 25 Apr 2024 13:18:00 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:1cc44fe0-9797-4836-948d-09f33d58c0d2</guid><dc:creator>Hieu</dc:creator><description>&lt;p&gt;Hi AntonZ,&lt;/p&gt;
&lt;p&gt;May I ask why you want to implement the bootloader in the nRF5 SDK? It is possible, yes, but I don&amp;#39;t know&amp;nbsp;whether that&amp;#39;s the best&amp;nbsp;option for most use-cases or not.&lt;/p&gt;
&lt;p&gt;In any cases,&amp;nbsp;if I&amp;nbsp;understand the situation right, the bootloader is custom made by you, so I don&amp;#39;t really know the background why it expects two files&amp;nbsp;and&amp;nbsp;am not sure how to help you with that. &lt;br /&gt;I know the bootloaders provided in the nRF5 SDK can&amp;nbsp;update the application using one single binary file just fine.&lt;/p&gt;
&lt;p&gt;Hieu&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>