<?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>OTA DFU Softdevice 3.1.0 -&amp;gt; 7.0.1 is feasible?</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/95590/ota-dfu-softdevice-3-1-0---7-0-1-is-feasible</link><description>Hi! 
 We have some legacy IoT devices currently running with s132 3.1.0 softdevice (yes... very old). We would like to push a major update of the fleet, with our latest firmware running on s132 7.0.1 
 The DFU OTA is partially working: the first step</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Wed, 25 Jan 2023 15:44:50 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/95590/ota-dfu-softdevice-3-1-0---7-0-1-is-feasible" /><item><title>RE: OTA DFU Softdevice 3.1.0 -&gt; 7.0.1 is feasible?</title><link>https://devzone.nordicsemi.com/thread/406515?ContentTypeID=1</link><pubDate>Wed, 25 Jan 2023 15:44:50 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:eed765bf-dcbb-4d96-ad06-098c251d99f8</guid><dc:creator>Daino</dc:creator><description>&lt;p&gt;Thank you very much Vidar!&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: OTA DFU Softdevice 3.1.0 -&gt; 7.0.1 is feasible?</title><link>https://devzone.nordicsemi.com/thread/405956?ContentTypeID=1</link><pubDate>Mon, 23 Jan 2023 07:44:21 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:1c021718-32ab-4628-a979-5ab472fa63d3</guid><dc:creator>Vidar Berg</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;I am glad to hear that you found the issue &lt;span class="emoticon" data-url="https://devzone.nordicsemi.com/cfs-file/__key/system/emoji/1f642.svg" title="Slight smile"&gt;&amp;#x1f642;&lt;/span&gt;&amp;nbsp;The problem&amp;nbsp;with commenting out the line you mentioned is that you not only skip the CRC checksum validation, but also the .bank_code check here:&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/pastedimage1674459146846v1.png" alt=" " /&gt;&lt;/p&gt;
&lt;p&gt;This explains why the bootloader attempted to boot the application before it had been uploaded.&lt;/p&gt;
&lt;p&gt;To correctly&amp;nbsp;disable CRC validation, you can use the &amp;#39;--app-boot-validation NO_VALIDATION&amp;#39; option when you generate&amp;nbsp;your Bootloader settings page&amp;nbsp;and DFU package with nrfutil.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;From the nrfutil help menus:&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="text"&gt;$ nrfutil pkg generate --help

Usage: nrfutil pkg generate [OPTIONS] ZIPFILE

  Generate a zip package for distribution to apps that support Nordic DFU OTA.
  The application, bootloader, and SoftDevice files are converted to .bin if
  supplied as .hex files. For more information on the generated package, see:
  http://developer.nordicsemi.com/nRF5_SDK/doc/
...

  --app-boot-validation [NO_VALIDATION|VALIDATE_GENERATED_CRC|VALIDATE_GENERATED_SHA256|VALIDATE_ECDSA_P256_SHA256]
                                  The method of boot validation for
                                  application.
                                  
$ nrfutil settings generate --help
Usage: nrfutil settings generate [OPTIONS] HEX_FILE

...

  --app-boot-validation [NO_VALIDATION|VALIDATE_GENERATED_CRC|VALIDATE_GENERATED_SHA256|VALIDATE_ECDSA_P256_SHA256]
                                  The method of boot validation for
                                  application.
