<?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>USB DFU on a NRF52833</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/81827/usb-dfu-on-a-nrf52833</link><description>Hi, 
 I am trying to implement USB DFU on a NRF52833 with nRF5 SDK for Thread and Zigbee v4.1.0 and nRF5 SDK v16.0.0. 
 
 In a first step I want to perform this on the devkit. 
 In a second step on our custom PCB. 
 
 Unfortunatelly there is no NRF52833</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Thu, 25 Nov 2021 10:43:45 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/81827/usb-dfu-on-a-nrf52833" /><item><title>RE: USB DFU on a NRF52833</title><link>https://devzone.nordicsemi.com/thread/340693?ContentTypeID=1</link><pubDate>Thu, 25 Nov 2021 10:43:45 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:ec0c5d60-0f0e-4a31-8653-28655b272bf7</guid><dc:creator>Marte Myrvold</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
[quote user="Nppn7"]Where do I get the corresponding values for the nRF52833[/quote]
&lt;p&gt;There are multiple ways to get this. The simplest way would be to open a nRF52833 project in SES and look at what these values are set to there.&lt;/p&gt;
&lt;p&gt;You can also find it by looking at the memory map you linked. As is stated there, flash memory is divided into 128 pages of 4 kB each. In the figure you see that the last page starts on 0x7F000. Since each page is 4 kB, or 0x1000, the end of flash will be 0x7F000+0x1000=0x80000. You can do the same for RAM.&lt;/p&gt;
&lt;p&gt;Another way is to use the size of available flash and RAM to&amp;nbsp;and find the hex address from this. The nRF52833 has 512 kB flash, which is 512 * 1024 =&amp;nbsp;524 288 bytes. There are multiple converters available that convert from decimal to hex, and using this you find that the hex value is 0x80000.&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Marte&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: USB DFU on a NRF52833</title><link>https://devzone.nordicsemi.com/thread/340581?ContentTypeID=1</link><pubDate>Wed, 24 Nov 2021 14:59:00 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:addd15d5-74ef-4c1e-a625-1371c654fe0a</guid><dc:creator>Nppn7</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;of course you are right. That was a typo. I was using the nRF52840 as a reference.&lt;/p&gt;
&lt;p&gt;I followed the guide you proposed and did the reverse things. I have a problem with step 3. Adding NRF52833_XXAA is fine, but adding NRF52 causes trouble:&lt;/p&gt;
&lt;p&gt;&lt;img alt=" " src="https://devzone.nordicsemi.com/resized-image/__size/320x240/__key/communityserver-discussions-components-files/4/pastedimage1637765468831v2.png" /&gt;&lt;/p&gt;
&lt;p&gt;If I remove it it throws less errors. What I do not understand is step 5. Where do I get the corresponding values for the nRF52833 (&lt;a href="https://infocenter.nordicsemi.com/topic/ps_nrf52833/memory.html?cp=4_1_0_3_1"&gt;nRF52833 memory map&lt;/a&gt;)? I couldn&amp;#39;t even find the ones for the nRF52820 as a reference (&lt;a href="https://infocenter.nordicsemi.com/topic/ps_nrf52820/memory.html?cp=4_3_0_3_1_2#memorymap"&gt;nRF52820 memory map&lt;/a&gt;).&lt;/p&gt;
&lt;p&gt;This is how it looks like now:&lt;/p&gt;
&lt;p&gt;&lt;img alt=" " src="https://devzone.nordicsemi.com/resized-image/__size/320x240/__key/communityserver-discussions-components-files/4/pastedimage1637765854211v3.png" /&gt;&lt;/p&gt;
&lt;p&gt;&lt;img alt=" " src="https://devzone.nordicsemi.com/resized-image/__size/320x240/__key/communityserver-discussions-components-files/4/pastedimage1637765890185v4.png" /&gt;&lt;/p&gt;
&lt;p&gt;&lt;a href="https://devzone.nordicsemi.com/cfs-file/__key/communityserver-discussions-components-files/4/3010.flash_5F00_placement.xml"&gt;devzone.nordicsemi.com/.../3010.flash_5F00_placement.xml&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;The error message:&lt;/p&gt;
&lt;p&gt;&lt;img alt=" " src="https://devzone.nordicsemi.com/resized-image/__size/320x240/__key/communityserver-discussions-components-files/4/pastedimage1637766331176v1.png" /&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: USB DFU on a NRF52833</title><link>https://devzone.nordicsemi.com/thread/340534?ContentTypeID=1</link><pubDate>Wed, 24 Nov 2021 12:21:47 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:768a5bcc-f574-45da-ab71-f1f7401cb906</guid><dc:creator>Marte Myrvold</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
[quote user="Nppn7"]For reference I used the nRF52833. According to the documentation the bootloader should start at 0x000F 8000. But in the working example it starts at 0xF4000.[/quote]
&lt;p&gt;You are looking at the memory layout for nRF52840. The memory layout in my previous reply is for nRF52833, and is what you should look at. This is the same as the two columns at the right in the picture you posted. You see there that the bootloader starts at 0x78000, and not 0xF8000, which is outside of range for the nRF52833, as it has a flash size of 512 kB, so it only goes up to 0x80000.&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Pca10010 projects with an&amp;nbsp;&lt;/span&gt;&lt;strong&gt;e&amp;nbsp;&lt;/strong&gt;&lt;span&gt;at the end (&lt;/span&gt;&lt;strong&gt;pca10010e&lt;/strong&gt;)&lt;span&gt;&amp;nbsp;are nRF52820 projects, so&amp;nbsp;&lt;/span&gt;secure_bootloader_usb_mbr_pca10010e is a&amp;nbsp;nRF52820 project, and not nRF52833, which is why the flash and RAM settings do not correspond with the memory layout for nRF52833.&amp;nbsp;The project is still configured as a nRF52820 project, which is causing you to get the errors you get. If you want to transfer this project to nRF52833 you can look at the guide&amp;nbsp;&lt;a href="https://infocenter.nordicsemi.com/topic/sdk_nrf5_v17.1.0/nrf52820_user_guide.html?cp=8_1_5_2_3#ug_52820_project"&gt;Transferring the project to nRF52820 hardware&lt;/a&gt;, and reverse the steps there to transfer the project from nRF52820 to nRF52833, instead of from nRF52833 to nRF52820.&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Marte&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: USB DFU on a NRF52833</title><link>https://devzone.nordicsemi.com/thread/340504?ContentTypeID=1</link><pubDate>Wed, 24 Nov 2021 10:17:04 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:dd5a79fe-a64b-4c92-8710-3b884897cf90</guid><dc:creator>Nppn7</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;thank you for the info. I adjusted the values but get an error:&lt;/p&gt;
&lt;p&gt;&lt;img alt=" " src="https://devzone.nordicsemi.com/resized-image/__size/320x240/__key/communityserver-discussions-components-files/4/pastedimage1637748473158v1.png" /&gt;&lt;/p&gt;
&lt;p&gt;&lt;a href="https://devzone.nordicsemi.com/cfs-file/__key/communityserver-discussions-components-files/4/1172.flash_5F00_placement.xml"&gt;devzone.nordicsemi.com/.../1172.flash_5F00_placement.xml&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;I can make it build with FLASH_START=0x75000 or lower.&lt;/p&gt;
&lt;p&gt;&lt;img alt=" " src="https://devzone.nordicsemi.com/resized-image/__size/320x240/__key/communityserver-discussions-components-files/4/pastedimage1637748640526v2.png" /&gt;&lt;/p&gt;
&lt;p&gt;But this way it won&amp;#39;t flash:&lt;/p&gt;
&lt;p&gt;&lt;img alt=" " src="https://devzone.nordicsemi.com/resized-image/__size/320x240/__key/communityserver-discussions-components-files/4/pastedimage1637749198303v2.png" /&gt;&lt;/p&gt;
&lt;p&gt;For reference I used the nRF52840. According to the documentation the bootloader should start at 0x000F 8000. But in the working example it starts at 0xF4000.&lt;/p&gt;
&lt;p&gt;&lt;img alt=" " src="https://devzone.nordicsemi.com/resized-image/__size/320x240/__key/communityserver-discussions-components-files/4/pastedimage1637748834304v4.png" /&gt;&lt;/p&gt;
&lt;p&gt;&lt;img alt=" " src="https://devzone.nordicsemi.com/resized-image/__size/320x240/__key/communityserver-discussions-components-files/4/pastedimage1637748940216v5.png" /&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: USB DFU on a NRF52833</title><link>https://devzone.nordicsemi.com/thread/340332?ContentTypeID=1</link><pubDate>Tue, 23 Nov 2021 12:38:23 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:68f70a22-a5e6-4d81-bb2a-5f94107d3526</guid><dc:creator>Marte Myrvold</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;I see that you have made changes to the memory layout in section placement macros. FLASH_START is the start address of the program, so in the bootloader project,&amp;nbsp;secure_bootloader_usb_mbr_pca10100e, this will be the start address of the bootloader. This should be 0x78000, but you have set this to 0x24000, which is too low.&lt;/p&gt;
&lt;p&gt;If you look at the memory layout I linked to in one of my previous replies, you will see that for nRF52833 you have the following:&lt;/p&gt;
&lt;table&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;th colspan="1" rowspan="1"&gt;Usage&lt;/th&gt;
&lt;th colspan="1" rowspan="1"&gt;Memory range nRF52833 (S113 v7.0.x)&lt;/th&gt;
&lt;th colspan="1" rowspan="1"&gt;Memory range nRF52833 (S140 v7.0.x)&lt;/th&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td colspan="1" rowspan="1"&gt;Bootloader settings&lt;/td&gt;
&lt;td colspan="1" rowspan="1"&gt;0x0007 F000 - 0x0008 0000 (4 kB)&lt;/td&gt;
&lt;td colspan="1" rowspan="1"&gt;0x0007 F000 - 0x0008 0000 (4 kB)&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td colspan="1" rowspan="1"&gt;MBR parameter storage&lt;/td&gt;
&lt;td colspan="1" rowspan="1"&gt;0x0007 E000 - 0x0007 F000 (4 kB)&lt;/td&gt;
&lt;td colspan="1" rowspan="1"&gt;0x0007 E000 - 0x0007 F000 (4 kB)&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td colspan="1" rowspan="1"&gt;Bootloader&lt;/td&gt;
&lt;td colspan="1" rowspan="1"&gt;0x0007 8000 - 0x0007 E000 (24 kB)&lt;/td&gt;
&lt;td colspan="1" rowspan="1"&gt;0x0007 8000 - 0x0007 E000 (24 kB)&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td colspan="1" rowspan="1"&gt;Application area (incl. free space)&lt;/td&gt;
&lt;td colspan="1" rowspan="1"&gt;0x0001 C000 - 0x0007 8000 (368 kB)&lt;/td&gt;
&lt;td colspan="1" rowspan="1"&gt;0x0002 6000 - 0x0007 8000 (328 kB)&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td colspan="1" rowspan="1"&gt;SoftDevice&lt;/td&gt;
&lt;td colspan="1" rowspan="1"&gt;0x0000 1000 - 0x0001 C000 (112 kB)&lt;/td&gt;
&lt;td colspan="1" rowspan="1"&gt;0x0000 1000 - 0x0002 6000 (148 kB)&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td colspan="1" rowspan="1"&gt;Master Boot Record (MBR)&lt;/td&gt;
&lt;td colspan="1" rowspan="1"&gt;0x0000 0000 - 0x0000 1000 (4 kB)&lt;/td&gt;
&lt;td colspan="1" rowspan="1"&gt;0x0000 0000 - 0x0000 1000 (4 kB)&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;
&lt;p&gt;This is with SoftDevice, but even without SoftDevice and MBR the application area is&amp;nbsp;0x0 to 0x78000. You can also see this in the section placement macros in your application, where FLASH_START is 0x0 and FLASH_SIZE is 0x7e000.&amp;nbsp;Right now you are programming the bootloader at 0x24000 - 0x36000, and then you try to&amp;nbsp;perform DFU with an application that should be located in the area 0x0 - 0x78000, but part of this is already taken by the bootloader. The size of bootloader flash, 0x12000, is also larger than it needs to be. As you can see in the the memory layout, you only need 0x6000.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Marte&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: USB DFU on a NRF52833</title><link>https://devzone.nordicsemi.com/thread/340155?ContentTypeID=1</link><pubDate>Mon, 22 Nov 2021 15:21:40 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:33440907-1438-43e6-af9e-dd15b9a29ece</guid><dc:creator>Nppn7</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;thanks for your quick reply. I get the same error message.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: USB DFU on a NRF52833</title><link>https://devzone.nordicsemi.com/thread/340146?ContentTypeID=1</link><pubDate>Mon, 22 Nov 2021 15:09:20 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:567105e5-373b-4bef-adfc-5990f8d775cb</guid><dc:creator>Marte Myrvold</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;Try to enable single-bank updates by setting&amp;nbsp;&lt;span&gt;NRF_DFU_SINGLE_BANK_APP_UPDATES&amp;nbsp;to 1.&amp;nbsp;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Best regards,&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Marte&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: USB DFU on a NRF52833</title><link>https://devzone.nordicsemi.com/thread/340101?ContentTypeID=1</link><pubDate>Mon, 22 Nov 2021 13:50:25 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:5bee4979-944d-4ee4-81fc-99dae4ae3f79</guid><dc:creator>Nppn7</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;single bank would be enough.&lt;/p&gt;
&lt;p&gt;#define NRF_DFU_SINGLE_BANK_APP_UPDATES 0&lt;/p&gt;
&lt;p&gt;#define NRF_DFU_FORCE_DUAL_BANK_APP_UPDATES 0&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: USB DFU on a NRF52833</title><link>https://devzone.nordicsemi.com/thread/340080?ContentTypeID=1</link><pubDate>Mon, 22 Nov 2021 13:23:54 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:f4dcb48c-35e8-40a3-9e6c-57ffc4957cef</guid><dc:creator>Marte Myrvold</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;Yes, this would be resources regarding memory. Either your application is too large or memory is configured incorrectly. Please see&amp;nbsp;&lt;a href="https://infocenter.nordicsemi.com/topic/sdk_nrf5_v17.1.0/lib_bootloader.html?cp=8_1_3_5_0_7#lib_bootloader_memory"&gt;Memory layout&lt;/a&gt;&amp;nbsp;to see where different firmware components are located.&lt;/p&gt;
&lt;p&gt;Are you using dual-bank or single-bank updates? What are&amp;nbsp;NRF_DFU_SINGLE_BANK_APP_UPDATES and&amp;nbsp;NRF_DFU_FORCE_DUAL_BANK_APP_UPDATES set to in sdk_config.h in the project?&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Marte&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: USB DFU on a NRF52833</title><link>https://devzone.nordicsemi.com/thread/339696?ContentTypeID=1</link><pubDate>Thu, 18 Nov 2021 15:31:28 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:6b465939-edb6-4251-8342-5fefb1c2d7c7</guid><dc:creator>Nppn7</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;I have another question. Since there is no bootloader example for the NRF52833 in the SDK 16.0.0, I downloaded the SDK 17.1.0. Now I am trying to build a bootloader based on the &lt;strong&gt;secure_bootloader_usb_mbr_pca10100e &lt;/strong&gt;because it already has the crypto needed (when migrating from a 10065 example we had to do this manually).&lt;strong&gt; &lt;/strong&gt;I had to download and build uECC. I could flash the bootloader to our custom PCB. Also I could perform&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="text"&gt;nrfutil dfu usb-serial -pkg blinky_mbr.zip -p COM16&lt;/pre&gt;&lt;em&gt;&lt;strong&gt;&lt;/strong&gt;&lt;/em&gt;&lt;/p&gt;
&lt;p&gt;just like before with the dev kit. It worked. Now I want to do the same thing with our custom .zip. I created custom public and private keys and provided the public one to the bootloader. When executing&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="text"&gt;nrfutil dfu usb-serial -pkg release_package.zip -p COM16&lt;/pre&gt;&lt;/p&gt;
&lt;p&gt;I get following error message:&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="text"&gt;  [------------------------------------]    0%                                                                                                                                                                                               Traceback (most recent call last):                                                                                                                                                                                                             File &amp;quot;C:\Users\gv9479\AppData\Local\Programs\Python\Python39\lib\runpy.py&amp;quot;, line 197, in _run_module_as_main                                                                                                                                   return _run_code(code, main_globals, None,                                                                                                                                                                                                 File &amp;quot;C:\Users\gv9479\AppData\Local\Programs\Python\Python39\lib\runpy.py&amp;quot;, line 87, in _run_code                                                                                                                                              exec(code, run_globals)                                                                                                                                                                                                                    File &amp;quot;C:\Users\gv9479\AppData\Local\Programs\Python\Python39\Scripts\nrfutil.exe\__main__.py&amp;quot;, line 7, in &amp;lt;module&amp;gt;                                                                                                                           File &amp;quot;C:\Users\gv9479\AppData\Local\Programs\Python\Python39\lib\site-packages\click\core.py&amp;quot;, line 1128, in __call__                                                                                                                          return self.main(*args, **kwargs)                                                                                                                                                                                                          File &amp;quot;C:\Users\gv9479\AppData\Local\Programs\Python\Python39\lib\site-packages\click\core.py&amp;quot;, line 1053, in main                                                                                                                              rv = self.invoke(ctx)                                                                                                                                                                                                                      File &amp;quot;C:\Users\gv9479\AppData\Local\Programs\Python\Python39\lib\site-packages\click\core.py&amp;quot;, line 1659, in invoke                                                                                                                            return _process_result(sub_ctx.command.invoke(sub_ctx))                                                                                                                                                                                    File &amp;quot;C:\Users\gv9479\AppData\Local\Programs\Python\Python39\lib\site-packages\click\core.py&amp;quot;, line 1659, in invoke                                                                                                                            return _process_result(sub_ctx.command.invoke(sub_ctx))                                                                                                                                                                                    File &amp;quot;C:\Users\gv9479\AppData\Local\Programs\Python\Python39\lib\site-packages\click\core.py&amp;quot;, line 1395, in invoke                                                                                                                            return ctx.invoke(self.callback, **ctx.params)                                                                                                                                                                                             File &amp;quot;C:\Users\gv9479\AppData\Local\Programs\Python\Python39\lib\site-packages\click\core.py&amp;quot;, line 754, in invoke                                                                                                                             return __callback(*args, **kwargs)                                                                                                                                                                                                         File &amp;quot;C:\Users\gv9479\AppData\Local\Programs\Python\Python39\lib\site-packages\nordicsemi\__main__.py&amp;quot;, line 1022, in usb_serial                                                                                                               do_serial(package, port, connect_delay, flow_control, packet_receipt_notification, baud_rate, serial_number, False,                                                                                                                        File &amp;quot;C:\Users\gv9479\AppData\Local\Programs\Python\Python39\lib\site-packages\nordicsemi\__main__.py&amp;quot;, line 978, in do_serial                                                                                                                 dfu.dfu_send_images()                                                                                                                                                                                                                      File &amp;quot;C:\Users\gv9479\AppData\Local\Programs\Python\Python39\lib\site-packages\nordicsemi\dfu\dfu.py&amp;quot;, line 127, in dfu_send_images                                                                                                            self._dfu_send_image(self.manifest.application)                                                                                                                                                                                            File &amp;quot;C:\Users\gv9479\AppData\Local\Programs\Python\Python39\lib\site-packages\nordicsemi\dfu\dfu.py&amp;quot;, line 95, in _dfu_send_image                                                                                                             self.dfu_transport.send_init_packet(data)                                                                                                                                                                                                  File &amp;quot;C:\Users\gv9479\AppData\Local\Programs\Python\Python39\lib\site-packages\nordicsemi\dfu\dfu_transport_serial.py&amp;quot;, line 256, in send_init_packet                                                                                          self.__execute()                                                                                                                                                                                                                           File &amp;quot;C:\Users\gv9479\AppData\Local\Programs\Python\Python39\lib\site-packages\nordicsemi\dfu\dfu_transport_serial.py&amp;quot;, line 421, in __execute                                                                                                 self.__get_response(DfuTransportSerial.OP_CODE[&amp;#39;Execute&amp;#39;])                                                                                                                                                                                 File &amp;quot;C:\Users\gv9479\AppData\Local\Programs\Python\Python39\lib\site-packages\nordicsemi\dfu\dfu_transport_serial.py&amp;quot;, line 504, in __get_response                                                                                            raise NordicSemiException(&amp;#39;Response Code {}&amp;#39;.format(                                                                                                                                                                                     pc_ble_driver_py.exceptions.NordicSemiException: Response Code InsufficientResources &lt;/pre&gt;&lt;/p&gt;
&lt;p&gt;Is this related to ressources in a memory sense?&lt;/p&gt;
&lt;p&gt;Here is our layout. Please correct if anything is wrong.&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;Bootloader:&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;&lt;img alt=" " src="https://devzone.nordicsemi.com/resized-image/__size/320x240/__key/communityserver-discussions-components-files/4/pastedimage1637249339346v4.png" /&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&lt;img alt=" " src="https://devzone.nordicsemi.com/resized-image/__size/320x240/__key/communityserver-discussions-components-files/4/pastedimage1637248960964v2.png" /&gt;&lt;/p&gt;
&lt;p&gt;&lt;a href="https://devzone.nordicsemi.com/cfs-file/__key/communityserver-discussions-components-files/4/7587.flash_5F00_placement.xml"&gt;devzone.nordicsemi.com/.../7587.flash_5F00_placement.xml&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;Application:&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;&lt;img alt=" " src="https://devzone.nordicsemi.com/resized-image/__size/320x240/__key/communityserver-discussions-components-files/4/pastedimage1637307010036v3.png" /&gt;&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;&lt;img alt=" " src="https://devzone.nordicsemi.com/resized-image/__size/320x240/__key/communityserver-discussions-components-files/4/pastedimage1637249017439v3.png" /&gt;&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;&lt;a href="https://devzone.nordicsemi.com/cfs-file/__key/communityserver-discussions-components-files/4/7140.flash_5F00_placement.xml"&gt;devzone.nordicsemi.com/.../7140.flash_5F00_placement.xml&lt;/a&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: USB DFU on a NRF52833</title><link>https://devzone.nordicsemi.com/thread/339632?ContentTypeID=1</link><pubDate>Thu, 18 Nov 2021 12:30:14 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:c7d82fb0-c972-494f-a9f2-dcfe5380a0b2</guid><dc:creator>Marte Myrvold</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;Great that you figured it out! Does this mean the issue can be closed?&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Marte&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: USB DFU on a NRF52833</title><link>https://devzone.nordicsemi.com/thread/339547?ContentTypeID=1</link><pubDate>Thu, 18 Nov 2021 06:56:38 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:33feef55-c612-4462-876b-89cc82eea0f7</guid><dc:creator>Nppn7</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;I could do it the following way:&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="text"&gt;
nrfutil pkg generate --sd-req 0x00 --hw-version 52 --application-version 1 --application out.hex --key-file priv.pem package.zip&lt;/pre&gt;&lt;/p&gt;
&lt;p&gt;As described in the documentation&amp;nbsp;&lt;a href="https://infocenter.nordicsemi.com/index.jsp?topic=%2Fsdk_nrf5_v16.0.0%2Flib_bootloader_dfu_validation.html&amp;amp;anchor=lib_dfu_image"&gt;https://infocenter.nordicsemi.com/index.jsp?topic=%2Fsdk_nrf5_v16.0.0%2Flib_bootloader_dfu_validation.html&amp;amp;anchor=lib_dfu_image&lt;/a&gt; in the chapter &amp;quot;Updates without a SoftDevice&amp;quot;.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>