&lt;/pre&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: OTA DFU Softdevice 3.1.0 -&gt; 7.0.1 is feasible?</title><link>https://devzone.nordicsemi.com/thread/405896?ContentTypeID=1</link><pubDate>Fri, 20 Jan 2023 16:43:21 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:4bb3683e-938c-46d0-9c3b-0a802e91afe4</guid><dc:creator>Daino</dc:creator><description>&lt;p&gt;Hi Vidar,&lt;/p&gt;
&lt;p&gt;running the code step-by-step it looks like the DFU executes successfully.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;From my limited understanding it seems like the DFU finds a valid application and tries to run it. Then probably the application fails because it does not find the good SD.&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;EDIT:&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;Deep diving why the app was executed, we found out that the line&lt;/p&gt;
&lt;p&gt;&lt;em&gt;if (!app_is_valid(crc_on_valid_app_required())) &lt;/em&gt;inside&lt;em&gt; dfu_enter_check()&lt;/em&gt;&lt;/p&gt;
&lt;p&gt;was commented out, to speed up the startup and save energy (our application runs with a very low duty cycle and every millisecond counts to reach year-long battery life)... So basically the app CRC is&amp;nbsp;never verified by the DFU.&amp;nbsp;This allows the unexpected execution of the old app just after the DFU/SD update.&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;The good news: bringing back the CRC control, the OTA update is now successfully completed&amp;nbsp;&lt;span class="emoticon" data-url="https://devzone.nordicsemi.com/cfs-file/__key/system/emoji/1f642.svg" title="Slight smile"&gt;&amp;#x1f642;&lt;/span&gt;Thank you for your support all along the way!&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;Just as a closing note: do you see any viable alternative to bringing back the full CRC calculation in the DFU? We would really like to&amp;nbsp;keep the boot-up as fast as possible.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: OTA DFU Softdevice 3.1.0 -&gt; 7.0.1 is feasible?</title><link>https://devzone.nordicsemi.com/thread/405725?ContentTypeID=1</link><pubDate>Thu, 19 Jan 2023 16:14:25 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:55c35535-dd77-462d-9ffb-374364569b7e</guid><dc:creator>Vidar Berg</dc:creator><description>&lt;p&gt;Could you try to start a debug session with the new bootloader project after the failed DFU attempt to see if you can figure out when hardfault is raised or why it does not enter DFU mode? I did go through the &lt;a href="https://devzone.nordicsemi.com/cfs-file/__key/communityserver-discussions-components-files/4/0083.post_2D00_DFU_2D00_full.txt"&gt;post-DFU-full.txt&lt;/a&gt;&amp;nbsp;file again&amp;nbsp;and compared it against&amp;nbsp;&lt;a href="https://devzone.nordicsemi.com/cfs-file/__key/communityserver-discussions-components-files/4/8510.REFLASHED.txt"&gt;REFLASHED.txt&lt;/a&gt;&amp;nbsp;but&amp;nbsp;nothing appears to be out of the ordinary.&amp;nbsp;&lt;/p&gt;
[quote user="Daino"]Also the memory just before the application (0x258C0 - 0x25FFF) is not 0xFF in the post-DFU one,&amp;nbsp;which seems a little bit weird to me (I don&amp;#39;t know what this data is...)[/quote]
&lt;p&gt;I understand this looks suspicious, but it is just&amp;nbsp;a padding area reserved by the Softdevice which has not been cleaned up by the bootloader.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;The padding ensures the application starts on page aligned address (0x1000) and that we can make minor bug fix releases without changing the image size.&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: OTA DFU Softdevice 3.1.0 -&gt; 7.0.1 is feasible?</title><link>https://devzone.nordicsemi.com/thread/405440?ContentTypeID=1</link><pubDate>Wed, 18 Jan 2023 10:56:52 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:926e9a2f-cf3e-442d-99ba-0da5b3582c64</guid><dc:creator>Daino</dc:creator><description>&lt;p&gt;Here the dump from the same device updated with the programmer.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;SD and BL looks identical. MBR and Application are different. Also some minor differences in the MBR param area and BL param area (0x7E000/0x7F000).&lt;/p&gt;
&lt;p&gt;Also the memory just before the application (0x258C0 - 0x25FFF) is not 0xFF in the post-DFU one,&amp;nbsp;which seems a little bit weird to me (I don&amp;#39;t know what this data is...)&lt;/p&gt;
&lt;p&gt;What do you think? Thank you!&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: OTA DFU Softdevice 3.1.0 -&gt; 7.0.1 is feasible?</title><link>https://devzone.nordicsemi.com/thread/405255?ContentTypeID=1</link><pubDate>Tue, 17 Jan 2023 13:04:10 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:04d654eb-6359-4c9d-a832-91270ba783ff</guid><dc:creator>Vidar Berg</dc:creator><description>&lt;p&gt;Hello,&lt;/p&gt;
&lt;p&gt;I do not see anything that is obviously wrong in your memory dump.&amp;nbsp;But the value @ 0x26000 is suspiciously&amp;nbsp;close to the corrupt stack pointer value shown in your register readout earlier.&amp;nbsp;Maybe the bootloader is trying to boot the application before it has been uploaded.&lt;/p&gt;
&lt;p&gt;I tried to perform a complete DFU&amp;nbsp;from nRF5 SDK 12.3.0/s132 v3.0.0 to nRF5 16.0.0/s132 v.7.0.1 with the original bootloader projects here to see if I could reproduce, but I could not.&lt;/p&gt;
&lt;p&gt;Could&amp;nbsp;you also do a &amp;#39;memrd&amp;#39; after having programmed the new FW with the programmer, and then compare that to&amp;nbsp;&lt;a href="https://devzone.nordicsemi.com/cfs-file/__key/communityserver-discussions-components-files/4/4075.post_2D00_DFU_2D00_full.txt"&gt;post-DFU-full.txt&lt;/a&gt;?&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&lt;a href="https://devzone.nordicsemi.com/cfs-file/__key/communityserver-discussions-components-files/4/7282.dfu_5F00_sdk_5F00_12.3.0_5F00_SDK_5F00_16.0.0.zip"&gt;devzone.nordicsemi.com/.../7282.dfu_5F00_sdk_5F00_12.3.0_5F00_SDK_5F00_16.0.0.zip&lt;/a&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: OTA DFU Softdevice 3.1.0 -&gt; 7.0.1 is feasible?</title><link>https://devzone.nordicsemi.com/thread/404779?ContentTypeID=1</link><pubDate>Fri, 13 Jan 2023 11:30:09 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:9ad66f2c-1e65-41ac-b79c-72340f4dde92</guid><dc:creator>Daino</dc:creator><description>&lt;p&gt;Thank you Vidar,&lt;/p&gt;
&lt;p&gt;here it is&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: OTA DFU Softdevice 3.1.0 -&gt; 7.0.1 is feasible?</title><link>https://devzone.nordicsemi.com/thread/404756?ContentTypeID=1</link><pubDate>Fri, 13 Jan 2023 10:03:08 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:1db08d99-9f5a-46ab-a95a-6e07ca11b610</guid><dc:creator>Vidar Berg</dc:creator><description>&lt;p&gt;Yes, this answers my question. Thanks. The key thing here is that the .vectors section&amp;nbsp;is linked to the same&amp;nbsp;start address in both builds.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;After the failed DFU, can you please run &amp;#39;nrfjprog --memrd 0x0 --n 0x80000 &amp;gt; flash.txt and upload the output here?&amp;nbsp;Or the data between 0x78000 - 0x78400 if you are not able to share everything here in a public ticket.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: OTA DFU Softdevice 3.1.0 -&gt; 7.0.1 is feasible?</title><link>https://devzone.nordicsemi.com/thread/404742?ContentTypeID=1</link><pubDate>Fri, 13 Jan 2023 09:09:34 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:a80721ea-df94-4373-a2e1-1c546cee931f</guid><dc:creator>Daino</dc:creator><description>&lt;p&gt;Hi Vidar,&lt;/p&gt;
&lt;p&gt;Dumping the UICR from the legacy HW I read this:&lt;/p&gt;
&lt;p&gt;&lt;span style="color:#993366;"&gt;:020000041000EA&lt;/span&gt;&lt;br /&gt;&lt;span style="color:#993366;"&gt;:10100000FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF0&lt;/span&gt;&lt;br /&gt;&lt;span style="color:#993366;"&gt;:10101000FFFFFFFF0080070000E00700FFFFFFFF6A&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;As far I can tell this mean a bootloader address at 0x78000. Which matches the linker address FLASH_START=0x78000 in the DFU project (and output hex) of the newer FW.&lt;/p&gt;
&lt;p&gt;Is this answering your question or am I missing something?&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;The only difference that I see is the .init section that happens to be in 0x78400 in the legacy FW, and 0x78200 in the new one (.vectors, on the other side, are well aligned on both at 0x78000).&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: OTA DFU Softdevice 3.1.0 -&gt; 7.0.1 is feasible?</title><link>https://devzone.nordicsemi.com/thread/404525?ContentTypeID=1</link><pubDate>Thu, 12 Jan 2023 11:02:59 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:2bc2ebe3-4b3d-4342-ba06-2ac7a0e2ec96</guid><dc:creator>Vidar Berg</dc:creator><description>&lt;p&gt;Sorry, I was not clear. The UICR will not be updated during a DFU. What I am wondering is if the bootloader start address stored at 0x10001014 is identical to the start address you built your new bootloader with. As you may know, it is not possible to relocate the bootloader through DFU.&lt;/p&gt;
&lt;p&gt;Bank code 0xAC corresponds to&amp;nbsp;NRF_DFU_BANK_VALID_SD_BL, which is to be expected if the bootloader crashed after the SD+BL transfer was completed.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: OTA DFU Softdevice 3.1.0 -&gt; 7.0.1 is feasible?</title><link>https://devzone.nordicsemi.com/thread/404400?ContentTypeID=1</link><pubDate>Wed, 11 Jan 2023 16:00:47 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:8d01a9b8-7eb1-4ebc-bbbb-5365c346b3b9</guid><dc:creator>Daino</dc:creator><description>&lt;p&gt;UICR is not changed. Here the hex diff of the memory dump pre and post-DFU procedure, value is the same (aka 0x78000 / 0x7E000 as expected).&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&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/dfu3.PNG" alt=" " /&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Also, I don&amp;#39;t know if it helps, but there is a weird value on the Bank0 Code (0xAC):&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&lt;em&gt;$ nrfutil settings display&amp;nbsp;DUMP_DFU.hex&lt;/em&gt;&lt;/p&gt;
&lt;p&gt;&lt;em&gt;Bootloader DFU Settings:&lt;/em&gt;&lt;/p&gt;
&lt;p&gt;&lt;em&gt;* File:&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; DUMP_DFU.hex&lt;/em&gt;&lt;/p&gt;
&lt;p&gt;&lt;em&gt;* Family:&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; nRF52&lt;/em&gt;&lt;/p&gt;
&lt;p&gt;&lt;em&gt;* Start Address:&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 0x00000000&lt;/em&gt;&lt;/p&gt;
&lt;p&gt;&lt;em&gt;* CRC:&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 0xA516844A&lt;/em&gt;&lt;/p&gt;
&lt;p&gt;&lt;em&gt;* Settings Version:&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 0x00000002 (2)&lt;/em&gt;&lt;/p&gt;
&lt;p&gt;&lt;em&gt;* App Version:&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 0x00000001 (1)&lt;/em&gt;&lt;/p&gt;
&lt;p&gt;&lt;em&gt;* Bootloader Version:&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 0x0000012C (300)&lt;/em&gt;&lt;/p&gt;
&lt;p&gt;&lt;em&gt;* Bank Layout:&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 0x00000001&lt;/em&gt;&lt;/p&gt;
&lt;p&gt;&lt;em&gt;* Current Bank:&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 0x00000000&lt;/em&gt;&lt;/p&gt;
&lt;p&gt;&lt;em&gt;* Application Size:&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 0x0002A388 (172936 bytes)&lt;/em&gt;&lt;/p&gt;
&lt;p&gt;&lt;em&gt;* Application CRC:&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 0x1921E29E&lt;/em&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="color:#ff00ff;"&gt;&lt;em&gt;* Bank0 Bank Code:&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 0x000000AC&lt;/em&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;em&gt;* Softdevice Size:&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 0x000248C0 (149696 bytes)&lt;/em&gt;&lt;/p&gt;
&lt;p&gt;&lt;em&gt;* Boot Validation CRC:&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 0xE3E24184&lt;/em&gt;&lt;/p&gt;
&lt;p&gt;&lt;em&gt;* SD Boot Validation Type:&amp;nbsp; 0x00000000 (0)&lt;/em&gt;&lt;/p&gt;
&lt;p&gt;&lt;em&gt;* App Boot Validation Type: 0x00000001 (1)&lt;/em&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: OTA DFU Softdevice 3.1.0 -&gt; 7.0.1 is feasible?</title><link>https://devzone.nordicsemi.com/thread/404395?ContentTypeID=1</link><pubDate>Wed, 11 Jan 2023 15:51:02 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:bfa07099-e9cc-4dd0-9201-ccb10715bdf2</guid><dc:creator>Vidar Berg</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;Thanks. The CPU registers show that the program has entered a hardfault exception. Have you checked if the Bootloader start address is the same in the new and old bootloader (address is stored at 0x10001014 in UICR)&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: OTA DFU Softdevice 3.1.0 -&gt; 7.0.1 is feasible?</title><link>https://devzone.nordicsemi.com/thread/404389?ContentTypeID=1</link><pubDate>Wed, 11 Jan 2023 15:32:03 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:8cb07ab2-bb86-496c-a5b6-e80bcb51149a</guid><dc:creator>Daino</dc:creator><description>&lt;p&gt;Hi Vidar,&lt;/p&gt;
&lt;p&gt;Nothing is advertising.&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;$ nrfjprog.exe -f NRF52 --readregs&lt;/strong&gt;&lt;br /&gt;R0: 0x00000004&lt;br /&gt;R1: 0xFFFFFFF9&lt;br /&gt;R2: 0x20000004&lt;br /&gt;R3: 0x000251CB&lt;br /&gt;R4: 0x00001000&lt;br /&gt;R5: 0x0007E080&lt;br /&gt;R6: 0x0007E000&lt;br /&gt;R7: 0x00000000&lt;br /&gt;R8: 0x00000000&lt;br /&gt;R9: 0x00000000&lt;br /&gt;R10: 0x00000000&lt;br /&gt;R11: 0x00000000&lt;br /&gt;R12: 0x0007E37F&lt;br /&gt;SP: 0x2F00E830&lt;br /&gt;LR: 0xFFFFFFF9&lt;br /&gt;PC: 0x000251D8&lt;br /&gt;xPSR: 0x61000003&lt;br /&gt;MSP: 0x2F00E830&lt;br /&gt;PSP: 0x00000000&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;I&amp;#39;ve also dumped the memory with&amp;nbsp;&lt;strong&gt;nrfjprog.exe -f NRF52 --readcode --readuicr DUMP_AFTER_DFU.hex&lt;/strong&gt; and I see big chuncks of memory that match what we should expect, in particular after 0x1000 (SD) and 0x78000 (BL), so I might assume that the SD+BL transfer went well.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: OTA DFU Softdevice 3.1.0 -&gt; 7.0.1 is feasible?</title><link>https://devzone.nordicsemi.com/thread/404376?ContentTypeID=1</link><pubDate>Wed, 11 Jan 2023 14:51:29 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:ec239af0-0f3b-41be-bf44-2203934f7699</guid><dc:creator>Vidar Berg</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;It should be possible to update the Softdevice from this version. The bootloader will change the flash layout dynamically to accomodate for the larger softdevice size.&lt;/p&gt;
&lt;p&gt;After the connection times out, can you try to start a scan and see if the device is advertising in DFU mode (as &amp;quot;DFUTarg&amp;quot; or similiar)? Alternatively, connect a debugger to your device and run &amp;quot;nrfjprog --readregs&amp;quot;. This will read out the CPU registers from the chip, which may help us determine what state it is in.&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Vidar&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>