<?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>MCUBoot: nRF5340 device stuck and not responding until power cycle.</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/105965/mcuboot-nrf5340-device-stuck-and-not-responding-until-power-cycle</link><description>Dear Nordic Expert, 
 We are using NCS v2.4.1 on our custom designed nRF5340 board. We have MCUBoot based bootloader which will update app core and net core image of nRF5340 device. 
 I have seen error like nRF5340 device stuck and not responding to any</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Fri, 29 Dec 2023 14:53:54 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/105965/mcuboot-nrf5340-device-stuck-and-not-responding-until-power-cycle" /><item><title>RE: MCUBoot: nRF5340 device stuck and not responding until power cycle.</title><link>https://devzone.nordicsemi.com/thread/462115?ContentTypeID=1</link><pubDate>Fri, 29 Dec 2023 14:53:54 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:55f84701-880e-49c5-ab7a-3d810bdc23e1</guid><dc:creator>Sigurd Hellesvik</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;I will continue helping with this.&lt;/p&gt;
&lt;p&gt;My first thought is this: A general workaround/fix to this issue would be to enable the Watchdog. The Watchdog makes sure to reset the chip if it ever gets stuck on anything. That will not only fix this issue, but also makes sure that if your app ever reaches an unexpected deadlock of any other reason, it will reboot.&lt;/p&gt;
&lt;p&gt;For the specific OTA issue: When you say the the nRF5340 becomes unresponsive, what exactly do you mean? For example: if you have a &amp;quot;heartbeat LED&amp;quot; blinking, will it stop?&lt;/p&gt;
&lt;p&gt;Regards,&lt;br /&gt;Sigurd Hellesvik&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: MCUBoot: nRF5340 device stuck and not responding until power cycle.</title><link>https://devzone.nordicsemi.com/thread/461675?ContentTypeID=1</link><pubDate>Tue, 26 Dec 2023 06:29:36 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:c13771f9-449a-4320-8902-d179fbe7283c</guid><dc:creator>Kaushik Parsana</dc:creator><description>&lt;p&gt;Hello,&lt;/p&gt;
&lt;p&gt;Any update on above query?&lt;/p&gt;
&lt;p&gt;Thanks&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Kaushik&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: MCUBoot: nRF5340 device stuck and not responding until power cycle.</title><link>https://devzone.nordicsemi.com/thread/460816?ContentTypeID=1</link><pubDate>Mon, 18 Dec 2023 13:05:58 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:266cbbc1-8b4e-4f3a-bf7e-a29af434983e</guid><dc:creator>Kaushik Parsana</dc:creator><description>&lt;p&gt;Hi Joakim,&lt;/p&gt;
&lt;p&gt;Issue was reproduced again after 60 OTA cycle performed; you can see that at last (on below debug logs) nRF5340 device stuck and not able to bootup on new image and looks like it was stuck inside the MCUBoot code.&lt;/p&gt;
&lt;p&gt;Please check and provide your valuable feedback or (workaround for now) on it.&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;Note: after power reset it recover and MCUBoot also switch to newly transferred firmware images (app core and net core).&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="text"&gt;=~=~=~=~=~=~=~=~=~=~=~= PuTTY log 2023.12.05 17:19:36 =~=~=~=~=~=~=~=~=~=~=~=
I: 116051 [DL]DFU-BLE-Connected
I: BLE Connected
Swap type: none
I: 116359 [DL]DFU Image upload started
I: Current OTA Stage = 12
I: 206290 [DL]Image 1 download completed successfully
I: 206315 [DL]DFU-BLE-Disconnected : 19
E: Sending UART cmd st 0
I: BLE Name set: HU:2F29 errCode: 0
I: 206328 [SWU]SMP BLE advertising started
I: 206332 [DL]DFU over SMP started
I: BLE Disconnected: 13
I: 240744 [DL]DFU-BLE-Connected
I: BLE Connected
I: 259633 [DL]DFU Image upload started
I: Current OTA Stage = 13
I: 499541 [DL]Image 2 download completed successfully
I: Current OTA Stage = 14
I: 499573 [DL]DFU-BLE-Disconnected : 19
E: Sending UART cmd st 0
I: BLE Name set: HU:2F29 errCode: 0
I: 499586 [SWU]SMP BLE advertising started
I: 499589 [DL]DFU over SMP started
I: BLE Disconnected: 13
I: 519278 [DL]DFU-BLE-Connected
I: BLE Connected
Swap type: none
Swap type: none
Swap type: none
I: 519597 [DL]DFU-BLE-Disconnected : 19
E: Sending UART cmd st 0
I: BLE Name set: HU:2F29 errCode: 0
I: 519610 [SWU]SMP BLE advertising started
I: 519615 [DL]DFU over SMP started
I: BLE Disconnected: 13
I: 535927 [DL]DFU-BLE-Connected
I: BLE Connected
E: img_mgmt_find_by_hash Return i=1
E: cb cb
E: 96 96
E: 29 29
E: f f
E: d9 d9
E: a a
E: b7 b7
E: b b
E: 3e 3e
E: a1 a1
E: 45 45
E: aa aa
E: 46 46
E: 56 56
E: 19 19
E: 5d 5d
E: be be
E: 6e 6e
E: 4b 4b
E: eb eb
E: 7c 7c
E: e0 e0
E: bf bf
E: f0 f0
E: f4 f4
E: b8 b8
E: 18 18
E: e8 e8
E: 92 92
E: 53 53
E: 2 2
E: 82 82
E: img_mgmt_find_by_hash slot = 1, confirm = 1
E: area_id = 2, active = 0
E: Success 1
E: Success 2
writing magic; fa_id=2 off=0xeeff0 (0xeeff0)
writing image_ok; fa_id=2 off=0xeefe8 (0xeefe8)
writing swap_info; fa_id=2 off=0xeefd8 (0xeefd8), swap_type=0x3 image_num=0x0
E: Success 3
E: *** rc = 0 ***
E: img_mgmt_set_boot_next rc = 0
Swap type: perm
Swap type: perm
Swap type: none
E: img_mgmt_state_read rc = 0
I: 536300 [DL]DFU-BLE-Disconnected : 19
E: Sending UART cmd st 0
I: BLE Name set: HU:2F29 errCode: 0
I: 536313 [SWU]SMP BLE advertising started
I: 536316 [DL]DFU over SMP started
I: BLE Disconnected: 13
I: 573528 [DL]DFU-BLE-Connected
I: BLE Connected
E: img_mgmt_find_by_hash Continue
E: img_mgmt_find_by_hash Return i=3
E: 19 19
E: 64 64
E: b b
E: b1 b1
E: 5e 5e
E: dc dc
E: e6 e6
E: 77 77
E: 8c 8c
E: ef ef
E: 69 69
E: 20 20
E: 5f 5f
E: ae ae
E: 54 54
E: 61 61
E: a3 a3
E: 99 99
E: ff ff
E: 7c 7c
E: 4d 4d
E: 65 65
E: f3 f3
E: 4c 4c
E: 53 53
E: 6c 6c
E: 37 37
E: 88 88
E: 2f 2f
E: e1 e1
E: 39 39
E: 7e 7e
E: img_mgmt_find_by_hash slot = 3, confirm = 1
E: area_id = 8, active = 0
E: Success 1
E: Success 2
writing magic; fa_id=8 off=0x3fff0 (0x12eff0)
writing image_ok; fa_id=8 off=0x3ffe8 (0x12efe8)
writing swap_info; fa_id=8 off=0x3ffd8 (0x12efd8), swap_type=0x3 image_num=0x0
E: Success 3
E: *** rc = 0 ***
E: img_mgmt_set_boot_next rc = 0
Swap type: perm
Swap type: perm
Swap type: perm
E: img_mgmt_state_read rc = 0
I: 573912 [DL]DFU-BLE-Disconnected : 19
E: Sending UART cmd st 0
I: BLE Name set: HU:2F29 errCode: 0
I: 573924 [SWU]SMP BLE advertising started
I: 573928 [DL]DFU over SMP started
I: BLE Disconnected: 13
I: 606057 [DL]DFU-BLE-Connected
I: BLE Connected
in os_mgmt_reset
in os_mgmt_reset, Timer Register
I: 606334 [DL]DFU-BLE-Disconnected : 19
E: Sending UART cmd st 0
I: BLE Name set: HU:2F29 errCode: 0
I: 606347 [SWU]SMP BLE advertising started
I: 606350 [DL]DFU over SMP started
I: BLE Disconnected: 13
in os_mgmt_reset_cb
os_mgmt_reset_work_handler: System Rebooted
*** Booting Zephyr OS build v3.3.99-ncs1-1 ***
Starting bootloader
Swap type: perm
Swap type: perm
writing magic; fa_id=4 off=0xeeff0 (0xf6ff0)
writing magic; fa_id=1 off=0x3fff0 (0x3fff0)
Bootloader chainload address offset: 0x8000
Jumping to the first image slot
Start Do_Boot


uart:~$ *** Booting Zephyr OS build v3.3.99-ncs1-1 ***
I: KWIKSET HALO 3 VERSION: 00.03.01.00
I: Init CHIP stack
I: 159 [DL]BLE address: E6:B8:59:F1:3F:00
I: Board config kwiksetmdb_nrf5340_cpuapp
I: IMAGE_VERSION 0.3.1+0
I: build time: Nov 30 2023 17:44:53
E: ====    Matter FW Ver: 0.3.1    ====
I: 198 [DL]OpenThread SED interval is 1000ms
I: 206 [DL]OpenThread started: OK
I: 209 [DL]Setting OpenThread device type to SLEEPY END DEVICE
I: 216 [SWU]DFU_BLEAdvertising_Init 
Swap type: none
I: 223 [SVR]Subscription persistence not supported
I: 228 [SVR]Server initializing...
I: 233 [TS]Last Known Good Time: 2023-11-30T17:43:12
I: 239 [DMG]AccessControl: initializing
I: 242 [DMG]Examples::AccessControlDelegate::Init
I: 248 [DMG]AccessControl: setting
I: 251 [DMG]DefaultAclStorage: initializing
I: 255 [DMG]DefaultAclStorage: 0 entries loaded
D: 260 [IN]UDP::Init bind&amp;amp;listen port=5540
E: 266 [IN]SO_REUSEPORT failed: 109
D: 269 [IN]UDP::Init bound to port=5540
D: 273 [IN]BLEBase::Init - setting/overriding transport
D: 279 [IN]TransportMgr initialized
D: 286 [DL]Using Thread extended MAC for hostname.
I: 292 [ZCL]Using ZAP configuration...
I: 299 [DMG]AccessControlCluster: initializing
D: 303 [DL]Boot reason: 6
I: 306 [ZCL]Initiating Admin Commissioning cluster.
I: 311 [ZCL]Door Lock server initialized
I: 316 [ZCL]Door Lock cluster initialized at endpoint #1
I: 323 [DIS]Updating services using commissioning mode 0
E: 329 [DIS]Failed to remove advertised services: 3
D: 334 [DL]Using Thread extended MAC for hostname.
I: 340 [DIS]Advertise commission parameter vendorID=65521 productID=32774 discriminator=3840/15 cm=0
E: 348 [DIS]Failed to advertise extended commissionable node: 3
D: 355 [DIS]Scheduling extended discovery timeout in 900s
E: 362 [DIS]Failed to finalize service update: 3
I: 367 [DIS]Delaying proxy of operational discovery: missing delegate
I: 375 [IN]CASE Server enabling CASE session setups
D: 381 [IN]SecureSession[0x200049f0]: Allocated Type:2 LSID:7910
I: 386 [SVR]Joining Multicast groups
I: 391 [SVR]Server Listening...
I: 395 [DL]Device Configuration:
I: 398 [DL]  Serial Number: 11223344556677889900
I: 403 [DL]  Vendor Id: 65521 (0xFFF1)
I: 407 [DL]  Product Id: 32774 (0x8006)
I: 411 [DL]  Product Name: not-specified
I: 415 [DL]  Hardware Version: 0
I: 419 [DL]  Setup Pin Code (0 for UNKNOWN/ERROR): 20202021
I: 425 [DL]  Setup Discriminator (0xFFFF for UNKNOWN/ERROR): 3840 (0xF00)
I: 433 [DL]  Manufacturing Date: 2022-01-01
I: 438 [DL]  Device Type: 65535 (0xFFFF)
I: 442 [SVR]SetupQRCode: [MT:8IXS142C00KA0648G00]
I: 447 [SVR]Copy/paste the below URL in a browser to see the QR Code:
I: 453 [SVR]https://project-chip.github.io/connectedhomeip/qrcode.html?data=MT%3A8IXS142C00KA0648G00
I: 465 [SVR]Manual pairing code: [34970112332]
I: 474 [DL]CHIP task running
I: 477 [DIS]Updating services using commissioning mode 0
E: 483 [DIS]Failed to remove advertised services: 3
D: 489 [DL]Using Thread extended MAC for hostname.
I: 494 [DIS]Advertise commission parameter vendorID=65521 productID=32774 discriminator=3840/15 cm=0
E: 503 [DIS]Failed to advertise extended commissionable node: 3
E: 510 [DIS]Failed to finalize service update: 3
I: FW Ver: 0.3.1+0; version: 00030100
I: Device has NOT gone through provisioning
I: network state 0
E: Sending UART cmd st 0
I: BLE Device ID: 2f29
I: Current OTA Stage = 10
I: dfu_header_data.image_count: 2
E: Sending UART cmd st 0
I: BLE Name set: HU:2F29 errCode: 0
I: 15701 [SWU]SMP BLE advertising started
I: 15705 [DL]DFU over SMP started
I: IMG Integrity Verified Successfully: 0
I: IMG Integrity Verified Successfully: 1
I: Current OTA Stage = 16
I: OTA device_id = 5 : DISCOVERY_REQ
I: SECURE_STM : DISCOVERY_REQ
I: OTA device_id = 5 : FW_VERSION_REQ
I: Secure STM Firmware Version: 2 0 1 1
I: OTA device_id = 5 : FW_UPDATE_START_REQ
I: SECURE_STM : IB_FW_UPDATE_START_REQUEST
I: STM OTA Progress = 10
I: STM OTA Progress = 20
I: STM OTA Progress = 30
I: STM OTA Progress = 40
I: STM OTA Progress = 50
I: STM OTA Progress = 60
I: STM OTA Progress = 70
I: STM OTA Progress = 80
I: STM OTA Progress = 90
I: STM OTA Progress = 100
I: OTA device_id = 5 : FW_UPDATE_REBOOT_REQ
I: SECURE_STM : REBOOT_COMMAND
I: STM Rebooted, MCUBoot Verifying Image
I: OTA device_id = 5 : FW_VERSION_REQ
I: Secure STM Firmware Version: 2 0 1 2
I: OTA device_id = 5 : FW_UPDATE_COMPLETE_REQ
I: SECURE_STM : IB_FW_UPDATE_COMPLETE_REQUEST
I: OTA device_id = 5 : FW_UPDATE_REBOOT_REQ
I: SECURE_STM : REBOOT_COMMAND
I: STM Rebooted, MCUBoot Confirming Image
I: OTA device_id = 5 : FW_VERSION_REQ
I: Secure STM Firmware Version: 2 0 1 2
I: STM Secure OTA Successful
I: Clear STM OTA Meta Data
I: Current OTA Stage = 17
I: Redpine OTA started
I: Current OTA Stage = 18
I: OTA device_id = 4 : DISCOVERY_REQ
I: STM_QSPI : IB_DEVICE_DISCOVERY_REQUEST
I: OTA device_id = 4 : FW_VERSION_REQ
I: STM_QSPI : IB_FW_VERSION_REQUEST
I: Redpine Firmware Version: 2.1.255.191
I: OTA device_id = 4 : FW_UPDATE_START_REQ
I: STM_QSPI : IB_FW_UPDATE_START_REQUEST
I: Redpine Image Stored into STM QSPI, Progress = 10
I: Redpine Image Stored into STM QSPI, Progress = 20
I: Redpine Image Stored into STM QSPI, Progress = 30
I: Redpine Image Stored into STM QSPI, Progress = 40
I: Redpine Image Stored into STM QSPI, Progress = 50
I: Redpine Image Stored into STM QSPI, Progress = 60
I: Redpine Image Stored into STM QSPI, Progress = 70
I: Redpine Image Stored into STM QSPI, Progress = 80
I: Redpine Image Stored into STM QSPI, Progress = 90
I: Redpine Image Stored into STM QSPI, Progress = 100
I: OTA device_id = 4 : FW_UPDATE_COMPLETE_REQ
I: STM_QSPI : IB_FW_UPDATE_COMPLETE_REQUEST
I: STM_QSPI : STM QSPI to Redpine SPI Image Transfer Ongoing (0)
I: STM_QSPI : STM QSPI to Redpine SPI Image Transfer Ongoing (10)
I: STM_QSPI : STM QSPI to Redpine SPI Image Transfer Ongoing (20)
I: STM_QSPI : STM QSPI to Redpine SPI Image Transfer Ongoing (30)
I: STM_QSPI : STM QSPI to Redpine SPI Image Transfer Ongoing (40)
I: STM_QSPI : STM QSPI to Redpine SPI Image Transfer Ongoing (50)
I: STM_QSPI : STM QSPI to Redpine SPI Image Transfer Ongoing (60)
I: STM_QSPI : STM QSPI to Redpine SPI Image Transfer Ongoing (70)
I: STM_QSPI : STM QSPI to Redpine SPI Image Transfer Ongoing (80)
I: STM_QSPI : STM QSPI to Redpine SPI Image Transfer Ongoing (90)
I: STM_QSPI : STM QSPI to Redpine SPI Image Transfer Ongoing (100)
I: STM_QSPI : IB_FW_UPDATE_REBOOT_REQUEST
I: Clear Redpine OTA Meta Data
I: Current OTA Stage = 24
I: Start to Erase OTA Bundle Image from External Flash
I: Erasing bundle from nRF Ext. Flash
I: Bundle Image Erased from nRF Ext. Flash: 0
I: Current OTA Stage = 25
I: FW Ver: 0.3.1+0; version: 00030100
I: 598550 [DL]DFU-BLE-Connected
I: BLE Connected
Swap type: none
I: 598822 [DL]DFU-BLE-Disconnected : 19
E: Sending UART cmd st 0
I: BLE Name set: HU:2F29 errCode: 0
I: 598834 [SWU]SMP BLE advertising started
I: 598838 [DL]DFU over SMP started
I: BLE Disconnected: 13
I: 616181 [DL]DFU-BLE-Connected
I: BLE Connected
I: 616462 [DL]DFU Image upload started
I: Current OTA Stage = 11
I: 629622 [DL]Image 0 download completed successfully
I: 629650 [DL]DFU-BLE-Disconnected : 19
E: Sending UART cmd st 0
I: BLE Name set: HU:2F29 errCode: 0
I: 629663 [SWU]SMP BLE advertising started
I: 629667 [DL]DFU over SMP started
I: BLE Disconnected: 13
I: 679681 [DL]DFU-BLE-Connected
I: BLE Connected
Swap type: none
I: 679971 [DL]DFU Image upload started
I: Current OTA Stage = 12
I: 770245 [DL]Image 1 download completed successfully
I: 770270 [DL]DFU-BLE-Disconnected : 19
E: Sending UART cmd st 0
I: BLE Name set: HU:2F29 errCode: 0
I: 770282 [SWU]SMP BLE advertising started
I: 770286 [DL]DFU over SMP started
I: BLE Disconnected: 13
I: 805003 [DL]DFU-BLE-Connected
I: BLE Connected
I: 823885 [DL]DFU Image upload started
D: 900361 [DIS]Extended discovery timed out
I: 900365 [DIS]Updating services using commissioning mode 0
E: 900374 [DIS]Failed to remove advertised services: 3
E: 900381 [DIS]Failed to finalize service update: 3
I: Current OTA Stage = 13
I: 1065621 [DL]Image 2 download completed successfully
I: Current OTA Stage = 14
I: 1065653 [DL]DFU-BLE-Disconnected : 19
E: Sending UART cmd st 0
I: BLE Name set: HU:2F29 errCode: 0
I: 1065666 [SWU]SMP BLE advertising started
I: 1065670 [DL]DFU over SMP started
I: BLE Disconnected: 13
I: 1086072 [DL]DFU-BLE-Connected
I: BLE Connected
Swap type: none
Swap type: none
Swap type: none
I: 1086376 [DL]DFU-BLE-Disconnected : 19
E: Sending UART cmd st 0
I: BLE Name set: HU:2F29 errCode: 0
I: 1086388 [SWU]SMP BLE advertising started
I: 1086392 [DL]DFU over SMP started
I: BLE Disconnected: 13
I: 1104507 [DL]DFU-BLE-Connected
I: BLE Connected
E: img_mgmt_find_by_hash Return i=1
E: a4 a4
E: 1d 1d
E: 1e 1e
E: a8 a8
E: b8 b8
E: 1d 1d
E: 72 72
E: 1b 1b
E: c0 c0
E: 13 13
E: cc cc
E: 3e 3e
E: d6 d6
E: e7 e7
E: 2f 2f
E: d4 d4
E: 4c 4c
E: 9 9
E: 25 25
E: 26 26
E: d1 d1
E: df df
E: b3 b3
E: 7b 7b
E: 1d 1d
E: f3 f3
E: b1 b1
E: db db
E: 4b 4b
E: 7c 7c
E: c3 c3
E: b4 b4
E: img_mgmt_find_by_hash slot = 1, confirm = 1
E: area_id = 2, active = 0
E: Success 1
E: Success 2
writing magic; fa_id=2 off=0xeeff0 (0xeeff0)
writing image_ok; fa_id=2 off=0xeefe8 (0xeefe8)
writing swap_info; fa_id=2 off=0xeefd8 (0xeefd8), swap_type=0x3 image_num=0x0
E: Success 3
E: *** rc = 0 ***
E: img_mgmt_set_boot_next rc = 0
Swap type: perm
Swap type: perm
Swap type: none
E: img_mgmt_state_read rc = 0
I: 1104870 [DL]DFU-BLE-Disconnected : 19
E: Sending UART cmd st 0
I: BLE Name set: HU:2F29 errCode: 0
I: 1104883 [SWU]SMP BLE advertising started
I: 1104888 [DL]DFU over SMP started
I: BLE Disconnected: 13
I: 1142413 [DL]DFU-BLE-Connected
I: BLE Connected
E: img_mgmt_find_by_hash Continue
E: img_mgmt_find_by_hash Return i=3
E: 9 9
E: 4 4
E: ba ba
E: 45 45
E: 18 18
E: a a
E: c3 c3
E: 6d 6d
E: 87 87
E: da da
E: c3 c3
E: ec ec
E: f2 f2
E: d d
E: 73 73
E: b1 b1
E: 9b 9b
E: f4 f4
E: 52 52
E: 8b 8b
E: 67 67
E: 23 23
E: 29 29
E: 47 47
E: 9 9
E: 40 40
E: 93 93
E: 98 98
E: d7 d7
E: 3b 3b
E: 9c 9c
E: 12 12
E: img_mgmt_find_by_hash slot = 3, confirm = 1
E: area_id = 8, active = 0
E: Success 1
E: Success 2
writing magic; fa_id=8 off=0x3fff0 (0x12eff0)
writing image_ok; fa_id=8 off=0x3ffe8 (0x12efe8)
writing swap_info; fa_id=8 off=0x3ffd8 (0x12efd8), swap_type=0x3 image_num=0x0
E: Success 3
E: *** rc = 0 ***
E: img_mgmt_set_boot_next rc = 0
Swap type: perm
Swap type: perm
Swap type: perm
E: img_mgmt_state_read rc = 0
I: 1142782 [DL]DFU-BLE-Disconnected : 19
E: Sending UART cmd st 0
I: BLE Name set: HU:2F29 errCode: 0
I: 1142795 [SWU]SMP BLE advertising started
I: 1142799 [DL]DFU over SMP started
I: BLE Disconnected: 13
I: 1175721 [DL]DFU-BLE-Connected
I: BLE Connected
in os_mgmt_reset
in os_mgmt_reset, Timer Register
I: 1176014 [DL]DFU-BLE-Disconnected : 19
E: Sending UART cmd st 0
I: BLE Name set: HU:2F29 errCode: 0
I: 1176027 [SWU]SMP BLE advertising started
I: 1176031 [DL]DFU over SMP started
I: BLE Disconnected: 13
in os_mgmt_reset_cb
os_mgmt_reset_work_handler: System Rebooted
*** Booting Zephyr OS build v3.3.99-ncs1-1 ***
Starting bootloader
Swap type: perm
Swap type: perm
writing magic; fa_id=4 off=0xeeff0 (0xf6ff0)
writing magic; fa_id=1 off=0x3fff0 (0x3fff0)
Bootloader chainload address offset: 0x8000
Jumping to the first image slot
Start Do_Boot


uart:~$ *** Booting Zephyr OS build v3.3.99-ncs1-1 ***
I: KWIKSET HALO 3 VERSION: 00.03.00.00
I: Init CHIP stack
I: 159 [DL]BLE address: DD:4E:51:2B:59:CE
I: Board config kwiksetmdb_nrf5340_cpuapp
I: IMAGE_VERSION 0.3.0+0
I: build time: Nov 30 2023 11:09:14
E: ====    Matter FW Ver: 0.3.0    ====
I: 199 [DL]OpenThread SED interval is 1000ms
I: 206 [DL]OpenThread started: OK
I: 209 [DL]Setting OpenThread device type to SLEEPY END DEVICE
I: 216 [SWU]DFU_BLEAdvertising_Init 
Swap type: none
I: 223 [SVR]Subscription persistence not supported
I: 228 [SVR]Server initializing...
I: 233 [TS]Last Known Good Time: 2023-11-30T17:43:12
I: 239 [DMG]AccessControl: initializing
I: 242 [DMG]Examples::AccessControlDelegate::Init
I: 248 [DMG]AccessControl: setting
I: 251 [DMG]DefaultAclStorage: initializing
I: 255 [DMG]DefaultAclStorage: 0 entries loaded
D: 260 [IN]UDP::Init bind&amp;amp;listen port=5540
E: 266 [IN]SO_REUSEPORT failed: 109
D: 270 [IN]UDP::Init bound to port=5540
D: 273 [IN]BLEBase::Init - setting/overriding transport
D: 279 [IN]TransportMgr initialized
D: 286 [DL]Using Thread extended MAC for hostname.
I: 293 [ZCL]Using ZAP configuration...
I: 299 [DMG]AccessControlCluster: initializing
D: 304 [DL]Boot reason: 6
I: 307 [ZCL]Initiating Admin Commissioning cluster.
I: 311 [ZCL]Door Lock server initialized
I: 316 [ZCL]Door Lock cluster initialized at endpoint #1
I: 323 [DIS]Updating services using commissioning mode 0
E: 328 [DIS]Failed to remove advertised services: 3
D: 334 [DL]Using Thread extended MAC for hostname.
I: 340 [DIS]Advertise commission parameter vendorID=65521 productID=32774 discriminator=3840/15 cm=0
E: 349 [DIS]Failed to advertise extended commissionable node: 3
D: 356 [DIS]Scheduling extended discovery timeout in 900s
E: 362 [DIS]Failed to finalize service update: 3
I: 367 [DIS]Delaying proxy of operational discovery: missing delegate
I: 374 [IN]CASE Server enabling CASE session setups
D: 381 [IN]SecureSession[0x200049f0]: Allocated Type:2 LSID:49290
I: 388 [SVR]Joining Multicast groups
I: 392 [SVR]Server Listening...
I: 395 [DL]Device Configuration:
I: 398 [DL]  Serial Number: 11223344556677889900
I: 404 [DL]  Vendor Id: 65521 (0xFFF1)
I: 407 [DL]  Product Id: 32774 (0x8006)
I: 411 [DL]  Product Name: not-specified
I: 415 [DL]  Hardware Version: 0
I: 419 [DL]  Setup Pin Code (0 for UNKNOWN/ERROR): 20202021
I: 426 [DL]  Setup Discriminator (0xFFFF for UNKNOWN/ERROR): 3840 (0xF00)
I: 433 [DL]  Manufacturing Date: 2022-01-01
I: 437 [DL]  Device Type: 65535 (0xFFFF)
I: 442 [SVR]SetupQRCode: [MT:8IXS142C00KA0648G00]
I: 447 [SVR]Copy/paste the below URL in a browser to see the QR Code:
I: 454 [SVR]https://project-chip.github.io/connectedhomeip/qrcode.html?data=MT%3A8IXS142C00KA0648G00
I: 465 [SVR]Manual pairing code: [34970112332]
I: 475 [DL]CHIP task running
I: 478 [DIS]Updating services using commissioning mode 0
E: 483 [DIS]Failed to remove advertised services: 3
D: 489 [DL]Using Thread extended MAC for hostname.
I: 495 [DIS]Advertise commission parameter vendorID=65521 productID=32774 discriminator=3840/15 cm=0
E: 504 [DIS]Failed to advertise extended commissionable node: 3
E: 510 [DIS]Failed to finalize service update: 3
I: FW Ver: 0.3.0+0; version: 00030000
I: Device has NOT gone through provisioning
I: network state 0
E: Sending UART cmd st 0
I: BLE Device ID: 2f29
I: Current OTA Stage = 10
I: dfu_header_data.image_count: 2
E: Sending UART cmd st 0
I: BLE Name set: HU:2F29 errCode: 0
I: 15701 [SWU]SMP BLE advertising started
I: 15705 [DL]DFU over SMP started
I: IMG Integrity Verified Successfully: 0
I: IMG Integrity Verified Successfully: 1
I: Current OTA Stage = 16
I: OTA device_id = 5 : DISCOVERY_REQ
I: SECURE_STM : DISCOVERY_REQ
I: OTA device_id = 5 : FW_VERSION_REQ
I: Secure STM Firmware Version: 2 0 1 2
I: OTA device_id = 5 : FW_UPDATE_START_REQ
I: SECURE_STM : IB_FW_UPDATE_START_REQUEST
I: STM OTA Progress = 10
I: STM OTA Progress = 20
I: STM OTA Progress = 30
I: STM OTA Progress = 40
I: STM OTA Progress = 50
I: STM OTA Progress = 60
I: STM OTA Progress = 70
I: STM OTA Progress = 80
I: STM OTA Progress = 90
I: STM OTA Progress = 100
I: OTA device_id = 5 : FW_UPDATE_REBOOT_REQ
I: SECURE_STM : REBOOT_COMMAND
I: STM Rebooted, MCUBoot Verifying Image
I: OTA device_id = 5 : FW_VERSION_REQ
I: Secure STM Firmware Version: 2 0 1 1
I: OTA device_id = 5 : FW_UPDATE_COMPLETE_REQ
I: SECURE_STM : IB_FW_UPDATE_COMPLETE_REQUEST
I: OTA device_id = 5 : FW_UPDATE_REBOOT_REQ
I: SECURE_STM : REBOOT_COMMAND
I: STM Rebooted, MCUBoot Confirming Image
I: OTA device_id = 5 : FW_VERSION_REQ
I: Secure STM Firmware Version: 2 0 1 1
I: STM Secure OTA Successful
I: Clear STM OTA Meta Data
I: Current OTA Stage = 17
I: Redpine OTA started
I: Current OTA Stage = 18
I: OTA device_id = 4 : DISCOVERY_REQ
I: STM_QSPI : IB_DEVICE_DISCOVERY_REQUEST
I: OTA device_id = 4 : FW_VERSION_REQ
I: STM_QSPI : IB_FW_VERSION_REQUEST
I: Redpine Firmware Version: 2.1.255.191
I: OTA device_id = 4 : FW_UPDATE_START_REQ
I: STM_QSPI : IB_FW_UPDATE_START_REQUEST
I: Redpine Image Stored into STM QSPI, Progress = 10
I: Redpine Image Stored into STM QSPI, Progress = 20
I: Redpine Image Stored into STM QSPI, Progress = 30
I: Redpine Image Stored into STM QSPI, Progress = 40
I: Redpine Image Stored into STM QSPI, Progress = 50
I: Redpine Image Stored into STM QSPI, Progress = 60
I: Redpine Image Stored into STM QSPI, Progress = 70
I: Redpine Image Stored into STM QSPI, Progress = 80
I: Redpine Image Stored into STM QSPI, Progress = 90
I: Redpine Image Stored into STM QSPI, Progress = 100
I: OTA device_id = 4 : FW_UPDATE_COMPLETE_REQ
I: STM_QSPI : IB_FW_UPDATE_COMPLETE_REQUEST
I: STM_QSPI : STM QSPI to Redpine SPI Image Transfer Ongoing (0)
I: STM_QSPI : STM QSPI to Redpine SPI Image Transfer Ongoing (10)
I: STM_QSPI : STM QSPI to Redpine SPI Image Transfer Ongoing (20)
I: STM_QSPI : STM QSPI to Redpine SPI Image Transfer Ongoing (30)
I: STM_QSPI : STM QSPI to Redpine SPI Image Transfer Ongoing (40)
I: STM_QSPI : STM QSPI to Redpine SPI Image Transfer Ongoing (50)
I: STM_QSPI : STM QSPI to Redpine SPI Image Transfer Ongoing (60)
I: STM_QSPI : STM QSPI to Redpine SPI Image Transfer Ongoing (70)
I: STM_QSPI : STM QSPI to Redpine SPI Image Transfer Ongoing (80)
I: STM_QSPI : STM QSPI to Redpine SPI Image Transfer Ongoing (90)
I: STM_QSPI : STM QSPI to Redpine SPI Image Transfer Ongoing (100)
I: STM_QSPI : IB_FW_UPDATE_REBOOT_REQUEST
I: Clear Redpine OTA Meta Data
I: Current OTA Stage = 24
I: Start to Erase OTA Bundle Image from External Flash
I: Erasing bundle from nRF Ext. Flash
I: Bundle Image Erased from nRF Ext. Flash: 0
I: Current OTA Stage = 25
I: FW Ver: 0.3.0+0; version: 00030000
I: 597955 [DL]DFU-BLE-Connected
I: BLE Connected
Swap type: none
I: 598224 [DL]DFU-BLE-Disconnected : 19
E: Sending UART cmd st 0
I: BLE Name set: HU:2F29 errCode: 0
I: 598236 [SWU]SMP BLE advertising started
I: 598240 [DL]DFU over SMP started
I: BLE Disconnected: 13
I: 615372 [DL]DFU-BLE-Connected
I: BLE Connected
I: 615667 [DL]DFU Image upload started
I: Current OTA Stage = 11
I: 632998 [DL]Image 0 download completed successfully
I: 633027 [DL]DFU-BLE-Disconnected : 19
E: Sending UART cmd st 0
I: BLE Name set: HU:2F29 errCode: 0
I: 633040 [SWU]SMP BLE advertising started
I: 633044 [DL]DFU over SMP started
I: BLE Disconnected: 13
I: 684874 [DL]DFU-BLE-Connected
I: BLE Connected
Swap type: none
I: 685178 [DL]DFU Image upload started
I: Current OTA Stage = 12
I: 775140 [DL]Image 1 download completed successfully
I: 775165 [DL]DFU-BLE-Disconnected : 19
E: Sending UART cmd st 0
I: BLE Name set: HU:2F29 errCode: 0
I: 775178 [SWU]SMP BLE advertising started
I: 775182 [DL]DFU over SMP started
I: BLE Disconnected: 13
I: 809590 [DL]DFU-BLE-Connected
I: BLE Connected
I: 828422 [DL]DFU Image upload started
D: 900363 [DIS]Extended discovery timed out
I: 900368 [DIS]Updating services using commissioning mode 0
E: 900374 [DIS]Failed to remove advertised services: 3
E: 900379 [DIS]Failed to finalize service update: 3
I: Current OTA Stage = 13
I: 1070303 [DL]Image 2 download completed successfully
I: Current OTA Stage = 14
I: 1070346 [DL]DFU-BLE-Disconnected : 19
E: Sending UART cmd st 0
I: BLE Name set: HU:2F29 errCode: 0
I: 1070359 [SWU]SMP BLE advertising started
I: 1070364 [DL]DFU over SMP started
I: BLE Disconnected: 13
I: 1091577 [DL]DFU-BLE-Connected
I: BLE Connected
Swap type: none
Swap type: none
Swap type: none
I: 1091875 [DL]DFU-BLE-Disconnected : 19
E: Sending UART cmd st 0
I: BLE Name set: HU:2F29 errCode: 0
I: 1091888 [SWU]SMP BLE advertising started
I: 1091892 [DL]DFU over SMP started
I: BLE Disconnected: 13
I: 1107697 [DL]DFU-BLE-Connected
I: BLE Connected
E: img_mgmt_find_by_hash Return i=1
E: cb cb
E: 96 96
E: 29 29
E: f f
E: d9 d9
E: a a
E: b7 b7
E: b b
E: 3e 3e
E: a1 a1
E: 45 45
E: aa aa
E: 46 46
E: 56 56
E: 19 19
E: 5d 5d
E: be be
E: 6e 6e
E: 4b 4b
E: eb eb
E: 7c 7c
E: e0 e0
E: bf bf
E: f0 f0
E: f4 f4
E: b8 b8
E: 18 18
E: e8 e8
E: 92 92
E: 53 53
E: 2 2
E: 82 82
E: img_mgmt_find_by_hash slot = 1, confirm = 1
E: area_id = 2, active = 0
E: Success 1
E: Success 2
writing magic; fa_id=2 off=0xeeff0 (0xeeff0)
writing image_ok; fa_id=2 off=0xeefe8 (0xeefe8)
writing swap_info; fa_id=2 off=0xeefd8 (0xeefd8), swap_type=0x3 image_num=0x0
E: Success 3
E: *** rc = 0 ***
E: img_mgmt_set_boot_next rc = 0
Swap type: perm
Swap type: perm
Swap type: none
E: img_mgmt_state_read rc = 0
I: 1108067 [DL]DFU-BLE-Disconnected : 19
E: Sending UART cmd st 0
I: BLE Name set: HU:2F29 errCode: 0
I: 1108080 [SWU]SMP BLE advertising started
I: 1108084 [DL]DFU over SMP started
I: BLE Disconnected: 13
I: 1145579 [DL]DFU-BLE-Connected
I: BLE Connected
E: img_mgmt_find_by_hash Continue
E: img_mgmt_find_by_hash Return i=3
E: 19 19
E: 64 64
E: b b
E: b1 b1
E: 5e 5e
E: dc dc
E: e6 e6
E: 77 77
E: 8c 8c
E: ef ef
E: 69 69
E: 20 20
E: 5f 5f
E: ae ae
E: 54 54
E: 61 61
E: a3 a3
E: 99 99
E: ff ff
E: 7c 7c
E: 4d 4d
E: 65 65
E: f3 f3
E: 4c 4c
E: 53 53
E: 6c 6c
E: 37 37
E: 88 88
E: 2f 2f
E: e1 e1
E: 39 39
E: 7e 7e
E: img_mgmt_find_by_hash slot = 3, confirm = 1
E: area_id = 8, active = 0
E: Success 1
E: Success 2
writing magic; fa_id=8 off=0x3fff0 (0x12eff0)
writing image_ok; fa_id=8 off=0x3ffe8 (0x12efe8)
writing swap_info; fa_id=8 off=0x3ffd8 (0x12efd8), swap_type=0x3 image_num=0x0
E: Success 3
E: *** rc = 0 ***
E: img_mgmt_set_boot_next rc = 0
Swap type: perm
Swap type: perm
Swap type: perm
E: img_mgmt_state_read rc = 0
I: 1145942 [DL]DFU-BLE-Disconnected : 19
E: Sending UART cmd st 0
I: BLE Name set: HU:2F29 errCode: 0
I: 1145955 [SWU]SMP BLE advertising started
I: 1145959 [DL]DFU over SMP started
I: BLE Disconnected: 13
I: 1178377 [DL]DFU-BLE-Connected
I: BLE Connected
in os_mgmt_reset
in os_mgmt_reset, Timer Register
I: 1178642 [DL]DFU-BLE-Disconnected : 19
E: Sending UART cmd st 0
I: BLE Name set: HU:2F29 errCode: 0
I: 1178654 [SWU]SMP BLE advertising started
I: 1178658 [DL]DFU over SMP started
I: BLE Disconnected: 13
in os_mgmt_reset_cb
os_mgmt_reset_work_handler: System Rebooted
*** Booting Zephyr OS build v3.3.99-ncs1-1 ***
Starting bootloader
Swap type: perm
Swap type: perm
writing magic; fa_id=4 off=0xeeff0 (0xf6ff0)
writing magic; fa_id=1 off=0x3fff0 (0x3fff0)
Bootloader chainload address offset: 0x8000
Jumping to the first image slot
Start Do_Boot


uart:~$ *** Booting Zephyr OS build v3.3.99-ncs1-1 ***
I: KWIKSET HALO 3 VERSION: 00.03.01.00
I: Init CHIP stack
I: 159 [DL]BLE address: F8:7B:B7:06:55:B5
I: Board config kwiksetmdb_nrf5340_cpuapp
I: IMAGE_VERSION 0.3.1+0
I: build time: Nov 30 2023 17:44:53
E: ====    Matter FW Ver: 0.3.1    ====
I: 199 [DL]OpenThread SED interval is 1000ms
I: 206 [DL]OpenThread started: OK
I: 209 [DL]Setting OpenThread device type to SLEEPY END DEVICE
I: 216 [SWU]DFU_BLEAdvertising_Init 
Swap type: none
I: 223 [SVR]Subscription persistence not supported
I: 228 [SVR]Server initializing...
I: 233 [TS]Last Known Good Time: 2023-11-30T17:43:12
I: 239 [DMG]AccessControl: initializing
I: 243 [DMG]Examples::AccessControlDelegate::Init
I: 248 [DMG]AccessControl: setting
I: 251 [DMG]DefaultAclStorage: initializing
I: 256 [DMG]DefaultAclStorage: 0 entries loaded
D: 260 [IN]UDP::Init bind&amp;amp;listen port=5540
E: 266 [IN]SO_REUSEPORT failed: 109
D: 270 [IN]UDP::Init bound to port=5540
D: 273 [IN]BLEBase::Init - setting/overriding transport
D: 279 [IN]TransportMgr initialized
D: 286 [DL]Using Thread extended MAC for hostname.
I: 292 [ZCL]Using ZAP configuration...
I: 299 [DMG]AccessControlCluster: initializing
D: 304 [DL]Boot reason: 6
I: 307 [ZCL]Initiating Admin Commissioning cluster.
I: 311 [ZCL]Door Lock server initialized
I: 316 [ZCL]Door Lock cluster initialized at endpoint #1
I: 323 [DIS]Updating services using commissioning mode 0
E: 329 [DIS]Failed to remove advertised services: 3
D: 334 [DL]Using Thread extended MAC for hostname.
I: 340 [DIS]Advertise commission parameter vendorID=65521 productID=32774 discriminator=3840/15 cm=0
E: 349 [DIS]Failed to advertise extended commissionable node: 3
D: 356 [DIS]Scheduling extended discovery timeout in 900s
E: 362 [DIS]Failed to finalize service update: 3
I: 367 [DIS]Delaying proxy of operational discovery: missing delegate
I: 374 [IN]CASE Server enabling CASE session setups
D: 381 [IN]SecureSession[0x200049f0]: Allocated Type:2 LSID:20434
I: 388 [SVR]Joining Multicast groups
I: 392 [SVR]Server Listening...
I: 395 [DL]Device Configuration:
I: 398 [DL]  Serial Number: 11223344556677889900
I: 403 [DL]  Vendor Id: 65521 (0xFFF1)
I: 407 [DL]  Product Id: 32774 (0x8006)
I: 411 [DL]  Product Name: not-specified
I: 415 [DL]  Hardware Version: 0
I: 419 [DL]  Setup Pin Code (0 for UNKNOWN/ERROR): 20202021
I: 426 [DL]  Setup Discriminator (0xFFFF for UNKNOWN/ERROR): 3840 (0xF00)
I: 432 [DL]  Manufacturing Date: 2022-01-01
I: 437 [DL]  Device Type: 65535 (0xFFFF)
I: 442 [SVR]SetupQRCode: [MT:8IXS142C00KA0648G00]
I: 447 [SVR]Copy/paste the below URL in a browser to see the QR Code:
I: 454 [SVR]https://project-chip.github.io/connectedhomeip/qrcode.html?data=MT%3A8IXS142C00KA0648G00
I: 465 [SVR]Manual pairing code: [34970112332]
I: 475 [DL]CHIP task running
I: 478 [DIS]Updating services using commissioning mode 0
E: 483 [DIS]Failed to remove advertised services: 3
D: 489 [DL]Using Thread extended MAC for hostname.
I: 494 [DIS]Advertise commission parameter vendorID=65521 productID=32774 discriminator=3840/15 cm=0
E: 505 [DIS]Failed to advertise extended commissionable node: 3
E: 510 [DIS]Failed to finalize service update: 3
I: FW Ver: 0.3.1+0; version: 00030100
I: Device has NOT gone through provisioning
I: network state 0
E: Sending UART cmd st 0
I: BLE Device ID: 2f29
I: Current OTA Stage = 10
I: dfu_header_data.image_count: 2
E: Sending UART cmd st 0
I: BLE Name set: HU:2F29 errCode: 0
I: 15697 [SWU]SMP BLE advertising started
I: 15700 [DL]DFU over SMP started
I: IMG Integrity Verified Successfully: 0
I: IMG Integrity Verified Successfully: 1
I: Current OTA Stage = 16
I: OTA device_id = 5 : DISCOVERY_REQ
I: SECURE_STM : DISCOVERY_REQ
I: OTA device_id = 5 : FW_VERSION_REQ
I: Secure STM Firmware Version: 2 0 1 1
I: OTA device_id = 5 : FW_UPDATE_START_REQ
D: 900363 [DIS]Extended discovery timed out
I: 900367 [DIS]Updating services using commissioning mode 0
E: 900373 [DIS]Failed to remove advertised services: 3
E: 900378 [DIS]Failed to finalize service update: 3
I: 943526 [DL]DFU-BLE-Connected
I: BLE Connected
Swap type: none
I: 943811 [DL]DFU-BLE-Disconnected : 19
E: Sending UART cmd st 0
I: BLE Name set: HU:2F29 errCode: 0
I: 943824 [SWU]SMP BLE advertising started
I: 943828 [DL]DFU over SMP started
I: BLE Disconnected: 13
I: 945644 [DL]DFU-BLE-Connected
I: BLE Connected
Swap type: none
I: 945911 [DL]DFU-BLE-Disconnected : 19
E: Sending UART cmd st 0
I: BLE Name set: HU:2F29 errCode: 0
I: 945924 [SWU]SMP BLE advertising started
I: 945927 [DL]DFU over SMP started
I: BLE Disconnected: 13
I: 964551 [DL]DFU-BLE-Connected
I: BLE Connected
I: 964839 [DL]DFU Image upload started
I: Current OTA Stage = 11
I: 978136 [DL]Image 0 download completed successfully
I: 978164 [DL]DFU-BLE-Disconnected : 19
E: Sending UART cmd st 0
I: BLE Name set: HU:2F29 errCode: 0
I: 978177 [SWU]SMP BLE advertising started
I: 978181 [DL]DFU over SMP started
I: BLE Disconnected: 13
I: 1027907 [DL]DFU-BLE-Connected
I: BLE Connected
Swap type: none
I: 1028208 [DL]DFU Image upload started
I: Current OTA Stage = 12
I: 1117274 [DL]Image 1 download completed successfully
I: 1117310 [DL]DFU-BLE-Disconnected : 19
E: Sending UART cmd st 0
I: BLE Name set: HU:2F29 errCode: 0
I: 1117323 [SWU]SMP BLE advertising started
I: 1117327 [DL]DFU over SMP started
I: BLE Disconnected: 13
I: 1152322 [DL]DFU-BLE-Connected
I: BLE Connected
I: 1152623 [DL]DFU Image upload started
I: Current OTA Stage = 13
I: 1414180 [DL]Image 2 download completed successfully
I: Current OTA Stage = 14
I: 1414213 [DL]DFU-BLE-Disconnected : 19
E: Sending UART cmd st 0
I: BLE Name set: HU:2F29 errCode: 0
I: 1414225 [SWU]SMP BLE advertising started
I: 1414229 [DL]DFU over SMP started
I: BLE Disconnected: 13
I: 1433355 [DL]DFU-BLE-Connected
I: BLE Connected
Swap type: none
Swap type: none
Swap type: none
I: 1433652 [DL]DFU-BLE-Disconnected : 19
E: Sending UART cmd st 0
I: BLE Name set: HU:2F29 errCode: 0
I: 1433665 [SWU]SMP BLE advertising started
I: 1433669 [DL]DFU over SMP started
I: BLE Disconnected: 13
I: 1455602 [DL]DFU-BLE-Connected
I: BLE Connected
E: img_mgmt_find_by_hash Continue
E: img_mgmt_find_by_hash Return i=3
E: 19 19
E: 64 64
E: b b
E: b1 b1
E: 5e 5e
E: dc dc
E: e6 e6
E: 77 77
E: 8c 8c
E: ef ef
E: 69 69
E: 20 20
E: 5f 5f
E: ae ae
E: 54 54
E: 61 61
E: a3 a3
E: 99 99
E: ff ff
E: 7c 7c
E: 4d 4d
E: 65 65
E: f3 f3
E: 4c 4c
E: 53 53
E: 6c 6c
E: 37 37
E: 88 88
E: 2f 2f
E: e1 e1
E: 39 39
E: 7e 7e
E: img_mgmt_find_by_hash slot = 3, confirm = 1
E: area_id = 8, active = 0
E: Success 1
E: Success 2
writing magic; fa_id=8 off=0x3fff0 (0x12eff0)
writing image_ok; fa_id=8 off=0x3ffe8 (0x12efe8)
writing swap_info; fa_id=8 off=0x3ffd8 (0x12efd8), swap_type=0x3 image_num=0x0
E: Success 3
E: *** rc = 0 ***
E: img_mgmt_set_boot_next rc = 0
Swap type: none
Swap type: none
Swap type: perm
E: img_mgmt_state_read rc = 0
I: 1455972 [DL]DFU-BLE-Disconnected : 19
E: Sending UART cmd st 0
I: BLE Name set: HU:2F29 errCode: 0
I: 1455985 [SWU]SMP BLE advertising started
I: 1455989 [DL]DFU over SMP started
I: BLE Disconnected: 13
I: 1487906 [DL]DFU-BLE-Connected
I: BLE Connected
in os_mgmt_reset
in os_mgmt_reset, Timer Register
I: 1488192 [DL]DFU-BLE-Disconnected : 19
E: Sending UART cmd st 0
I: BLE Name set: HU:2F29 errCode: 0
I: 1488204 [SWU]SMP BLE advertising started
I: 1488208 [DL]DFU over SMP started
I: BLE Disconnected: 13
in os_mgmt_reset_cb
os_mgmt_reset_work_handler: System Rebooted
*** Booting Zephyr OS build v3.3.99-ncs1-1 ***
Starting bootloader
Swap type: none
Swap type: perm
writing magic; fa_id=1 off=0x3fff0 (0x3fff0)
Bootloader chainload address offset: 0x8000
Jumping to the first image slot
Start Do_Boot


uart:~$ *** Booting Zephyr OS build v3.3.99-ncs1-1 ***
I: KWIKSET HALO 3 VERSION: 00.03.01.00
I: Init CHIP stack
I: 159 [DL]BLE address: FA:F9:3F:72:34:A6
I: Board config kwiksetmdb_nrf5340_cpuapp
I: IMAGE_VERSION 0.3.1+0
I: build time: Nov 30 2023 17:44:53
E: ====    Matter FW Ver: 0.3.1    ====
I: 198 [DL]OpenThread SED interval is 1000ms
I: 206 [DL]OpenThread started: OK
I: 209 [DL]Setting OpenThread device type to SLEEPY END DEVICE
I: 216 [SWU]DFU_BLEAdvertising_Init 
Swap type: none
I: 223 [SVR]Subscription persistence not supported
I: 228 [SVR]Server initializing...
I: 233 [TS]Last Known Good Time: 2023-11-30T17:43:12
I: 239 [DMG]AccessControl: initializing
I: 242 [DMG]Examples::AccessControlDelegate::Init
I: 248 [DMG]AccessControl: setting
I: 251 [DMG]DefaultAclStorage: initializing
I: 255 [DMG]DefaultAclStorage: 0 entries loaded
D: 260 [IN]UDP::Init bind&amp;amp;listen port=5540
E: 266 [IN]SO_REUSEPORT failed: 109
D: 270 [IN]UDP::Init bound to port=5540
D: 273 [IN]BLEBase::Init - setting/overriding transport
D: 279 [IN]TransportMgr initialized
D: 286 [DL]Using Thread extended MAC for hostname.
I: 293 [ZCL]Using ZAP configuration...
I: 299 [DMG]AccessControlCluster: initializing
D: 304 [DL]Boot reason: 6
I: 307 [ZCL]Initiating Admin Commissioning cluster.
I: 312 [ZCL]Door Lock server initialized
I: 316 [ZCL]Door Lock cluster initialized at endpoint #1
I: 323 [DIS]Updating services using commissioning mode 0
E: 328 [DIS]Failed to remove advertised services: 3
D: 334 [DL]Using Thread extended MAC for hostname.
I: 340 [DIS]Advertise commission parameter vendorID=65521 productID=32774 discriminator=3840/15 cm=0
E: 349 [DIS]Failed to advertise extended commissionable node: 3
D: 356 [DIS]Scheduling extended discovery timeout in 900s
E: 363 [DIS]Failed to finalize service update: 3
I: 367 [DIS]Delaying proxy of operational discovery: missing delegate
I: 374 [IN]CASE Server enabling CASE session setups
D: 381 [IN]SecureSession[0x200049f0]: Allocated Type:2 LSID:35010
I: 387 [SVR]Joining Multicast groups
I: 392 [SVR]Server Listening...
I: 395 [DL]Device Configuration:
I: 398 [DL]  Serial Number: 11223344556677889900
I: 403 [DL]  Vendor Id: 65521 (0xFFF1)
I: 407 [DL]  Product Id: 32774 (0x8006)
I: 411 [DL]  Product Name: not-specified
I: 416 [DL]  Hardware Version: 0
I: 419 [DL]  Setup Pin Code (0 for UNKNOWN/ERROR): 20202021
I: 426 [DL]  Setup Discriminator (0xFFFF for UNKNOWN/ERROR): 3840 (0xF00)
I: 433 [DL]  Manufacturing Date: 2022-01-01
I: 437 [DL]  Device Type: 65535 (0xFFFF)
I: 442 [SVR]SetupQRCode: [MT:8IXS142C00KA0648G00]
I: 448 [SVR]Copy/paste the below URL in a browser to see the QR Code:
I: 455 [SVR]https://project-chip.github.io/connectedhomeip/qrcode.html?data=MT%3A8IXS142C00KA0648G00
I: 465 [SVR]Manual pairing code: [34970112332]
I: 475 [DL]CHIP task running
I: 478 [DIS]Updating services using commissioning mode 0
E: 484 [DIS]Failed to remove advertised services: 3
D: 489 [DL]Using Thread extended MAC for hostname.
I: 495 [DIS]Advertise commission parameter vendorID=65521 productID=32774 discriminator=3840/15 cm=0
E: 504 [DIS]Failed to advertise extended commissionable node: 3
E: 511 [DIS]Failed to finalize service update: 3
I: FW Ver: 0.3.1+0; version: 00030100
I: Device has NOT gone through provisioning
I: network state 0
E: Sending UART cmd st 0
I: BLE Device ID: 2f29
I: Current OTA Stage = 10
I: Previous STM Post OTA Pending
I: Previous Redpine Post OTA Pending
E: Sending UART cmd st 0
I: BLE Name set: HU:2F29 errCode: 0
I: 15610 [SWU]SMP BLE advertising started
I: 15614 [DL]DFU over SMP started
I: IMG Integrity Verified Successfully: 0
I: IMG Integrity Verified Successfully: 1
I: Current OTA Stage = 16
I: OTA device_id = 5 : DISCOVERY_REQ
I: SECURE_STM : DISCOVERY_REQ
I: OTA device_id = 5 : FW_VERSION_REQ
I: Secure STM Firmware Version: 2 0 1 1
I: OTA device_id = 5 : FW_UPDATE_START_REQ
I: SECURE_STM : IB_FW_UPDATE_START_REQUEST
I: STM OTA Progress = 10
I: STM OTA Progress = 20
I: STM OTA Progress = 30
I: STM OTA Progress = 40
I: STM OTA Progress = 50
I: STM OTA Progress = 60
I: STM OTA Progress = 70
I: STM OTA Progress = 80
I: STM OTA Progress = 90
I: STM OTA Progress = 100
I: OTA device_id = 5 : FW_UPDATE_REBOOT_REQ
I: SECURE_STM : REBOOT_COMMAND
I: STM Rebooted, MCUBoot Verifying Image
I: OTA device_id = 5 : FW_VERSION_REQ
I: Secure STM Firmware Version: 2 0 1 2
I: OTA device_id = 5 : FW_UPDATE_COMPLETE_REQ
I: SECURE_STM : IB_FW_UPDATE_COMPLETE_REQUEST
I: OTA device_id = 5 : FW_UPDATE_REBOOT_REQ
I: SECURE_STM : REBOOT_COMMAND
I: STM Rebooted, MCUBoot Confirming Image
I: OTA device_id = 5 : FW_VERSION_REQ
I: Secure STM Firmware Version: 2 0 1 2
I: STM Secure OTA Successful
I: Clear STM OTA Meta Data
I: Current OTA Stage = 17
I: Redpine OTA started
I: Current OTA Stage = 18
I: OTA device_id = 4 : DISCOVERY_REQ
I: STM_QSPI : IB_DEVICE_DISCOVERY_REQUEST
I: OTA device_id = 4 : FW_VERSION_REQ
I: STM_QSPI : IB_FW_VERSION_REQUEST
I: Redpine Firmware Version: 2.1.255.191
I: OTA device_id = 4 : FW_UPDATE_START_REQ
I: STM_QSPI : IB_FW_UPDATE_START_REQUEST
I: Redpine Image Stored into STM QSPI, Progress = 10
I: Redpine Image Stored into STM QSPI, Progress = 20
I: Redpine Image Stored into STM QSPI, Progress = 30
I: Redpine Image Stored into STM QSPI, Progress = 40
I: Redpine Image Stored into STM QSPI, Progress = 50
I: Redpine Image Stored into STM QSPI, Progress = 60
I: Redpine Image Stored into STM QSPI, Progress = 70
I: Redpine Image Stored into STM QSPI, Progress = 80
I: Redpine Image Stored into STM QSPI, Progress = 90
I: Redpine Image Stored into STM QSPI, Progress = 100
I: OTA device_id = 4 : FW_UPDATE_COMPLETE_REQ
I: STM_QSPI : IB_FW_UPDATE_COMPLETE_REQUEST
I: STM_QSPI : STM QSPI to Redpine SPI Image Transfer Ongoing (0)
I: STM_QSPI : STM QSPI to Redpine SPI Image Transfer Ongoing (10)
I: STM_QSPI : STM QSPI to Redpine SPI Image Transfer Ongoing (20)
I: STM_QSPI : STM QSPI to Redpine SPI Image Transfer Ongoing (30)
I: STM_QSPI : STM QSPI to Redpine SPI Image Transfer Ongoing (40)
I: STM_QSPI : STM QSPI to Redpine SPI Image Transfer Ongoing (50)
I: STM_QSPI : STM QSPI to Redpine SPI Image Transfer Ongoing (60)
I: STM_QSPI : STM QSPI to Redpine SPI Image Transfer Ongoing (70)
I: STM_QSPI : STM QSPI to Redpine SPI Image Transfer Ongoing (80)
I: STM_QSPI : STM QSPI to Redpine SPI Image Transfer Ongoing (90)
I: STM_QSPI : STM QSPI to Redpine SPI Image Transfer Ongoing (100)
I: STM_QSPI : IB_FW_UPDATE_REBOOT_REQUEST
I: Clear Redpine OTA Meta Data
I: Current OTA Stage = 24
I: Start to Erase OTA Bundle Image from External Flash
I: Erasing bundle from nRF Ext. Flash
I: Bundle Image Erased from nRF Ext. Flash: 0
I: Current OTA Stage = 25
I: FW Ver: 0.3.1+0; version: 00030100
I: 593125 [DL]DFU-BLE-Connected
I: BLE Connected
Swap type: none
Swap type: none
I: 593405 [DL]DFU-BLE-Disconnected : 19
E: Sending UART cmd st 0
I: BLE Name set: HU:2F29 errCode: 0
I: 593418 [SWU]SMP BLE advertising started
I: 593422 [DL]DFU over SMP started
I: BLE Disconnected: 13
I: STOP BLE Advertisment
I: STOP BLE Advertisment After Post OTA
E: Sending UART cmd st 0
E: Sending UART cmd st 0
I: 644696 [DL]DFU-BLE-Connected
I: BLE Connected
I: 644995 [DL]DFU Image upload started
I: Current OTA Stage = 11
I: 658179 [DL]Image 0 download completed successfully
I: 658208 [DL]DFU-BLE-Disconnected : 19
E: Sending UART cmd st 0
I: BLE Name set: HU:2F29 errCode: 0
I: 658221 [SWU]SMP BLE advertising started
I: 658224 [DL]DFU over SMP started
I: BLE Disconnected: 13
I: 708268 [DL]DFU-BLE-Connected
I: BLE Connected
Swap type: none
I: 708552 [DL]DFU Image upload started
I: Current OTA Stage = 12
I: 798690 [DL]Image 1 download completed successfully
I: 798726 [DL]DFU-BLE-Disconnected : 19
E: Sending UART cmd st 0
I: BLE Name set: HU:2F29 errCode: 0
I: 798739 [SWU]SMP BLE advertising started
I: 798742 [DL]DFU over SMP started
I: BLE Disconnected: 13
I: 832688 [DL]DFU-BLE-Connected
I: BLE Connected
I: 851563 [DL]DFU Image upload started
D: 900362 [DIS]Extended discovery timed out
I: 900366 [DIS]Updating services using commissioning mode 0
E: 900372 [DIS]Failed to remove advertised services: 3
E: 900378 [DIS]Failed to finalize service update: 3
I: Current OTA Stage = 13
I: 1091299 [DL]Image 2 download completed successfully
I: Current OTA Stage = 14
I: 1091331 [DL]DFU-BLE-Disconnected : 19
E: Sending UART cmd st 0
I: BLE Name set: HU:2F29 errCode: 0
I: 1091344 [SWU]SMP BLE advertising started
I: 1091348 [DL]DFU over SMP started
I: BLE Disconnected: 13
I: 1111785 [DL]DFU-BLE-Connected
I: BLE Connected
Swap type: none
Swap type: none
Swap type: none
I: 1112076 [DL]DFU-BLE-Disconnected : 19
E: Sending UART cmd st 0
I: BLE Name set: HU:2F29 errCode: 0
I: 1112089 [SWU]SMP BLE advertising started
I: 1112093 [DL]DFU over SMP started
I: BLE Disconnected: 13
I: 1129201 [DL]DFU-BLE-Connected
I: BLE Connected
E: img_mgmt_find_by_hash Return i=1
E: a4 a4
E: 1d 1d
E: 1e 1e
E: a8 a8
E: b8 b8
E: 1d 1d
E: 72 72
E: 1b 1b
E: c0 c0
E: 13 13
E: cc cc
E: 3e 3e
E: d6 d6
E: e7 e7
E: 2f 2f
E: d4 d4
E: 4c 4c
E: 9 9
E: 25 25
E: 26 26
E: d1 d1
E: df df
E: b3 b3
E: 7b 7b
E: 1d 1d
E: f3 f3
E: b1 b1
E: db db
E: 4b 4b
E: 7c 7c
E: c3 c3
E: b4 b4
E: img_mgmt_find_by_hash slot = 1, confirm = 1
E: area_id = 2, active = 0
E: Success 1
E: Success 2
writing magic; fa_id=2 off=0xeeff0 (0xeeff0)
writing image_ok; fa_id=2 off=0xeefe8 (0xeefe8)
writing swap_info; fa_id=2 off=0xeefd8 (0xeefd8), swap_type=0x3 image_num=0x0
E: Success 3
E: *** rc = 0 ***
E: img_mgmt_set_boot_next rc = 0
Swap type: perm
Swap type: perm
Swap type: none
E: img_mgmt_state_read rc = 0
I: 1129573 [DL]DFU-BLE-Disconnected : 19
E: Sending UART cmd st 0
I: BLE Name set: HU:2F29 errCode: 0
I: 1129586 [SWU]SMP BLE advertising started
I: 1129590 [DL]DFU over SMP started
I: BLE Disconnected: 13
I: 1167624 [DL]DFU-BLE-Connected
I: BLE Connected
E: img_mgmt_find_by_hash Continue
E: img_mgmt_find_by_hash Return i=3
E: 9 9
E: 4 4
E: ba ba
E: 45 45
E: 18 18
E: a a
E: c3 c3
E: 6d 6d
E: 87 87
E: da da
E: c3 c3
E: ec ec
E: f2 f2
E: d d
E: 73 73
E: b1 b1
E: 9b 9b
E: f4 f4
E: 52 52
E: 8b 8b
E: 67 67
E: 23 23
E: 29 29
E: 47 47
E: 9 9
E: 40 40
E: 93 93
E: 98 98
E: d7 d7
E: 3b 3b
E: 9c 9c
E: 12 12
E: img_mgmt_find_by_hash slot = 3, confirm = 1
E: area_id = 8, active = 0
E: Success 1
E: Success 2
writing magic; fa_id=8 off=0x3fff0 (0x12eff0)
writing image_ok; fa_id=8 off=0x3ffe8 (0x12efe8)
writing swap_info; fa_id=8 off=0x3ffd8 (0x12efd8), swap_type=0x3 image_num=0x0
E: Success 3
E: *** rc = 0 ***
E: img_mgmt_set_boot_next rc = 0
Swap type: perm
Swap type: perm
Swap type: perm
E: img_mgmt_state_read rc = 0
I: 1167995 [DL]DFU-BLE-Disconnected : 19
E: Sending UART cmd st 0
I: BLE Name set: HU:2F29 errCode: 0
I: 1168008 [SWU]SMP BLE advertising started
I: 1168012 [DL]DFU over SMP started
I: BLE Disconnected: 13
I: 1200135 [DL]DFU-BLE-Connected
I: BLE Connected
in os_mgmt_reset
in os_mgmt_reset, Timer Register
I: 1200410 [DL]DFU-BLE-Disconnected : 19
E: Sending UART cmd st 0
I: BLE Name set: HU:2F29 errCode: 0
I: 1200422 [SWU]SMP BLE advertising started
I: 1200426 [DL]DFU over SMP started
I: BLE Disconnected: 13
in os_mgmt_reset_cb
os_mgmt_reset_work_handler: System Rebooted
*** Booting Zephyr OS build v3.3.99-ncs1-1 ***
Starting bootloader
Swap type: perm
Swap type: perm
writing magic; fa_id=4 off=0xeeff0 (0xf6ff0)
writing magic; fa_id=1 off=0x3fff0 (0x3fff0)
Bootloader chainload address offset: 0x8000
Jumping to the first image slot
Start Do_Boot


uart:~$ *** Booting Zephyr OS build v3.3.99-ncs1-1 ***
I: KWIKSET HALO 3 VERSION: 00.03.00.00
I: Init CHIP stack
I: 159 [DL]BLE address: FD:26:28:4C:AB:32
I: Board config kwiksetmdb_nrf5340_cpuapp
I: IMAGE_VERSION 0.3.0+0
I: build time: Nov 30 2023 11:09:14
E: ====    Matter FW Ver: 0.3.0    ====
I: 198 [DL]OpenThread SED interval is 1000ms
I: 206 [DL]OpenThread started: OK
I: 209 [DL]Setting OpenThread device type to SLEEPY END DEVICE
I: 216 [SWU]DFU_BLEAdvertising_Init 
Swap type: none
I: 223 [SVR]Subscription persistence not supported
I: 228 [SVR]Server initializing...
I: 232 [TS]Last Known Good Time: 2023-11-30T17:43:12
I: 238 [DMG]AccessControl: initializing
I: 242 [DMG]Examples::AccessControlDelegate::Init
I: 248 [DMG]AccessControl: setting
I: 251 [DMG]DefaultAclStorage: initializing
I: 255 [DMG]DefaultAclStorage: 0 entries loaded
D: 260 [IN]UDP::Init bind&amp;amp;listen port=5540
E: 265 [IN]SO_REUSEPORT failed: 109
D: 269 [IN]UDP::Init bound to port=5540
D: 273 [IN]BLEBase::Init - setting/overriding transport
D: 278 [IN]TransportMgr initialized
D: 286 [DL]Using Thread extended MAC for hostname.
I: 292 [ZCL]Using ZAP configuration...
I: 298 [DMG]AccessControlCluster: initializing
D: 303 [DL]Boot reason: 6
I: 307 [ZCL]Initiating Admin Commissioning cluster.
I: 311 [ZCL]Door Lock server initialized
I: 316 [ZCL]Door Lock cluster initialized at endpoint #1
I: 323 [DIS]Updating services using commissioning mode 0
E: 329 [DIS]Failed to remove advertised services: 3
D: 334 [DL]Using Thread extended MAC for hostname.
I: 339 [DIS]Advertise commission parameter vendorID=65521 productID=32774 discriminator=3840/15 cm=0
E: 348 [DIS]Failed to advertise extended commissionable node: 3
D: 355 [DIS]Scheduling extended discovery timeout in 900s
E: 362 [DIS]Failed to finalize service update: 3
I: 367 [DIS]Delaying proxy of operational discovery: missing delegate
I: 374 [IN]CASE Server enabling CASE session setups
D: 381 [IN]SecureSession[0x200049f0]: Allocated Type:2 LSID:15381
I: 386 [SVR]Joining Multicast groups
I: 391 [SVR]Server Listening...
I: 394 [DL]Device Configuration:
I: 398 [DL]  Serial Number: 11223344556677889900
I: 402 [DL]  Vendor Id: 65521 (0xFFF1)
I: 407 [DL]  Product Id: 32774 (0x8006)
I: 411 [DL]  Product Name: not-specified
I: 415 [DL]  Hardware Version: 0
I: 419 [DL]  Setup Pin Code (0 for UNKNOWN/ERROR): 20202021
I: 425 [DL]  Setup Discriminator (0xFFFF for UNKNOWN/ERROR): 3840 (0xF00)
I: 433 [DL]  Manufacturing Date: 2022-01-01
I: 437 [DL]  Device Type: 65535 (0xFFFF)
I: 442 [SVR]SetupQRCode: [MT:8IXS142C00KA0648G00]
I: 447 [SVR]Copy/paste the below URL in a browser to see the QR Code:
I: 453 [SVR]https://project-chip.github.io/connectedhomeip/qrcode.html?data=MT%3A8IXS142C00KA0648G00
I: 465 [SVR]Manual pairing code: [34970112332]
I: 474 [DL]CHIP task running
I: 477 [DIS]Updating services using commissioning mode 0
E: 483 [DIS]Failed to remove advertised services: 3
D: 489 [DL]Using Thread extended MAC for hostname.
I: 494 [DIS]Advertise commission parameter vendorID=65521 productID=32774 discriminator=3840/15 cm=0
E: 503 [DIS]Failed to advertise extended commissionable node: 3
E: 510 [DIS]Failed to finalize service update: 3
I: FW Ver: 0.3.0+0; version: 00030000
I: Device has NOT gone through provisioning
I: network state 0
E: Sending UART cmd st 0
I: BLE Device ID: 2f29
I: Current OTA Stage = 10
I: dfu_header_data.image_count: 2
E: Sending UART cmd st 0
I: BLE Name set: HU:2F29 errCode: 0
I: 15702 [SWU]SMP BLE advertising started
I: 15705 [DL]DFU over SMP started
I: IMG Integrity Verified Successfully: 0
I: IMG Integrity Verified Successfully: 1
I: Current OTA Stage = 16
I: OTA device_id = 5 : DISCOVERY_REQ
I: SECURE_STM : DISCOVERY_REQ
I: OTA device_id = 5 : FW_VERSION_REQ
I: Secure STM Firmware Version: 2 0 1 2
I: OTA device_id = 5 : FW_UPDATE_START_REQ
I: SECURE_STM : IB_FW_UPDATE_START_REQUEST
I: STM OTA Progress = 10
I: STM OTA Progress = 20
I: STM OTA Progress = 30
I: STM OTA Progress = 40
I: STM OTA Progress = 50
I: STM OTA Progress = 60
I: STM OTA Progress = 70
I: STM OTA Progress = 80
I: STM OTA Progress = 90
I: STM OTA Progress = 100
I: OTA device_id = 5 : FW_UPDATE_REBOOT_REQ
I: SECURE_STM : REBOOT_COMMAND
I: STM Rebooted, MCUBoot Verifying Image
I: OTA device_id = 5 : FW_VERSION_REQ
I: Secure STM Firmware Version: 2 0 1 1
I: OTA device_id = 5 : FW_UPDATE_COMPLETE_REQ
I: SECURE_STM : IB_FW_UPDATE_COMPLETE_REQUEST
I: OTA device_id = 5 : FW_UPDATE_REBOOT_REQ
I: SECURE_STM : REBOOT_COMMAND
I: STM Rebooted, MCUBoot Confirming Image
I: OTA device_id = 5 : FW_VERSION_REQ
I: Secure STM Firmware Version: 2 0 1 1
I: STM Secure OTA Successful
I: Clear STM OTA Meta Data
I: Current OTA Stage = 17
I: Redpine OTA started
I: Current OTA Stage = 18
I: OTA device_id = 4 : DISCOVERY_REQ
I: STM_QSPI : IB_DEVICE_DISCOVERY_REQUEST
I: OTA device_id = 4 : FW_VERSION_REQ
I: STM_QSPI : IB_FW_VERSION_REQUEST
I: Redpine Firmware Version: 2.1.255.191
I: OTA device_id = 4 : FW_UPDATE_START_REQ
I: STM_QSPI : IB_FW_UPDATE_START_REQUEST
I: Redpine Image Stored into STM QSPI, Progress = 10
I: Redpine Image Stored into STM QSPI, Progress = 20
I: Redpine Image Stored into STM QSPI, Progress = 30
I: Redpine Image Stored into STM QSPI, Progress = 40
I: Redpine Image Stored into STM QSPI, Progress = 50
I: Redpine Image Stored into STM QSPI, Progress = 60
I: Redpine Image Stored into STM QSPI, Progress = 70
I: Redpine Image Stored into STM QSPI, Progress = 80
I: Redpine Image Stored into STM QSPI, Progress = 90
I: Redpine Image Stored into STM QSPI, Progress = 100
I: OTA device_id = 4 : FW_UPDATE_COMPLETE_REQ
I: STM_QSPI : IB_FW_UPDATE_COMPLETE_REQUEST
I: STM_QSPI : STM QSPI to Redpine SPI Image Transfer Ongoing (0)
I: STM_QSPI : STM QSPI to Redpine SPI Image Transfer Ongoing (10)
I: STM_QSPI : STM QSPI to Redpine SPI Image Transfer Ongoing (20)
I: STM_QSPI : STM QSPI to Redpine SPI Image Transfer Ongoing (30)
I: STM_QSPI : STM QSPI to Redpine SPI Image Transfer Ongoing (40)
I: STM_QSPI : STM QSPI to Redpine SPI Image Transfer Ongoing (50)
I: STM_QSPI : STM QSPI to Redpine SPI Image Transfer Ongoing (60)
I: STM_QSPI : STM QSPI to Redpine SPI Image Transfer Ongoing (70)
I: STM_QSPI : STM QSPI to Redpine SPI Image Transfer Ongoing (80)
I: STM_QSPI : STM QSPI to Redpine SPI Image Transfer Ongoing (90)
I: STM_QSPI : STM QSPI to Redpine SPI Image Transfer Ongoing (100)
I: STM_QSPI : IB_FW_UPDATE_REBOOT_REQUEST
I: Clear Redpine OTA Meta Data
I: Current OTA Stage = 24
I: Start to Erase OTA Bundle Image from External Flash
I: Erasing bundle from nRF Ext. Flash
I: Bundle Image Erased from nRF Ext. Flash: 0
I: Current OTA Stage = 25
I: FW Ver: 0.3.0+0; version: 00030000
I: 597981 [DL]DFU-BLE-Connected
I: BLE Connected
Swap type: none
I: 598279 [DL]DFU-BLE-Disconnected : 19
E: Sending UART cmd st 0
I: BLE Name set: HU:2F29 errCode: 0
I: 598292 [SWU]SMP BLE advertising started
I: 598296 [DL]DFU over SMP started
I: BLE Disconnected: 13
I: 615865 [DL]DFU-BLE-Connected
I: BLE Connected
I: 616150 [DL]DFU Image upload started
I: Current OTA Stage = 11
I: 629248 [DL]Image 0 download completed successfully
I: 629277 [DL]DFU-BLE-Disconnected : 19
E: Sending UART cmd st 0
I: BLE Name set: HU:2F29 errCode: 0
I: 629289 [SWU]SMP BLE advertising started
I: 629293 [DL]DFU over SMP started
I: BLE Disconnected: 13
I: 678267 [DL]DFU-BLE-Connected
I: BLE Connected
Swap type: none
I: 678544 [DL]DFU Image upload started
I: Current OTA Stage = 12
I: 768847 [DL]Image 1 download completed successfully
I: 768872 [DL]DFU-BLE-Disconnected : 19
E: Sending UART cmd st 0
I: BLE Name set: HU:2F29 errCode: 0
I: 768885 [SWU]SMP BLE advertising started
I: 768889 [DL]DFU over SMP started
I: BLE Disconnected: 13
I: 803044 [DL]DFU-BLE-Connected
I: BLE Connected
I: 821860 [DL]DFU Image upload started
D: 900362 [DIS]Extended discovery timed out
I: 900366 [DIS]Updating services using commissioning mode 0
E: 900375 [DIS]Failed to remove advertised services: 3
E: 900382 [DIS]Failed to finalize service update: 3
I: Current OTA Stage = 13
I: 1060691 [DL]Image 2 download completed successfully
I: Current OTA Stage = 14
I: 1060724 [DL]DFU-BLE-Disconnected : 19
E: Sending UART cmd st 0
I: BLE Name set: HU:2F29 errCode: 0
I: 1060736 [SWU]SMP BLE advertising started
I: 1060740 [DL]DFU over SMP started
I: BLE Disconnected: 13
I: 1079648 [DL]DFU-BLE-Connected
I: BLE Connected
Swap type: none
Swap type: none
Swap type: none
I: 1079946 [DL]DFU-BLE-Disconnected : 19
E: Sending UART cmd st 0
I: BLE Name set: HU:2F29 errCode: 0
I: 1079959 [SWU]SMP BLE advertising started
I: 1079962 [DL]DFU over SMP started
I: BLE Disconnected: 13
I: 1096029 [DL]DFU-BLE-Connected
I: BLE Connected
E: img_mgmt_find_by_hash Return i=1
E: cb cb
E: 96 96
E: 29 29
E: f f
E: d9 d9
E: a a
E: b7 b7
E: b b
E: 3e 3e
E: a1 a1
E: 45 45
E: aa aa
E: 46 46
E: 56 56
E: 19 19
E: 5d 5d
E: be be
E: 6e 6e
E: 4b 4b
E: eb eb
E: 7c 7c
E: e0 e0
E: bf bf
E: f0 f0
E: f4 f4
E: b8 b8
E: 18 18
E: e8 e8
E: 92 92
E: 53 53
E: 2 2
E: 82 82
E: img_mgmt_find_by_hash slot = 1, confirm = 1
E: area_id = 2, active = 0
E: Success 1
E: Success 2
writing magic; fa_id=2 off=0xeeff0 (0xeeff0)
writing image_ok; fa_id=2 off=0xeefe8 (0xeefe8)
writing swap_info; fa_id=2 off=0xeefd8 (0xeefd8), swap_type=0x3 image_num=0x0
E: Success 3
E: *** rc = 0 ***
E: img_mgmt_set_boot_next rc = 0
Swap type: perm
Swap type: perm
Swap type: none
E: img_mgmt_state_read rc = 0
I: 1096408 [DL]DFU-BLE-Disconnected : 19
E: Sending UART cmd st 0
I: BLE Name set: HU:2F29 errCode: 0
I: 1096421 [SWU]SMP BLE advertising started
I: 1096425 [DL]DFU over SMP started
I: BLE Disconnected: 13
I: 1133925 [DL]DFU-BLE-Connected
I: BLE Connected
E: img_mgmt_find_by_hash Continue
E: img_mgmt_find_by_hash Return i=3
E: 19 19
E: 64 64
E: b b
E: b1 b1
E: 5e 5e
E: dc dc
E: e6 e6
E: 77 77
E: 8c 8c
E: ef ef
E: 69 69
E: 20 20
E: 5f 5f
E: ae ae
E: 54 54
E: 61 61
E: a3 a3
E: 99 99
E: ff ff
E: 7c 7c
E: 4d 4d
E: 65 65
E: f3 f3
E: 4c 4c
E: 53 53
E: 6c 6c
E: 37 37
E: 88 88
E: 2f 2f
E: e1 e1
E: 39 39
E: 7e 7e
E: img_mgmt_find_by_hash slot = 3, confirm = 1
E: area_id = 8, active = 0
E: Success 1
E: Success 2
writing magic; fa_id=8 off=0x3fff0 (0x12eff0)
writing image_ok; fa_id=8 off=0x3ffe8 (0x12efe8)
writing swap_info; fa_id=8 off=0x3ffd8 (0x12efd8), swap_type=0x3 image_num=0x0
E: Success 3
E: *** rc = 0 ***
E: img_mgmt_set_boot_next rc = 0
Swap type: perm
Swap type: perm
Swap type: perm
E: img_mgmt_state_read rc = 0
I: 1134305 [DL]DFU-BLE-Disconnected : 19
E: Sending UART cmd st 0
I: BLE Name set: HU:2F29 errCode: 0
I: 1134318 [SWU]SMP BLE advertising started
I: 1134322 [DL]DFU over SMP started
I: BLE Disconnected: 13
I: 1167769 [DL]DFU-BLE-Connected
I: BLE Connected
in os_mgmt_reset
in os_mgmt_reset, Timer Register
I: 1168055 [DL]DFU-BLE-Disconnected : 19
E: Sending UART cmd st 0
I: BLE Name set: HU:2F29 errCode: 0
I: 1168067 [SWU]SMP BLE advertising started
I: 1168071 [DL]DFU over SMP started
I: BLE Disconnected: 13
in os_mgmt_reset_cb
os_mgmt_reset_work_handler: System Rebooted
*** Booting Zephyr OS build v3.3.99-ncs1-1 ***
Starting bootloader
Swap type: perm
Swap type: perm
writing magic; fa_id=4 off=0xeeff0 (0xf6ff0)
writing magic; fa_id=1 off=0x3fff0 (0x3fff0)
Bootloader chainload address offset: 0x8000
Jumping to the first image slot
Start Do_Boot


uart:~$ *** Booting Zephyr OS build v3.3.99-ncs1-1 ***
I: KWIKSET HALO 3 VERSION: 00.03.01.00
I: Init CHIP stack
I: 159 [DL]BLE address: FF:73:F8:9C:DC:8C
I: Board config kwiksetmdb_nrf5340_cpuapp
I: IMAGE_VERSION 0.3.1+0
I: build time: Nov 30 2023 17:44:53
E: ====    Matter FW Ver: 0.3.1    ====
I: 199 [DL]OpenThread SED interval is 1000ms
I: 206 [DL]OpenThread started: OK
I: 209 [DL]Setting OpenThread device type to SLEEPY END DEVICE
I: 216 [SWU]DFU_BLEAdvertising_Init 
Swap type: none
I: 223 [SVR]Subscription persistence not supported
I: 228 [SVR]Server initializing...
I: 232 [TS]Last Known Good Time: 2023-11-30T17:43:12
I: 238 [DMG]AccessControl: initializing
I: 242 [DMG]Examples::AccessControlDelegate::Init
I: 248 [DMG]AccessControl: setting
I: 251 [DMG]DefaultAclStorage: initializing
I: 255 [DMG]DefaultAclStorage: 0 entries loaded
D: 260 [IN]UDP::Init bind&amp;amp;listen port=5540
E: 266 [IN]SO_REUSEPORT failed: 109
D: 269 [IN]UDP::Init bound to port=5540
D: 273 [IN]BLEBase::Init - setting/overriding transport
D: 279 [IN]TransportMgr initialized
D: 286 [DL]Using Thread extended MAC for hostname.
I: 292 [ZCL]Using ZAP configuration...
I: 299 [DMG]AccessControlCluster: initializing
D: 304 [DL]Boot reason: 6
I: 307 [ZCL]Initiating Admin Commissioning cluster.
I: 311 [ZCL]Door Lock server initialized
I: 316 [ZCL]Door Lock cluster initialized at endpoint #1
I: 323 [DIS]Updating services using commissioning mode 0
E: 329 [DIS]Failed to remove advertised services: 3
D: 334 [DL]Using Thread extended MAC for hostname.
I: 340 [DIS]Advertise commission parameter vendorID=65521 productID=32774 discriminator=3840/15 cm=0
E: 349 [DIS]Failed to advertise extended commissionable node: 3
D: 355 [DIS]Scheduling extended discovery timeout in 900s
E: 362 [DIS]Failed to finalize service update: 3
I: 367 [DIS]Delaying proxy of operational discovery: missing delegate
I: 374 [IN]CASE Server enabling CASE session setups
D: 381 [IN]SecureSession[0x200049f0]: Allocated Type:2 LSID:46290
I: 387 [SVR]Joining Multicast groups
I: 392 [SVR]Server Listening...
I: 395 [DL]Device Configuration:
I: 398 [DL]  Serial Number: 11223344556677889900
I: 403 [DL]  Vendor Id: 65521 (0xFFF1)
I: 408 [DL]  Product Id: 32774 (0x8006)
I: 411 [DL]  Product Name: not-specified
I: 415 [DL]  Hardware Version: 0
I: 419 [DL]  Setup Pin Code (0 for UNKNOWN/ERROR): 20202021
I: 426 [DL]  Setup Discriminator (0xFFFF for UNKNOWN/ERROR): 3840 (0xF00)
I: 433 [DL]  Manufacturing Date: 2022-01-01
I: 437 [DL]  Device Type: 65535 (0xFFFF)
I: 442 [SVR]SetupQRCode: [MT:8IXS142C00KA0648G00]
I: 447 [SVR]Copy/paste the below URL in a browser to see the QR Code:
I: 454 [SVR]https://project-chip.github.io/connectedhomeip/qrcode.html?data=MT%3A8IXS142C00KA0648G00
I: 465 [SVR]Manual pairing code: [34970112332]
I: 474 [DL]CHIP task running
I: 478 [DIS]Updating services using commissioning mode 0
E: 483 [DIS]Failed to remove advertised services: 3
D: 488 [DL]Using Thread extended MAC for hostname.
I: 494 [DIS]Advertise commission parameter vendorID=65521 productID=32774 discriminator=3840/15 cm=0
E: 503 [DIS]Failed to advertise extended commissionable node: 3
E: 510 [DIS]Failed to finalize service update: 3
I: FW Ver: 0.3.1+0; version: 00030100
I: Device has NOT gone through provisioning
I: network state 0
E: Sending UART cmd st 0
I: BLE Device ID: 2f29
I: Current OTA Stage = 10
I: dfu_header_data.image_count: 2
E: Sending UART cmd st 0
I: BLE Name set: HU:2F29 errCode: 0
I: 15696 [SWU]SMP BLE advertising started
I: 15700 [DL]DFU over SMP started
I: IMG Integrity Verified Successfully: 0
I: IMG Integrity Verified Successfully: 1
I: Current OTA Stage = 16
I: OTA device_id = 5 : DISCOVERY_REQ
I: SECURE_STM : DISCOVERY_REQ
I: OTA device_id = 5 : FW_VERSION_REQ
I: Secure STM Firmware Version: 2 0 1 1
I: OTA device_id = 5 : FW_UPDATE_START_REQ
I: SECURE_STM : IB_FW_UPDATE_START_REQUEST
I: STM OTA Progress = 10
I: STM OTA Progress = 20
I: STM OTA Progress = 30
I: STM OTA Progress = 40
I: STM OTA Progress = 50
I: STM OTA Progress = 60
I: STM OTA Progress = 70
I: STM OTA Progress = 80
I: STM OTA Progress = 90
I: STM OTA Progress = 100
I: OTA device_id = 5 : FW_UPDATE_REBOOT_REQ
I: SECURE_STM : REBOOT_COMMAND
I: STM Rebooted, MCUBoot Verifying Image
I: OTA device_id = 5 : FW_VERSION_REQ
I: Secure STM Firmware Version: 2 0 1 2
I: OTA device_id = 5 : FW_UPDATE_COMPLETE_REQ
I: SECURE_STM : IB_FW_UPDATE_COMPLETE_REQUEST
I: OTA device_id = 5 : FW_UPDATE_REBOOT_REQ
I: SECURE_STM : REBOOT_COMMAND
I: STM Rebooted, MCUBoot Confirming Image
I: OTA device_id = 5 : FW_VERSION_REQ
I: Secure STM Firmware Version: 2 0 1 2
I: STM Secure OTA Successful
I: Clear STM OTA Meta Data
I: Current OTA Stage = 17
I: Redpine OTA started
I: Current OTA Stage = 18
I: OTA device_id = 4 : DISCOVERY_REQ
I: STM_QSPI : IB_DEVICE_DISCOVERY_REQUEST
I: OTA device_id = 4 : FW_VERSION_REQ
I: STM_QSPI : IB_FW_VERSION_REQUEST
I: Redpine Firmware Version: 2.1.255.191
I: OTA device_id = 4 : FW_UPDATE_START_REQ
I: STM_QSPI : IB_FW_UPDATE_START_REQUEST
I: Redpine Image Stored into STM QSPI, Progress = 10
I: Redpine Image Stored into STM QSPI, Progress = 20
I: Redpine Image Stored into STM QSPI, Progress = 30
I: Redpine Image Stored into STM QSPI, Progress = 40
I: Redpine Image Stored into STM QSPI, Progress = 50
I: Redpine Image Stored into STM QSPI, Progress = 60
I: Redpine Image Stored into STM QSPI, Progress = 70
I: Redpine Image Stored into STM QSPI, Progress = 80
I: Redpine Image Stored into STM QSPI, Progress = 90
I: Redpine Image Stored into STM QSPI, Progress = 100
I: OTA device_id = 4 : FW_UPDATE_COMPLETE_REQ
I: STM_QSPI : IB_FW_UPDATE_COMPLETE_REQUEST
I: STM_QSPI : STM QSPI to Redpine SPI Image Transfer Ongoing (0)
I: STM_QSPI : STM QSPI to Redpine SPI Image Transfer Ongoing (10)
I: STM_QSPI : STM QSPI to Redpine SPI Image Transfer Ongoing (20)
I: STM_QSPI : STM QSPI to Redpine SPI Image Transfer Ongoing (30)
I: STM_QSPI : STM QSPI to Redpine SPI Image Transfer Ongoing (40)
I: STM_QSPI : STM QSPI to Redpine SPI Image Transfer Ongoing (50)
I: STM_QSPI : STM QSPI to Redpine SPI Image Transfer Ongoing (60)
I: STM_QSPI : STM QSPI to Redpine SPI Image Transfer Ongoing (70)
I: STM_QSPI : STM QSPI to Redpine SPI Image Transfer Ongoing (80)
I: STM_QSPI : STM QSPI to Redpine SPI Image Transfer Ongoing (90)
I: STM_QSPI : STM QSPI to Redpine SPI Image Transfer Ongoing (100)
I: STM_QSPI : IB_FW_UPDATE_REBOOT_REQUEST
I: Clear Redpine OTA Meta Data
I: Current OTA Stage = 24
I: Start to Erase OTA Bundle Image from External Flash
I: Erasing bundle from nRF Ext. Flash
I: Bundle Image Erased from nRF Ext. Flash: 0
I: Current OTA Stage = 25
I: FW Ver: 0.3.1+0; version: 00030100
I: 599954 [DL]DFU-BLE-Connected
I: BLE Connected
Swap type: none
I: 600247 [DL]DFU-BLE-Disconnected : 19
E: Sending UART cmd st 0
I: BLE Name set: HU:2F29 errCode: 0
I: 600260 [SWU]SMP BLE advertising started
I: 600264 [DL]DFU over SMP started
I: BLE Disconnected: 13
I: STOP BLE Advertisment
I: STOP BLE Advertisment After Post OTA
E: Sending UART cmd st 0
E: Sending UART cmd st 0
I: 619158 [DL]DFU-BLE-Connected
I: BLE Connected
I: 619460 [DL]DFU Image upload started
I: Current OTA Stage = 11
I: 632678 [DL]Image 0 download completed successfully
I: 632707 [DL]DFU-BLE-Disconnected : 19
E: Sending UART cmd st 0
I: BLE Name set: HU:2F29 errCode: 0
I: 632720 [SWU]SMP BLE advertising started
I: 632724 [DL]DFU over SMP started
I: BLE Disconnected: 13
I: 681695 [DL]DFU-BLE-Connected
I: BLE Connected
Swap type: none
I: 681982 [DL]DFU Image upload started
I: Current OTA Stage = 12
I: 771164 [DL]Image 1 download completed successfully
I: 771189 [DL]DFU-BLE-Disconnected : 19
E: Sending UART cmd st 0
I: BLE Name set: HU:2F29 errCode: 0
I: 771202 [SWU]SMP BLE advertising started
I: 771206 [DL]DFU over SMP started
I: BLE Disconnected: 13
I: 805472 [DL]DFU-BLE-Connected
I: BLE Connected
I: 824325 [DL]DFU Image upload started
D: 900363 [DIS]Extended discovery timed out
I: 900367 [DIS]Updating services using commissioning mode 0
E: 900372 [DIS]Failed to remove advertised services: 3
E: 900380 [DIS]Failed to finalize service update: 3
I: Current OTA Stage = 13
I: 1063920 [DL]Image 2 download completed successfully
I: Current OTA Stage = 14
I: 1063952 [DL]DFU-BLE-Disconnected : 19
E: Sending UART cmd st 0
I: BLE Name set: HU:2F29 errCode: 0
I: 1063964 [SWU]SMP BLE advertising started
I: 1063968 [DL]DFU over SMP started
I: BLE Disconnected: 13
I: 1083630 [DL]DFU-BLE-Connected
I: BLE Connected
Swap type: none
Swap type: none
Swap type: none
I: 1083916 [DL]DFU-BLE-Disconnected : 19
E: Sending UART cmd st 0
I: BLE Name set: HU:2F29 errCode: 0
I: 1083929 [SWU]SMP BLE advertising started
I: 1083933 [DL]DFU over SMP started
I: BLE Disconnected: 13
I: 1099743 [DL]DFU-BLE-Connected
I: BLE Connected
E: img_mgmt_find_by_hash Return i=1
E: a4 a4
E: 1d 1d
E: 1e 1e
E: a8 a8
E: b8 b8
E: 1d 1d
E: 72 72
E: 1b 1b
E: c0 c0
E: 13 13
E: cc cc
E: 3e 3e
E: d6 d6
E: e7 e7
E: 2f 2f
E: d4 d4
E: 4c 4c
E: 9 9
E: 25 25
E: 26 26
E: d1 d1
E: df df
E: b3 b3
E: 7b 7b
E: 1d 1d
E: f3 f3
E: b1 b1
E: db db
E: 4b 4b
E: 7c 7c
E: c3 c3
E: b4 b4
E: img_mgmt_find_by_hash slot = 1, confirm = 1
E: area_id = 2, active = 0
E: Success 1
E: Success 2
writing magic; fa_id=2 off=0xeeff0 (0xeeff0)
writing image_ok; fa_id=2 off=0xeefe8 (0xeefe8)
writing swap_info; fa_id=2 off=0xeefd8 (0xeefd8), swap_type=0x3 image_num=0x0
E: Success 3
E: *** rc = 0 ***
E: img_mgmt_set_boot_next rc = 0
Swap type: perm
Swap type: perm
Swap type: none
E: img_mgmt_state_read rc = 0
I: 1100116 [DL]DFU-BLE-Disconnected : 19
E: Sending UART cmd st 0
I: BLE Name set: HU:2F29 errCode: 0
I: 1100129 [SWU]SMP BLE advertising started
I: 1100133 [DL]DFU over SMP started
I: BLE Disconnected: 13
I: 1137662 [DL]DFU-BLE-Connected
I: BLE Connected
E: img_mgmt_find_by_hash Continue
E: img_mgmt_find_by_hash Return i=3
E: 9 9
E: 4 4
E: ba ba
E: 45 45
E: 18 18
E: a a
E: c3 c3
E: 6d 6d
E: 87 87
E: da da
E: c3 c3
E: ec ec
E: f2 f2
E: d d
E: 73 73
E: b1 b1
E: 9b 9b
E: f4 f4
E: 52 52
E: 8b 8b
E: 67 67
E: 23 23
E: 29 29
E: 47 47
E: 9 9
E: 40 40
E: 93 93
E: 98 98
E: d7 d7
E: 3b 3b
E: 9c 9c
E: 12 12
E: img_mgmt_find_by_hash slot = 3, confirm = 1
E: area_id = 8, active = 0
E: Success 1
E: Success 2
writing magic; fa_id=8 off=0x3fff0 (0x12eff0)
writing image_ok; fa_id=8 off=0x3ffe8 (0x12efe8)
writing swap_info; fa_id=8 off=0x3ffd8 (0x12efd8), swap_type=0x3 image_num=0x0
E: Success 3
E: *** rc = 0 ***
E: img_mgmt_set_boot_next rc = 0
Swap type: perm
Swap type: perm
Swap type: perm
E: img_mgmt_state_read rc = 0
I: 1138036 [DL]DFU-BLE-Disconnected : 19
E: Sending UART cmd st 0
I: BLE Name set: HU:2F29 errCode: 0
I: 1138048 [SWU]SMP BLE advertising started
I: 1138052 [DL]DFU over SMP started
I: BLE Disconnected: 13
I: 1170188 [DL]DFU-BLE-Connected
I: BLE Connected
in os_mgmt_reset
in os_mgmt_reset, Timer Register
I: 1170480 [DL]DFU-BLE-Disconnected : 19
E: Sending UART cmd st 0
I: BLE Name set: HU:2F29 errCode: 0
I: 1170493 [SWU]SMP BLE advertising started
I: 1170497 [DL]DFU over SMP started
I: BLE Disconnected: 13
in os_mgmt_reset_cb
os_mgmt_reset_work_handler: System Rebooted
*** Booting Zephyr OS build v3.3.99-ncs1-1 ***
Starting bootloader
Swap type: perm
Swap type: perm
writing magic; fa_id=4 off=0xeeff0 (0xf6ff0)
writing magic; fa_id=1 off=0x3fff0 (0x3fff0)
Bootloader chainload address offset: 0x8000
Jumping to the first image slot
Start Do_Boot


uart:~$ *** Booting Zephyr OS build v3.3.99-ncs1-1 ***
I: KWIKSET HALO 3 VERSION: 00.03.00.00
I: Init CHIP stack
I: 159 [DL]BLE address: FE:C8:FA:2F:7C:63
I: Board config kwiksetmdb_nrf5340_cpuapp
I: IMAGE_VERSION 0.3.0+0
I: build time: Nov 30 2023 11:09:14
E: ====    Matter FW Ver: 0.3.0    ====
I: 198 [DL]OpenThread SED interval is 1000ms
I: 205 [DL]OpenThread started: OK
I: 209 [DL]Setting OpenThread device type to SLEEPY END DEVICE
I: 216 [SWU]DFU_BLEAdvertising_Init 
Swap type: none
I: 223 [SVR]Subscription persistence not supported
I: 228 [SVR]Server initializing...
I: 232 [TS]Last Known Good Time: 2023-11-30T17:43:12
I: 238 [DMG]AccessControl: initializing
I: 242 [DMG]Examples::AccessControlDelegate::Init
I: 248 [DMG]AccessControl: setting
I: 251 [DMG]DefaultAclStorage: initializing
I: 255 [DMG]DefaultAclStorage: 0 entries loaded
D: 260 [IN]UDP::Init bind&amp;amp;listen port=5540
E: 266 [IN]SO_REUSEPORT failed: 109
D: 270 [IN]UDP::Init bound to port=5540
D: 273 [IN]BLEBase::Init - setting/overriding transport
D: 279 [IN]TransportMgr initialized
D: 286 [DL]Using Thread extended MAC for hostname.
I: 293 [ZCL]Using ZAP configuration...
I: 299 [DMG]AccessControlCluster: initializing
D: 304 [DL]Boot reason: 6
I: 307 [ZCL]Initiating Admin Commissioning cluster.
I: 312 [ZCL]Door Lock server initialized
I: 316 [ZCL]Door Lock cluster initialized at endpoint #1
I: 323 [DIS]Updating services using commissioning mode 0
E: 328 [DIS]Failed to remove advertised services: 3
D: 334 [DL]Using Thread extended MAC for hostname.
I: 340 [DIS]Advertise commission parameter vendorID=65521 productID=32774 discriminator=3840/15 cm=0
E: 349 [DIS]Failed to advertise extended commissionable node: 3
D: 356 [DIS]Scheduling extended discovery timeout in 900s
E: 362 [DIS]Failed to finalize service update: 3
I: 367 [DIS]Delaying proxy of operational discovery: missing delegate
I: 374 [IN]CASE Server enabling CASE session setups
D: 381 [IN]SecureSession[0x200049f0]: Allocated Type:2 LSID:57292
I: 387 [SVR]Joining Multicast groups
I: 392 [SVR]Server Listening...
I: 395 [DL]Device Configuration:
I: 398 [DL]  Serial Number: 11223344556677889900
I: 403 [DL]  Vendor Id: 65521 (0xFFF1)
I: 408 [DL]  Product Id: 32774 (0x8006)
I: 411 [DL]  Product Name: not-specified
I: 416 [DL]  Hardware Version: 0
I: 420 [DL]  Setup Pin Code (0 for UNKNOWN/ERROR): 20202021
I: 426 [DL]  Setup Discriminator (0xFFFF for UNKNOWN/ERROR): 3840 (0xF00)
I: 432 [DL]  Manufacturing Date: 2022-01-01
I: 438 [DL]  Device Type: 65535 (0xFFFF)
I: 442 [SVR]SetupQRCode: [MT:8IXS142C00KA0648G00]
I: 448 [SVR]Copy/paste the below URL in a browser to see the QR Code:
I: 454 [SVR]https://project-chip.github.io/connectedhomeip/qrcode.html?data=MT%3A8IXS142C00KA0648G00
I: 466 [SVR]Manual pairing code: [34970112332]
I: 475 [DL]CHIP task running
I: 478 [DIS]Updating services using commissioning mode 0
E: 483 [DIS]Failed to remove advertised services: 3
D: 489 [DL]Using Thread extended MAC for hostname.
I: 495 [DIS]Advertise commission parameter vendorID=65521 productID=32774 discriminator=3840/15 cm=0
E: 505 [DIS]Failed to advertise extended commissionable node: 3
E: 512 [DIS]Failed to finalize service update: 3
I: FW Ver: 0.3.0+0; version: 00030000
I: Device has NOT gone through provisioning
I: network state 0
E: Sending UART cmd st 0
I: BLE Device ID: 2f29
I: Current OTA Stage = 10
I: dfu_header_data.image_count: 2
E: Sending UART cmd st 0
I: BLE Name set: HU:2F29 errCode: 0
I: 15696 [SWU]SMP BLE advertising started
I: 15700 [DL]DFU over SMP started
I: IMG Integrity Verified Successfully: 0
I: IMG Integrity Verified Successfully: 1
I: Current OTA Stage = 16
I: OTA device_id = 5 : DISCOVERY_REQ
I: SECURE_STM : DISCOVERY_REQ
I: OTA device_id = 5 : FW_VERSION_REQ
I: Secure STM Firmware Version: 2 0 1 2
I: OTA device_id = 5 : FW_UPDATE_START_REQ
I: SECURE_STM : IB_FW_UPDATE_START_REQUEST
I: STM OTA Progress = 10
I: STM OTA Progress = 20
I: STM OTA Progress = 30
I: STM OTA Progress = 40
I: STM OTA Progress = 50
I: STM OTA Progress = 60
I: STM OTA Progress = 70
I: STM OTA Progress = 80
I: STM OTA Progress = 90
I: STM OTA Progress = 100
I: OTA device_id = 5 : FW_UPDATE_REBOOT_REQ
I: SECURE_STM : REBOOT_COMMAND
I: STM Rebooted, MCUBoot Verifying Image
I: OTA device_id = 5 : FW_VERSION_REQ
I: Secure STM Firmware Version: 2 0 1 1
I: OTA device_id = 5 : FW_UPDATE_COMPLETE_REQ
I: SECURE_STM : IB_FW_UPDATE_COMPLETE_REQUEST
I: OTA device_id = 5 : FW_UPDATE_REBOOT_REQ
I: SECURE_STM : REBOOT_COMMAND
I: STM Rebooted, MCUBoot Confirming Image
I: OTA device_id = 5 : FW_VERSION_REQ
I: Secure STM Firmware Version: 2 0 1 1
I: STM Secure OTA Successful
I: Clear STM OTA Meta Data
I: Current OTA Stage = 17
I: Redpine OTA started
I: Current OTA Stage = 18
I: OTA device_id = 4 : DISCOVERY_REQ
I: STM_QSPI : IB_DEVICE_DISCOVERY_REQUEST
I: OTA device_id = 4 : FW_VERSION_REQ
I: STM_QSPI : IB_FW_VERSION_REQUEST
I: Redpine Firmware Version: 2.1.255.191
I: OTA device_id = 4 : FW_UPDATE_START_REQ
I: STM_QSPI : IB_FW_UPDATE_START_REQUEST
I: Redpine Image Stored into STM QSPI, Progress = 10
I: Redpine Image Stored into STM QSPI, Progress = 20
I: Redpine Image Stored into STM QSPI, Progress = 30
I: Redpine Image Stored into STM QSPI, Progress = 40
I: Redpine Image Stored into STM QSPI, Progress = 50
I: Redpine Image Stored into STM QSPI, Progress = 60
I: Redpine Image Stored into STM QSPI, Progress = 70
I: Redpine Image Stored into STM QSPI, Progress = 80
I: Redpine Image Stored into STM QSPI, Progress = 90
I: Redpine Image Stored into STM QSPI, Progress = 100
I: OTA device_id = 4 : FW_UPDATE_COMPLETE_REQ
I: STM_QSPI : IB_FW_UPDATE_COMPLETE_REQUEST
I: STM_QSPI : STM QSPI to Redpine SPI Image Transfer Ongoing (0)
I: STM_QSPI : STM QSPI to Redpine SPI Image Transfer Ongoing (10)
I: STM_QSPI : STM QSPI to Redpine SPI Image Transfer Ongoing (20)
I: STM_QSPI : STM QSPI to Redpine SPI Image Transfer Ongoing (30)
I: STM_QSPI : STM QSPI to Redpine SPI Image Transfer Ongoing (40)
I: STM_QSPI : STM QSPI to Redpine SPI Image Transfer Ongoing (50)
I: STM_QSPI : STM QSPI to Redpine SPI Image Transfer Ongoing (60)
I: STM_QSPI : STM QSPI to Redpine SPI Image Transfer Ongoing (70)
I: STM_QSPI : STM QSPI to Redpine SPI Image Transfer Ongoing (80)
I: STM_QSPI : STM QSPI to Redpine SPI Image Transfer Ongoing (90)
I: STM_QSPI : STM QSPI to Redpine SPI Image Transfer Ongoing (100)
I: STM_QSPI : IB_FW_UPDATE_REBOOT_REQUEST
I: Clear Redpine OTA Meta Data
I: Current OTA Stage = 24
I: Start to Erase OTA Bundle Image from External Flash
I: Erasing bundle from nRF Ext. Flash
I: Bundle Image Erased from nRF Ext. Flash: 0
I: Current OTA Stage = 25
I: FW Ver: 0.3.0+0; version: 00030000
I: 599359 [DL]DFU-BLE-Connected
I: BLE Connected
Swap type: none
I: 599630 [DL]DFU-BLE-Disconnected : 19
E: Sending UART cmd st 0
I: BLE Name set: HU:2F29 errCode: 0
I: 599642 [SWU]SMP BLE advertising started
I: 599646 [DL]DFU over SMP started
I: BLE Disconnected: 13
I: 616725 [DL]DFU-BLE-Connected
I: BLE Connected
I: STOP BLE Advertisment
I: STOP BLE Advertisment After Post OTA
E: Sending UART cmd st 0
E: Sending UART cmd st 0
I: 617015 [DL]DFU Image upload started
I: Current OTA Stage = 11
I: 630306 [DL]Image 0 download completed successfully
I: 630334 [DL]DFU-BLE-Disconnected : 19
E: Sending UART cmd st 0
I: BLE Name set: HU:2F29 errCode: 0
I: 630347 [SWU]SMP BLE advertising started
I: 630351 [DL]DFU over SMP started
I: BLE Disconnected: 13
I: 679517 [DL]DFU-BLE-Connected
I: BLE Connected
Swap type: none
I: 679812 [DL]DFU Image upload started
I: Current OTA Stage = 12
I: 769286 [DL]Image 1 download completed successfully
I: 769311 [DL]DFU-BLE-Disconnected : 19
E: Sending UART cmd st 0
I: BLE Name set: HU:2F29 errCode: 0
I: 769324 [SWU]SMP BLE advertising started
I: 769328 [DL]DFU over SMP started
I: BLE Disconnected: 13
I: 803795 [DL]DFU-BLE-Connected
I: BLE Connected
I: 822602 [DL]DFU Image upload started
D: 900363 [DIS]Extended discovery timed out
I: 900367 [DIS]Updating services using commissioning mode 0
E: 900375 [DIS]Failed to remove advertised services: 3
E: 900382 [DIS]Failed to finalize service update: 3
I: Current OTA Stage = 13
I: 1061468 [DL]Image 2 download completed successfully
I: Current OTA Stage = 14
I: 1061500 [DL]DFU-BLE-Disconnected : 19
E: Sending UART cmd st 0
I: BLE Name set: HU:2F29 errCode: 0
I: 1061513 [SWU]SMP BLE advertising started
I: 1061517 [DL]DFU over SMP started
I: BLE Disconnected: 13
I: 1080368 [DL]DFU-BLE-Connected
I: BLE Connected
Swap type: none
Swap type: none
Swap type: none
I: 1080651 [DL]DFU-BLE-Disconnected : 19
E: Sending UART cmd st 0
I: BLE Name set: HU:2F29 errCode: 0
I: 1080664 [SWU]SMP BLE advertising started
I: 1080668 [DL]DFU over SMP started
I: BLE Disconnected: 13
I: 1099022 [DL]DFU-BLE-Connected
I: BLE Connected
E: img_mgmt_find_by_hash Return i=1
E: cb cb
E: 96 96
E: 29 29
E: f f
E: d9 d9
E: a a
E: b7 b7
E: b b
E: 3e 3e
E: a1 a1
E: 45 45
E: aa aa
E: 46 46
E: 56 56
E: 19 19
E: 5d 5d
E: be be
E: 6e 6e
E: 4b 4b
E: eb eb
E: 7c 7c
E: e0 e0
E: bf bf
E: f0 f0
E: f4 f4
E: b8 b8
E: 18 18
E: e8 e8
E: 92 92
E: 53 53
E: 2 2
E: 82 82
E: img_mgmt_find_by_hash slot = 1, confirm = 1
E: area_id = 2, active = 0
E: Success 1
E: Success 2
writing magic; fa_id=2 off=0xeeff0 (0xeeff0)
writing image_ok; fa_id=2 off=0xeefe8 (0xeefe8)
writing swap_info; fa_id=2 off=0xeefd8 (0xeefd8), swap_type=0x3 image_num=0x0
E: Success 3
E: *** rc = 0 ***
E: img_mgmt_set_boot_next rc = 0
Swap type: perm
Swap type: perm
Swap type: none
E: img_mgmt_state_read rc = 0
I: 1099386 [DL]DFU-BLE-Disconnected : 19
E: Sending UART cmd st 0
I: BLE Name set: HU:2F29 errCode: 0
I: 1099399 [SWU]SMP BLE advertising started
I: 1099403 [DL]DFU over SMP started
I: BLE Disconnected: 13
I: 1136390 [DL]DFU-BLE-Connected
I: BLE Connected
E: img_mgmt_find_by_hash Continue
E: img_mgmt_find_by_hash Return i=3
E: 19 19
E: 64 64
E: b b
E: b1 b1
E: 5e 5e
E: dc dc
E: e6 e6
E: 77 77
E: 8c 8c
E: ef ef
E: 69 69
E: 20 20
E: 5f 5f
E: ae ae
E: 54 54
E: 61 61
E: a3 a3
E: 99 99
E: ff ff
E: 7c 7c
E: 4d 4d
E: 65 65
E: f3 f3
E: 4c 4c
E: 53 53
E: 6c 6c
E: 37 37
E: 88 88
E: 2f 2f
E: e1 e1
E: 39 39
E: 7e 7e
E: img_mgmt_find_by_hash slot = 3, confirm = 1
E: area_id = 8, active = 0
E: Success 1
E: Success 2
writing magic; fa_id=8 off=0x3fff0 (0x12eff0)
writing image_ok; fa_id=8 off=0x3ffe8 (0x12efe8)
writing swap_info; fa_id=8 off=0x3ffd8 (0x12efd8), swap_type=0x3 image_num=0x0
E: Success 3
E: *** rc = 0 ***
E: img_mgmt_set_boot_next rc = 0
Swap type: perm
Swap type: perm
Swap type: perm
E: img_mgmt_state_read rc = 0
I: 1136780 [DL]DFU-BLE-Disconnected : 19
E: Sending UART cmd st 0
I: BLE Name set: HU:2F29 errCode: 0
I: 1136793 [SWU]SMP BLE advertising started
I: 1136797 [DL]DFU over SMP started
I: BLE Disconnected: 13
I: 1168664 [DL]DFU-BLE-Connected
I: BLE Connected
in os_mgmt_reset
in os_mgmt_reset, Timer Register
I: 1168962 [DL]DFU-BLE-Disconnected : 19
E: Sending UART cmd st 0
I: BLE Name set: HU:2F29 errCode: 0
I: 1168975 [SWU]SMP BLE advertising started
I: 1168979 [DL]DFU over SMP started
I: BLE Disconnected: 13
in os_mgmt_reset_cb
os_mgmt_reset_work_handler: System Rebooted
*** Booting Zephyr OS build v3.3.99-ncs1-1 ***
Starting bootloader
Swap type: perm
Swap type: perm
writing magic; fa_id=4 off=0xeeff0 (0xf6ff0)
writing magic; fa_id=1 off=0x3fff0 (0x3fff0)
Bootloader chainload address offset: 0x8000
Jumping to the first image slot
Start Do_Boot


uart:~$ *** Booting Zephyr OS build v3.3.99-ncs1-1 ***
I: KWIKSET HALO 3 VERSION: 00.03.01.00
I: Init CHIP stack
I: 159 [DL]BLE address: EF:AA:F0:A0:79:E0
I: Board config kwiksetmdb_nrf5340_cpuapp
I: IMAGE_VERSION 0.3.1+0
I: build time: Nov 30 2023 17:44:53
E: ====    Matter FW Ver: 0.3.1    ====
I: 198 [DL]OpenThread SED interval is 1000ms
I: 205 [DL]OpenThread started: OK
I: 208 [DL]Setting OpenThread device type to SLEEPY END DEVICE
I: 216 [SWU]DFU_BLEAdvertising_Init 
Swap type: none
I: 223 [SVR]Subscription persistence not supported
I: 227 [SVR]Server initializing...
I: 232 [TS]Last Known Good Time: 2023-11-30T17:43:12
I: 238 [DMG]AccessControl: initializing
I: 242 [DMG]Examples::AccessControlDelegate::Init
I: 247 [DMG]AccessControl: setting
I: 251 [DMG]DefaultAclStorage: initializing
I: 255 [DMG]DefaultAclStorage: 0 entries loaded
D: 261 [IN]UDP::Init bind&amp;amp;listen port=5540
E: 265 [IN]SO_REUSEPORT failed: 109
D: 269 [IN]UDP::Init bound to port=5540
D: 273 [IN]BLEBase::Init - setting/overriding transport
D: 278 [IN]TransportMgr initialized
D: 286 [DL]Using Thread extended MAC for hostname.
I: 292 [ZCL]Using ZAP configuration...
I: 298 [DMG]AccessControlCluster: initializing
D: 303 [DL]Boot reason: 6
I: 306 [ZCL]Initiating Admin Commissioning cluster.
I: 311 [ZCL]Door Lock server initialized
I: 316 [ZCL]Door Lock cluster initialized at endpoint #1
I: 322 [DIS]Updating services using commissioning mode 0
E: 328 [DIS]Failed to remove advertised services: 3
D: 334 [DL]Using Thread extended MAC for hostname.
I: 339 [DIS]Advertise commission parameter vendorID=65521 productID=32774 discriminator=3840/15 cm=0
E: 348 [DIS]Failed to advertise extended commissionable node: 3
D: 355 [DIS]Scheduling extended discovery timeout in 900s
E: 362 [DIS]Failed to finalize service update: 3
I: 367 [DIS]Delaying proxy of operational discovery: missing delegate
I: 373 [IN]CASE Server enabling CASE session setups
D: 380 [IN]SecureSession[0x200049f0]: Allocated Type:2 LSID:5378
I: 386 [SVR]Joining Multicast groups
I: 391 [SVR]Server Listening...
I: 394 [DL]Device Configuration:
I: 397 [DL]  Serial Number: 11223344556677889900
I: 403 [DL]  Vendor Id: 65521 (0xFFF1)
I: 407 [DL]  Product Id: 32774 (0x8006)
I: 411 [DL]  Product Name: not-specified
I: 415 [DL]  Hardware Version: 0
I: 419 [DL]  Setup Pin Code (0 for UNKNOWN/ERROR): 20202021
I: 425 [DL]  Setup Discriminator (0xFFFF for UNKNOWN/ERROR): 3840 (0xF00)
I: 432 [DL]  Manufacturing Date: 2022-01-01
I: 437 [DL]  Device Type: 65535 (0xFFFF)
I: 442 [SVR]SetupQRCode: [MT:8IXS142C00KA0648G00]
I: 446 [SVR]Copy/paste the below URL in a browser to see the QR Code:
I: 453 [SVR]https://project-chip.github.io/connectedhomeip/qrcode.html?data=MT%3A8IXS142C00KA0648G00
I: 465 [SVR]Manual pairing code: [34970112332]
I: 474 [DL]CHIP task running
I: 477 [DIS]Updating services using commissioning mode 0
E: 482 [DIS]Failed to remove advertised services: 3
D: 489 [DL]Using Thread extended MAC for hostname.
I: 494 [DIS]Advertise commission parameter vendorID=65521 productID=32774 discriminator=3840/15 cm=0
E: 503 [DIS]Failed to advertise extended commissionable node: 3
E: 510 [DIS]Failed to finalize service update: 3
I: FW Ver: 0.3.1+0; version: 00030100
I: Device has NOT gone through provisioning
I: network state 0
E: Sending UART cmd st 0
I: BLE Device ID: 2f29
I: Current OTA Stage = 10
I: dfu_header_data.image_count: 2
E: Sending UART cmd st 0
I: BLE Name set: HU:2F29 errCode: 0
I: 15696 [SWU]SMP BLE advertising started
I: 15700 [DL]DFU over SMP started
I: IMG Integrity Verified Successfully: 0
I: IMG Integrity Verified Successfully: 1
I: Current OTA Stage = 16
I: OTA device_id = 5 : DISCOVERY_REQ
I: SECURE_STM : DISCOVERY_REQ
I: OTA device_id = 5 : FW_VERSION_REQ
I: Secure STM Firmware Version: 2 0 1 1
I: OTA device_id = 5 : FW_UPDATE_START_REQ
I: SECURE_STM : IB_FW_UPDATE_START_REQUEST
I: STM OTA Progress = 10
I: STM OTA Progress = 20
I: STM OTA Progress = 30
I: STM OTA Progress = 40
I: STM OTA Progress = 50
I: STM OTA Progress = 60
I: STM OTA Progress = 70
I: STM OTA Progress = 80
I: STM OTA Progress = 90
I: STM OTA Progress = 100
I: OTA device_id = 5 : FW_UPDATE_REBOOT_REQ
I: SECURE_STM : REBOOT_COMMAND
I: STM Rebooted, MCUBoot Verifying Image
I: OTA device_id = 5 : FW_VERSION_REQ
I: Secure STM Firmware Version: 2 0 1 2
I: OTA device_id = 5 : FW_UPDATE_COMPLETE_REQ
I: SECURE_STM : IB_FW_UPDATE_COMPLETE_REQUEST
I: OTA device_id = 5 : FW_UPDATE_REBOOT_REQ
I: SECURE_STM : REBOOT_COMMAND
I: STM Rebooted, MCUBoot Confirming Image
I: OTA device_id = 5 : FW_VERSION_REQ
I: Secure STM Firmware Version: 2 0 1 2
I: STM Secure OTA Successful
I: Clear STM OTA Meta Data
I: Current OTA Stage = 17
I: Redpine OTA started
I: Current OTA Stage = 18
I: OTA device_id = 4 : DISCOVERY_REQ
I: STM_QSPI : IB_DEVICE_DISCOVERY_REQUEST
I: OTA device_id = 4 : FW_VERSION_REQ
I: STM_QSPI : IB_FW_VERSION_REQUEST
I: Redpine Firmware Version: 2.1.255.191
I: OTA device_id = 4 : FW_UPDATE_START_REQ
I: STM_QSPI : IB_FW_UPDATE_START_REQUEST
I: Redpine Image Stored into STM QSPI, Progress = 10
I: Redpine Image Stored into STM QSPI, Progress = 20
I: Redpine Image Stored into STM QSPI, Progress = 30
I: Redpine Image Stored into STM QSPI, Progress = 40
I: Redpine Image Stored into STM QSPI, Progress = 50
I: Redpine Image Stored into STM QSPI, Progress = 60
I: Redpine Image Stored into STM QSPI, Progress = 70
I: Redpine Image Stored into STM QSPI, Progress = 80
I: Redpine Image Stored into STM QSPI, Progress = 90
I: Redpine Image Stored into STM QSPI, Progress = 100
I: OTA device_id = 4 : FW_UPDATE_COMPLETE_REQ
I: STM_QSPI : IB_FW_UPDATE_COMPLETE_REQUEST
I: STM_QSPI : STM QSPI to Redpine SPI Image Transfer Ongoing (0)
I: STM_QSPI : STM QSPI to Redpine SPI Image Transfer Ongoing (10)
I: STM_QSPI : STM QSPI to Redpine SPI Image Transfer Ongoing (20)
I: STM_QSPI : STM QSPI to Redpine SPI Image Transfer Ongoing (30)
I: STM_QSPI : STM QSPI to Redpine SPI Image Transfer Ongoing (40)
I: STM_QSPI : STM QSPI to Redpine SPI Image Transfer Ongoing (50)
I: STM_QSPI : STM QSPI to Redpine SPI Image Transfer Ongoing (60)
I: STM_QSPI : STM QSPI to Redpine SPI Image Transfer Ongoing (70)
I: STM_QSPI : STM QSPI to Redpine SPI Image Transfer Ongoing (80)
I: STM_QSPI : STM QSPI to Redpine SPI Image Transfer Ongoing (90)
I: STM_QSPI : STM QSPI to Redpine SPI Image Transfer Ongoing (100)
I: STM_QSPI : IB_FW_UPDATE_REBOOT_REQUEST
I: Clear Redpine OTA Meta Data
I: Current OTA Stage = 24
I: Start to Erase OTA Bundle Image from External Flash
I: Erasing bundle from nRF Ext. Flash
I: Bundle Image Erased from nRF Ext. Flash: 0
I: Current OTA Stage = 25
I: FW Ver: 0.3.1+0; version: 00030100
I: 599094 [DL]DFU-BLE-Connected
I: BLE Connected
Swap type: none
I: 599375 [DL]DFU-BLE-Disconnected : 19
E: Sending UART cmd st 0
I: BLE Name set: HU:2F29 errCode: 0
I: 599388 [SWU]SMP BLE advertising started
I: 599392 [DL]DFU over SMP started
I: BLE Disconnected: 13
I: 616517 [DL]DFU-BLE-Connected
I: BLE Connected
I: 616788 [DL]DFU Image upload started
I: Current OTA Stage = 11
I: 629950 [DL]Image 0 download completed successfully
I: 629979 [DL]DFU-BLE-Disconnected : 19
E: Sending UART cmd st 0
I: BLE Name set: HU:2F29 errCode: 0
I: 629992 [SWU]SMP BLE advertising started
I: 629996 [DL]DFU over SMP started
I: BLE Disconnected: 13
I: 680454 [DL]DFU-BLE-Connected
I: BLE Connected
Swap type: none
I: 680735 [DL]DFU Image upload started
I: Current OTA Stage = 12
I: 770843 [DL]Image 1 download completed successfully
I: 770869 [DL]DFU-BLE-Disconnected : 19
E: Sending UART cmd st 0
I: BLE Name set: HU:2F29 errCode: 0
I: 770881 [SWU]SMP BLE advertising started
I: 770885 [DL]DFU over SMP started
I: BLE Disconnected: 13
I: 806672 [DL]DFU-BLE-Connected
I: BLE Connected
I: 825516 [DL]DFU Image upload started
D: 900362 [DIS]Extended discovery timed out
I: 900366 [DIS]Updating services using commissioning mode 0
E: 900372 [DIS]Failed to remove advertised services: 3
E: 900380 [DIS]Failed to finalize service update: 3
I: Current OTA Stage = 13
I: 1064341 [DL]Image 2 download completed successfully
I: Current OTA Stage = 14
I: 1064374 [DL]DFU-BLE-Disconnected : 19
E: Sending UART cmd st 0
I: BLE Name set: HU:2F29 errCode: 0
I: 1064386 [SWU]SMP BLE advertising started
I: 1064390 [DL]DFU over SMP started
I: BLE Disconnected: 13
I: 1083812 [DL]DFU-BLE-Connected
I: BLE Connected
Swap type: none
Swap type: none
Swap type: none
I: 1084139 [DL]DFU-BLE-Disconnected : 19
E: Sending UART cmd st 0
I: BLE Name set: HU:2F29 errCode: 0
I: 1084152 [SWU]SMP BLE advertising started
I: 1084156 [DL]DFU over SMP started
I: BLE Disconnected: 13
I: 1101243 [DL]DFU-BLE-Connected
I: BLE Connected
E: img_mgmt_find_by_hash Return i=1
E: a4 a4
E: 1d 1d
E: 1e 1e
E: a8 a8
E: b8 b8
E: 1d 1d
E: 72 72
E: 1b 1b
E: c0 c0
E: 13 13
E: cc cc
E: 3e 3e
E: d6 d6
E: e7 e7
E: 2f 2f
E: d4 d4
E: 4c 4c
E: 9 9
E: 25 25
E: 26 26
E: d1 d1
E: df df
E: b3 b3
E: 7b 7b
E: 1d 1d
E: f3 f3
E: b1 b1
E: db db
E: 4b 4b
E: 7c 7c
E: c3 c3
E: b4 b4
E: img_mgmt_find_by_hash slot = 1, confirm = 1
E: area_id = 2, active = 0
E: Success 1
E: Success 2
writing magic; fa_id=2 off=0xeeff0 (0xeeff0)
writing image_ok; fa_id=2 off=0xeefe8 (0xeefe8)
writing swap_info; fa_id=2 off=0xeefd8 (0xeefd8), swap_type=0x3 image_num=0x0
E: Success 3
E: *** rc = 0 ***
E: img_mgmt_set_boot_next rc = 0
Swap type: perm
Swap type: perm
Swap type: none
E: img_mgmt_state_read rc = 0
I: 1101614 [DL]DFU-BLE-Disconnected : 19
E: Sending UART cmd st 0
I: BLE Name set: HU:2F29 errCode: 0
I: 1101627 [SWU]SMP BLE advertising started
I: 1101631 [DL]DFU over SMP started
I: BLE Disconnected: 13
I: 1138853 [DL]DFU-BLE-Connected
I: BLE Connected
E: img_mgmt_find_by_hash Continue
E: img_mgmt_find_by_hash Return i=3
E: 9 9
E: 4 4
E: ba ba
E: 45 45
E: 18 18
E: a a
E: c3 c3
E: 6d 6d
E: 87 87
E: da da
E: c3 c3
E: ec ec
E: f2 f2
E: d d
E: 73 73
E: b1 b1
E: 9b 9b
E: f4 f4
E: 52 52
E: 8b 8b
E: 67 67
E: 23 23
E: 29 29
E: 47 47
E: 9 9
E: 40 40
E: 93 93
E: 98 98
E: d7 d7
E: 3b 3b
E: 9c 9c
E: 12 12
E: img_mgmt_find_by_hash slot = 3, confirm = 1
E: area_id = 8, active = 0
E: Success 1
E: Success 2
writing magic; fa_id=8 off=0x3fff0 (0x12eff0)
writing image_ok; fa_id=8 off=0x3ffe8 (0x12efe8)
writing swap_info; fa_id=8 off=0x3ffd8 (0x12efd8), swap_type=0x3 image_num=0x0
E: Success 3
E: *** rc = 0 ***
E: img_mgmt_set_boot_next rc = 0
Swap type: perm
Swap type: perm
Swap type: perm
E: img_mgmt_state_read rc = 0
I: 1139241 [DL]DFU-BLE-Disconnected : 19
E: Sending UART cmd st 0
I: BLE Name set: HU:2F29 errCode: 0
I: 1139254 [SWU]SMP BLE advertising started
I: 1139258 [DL]DFU over SMP started
I: BLE Disconnected: 13
I: 1171161 [DL]DFU-BLE-Connected
I: BLE Connected
in os_mgmt_reset
in os_mgmt_reset, Timer Register
I: 1171453 [DL]DFU-BLE-Disconnected : 19
E: Sending UART cmd st 0
I: BLE Name set: HU:2F29 errCode: 0
I: 1171466 [SWU]SMP BLE advertising started
I: 1171470 [DL]DFU over SMP started
I: BLE Disconnected: 13
in os_mgmt_reset_cb
os_mgmt_reset_work_handler: System Rebooted
*** Booting Zephyr OS build v3.3.99-ncs1-1 ***
Starting bootloader
Swap type: perm
Swap type: perm
writing magic; fa_id=4 off=0xeeff0 (0xf6ff0)
writing magic; fa_id=1 off=0x3fff0 (0x3fff0)
Bootloader chainload address offset: 0x8000
Jumping to the first image slot
Start Do_Boot


uart:~$ *** Booting Zephyr OS build v3.3.99-ncs1-1 ***
I: KWIKSET HALO 3 VERSION: 00.03.00.00
I: Init CHIP stack
I: 159 [DL]BLE address: C3:8F:3B:32:88:A5
I: Board config kwiksetmdb_nrf5340_cpuapp
I: IMAGE_VERSION 0.3.0+0
I: build time: Nov 30 2023 11:09:14
E: ====    Matter FW Ver: 0.3.0    ====
I: 198 [DL]OpenThread SED interval is 1000ms
I: 205 [DL]OpenThread started: OK
I: 208 [DL]Setting OpenThread device type to SLEEPY END DEVICE
I: 216 [SWU]DFU_BLEAdvertising_Init 
Swap type: none
I: 223 [SVR]Subscription persistence not supported
I: 227 [SVR]Server initializing...
I: 232 [TS]Last Known Good Time: 2023-11-30T17:43:12
I: 238 [DMG]AccessControl: initializing
I: 242 [DMG]Examples::AccessControlDelegate::Init
I: 248 [DMG]AccessControl: setting
I: 251 [DMG]DefaultAclStorage: initializing
I: 255 [DMG]DefaultAclStorage: 0 entries loaded
D: 260 [IN]UDP::Init bind&amp;amp;listen port=5540
E: 265 [IN]SO_REUSEPORT failed: 109
D: 269 [IN]UDP::Init bound to port=5540
D: 273 [IN]BLEBase::Init - setting/overriding transport
D: 278 [IN]TransportMgr initialized
D: 285 [DL]Using Thread extended MAC for hostname.
I: 292 [ZCL]Using ZAP configuration...
I: 298 [DMG]AccessControlCluster: initializing
D: 303 [DL]Boot reason: 6
I: 306 [ZCL]Initiating Admin Commissioning cluster.
I: 311 [ZCL]Door Lock server initialized
I: 316 [ZCL]Door Lock cluster initialized at endpoint #1
I: 322 [DIS]Updating services using commissioning mode 0
E: 328 [DIS]Failed to remove advertised services: 3
D: 334 [DL]Using Thread extended MAC for hostname.
I: 339 [DIS]Advertise commission parameter vendorID=65521 productID=32774 discriminator=3840/15 cm=0
E: 348 [DIS]Failed to advertise extended commissionable node: 3
D: 355 [DIS]Scheduling extended discovery timeout in 900s
E: 362 [DIS]Failed to finalize service update: 3
I: 366 [DIS]Delaying proxy of operational discovery: missing delegate
I: 373 [IN]CASE Server enabling CASE session setups
D: 380 [IN]SecureSession[0x200049f0]: Allocated Type:2 LSID:10418
I: 386 [SVR]Joining Multicast groups
I: 391 [SVR]Server Listening...
I: 394 [DL]Device Configuration:
I: 397 [DL]  Serial Number: 11223344556677889900
I: 403 [DL]  Vendor Id: 65521 (0xFFF1)
I: 407 [DL]  Product Id: 32774 (0x8006)
I: 411 [DL]  Product Name: not-specified
I: 415 [DL]  Hardware Version: 0
I: 418 [DL]  Setup Pin Code (0 for UNKNOWN/ERROR): 20202021
I: 424 [DL]  Setup Discriminator (0xFFFF for UNKNOWN/ERROR): 3840 (0xF00)
I: 432 [DL]  Manufacturing Date: 2022-01-01
I: 437 [DL]  Device Type: 65535 (0xFFFF)
I: 442 [SVR]SetupQRCode: [MT:8IXS142C00KA0648G00]
I: 447 [SVR]Copy/paste the below URL in a browser to see the QR Code:
I: 453 [SVR]https://project-chip.github.io/connectedhomeip/qrcode.html?data=MT%3A8IXS142C00KA0648G00
I: 465 [SVR]Manual pairing code: [34970112332]
I: 474 [DL]CHIP task running
I: 477 [DIS]Updating services using commissioning mode 0
E: 482 [DIS]Failed to remove advertised services: 3
D: 488 [DL]Using Thread extended MAC for hostname.
I: 494 [DIS]Advertise commission parameter vendorID=65521 productID=32774 discriminator=3840/15 cm=0
E: 503 [DIS]Failed to advertise extended commissionable node: 3
E: 511 [DIS]Failed to finalize service update: 3
I: FW Ver: 0.3.0+0; version: 00030000
I: Device has NOT gone through provisioning
I: network state 0
E: Sending UART cmd st 0
I: BLE Device ID: 2f29
I: Current OTA Stage = 10
I: dfu_header_data.image_count: 2
E: Sending UART cmd st 0
I: BLE Name set: HU:2F29 errCode: 0
I: 15701 [SWU]SMP BLE advertising started
I: 15705 [DL]DFU over SMP started
I: IMG Integrity Verified Successfully: 0
I: IMG Integrity Verified Successfully: 1
I: Current OTA Stage = 16
I: OTA device_id = 5 : DISCOVERY_REQ
I: SECURE_STM : DISCOVERY_REQ
I: OTA device_id = 5 : FW_VERSION_REQ
I: Secure STM Firmware Version: 2 0 1 2
I: OTA device_id = 5 : FW_UPDATE_START_REQ
I: SECURE_STM : IB_FW_UPDATE_START_REQUEST
I: STM OTA Progress = 10
I: STM OTA Progress = 20
I: STM OTA Progress = 30
I: STM OTA Progress = 40
I: STM OTA Progress = 50
I: STM OTA Progress = 60
I: STM OTA Progress = 70
I: STM OTA Progress = 80
I: STM OTA Progress = 90
I: STM OTA Progress = 100
I: OTA device_id = 5 : FW_UPDATE_REBOOT_REQ
I: SECURE_STM : REBOOT_COMMAND
I: STM Rebooted, MCUBoot Verifying Image
I: OTA device_id = 5 : FW_VERSION_REQ
I: Secure STM Firmware Version: 2 0 1 1
I: OTA device_id = 5 : FW_UPDATE_COMPLETE_REQ
I: SECURE_STM : IB_FW_UPDATE_COMPLETE_REQUEST
I: OTA device_id = 5 : FW_UPDATE_REBOOT_REQ
I: SECURE_STM : REBOOT_COMMAND
I: STM Rebooted, MCUBoot Confirming Image
I: OTA device_id = 5 : FW_VERSION_REQ
I: Secure STM Firmware Version: 2 0 1 1
I: STM Secure OTA Successful
I: Clear STM OTA Meta Data
I: Current OTA Stage = 17
I: Redpine OTA started
I: Current OTA Stage = 18
I: OTA device_id = 4 : DISCOVERY_REQ
I: STM_QSPI : IB_DEVICE_DISCOVERY_REQUEST
I: OTA device_id = 4 : FW_VERSION_REQ
I: STM_QSPI : IB_FW_VERSION_REQUEST
I: Redpine Firmware Version: 2.1.255.191
I: OTA device_id = 4 : FW_UPDATE_START_REQ
I: STM_QSPI : IB_FW_UPDATE_START_REQUEST
I: Redpine Image Stored into STM QSPI, Progress = 10
I: Redpine Image Stored into STM QSPI, Progress = 20
I: Redpine Image Stored into STM QSPI, Progress = 30
I: Redpine Image Stored into STM QSPI, Progress = 40
I: Redpine Image Stored into STM QSPI, Progress = 50
I: Redpine Image Stored into STM QSPI, Progress = 60
I: Redpine Image Stored into STM QSPI, Progress = 70
I: Redpine Image Stored into STM QSPI, Progress = 80
I: Redpine Image Stored into STM QSPI, Progress = 90
I: Redpine Image Stored into STM QSPI, Progress = 100
I: OTA device_id = 4 : FW_UPDATE_COMPLETE_REQ
I: STM_QSPI : IB_FW_UPDATE_COMPLETE_REQUEST
I: STM_QSPI : STM QSPI to Redpine SPI Image Transfer Ongoing (0)
I: STM_QSPI : STM QSPI to Redpine SPI Image Transfer Ongoing (10)
I: STM_QSPI : STM QSPI to Redpine SPI Image Transfer Ongoing (20)
I: STM_QSPI : STM QSPI to Redpine SPI Image Transfer Ongoing (30)
I: STM_QSPI : STM QSPI to Redpine SPI Image Transfer Ongoing (40)
I: STM_QSPI : STM QSPI to Redpine SPI Image Transfer Ongoing (50)
I: STM_QSPI : STM QSPI to Redpine SPI Image Transfer Ongoing (60)
I: STM_QSPI : STM QSPI to Redpine SPI Image Transfer Ongoing (70)
I: STM_QSPI : STM QSPI to Redpine SPI Image Transfer Ongoing (80)
I: STM_QSPI : STM QSPI to Redpine SPI Image Transfer Ongoing (90)
I: STM_QSPI : STM QSPI to Redpine SPI Image Transfer Ongoing (100)
I: STM_QSPI : IB_FW_UPDATE_REBOOT_REQUEST
I: Clear Redpine OTA Meta Data
I: Current OTA Stage = 24
I: Start to Erase OTA Bundle Image from External Flash
I: Erasing bundle from nRF Ext. Flash
I: Bundle Image Erased from nRF Ext. Flash: 0
I: Current OTA Stage = 25
I: FW Ver: 0.3.0+0; version: 00030000
I: 598983 [DL]DFU-BLE-Connected
I: BLE Connected
Swap type: none
I: 599283 [DL]DFU-BLE-Disconnected : 19
E: Sending UART cmd st 0
I: BLE Name set: HU:2F29 errCode: 0
I: 599295 [SWU]SMP BLE advertising started
I: 599299 [DL]DFU over SMP started
I: BLE Disconnected: 13
I: STOP BLE Advertisment
I: STOP BLE Advertisment After Post OTA
E: Sending UART cmd st 0
E: Sending UART cmd st 0
I: 617398 [DL]DFU-BLE-Connected
I: BLE Connected
I: 617693 [DL]DFU Image upload started
I: Current OTA Stage = 11
I: 630832 [DL]Image 0 download completed successfully
I: 630861 [DL]DFU-BLE-Disconnected : 19
E: Sending UART cmd st 0
I: BLE Name set: HU:2F29 errCode: 0
I: 630874 [SWU]SMP BLE advertising started
I: 630878 [DL]DFU over SMP started
I: BLE Disconnected: 13
I: 679850 [DL]DFU-BLE-Connected
I: BLE Connected
Swap type: none
I: 680140 [DL]DFU Image upload started
I: Current OTA Stage = 12
I: 769588 [DL]Image 1 download completed successfully
I: 769613 [DL]DFU-BLE-Disconnected : 19
E: Sending UART cmd st 0
I: BLE Name set: HU:2F29 errCode: 0
I: 769626 [SWU]SMP BLE advertising started
I: 769630 [DL]DFU over SMP started
I: BLE Disconnected: 13
I: 804080 [DL]DFU-BLE-Connected
I: BLE Connected
I: 822932 [DL]DFU Image upload started
D: 900363 [DIS]Extended discovery timed out
I: 900369 [DIS]Updating services using commissioning mode 0
E: 900377 [DIS]Failed to remove advertised services: 3
E: 900384 [DIS]Failed to finalize service update: 3
I: Current OTA Stage = 13
I: 1061646 [DL]Image 2 download completed successfully
I: Current OTA Stage = 14
I: 1061678 [DL]DFU-BLE-Disconnected : 19
E: Sending UART cmd st 0
I: BLE Name set: HU:2F29 errCode: 0
I: 1061691 [SWU]SMP BLE advertising started
I: 1061695 [DL]DFU over SMP started
I: BLE Disconnected: 13
I: 1083620 [DL]DFU-BLE-Connected
I: BLE Connected
Swap type: none
Swap type: none
Swap type: none
I: 1083927 [DL]DFU-BLE-Disconnected : 19
E: Sending UART cmd st 0
I: BLE Name set: HU:2F29 errCode: 0
I: 1083939 [SWU]SMP BLE advertising started
I: 1083943 [DL]DFU over SMP started
I: BLE Disconnected: 13
I: 1101512 [DL]DFU-BLE-Connected
I: BLE Connected
E: img_mgmt_find_by_hash Return i=1
E: cb cb
E: 96 96
E: 29 29
E: f f
E: d9 d9
E: a a
E: b7 b7
E: b b
E: 3e 3e
E: a1 a1
E: 45 45
E: aa aa
E: 46 46
E: 56 56
E: 19 19
E: 5d 5d
E: be be
E: 6e 6e
E: 4b 4b
E: eb eb
E: 7c 7c
E: e0 e0
E: bf bf
E: f0 f0
E: f4 f4
E: b8 b8
E: 18 18
E: e8 e8
E: 92 92
E: 53 53
E: 2 2
E: 82 82
E: img_mgmt_find_by_hash slot = 1, confirm = 1
E: area_id = 2, active = 0
E: Success 1
E: Success 2
writing magic; fa_id=2 off=0xeeff0 (0xeeff0)
writing image_ok; fa_id=2 off=0xeefe8 (0xeefe8)
writing swap_info; fa_id=2 off=0xeefd8 (0xeefd8), swap_type=0x3 image_num=0x0
E: Success 3
E: *** rc = 0 ***
E: img_mgmt_set_boot_next rc = 0
Swap type: perm
Swap type: perm
Swap type: none
E: img_mgmt_state_read rc = 0
I: 1101881 [DL]DFU-BLE-Disconnected : 19
E: Sending UART cmd st 0
I: BLE Name set: HU:2F29 errCode: 0
I: 1101894 [SWU]SMP BLE advertising started
I: 1101898 [DL]DFU over SMP started
I: BLE Disconnected: 13
I: 1139387 [DL]DFU-BLE-Connected
I: BLE Connected
E: img_mgmt_find_by_hash Continue
E: img_mgmt_find_by_hash Return i=3
E: 19 19
E: 64 64
E: b b
E: b1 b1
E: 5e 5e
E: dc dc
E: e6 e6
E: 77 77
E: 8c 8c
E: ef ef
E: 69 69
E: 20 20
E: 5f 5f
E: ae ae
E: 54 54
E: 61 61
E: a3 a3
E: 99 99
E: ff ff
E: 7c 7c
E: 4d 4d
E: 65 65
E: f3 f3
E: 4c 4c
E: 53 53
E: 6c 6c
E: 37 37
E: 88 88
E: 2f 2f
E: e1 e1
E: 39 39
E: 7e 7e
E: img_mgmt_find_by_hash slot = 3, confirm = 1
E: area_id = 8, active = 0
E: Success 1
E: Success 2
writing magic; fa_id=8 off=0x3fff0 (0x12eff0)
writing image_ok; fa_id=8 off=0x3ffe8 (0x12efe8)
writing swap_info; fa_id=8 off=0x3ffd8 (0x12efd8), swap_type=0x3 image_num=0x0
E: Success 3
E: *** rc = 0 ***
E: img_mgmt_set_boot_next rc = 0
Swap type: perm
Swap type: perm
Swap type: perm
E: img_mgmt_state_read rc = 0
I: 1139756 [DL]DFU-BLE-Disconnected : 19
E: Sending UART cmd st 0
I: BLE Name set: HU:2F29 errCode: 0
I: 1139769 [SWU]SMP BLE advertising started
I: 1139773 [DL]DFU over SMP started
I: BLE Disconnected: 13
I: 1171666 [DL]DFU-BLE-Connected
I: BLE Connected
in os_mgmt_reset
in os_mgmt_reset, Timer Register
I: 1171915 [DL]DFU-BLE-Disconnected : 19
E: Sending UART cmd st 0
I: BLE Name set: HU:2F29 errCode: 0
I: 1171928 [SWU]SMP BLE advertising started
I: 1171932 [DL]DFU over SMP started
I: BLE Disconnected: 13
in os_mgmt_reset_cb
os_mgmt_reset_work_handler: System Rebooted
*** Booting Zephyr OS build v3.3.99-ncs1-1 ***
Starting bootloader
Swap type: perm
Swap type: perm
writing magic; fa_id=4 off=0xeeff0 (0xf6ff0)
writing magic; fa_id=1 off=0x3fff0 (0x3fff0)
Bootloader chainload address offset: 0x8000
Jumping to the first image slot
Start Do_Boot


uart:~$ *** Booting Zephyr OS build v3.3.99-ncs1-1 ***
I: KWIKSET HALO 3 VERSION: 00.03.01.00
I: Init CHIP stack
I: 159 [DL]BLE address: F1:90:B9:59:D7:78
I: Board config kwiksetmdb_nrf5340_cpuapp
I: IMAGE_VERSION 0.3.1+0
I: build time: Nov 30 2023 17:44:53
E: ====    Matter FW Ver: 0.3.1    ====
I: 198 [DL]OpenThread SED interval is 1000ms
I: 205 [DL]OpenThread started: OK
I: 209 [DL]Setting OpenThread device type to SLEEPY END DEVICE
I: 216 [SWU]DFU_BLEAdvertising_Init 
Swap type: none
I: 223 [SVR]Subscription persistence not supported
I: 227 [SVR]Server initializing...
I: 232 [TS]Last Known Good Time: 2023-11-30T17:43:12
I: 238 [DMG]AccessControl: initializing
I: 242 [DMG]Examples::AccessControlDelegate::Init
I: 248 [DMG]AccessControl: setting
I: 251 [DMG]DefaultAclStorage: initializing
I: 255 [DMG]DefaultAclStorage: 0 entries loaded
D: 260 [IN]UDP::Init bind&amp;amp;listen port=5540
E: 265 [IN]SO_REUSEPORT failed: 109
D: 269 [IN]UDP::Init bound to port=5540
D: 273 [IN]BLEBase::Init - setting/overriding transport
D: 278 [IN]TransportMgr initialized
D: 286 [DL]Using Thread extended MAC for hostname.
I: 292 [ZCL]Using ZAP configuration...
I: 298 [DMG]AccessControlCluster: initializing
D: 303 [DL]Boot reason: 6
I: 306 [ZCL]Initiating Admin Commissioning cluster.
I: 311 [ZCL]Door Lock server initialized
I: 316 [ZCL]Door Lock cluster initialized at endpoint #1
I: 322 [DIS]Updating services using commissioning mode 0
E: 328 [DIS]Failed to remove advertised services: 3
D: 334 [DL]Using Thread extended MAC for hostname.
I: 339 [DIS]Advertise commission parameter vendorID=65521 productID=32774 discriminator=3840/15 cm=0
E: 348 [DIS]Failed to advertise extended commissionable node: 3
D: 355 [DIS]Scheduling extended discovery timeout in 900s
E: 361 [DIS]Failed to finalize service update: 3
I: 366 [DIS]Delaying proxy of operational discovery: missing delegate
I: 373 [IN]CASE Server enabling CASE session setups
D: 380 [IN]SecureSession[0x200049f0]: Allocated Type:2 LSID:19927
I: 386 [SVR]Joining Multicast groups
I: 391 [SVR]Server Listening...
I: 394 [DL]Device Configuration:
I: 398 [DL]  Serial Number: 11223344556677889900
I: 402 [DL]  Vendor Id: 65521 (0xFFF1)
I: 407 [DL]  Product Id: 32774 (0x8006)
I: 411 [DL]  Product Name: not-specified
I: 415 [DL]  Hardware Version: 0
I: 419 [DL]  Setup Pin Code (0 for UNKNOWN/ERROR): 20202021
I: 425 [DL]  Setup Discriminator (0xFFFF for UNKNOWN/ERROR): 3840 (0xF00)
I: 433 [DL]  Manufacturing Date: 2022-01-01
I: 437 [DL]  Device Type: 65535 (0xFFFF)
I: 442 [SVR]SetupQRCode: [MT:8IXS142C00KA0648G00]
I: 447 [SVR]Copy/paste the below URL in a browser to see the QR Code:
I: 453 [SVR]https://project-chip.github.io/connectedhomeip/qrcode.html?data=MT%3A8IXS142C00KA0648G00
I: 464 [SVR]Manual pairing code: [34970112332]
I: 474 [DL]CHIP task running
I: 477 [DIS]Updating services using commissioning mode 0
E: 483 [DIS]Failed to remove advertised services: 3
D: 488 [DL]Using Thread extended MAC for hostname.
I: 494 [DIS]Advertise commission parameter vendorID=65521 productID=32774 discriminator=3840/15 cm=0
E: 503 [DIS]Failed to advertise extended commissionable node: 3
E: 510 [DIS]Failed to finalize service update: 3
I: FW Ver: 0.3.1+0; version: 00030100
I: Device has NOT gone through provisioning
I: network state 0
E: Sending UART cmd st 0
I: BLE Device ID: 2f29
I: Current OTA Stage = 10
I: dfu_header_data.image_count: 2
E: Sending UART cmd st 0
I: BLE Name set: HU:2F29 errCode: 0
I: 15697 [SWU]SMP BLE advertising started
I: 15700 [DL]DFU over SMP started
I: IMG Integrity Verified Successfully: 0
I: IMG Integrity Verified Successfully: 1
I: Current OTA Stage = 16
I: OTA device_id = 5 : DISCOVERY_REQ
I: SECURE_STM : DISCOVERY_REQ
I: OTA device_id = 5 : FW_VERSION_REQ
I: Secure STM Firmware Version: 2 0 1 1
I: OTA device_id = 5 : FW_UPDATE_START_REQ
I: SECURE_STM : IB_FW_UPDATE_START_REQUEST
I: STM OTA Progress = 10
I: STM OTA Progress = 20
I: STM OTA Progress = 30
I: STM OTA Progress = 40
I: STM OTA Progress = 50
I: STM OTA Progress = 60
I: STM OTA Progress = 70
I: STM OTA Progress = 80
I: STM OTA Progress = 90
I: STM OTA Progress = 100
I: OTA device_id = 5 : FW_UPDATE_REBOOT_REQ
I: SECURE_STM : REBOOT_COMMAND
I: STM Rebooted, MCUBoot Verifying Image
I: OTA device_id = 5 : FW_VERSION_REQ
I: Secure STM Firmware Version: 2 0 1 2
I: OTA device_id = 5 : FW_UPDATE_COMPLETE_REQ
I: SECURE_STM : IB_FW_UPDATE_COMPLETE_REQUEST
I: OTA device_id = 5 : FW_UPDATE_REBOOT_REQ
I: SECURE_STM : REBOOT_COMMAND
I: STM Rebooted, MCUBoot Confirming Image
I: OTA device_id = 5 : FW_VERSION_REQ
I: Secure STM Firmware Version: 2 0 1 2
I: STM Secure OTA Successful
I: Clear STM OTA Meta Data
I: Current OTA Stage = 17
I: Redpine OTA started
I: Current OTA Stage = 18
I: OTA device_id = 4 : DISCOVERY_REQ
I: STM_QSPI : IB_DEVICE_DISCOVERY_REQUEST
I: OTA device_id = 4 : FW_VERSION_REQ
I: STM_QSPI : IB_FW_VERSION_REQUEST
I: Redpine Firmware Version: 2.1.255.191
I: OTA device_id = 4 : FW_UPDATE_START_REQ
I: STM_QSPI : IB_FW_UPDATE_START_REQUEST
I: Redpine Image Stored into STM QSPI, Progress = 10
I: Redpine Image Stored into STM QSPI, Progress = 20
I: Redpine Image Stored into STM QSPI, Progress = 30
I: Redpine Image Stored into STM QSPI, Progress = 40
I: Redpine Image Stored into STM QSPI, Progress = 50
I: Redpine Image Stored into STM QSPI, Progress = 60
I: Redpine Image Stored into STM QSPI, Progress = 70
I: Redpine Image Stored into STM QSPI, Progress = 80
I: Redpine Image Stored into STM QSPI, Progress = 90
I: Redpine Image Stored into STM QSPI, Progress = 100
I: OTA device_id = 4 : FW_UPDATE_COMPLETE_REQ
I: STM_QSPI : IB_FW_UPDATE_COMPLETE_REQUEST
I: STM_QSPI : STM QSPI to Redpine SPI Image Transfer Ongoing (0)
I: STM_QSPI : STM QSPI to Redpine SPI Image Transfer Ongoing (10)
I: STM_QSPI : STM QSPI to Redpine SPI Image Transfer Ongoing (20)
I: STM_QSPI : STM QSPI to Redpine SPI Image Transfer Ongoing (30)
I: STM_QSPI : STM QSPI to Redpine SPI Image Transfer Ongoing (40)
I: STM_QSPI : STM QSPI to Redpine SPI Image Transfer Ongoing (50)
I: STM_QSPI : STM QSPI to Redpine SPI Image Transfer Ongoing (60)
I: STM_QSPI : STM QSPI to Redpine SPI Image Transfer Ongoing (70)
I: STM_QSPI : STM QSPI to Redpine SPI Image Transfer Ongoing (80)
I: STM_QSPI : STM QSPI to Redpine SPI Image Transfer Ongoing (90)
I: STM_QSPI : STM QSPI to Redpine SPI Image Transfer Ongoing (100)
I: STM_QSPI : IB_FW_UPDATE_REBOOT_REQUEST
I: Clear Redpine OTA Meta Data
I: Current OTA Stage = 24
I: Start to Erase OTA Bundle Image from External Flash
I: Erasing bundle from nRF Ext. Flash
I: Bundle Image Erased from nRF Ext. Flash: 0
I: Current OTA Stage = 25
I: FW Ver: 0.3.1+0; version: 00030100
I: 598205 [DL]DFU-BLE-Connected
I: BLE Connected
Swap type: none
I: 598477 [DL]DFU-BLE-Disconnected : 19
E: Sending UART cmd st 0
I: BLE Name set: HU:2F29 errCode: 0
I: 598490 [SWU]SMP BLE advertising started
I: 598494 [DL]DFU over SMP started
I: BLE Disconnected: 13
I: 616913 [DL]DFU-BLE-Connected
I: BLE Connected
I: 617203 [DL]DFU Image upload started
I: Current OTA Stage = 11
I: 630413 [DL]Image 0 download completed successfully
I: 630442 [DL]DFU-BLE-Disconnected : 19
E: Sending UART cmd st 0
I: BLE Name set: HU:2F29 errCode: 0
I: 630455 [SWU]SMP BLE advertising started
I: 630458 [DL]DFU over SMP started
I: BLE Disconnected: 13
I: 679664 [DL]DFU-BLE-Connected
I: BLE Connected
Swap type: none
I: 679964 [DL]DFU Image upload started
I: Current OTA Stage = 12
I: 769641 [DL]Image 1 download completed successfully
I: 769666 [DL]DFU-BLE-Disconnected : 19
E: Sending UART cmd st 0
I: BLE Name set: HU:2F29 errCode: 0
I: 769679 [SWU]SMP BLE advertising started
I: 769683 [DL]DFU over SMP started
I: BLE Disconnected: 13
I: 804085 [DL]DFU-BLE-Connected
I: BLE Connected
I: 822910 [DL]DFU Image upload started
D: 900361 [DIS]Extended discovery timed out
I: 900365 [DIS]Updating services using commissioning mode 0
E: 900371 [DIS]Failed to remove advertised services: 3
E: 900377 [DIS]Failed to finalize service update: 3
I: Current OTA Stage = 13
I: 1061643 [DL]Image 2 download completed successfully
I: Current OTA Stage = 14
I: 1061675 [DL]DFU-BLE-Disconnected : 19
E: Sending UART cmd st 0
I: BLE Name set: HU:2F29 errCode: 0
I: 1061688 [SWU]SMP BLE advertising started
I: 1061692 [DL]DFU over SMP started
I: BLE Disconnected: 13
I: 1081061 [DL]DFU-BLE-Connected
I: BLE Connected
Swap type: none
Swap type: none
Swap type: none
I: 1081359 [DL]DFU-BLE-Disconnected : 19
E: Sending UART cmd st 0
I: BLE Name set: HU:2F29 errCode: 0
I: 1081371 [SWU]SMP BLE advertising started
I: 1081375 [DL]DFU over SMP started
I: BLE Disconnected: 13
I: 1097957 [DL]DFU-BLE-Connected
I: BLE Connected
E: img_mgmt_find_by_hash Return i=1
E: a4 a4
E: 1d 1d
E: 1e 1e
E: a8 a8
E: b8 b8
E: 1d 1d
E: 72 72
E: 1b 1b
E: c0 c0
E: 13 13
E: cc cc
E: 3e 3e
E: d6 d6
E: e7 e7
E: 2f 2f
E: d4 d4
E: 4c 4c
E: 9 9
E: 25 25
E: 26 26
E: d1 d1
E: df df
E: b3 b3
E: 7b 7b
E: 1d 1d
E: f3 f3
E: b1 b1
E: db db
E: 4b 4b
E: 7c 7c
E: c3 c3
E: b4 b4
E: img_mgmt_find_by_hash slot = 1, confirm = 1
E: area_id = 2, active = 0
E: Success 1
E: Success 2
writing magic; fa_id=2 off=0xeeff0 (0xeeff0)
writing image_ok; fa_id=2 off=0xeefe8 (0xeefe8)
writing swap_info; fa_id=2 off=0xeefd8 (0xeefd8), swap_type=0x3 image_num=0x0
E: Success 3
E: *** rc = 0 ***
E: img_mgmt_set_boot_next rc = 0
Swap type: perm
Swap type: perm
Swap type: none
E: img_mgmt_state_read rc = 0
I: 1098331 [DL]DFU-BLE-Disconnected : 19
E: Sending UART cmd st 0
I: BLE Name set: HU:2F29 errCode: 0
I: 1098344 [SWU]SMP BLE advertising started
I: 1098348 [DL]DFU over SMP started
I: BLE Disconnected: 13
I: 1135567 [DL]DFU-BLE-Connected
I: BLE Connected
E: img_mgmt_find_by_hash Continue
E: img_mgmt_find_by_hash Return i=3
E: 9 9
E: 4 4
E: ba ba
E: 45 45
E: 18 18
E: a a
E: c3 c3
E: 6d 6d
E: 87 87
E: da da
E: c3 c3
E: ec ec
E: f2 f2
E: d d
E: 73 73
E: b1 b1
E: 9b 9b
E: f4 f4
E: 52 52
E: 8b 8b
E: 67 67
E: 23 23
E: 29 29
E: 47 47
E: 9 9
E: 40 40
E: 93 93
E: 98 98
E: d7 d7
E: 3b 3b
E: 9c 9c
E: 12 12
E: img_mgmt_find_by_hash slot = 3, confirm = 1
E: area_id = 8, active = 0
E: Success 1
E: Success 2
writing magic; fa_id=8 off=0x3fff0 (0x12eff0)
writing image_ok; fa_id=8 off=0x3ffe8 (0x12efe8)
writing swap_info; fa_id=8 off=0x3ffd8 (0x12efd8), swap_type=0x3 image_num=0x0
E: Success 3
E: *** rc = 0 ***
E: img_mgmt_set_boot_next rc = 0
Swap type: perm
Swap type: perm
Swap type: perm
E: img_mgmt_state_read rc = 0
I: 1135958 [DL]DFU-BLE-Disconnected : 19
E: Sending UART cmd st 0
I: BLE Name set: HU:2F29 errCode: 0
I: 1135971 [SWU]SMP BLE advertising started
I: 1135975 [DL]DFU over SMP started
I: BLE Disconnected: 13
I: 1168346 [DL]DFU-BLE-Connected
I: BLE Connected
in os_mgmt_reset
in os_mgmt_reset, Timer Register
I: 1168627 [DL]DFU-BLE-Disconnected : 19
E: Sending UART cmd st 0
I: BLE Name set: HU:2F29 errCode: 0
I: 1168640 [SWU]SMP BLE advertising started
I: 1168644 [DL]DFU over SMP started
I: BLE Disconnected: 13
in os_mgmt_reset_cb
os_mgmt_reset_work_handler: System Rebooted
*** Booting Zephyr OS build v3.3.99-ncs1-1 ***
Starting bootloader
Swap type: perm
Swap type: perm
writing magic; fa_id=4 off=0xeeff0 (0xf6ff0)
writing magic; fa_id=1 off=0x3fff0 (0x3fff0)
Bootloader chainload address offset: 0x8000
Jumping to the first image slot
Start Do_Boot


uart:~$ *** Booting Zephyr OS build v3.3.99-ncs1-1 ***
I: KWIKSET HALO 3 VERSION: 00.03.00.00
I: Init CHIP stack
I: 159 [DL]BLE address: C8:52:71:69:F6:43
I: Board config kwiksetmdb_nrf5340_cpuapp
I: IMAGE_VERSION 0.3.0+0
I: build time: Nov 30 2023 11:09:14
E: ====    Matter FW Ver: 0.3.0    ====
I: 198 [DL]OpenThread SED interval is 1000ms
I: 205 [DL]OpenThread started: OK
I: 209 [DL]Setting OpenThread device type to SLEEPY END DEVICE
I: 216 [SWU]DFU_BLEAdvertising_Init 
Swap type: none
I: 223 [SVR]Subscription persistence not supported
I: 228 [SVR]Server initializing...
I: 232 [TS]Last Known Good Time: 2023-11-30T17:43:12
I: 238 [DMG]AccessControl: initializing
I: 242 [DMG]Examples::AccessControlDelegate::Init
I: 248 [DMG]AccessControl: setting
I: 251 [DMG]DefaultAclStorage: initializing
I: 255 [DMG]DefaultAclStorage: 0 entries loaded
D: 261 [IN]UDP::Init bind&amp;amp;listen port=5540
E: 266 [IN]SO_REUSEPORT failed: 109
D: 269 [IN]UDP::Init bound to port=5540
D: 273 [IN]BLEBase::Init - setting/overriding transport
D: 279 [IN]TransportMgr initialized
D: 286 [DL]Using Thread extended MAC for hostname.
I: 292 [ZCL]Using ZAP configuration...
I: 299 [DMG]AccessControlCluster: initializing
D: 304 [DL]Boot reason: 6
I: 307 [ZCL]Initiating Admin Commissioning cluster.
I: 311 [ZCL]Door Lock server initialized
I: 316 [ZCL]Door Lock cluster initialized at endpoint #1
I: 323 [DIS]Updating services using commissioning mode 0
E: 329 [DIS]Failed to remove advertised services: 3
D: 334 [DL]Using Thread extended MAC for hostname.
I: 340 [DIS]Advertise commission parameter vendorID=65521 productID=32774 discriminator=3840/15 cm=0
E: 349 [DIS]Failed to advertise extended commissionable node: 3
D: 356 [DIS]Scheduling extended discovery timeout in 900s
E: 363 [DIS]Failed to finalize service update: 3
I: 367 [DIS]Delaying proxy of operational discovery: missing delegate
I: 374 [IN]CASE Server enabling CASE session setups
D: 381 [IN]SecureSession[0x200049f0]: Allocated Type:2 LSID:37996
I: 387 [SVR]Joining Multicast groups
I: 392 [SVR]Server Listening...
I: 395 [DL]Device Configuration:
I: 398 [DL]  Serial Number: 11223344556677889900
I: 403 [DL]  Vendor Id: 65521 (0xFFF1)
I: 408 [DL]  Product Id: 32774 (0x8006)
I: 411 [DL]  Product Name: not-specified
I: 415 [DL]  Hardware Version: 0
I: 419 [DL]  Setup Pin Code (0 for UNKNOWN/ERROR): 20202021
I: 426 [DL]  Setup Discriminator (0xFFFF for UNKNOWN/ERROR): 3840 (0xF00)
I: 433 [DL]  Manufacturing Date: 2022-01-01
I: 437 [DL]  Device Type: 65535 (0xFFFF)
I: 442 [SVR]SetupQRCode: [MT:8IXS142C00KA0648G00]
I: 447 [SVR]Copy/paste the below URL in a browser to see the QR Code:
I: 455 [SVR]https://project-chip.github.io/connectedhomeip/qrcode.html?data=MT%3A8IXS142C00KA0648G00
I: 465 [SVR]Manual pairing code: [34970112332]
I: 475 [DL]CHIP task running
I: 478 [DIS]Updating services using commissioning mode 0
E: 483 [DIS]Failed to remove advertised services: 3
D: 489 [DL]Using Thread extended MAC for hostname.
I: 494 [DIS]Advertise commission parameter vendorID=65521 productID=32774 discriminator=3840/15 cm=0
E: 503 [DIS]Failed to advertise extended commissionable node: 3
E: 510 [DIS]Failed to finalize service update: 3
I: FW Ver: 0.3.0+0; version: 00030000
I: Device has NOT gone through provisioning
I: network state 0
E: Sending UART cmd st 0
I: BLE Device ID: 2f29
I: Current OTA Stage = 10
I: dfu_header_data.image_count: 2
E: Sending UART cmd st 0
I: BLE Name set: HU:2F29 errCode: 0
I: 15696 [SWU]SMP BLE advertising started
I: 15700 [DL]DFU over SMP started
I: IMG Integrity Verified Successfully: 0
I: IMG Integrity Verified Successfully: 1
I: Current OTA Stage = 16
I: OTA device_id = 5 : DISCOVERY_REQ
I: SECURE_STM : DISCOVERY_REQ
I: OTA device_id = 5 : FW_VERSION_REQ
I: Secure STM Firmware Version: 2 0 1 2
I: OTA device_id = 5 : FW_UPDATE_START_REQ
I: SECURE_STM : IB_FW_UPDATE_START_REQUEST
I: STM OTA Progress = 10
I: STM OTA Progress = 20
I: STM OTA Progress = 30
I: STM OTA Progress = 40
I: STM OTA Progress = 50
I: STM OTA Progress = 60
I: STM OTA Progress = 70
I: STM OTA Progress = 80
I: STM OTA Progress = 90
I: STM OTA Progress = 100
I: OTA device_id = 5 : FW_UPDATE_REBOOT_REQ
I: SECURE_STM : REBOOT_COMMAND
I: STM Rebooted, MCUBoot Verifying Image
I: OTA device_id = 5 : FW_VERSION_REQ
I: Secure STM Firmware Version: 2 0 1 1
I: OTA device_id = 5 : FW_UPDATE_COMPLETE_REQ
I: SECURE_STM : IB_FW_UPDATE_COMPLETE_REQUEST
I: OTA device_id = 5 : FW_UPDATE_REBOOT_REQ
I: SECURE_STM : REBOOT_COMMAND
I: STM Rebooted, MCUBoot Confirming Image
I: OTA device_id = 5 : FW_VERSION_REQ
I: Secure STM Firmware Version: 2 0 1 1
I: STM Secure OTA Successful
I: Clear STM OTA Meta Data
I: Current OTA Stage = 17
I: Redpine OTA started
I: Current OTA Stage = 18
I: OTA device_id = 4 : DISCOVERY_REQ
I: STM_QSPI : IB_DEVICE_DISCOVERY_REQUEST
I: OTA device_id = 4 : FW_VERSION_REQ
I: STM_QSPI : IB_FW_VERSION_REQUEST
I: Redpine Firmware Version: 2.1.255.191
I: OTA device_id = 4 : FW_UPDATE_START_REQ
I: STM_QSPI : IB_FW_UPDATE_START_REQUEST
I: Redpine Image Stored into STM QSPI, Progress = 10
I: Redpine Image Stored into STM QSPI, Progress = 20
I: Redpine Image Stored into STM QSPI, Progress = 30
I: Redpine Image Stored into STM QSPI, Progress = 40
I: Redpine Image Stored into STM QSPI, Progress = 50
I: Redpine Image Stored into STM QSPI, Progress = 60
I: Redpine Image Stored into STM QSPI, Progress = 70
I: Redpine Image Stored into STM QSPI, Progress = 80
I: Redpine Image Stored into STM QSPI, Progress = 90
I: Redpine Image Stored into STM QSPI, Progress = 100
I: OTA device_id = 4 : FW_UPDATE_COMPLETE_REQ
I: STM_QSPI : IB_FW_UPDATE_COMPLETE_REQUEST
I: STM_QSPI : STM QSPI to Redpine SPI Image Transfer Ongoing (0)
I: STM_QSPI : STM QSPI to Redpine SPI Image Transfer Ongoing (10)
I: STM_QSPI : STM QSPI to Redpine SPI Image Transfer Ongoing (20)
I: STM_QSPI : STM QSPI to Redpine SPI Image Transfer Ongoing (30)
I: STM_QSPI : STM QSPI to Redpine SPI Image Transfer Ongoing (40)
I: STM_QSPI : STM QSPI to Redpine SPI Image Transfer Ongoing (50)
I: STM_QSPI : STM QSPI to Redpine SPI Image Transfer Ongoing (60)
I: STM_QSPI : STM QSPI to Redpine SPI Image Transfer Ongoing (70)
I: STM_QSPI : STM QSPI to Redpine SPI Image Transfer Ongoing (80)
I: STM_QSPI : STM QSPI to Redpine SPI Image Transfer Ongoing (90)
I: STM_QSPI : STM QSPI to Redpine SPI Image Transfer Ongoing (100)
I: STM_QSPI : IB_FW_UPDATE_REBOOT_REQUEST
I: Clear Redpine OTA Meta Data
I: Current OTA Stage = 24
I: Start to Erase OTA Bundle Image from External Flash
I: Erasing bundle from nRF Ext. Flash
I: Bundle Image Erased from nRF Ext. Flash: 0
I: Current OTA Stage = 25
I: FW Ver: 0.3.0+0; version: 00030000
I: 598319 [DL]DFU-BLE-Connected
I: BLE Connected
Swap type: none
I: 598611 [DL]DFU-BLE-Disconnected : 19
E: Sending UART cmd st 0
I: BLE Name set: HU:2F29 errCode: 0
I: 598623 [SWU]SMP BLE advertising started
I: 598627 [DL]DFU over SMP started
I: BLE Disconnected: 13
I: 616466 [DL]DFU-BLE-Connected
I: BLE Connected
I: 616744 [DL]DFU Image upload started
I: Current OTA Stage = 11
I: 629875 [DL]Image 0 download completed successfully
I: 629904 [DL]DFU-BLE-Disconnected : 19
E: Sending UART cmd st 0
I: BLE Name set: HU:2F29 errCode: 0
I: 629917 [SWU]SMP BLE advertising started
I: 629921 [DL]DFU over SMP started
I: BLE Disconnected: 13
I: 679915 [DL]DFU-BLE-Connected
I: BLE Connected
Swap type: none
I: 680218 [DL]DFU Image upload started
I: Current OTA Stage = 12
I: 769272 [DL]Image 1 download completed successfully
I: 769297 [DL]DFU-BLE-Disconnected : 19
E: Sending UART cmd st 0
I: BLE Name set: HU:2F29 errCode: 0
I: 769310 [SWU]SMP BLE advertising started
I: 769314 [DL]DFU over SMP started
I: BLE Disconnected: 13
I: 804018 [DL]DFU-BLE-Connected
I: BLE Connected
I: 822897 [DL]DFU Image upload started
D: 900363 [DIS]Extended discovery timed out
I: 900367 [DIS]Updating services using commissioning mode 0
E: 900373 [DIS]Failed to remove advertised services: 3
E: 900378 [DIS]Failed to finalize service update: 3
I: Current OTA Stage = 13
I: 1061083 [DL]Image 2 download completed successfully
I: Current OTA Stage = 14
I: 1061115 [DL]DFU-BLE-Disconnected : 19
E: Sending UART cmd st 0
I: BLE Name set: HU:2F29 errCode: 0
I: 1061128 [SWU]SMP BLE advertising started
I: 1061132 [DL]DFU over SMP started
I: BLE Disconnected: 13
I: 1080022 [DL]DFU-BLE-Connected
I: BLE Connected
Swap type: none
Swap type: none
Swap type: none
I: 1080337 [DL]DFU-BLE-Disconnected : 19
E: Sending UART cmd st 0
I: BLE Name set: HU:2F29 errCode: 0
I: 1080350 [SWU]SMP BLE advertising started
I: 1080354 [DL]DFU over SMP started
I: BLE Disconnected: 13
I: 1096202 [DL]DFU-BLE-Connected
I: BLE Connected
E: img_mgmt_find_by_hash Return i=1
E: cb cb
E: 96 96
E: 29 29
E: f f
E: d9 d9
E: a a
E: b7 b7
E: b b
E: 3e 3e
E: a1 a1
E: 45 45
E: aa aa
E: 46 46
E: 56 56
E: 19 19
E: 5d 5d
E: be be
E: 6e 6e
E: 4b 4b
E: eb eb
E: 7c 7c
E: e0 e0
E: bf bf
E: f0 f0
E: f4 f4
E: b8 b8
E: 18 18
E: e8 e8
E: 92 92
E: 53 53
E: 2 2
E: 82 82
E: img_mgmt_find_by_hash slot = 1, confirm = 1
E: area_id = 2, active = 0
E: Success 1
E: Success 2
writing magic; fa_id=2 off=0xeeff0 (0xeeff0)
writing image_ok; fa_id=2 off=0xeefe8 (0xeefe8)
writing swap_info; fa_id=2 off=0xeefd8 (0xeefd8), swap_type=0x3 image_num=0x0
E: Success 3
E: *** rc = 0 ***
E: img_mgmt_set_boot_next rc = 0
Swap type: perm
Swap type: perm
Swap type: none
E: img_mgmt_state_read rc = 0
I: 1096574 [DL]DFU-BLE-Disconnected : 19
E: Sending UART cmd st 0
I: BLE Name set: HU:2F29 errCode: 0
I: 1096587 [SWU]SMP BLE advertising started
I: 1096591 [DL]DFU over SMP started
I: BLE Disconnected: 13
I: 1133795 [DL]DFU-BLE-Connected
I: BLE Connected
E: img_mgmt_find_by_hash Continue
E: img_mgmt_find_by_hash Return i=3
E: 19 19
E: 64 64
E: b b
E: b1 b1
E: 5e 5e
E: dc dc
E: e6 e6
E: 77 77
E: 8c 8c
E: ef ef
E: 69 69
E: 20 20
E: 5f 5f
E: ae ae
E: 54 54
E: 61 61
E: a3 a3
E: 99 99
E: ff ff
E: 7c 7c
E: 4d 4d
E: 65 65
E: f3 f3
E: 4c 4c
E: 53 53
E: 6c 6c
E: 37 37
E: 88 88
E: 2f 2f
E: e1 e1
E: 39 39
E: 7e 7e
E: img_mgmt_find_by_hash slot = 3, confirm = 1
E: area_id = 8, active = 0
E: Success 1
E: Success 2
writing magic; fa_id=8 off=0x3fff0 (0x12eff0)
writing image_ok; fa_id=8 off=0x3ffe8 (0x12efe8)
writing swap_info; fa_id=8 off=0x3ffd8 (0x12efd8), swap_type=0x3 image_num=0x0
E: Success 3
E: *** rc = 0 ***
E: img_mgmt_set_boot_next rc = 0
Swap type: perm
Swap type: perm
Swap type: perm
E: img_mgmt_state_read rc = 0
I: 1134164 [DL]DFU-BLE-Disconnected : 19
E: Sending UART cmd st 0
I: BLE Name set: HU:2F29 errCode: 0
I: 1134177 [SWU]SMP BLE advertising started
I: 1134181 [DL]DFU over SMP started
I: BLE Disconnected: 13
I: 1167323 [DL]DFU-BLE-Connected
I: BLE Connected
in os_mgmt_reset
in os_mgmt_reset, Timer Register
I: 1167606 [DL]DFU-BLE-Disconnected : 19
E: Sending UART cmd st 0
I: BLE Name set: HU:2F29 errCode: 0
I: 1167619 [SWU]SMP BLE advertising started
I: 1167623 [DL]DFU over SMP started
I: BLE Disconnected: 13
in os_mgmt_reset_cb
os_mgmt_reset_work_handler: System Rebooted
*** Booting Zephyr OS build v3.3.99-ncs1-1 ***
Starting bootloader
Swap type: perm
Swap type: perm
writing magic; fa_id=4 off=0xeeff0 (0xf6ff0)
writing magic; fa_id=1 off=0x3fff0 (0x3fff0)
Bootloader chainload address offset: 0x8000
Jumping to the first image slot
Start Do_Boot


uart:~$ *** Booting Zephyr OS build v3.3.99-ncs1-1 ***
I: KWIKSET HALO 3 VERSION: 00.03.01.00
I: Init CHIP stack
I: 159 [DL]BLE address: EC:76:F7:BC:C2:50
I: Board config kwiksetmdb_nrf5340_cpuapp
I: IMAGE_VERSION 0.3.1+0
I: build time: Nov 30 2023 17:44:53
E: ====    Matter FW Ver: 0.3.1    ====
I: 198 [DL]OpenThread SED interval is 1000ms
I: 206 [DL]OpenThread started: OK
I: 209 [DL]Setting OpenThread device type to SLEEPY END DEVICE
I: 216 [SWU]DFU_BLEAdvertising_Init 
Swap type: none
I: 223 [SVR]Subscription persistence not supported
I: 228 [SVR]Server initializing...
I: 232 [TS]Last Known Good Time: 2023-11-30T17:43:12
I: 239 [DMG]AccessControl: initializing
I: 242 [DMG]Examples::AccessControlDelegate::Init
I: 248 [DMG]AccessControl: setting
I: 251 [DMG]DefaultAclStorage: initializing
I: 255 [DMG]DefaultAclStorage: 0 entries loaded
D: 260 [IN]UDP::Init bind&amp;amp;listen port=5540
E: 265 [IN]SO_REUSEPORT failed: 109
D: 269 [IN]UDP::Init bound to port=5540
D: 273 [IN]BLEBase::Init - setting/overriding transport
D: 279 [IN]TransportMgr initialized
D: 286 [DL]Using Thread extended MAC for hostname.
I: 292 [ZCL]Using ZAP configuration...
I: 299 [DMG]AccessControlCluster: initializing
D: 304 [DL]Boot reason: 6
I: 307 [ZCL]Initiating Admin Commissioning cluster.
I: 311 [ZCL]Door Lock server initialized
I: 316 [ZCL]Door Lock cluster initialized at endpoint #1
I: 323 [DIS]Updating services using commissioning mode 0
E: 329 [DIS]Failed to remove advertised services: 3
D: 334 [DL]Using Thread extended MAC for hostname.
I: 339 [DIS]Advertise commission parameter vendorID=65521 productID=32774 discriminator=3840/15 cm=0
E: 350 [DIS]Failed to advertise extended commissionable node: 3
D: 356 [DIS]Scheduling extended discovery timeout in 900s
E: 362 [DIS]Failed to finalize service update: 3
I: 367 [DIS]Delaying proxy of operational discovery: missing delegate
I: 374 [IN]CASE Server enabling CASE session setups
D: 381 [IN]SecureSession[0x200049f0]: Allocated Type:2 LSID:55658
I: 387 [SVR]Joining Multicast groups
I: 392 [SVR]Server Listening...
I: 395 [DL]Device Configuration:
I: 398 [DL]  Serial Number: 11223344556677889900
I: 403 [DL]  Vendor Id: 65521 (0xFFF1)
I: 407 [DL]  Product Id: 32774 (0x8006)
I: 411 [DL]  Product Name: not-specified
I: 415 [DL]  Hardware Version: 0
I: 419 [DL]  Setup Pin Code (0 for UNKNOWN/ERROR): 20202021
I: 425 [DL]  Setup Discriminator (0xFFFF for UNKNOWN/ERROR): 3840 (0xF00)
I: 433 [DL]  Manufacturing Date: 2022-01-01
I: 438 [DL]  Device Type: 65535 (0xFFFF)
I: 442 [SVR]SetupQRCode: [MT:8IXS142C00KA0648G00]
I: 447 [SVR]Copy/paste the below URL in a browser to see the QR Code:
I: 454 [SVR]https://project-chip.github.io/connectedhomeip/qrcode.html?data=MT%3A8IXS142C00KA0648G00
I: 465 [SVR]Manual pairing code: [34970112332]
I: 474 [DL]CHIP task running
I: 478 [DIS]Updating services using commissioning mode 0
E: 483 [DIS]Failed to remove advertised services: 3
D: 489 [DL]Using Thread extended MAC for hostname.
I: 494 [DIS]Advertise commission parameter vendorID=65521 productID=32774 discriminator=3840/15 cm=0
E: 503 [DIS]Failed to advertise extended commissionable node: 3
E: 510 [DIS]Failed to finalize service update: 3
I: FW Ver: 0.3.1+0; version: 00030100
I: Device has NOT gone through provisioning
I: network state 0
E: Sending UART cmd st 0
I: BLE Device ID: 2f29
I: Current OTA Stage = 10
I: dfu_header_data.image_count: 2
E: Sending UART cmd st 0
I: BLE Name set: HU:2F29 errCode: 0
I: 15702 [SWU]SMP BLE advertising started
I: 15705 [DL]DFU over SMP started
I: IMG Integrity Verified Successfully: 0
I: IMG Integrity Verified Successfully: 1
I: Current OTA Stage = 16
I: OTA device_id = 5 : DISCOVERY_REQ
I: SECURE_STM : DISCOVERY_REQ
I: OTA device_id = 5 : FW_VERSION_REQ
I: Secure STM Firmware Version: 2 0 1 1
I: OTA device_id = 5 : FW_UPDATE_START_REQ
I: SECURE_STM : IB_FW_UPDATE_START_REQUEST
I: STM OTA Progress = 10
I: STM OTA Progress = 20
I: STM OTA Progress = 30
I: STM OTA Progress = 40
I: STM OTA Progress = 50
I: STM OTA Progress = 60
I: STM OTA Progress = 70
I: STM OTA Progress = 80
I: STM OTA Progress = 90
I: STM OTA Progress = 100
I: OTA device_id = 5 : FW_UPDATE_REBOOT_REQ
I: SECURE_STM : REBOOT_COMMAND
I: STM Rebooted, MCUBoot Verifying Image
I: OTA device_id = 5 : FW_VERSION_REQ
I: Secure STM Firmware Version: 2 0 1 2
I: OTA device_id = 5 : FW_UPDATE_COMPLETE_REQ
I: SECURE_STM : IB_FW_UPDATE_COMPLETE_REQUEST
I: OTA device_id = 5 : FW_UPDATE_REBOOT_REQ
I: SECURE_STM : REBOOT_COMMAND
I: STM Rebooted, MCUBoot Confirming Image
I: OTA device_id = 5 : FW_VERSION_REQ
I: Secure STM Firmware Version: 2 0 1 2
I: STM Secure OTA Successful
I: Clear STM OTA Meta Data
I: Current OTA Stage = 17
I: Redpine OTA started
I: Current OTA Stage = 18
I: OTA device_id = 4 : DISCOVERY_REQ
I: STM_QSPI : IB_DEVICE_DISCOVERY_REQUEST
I: OTA device_id = 4 : FW_VERSION_REQ
I: STM_QSPI : IB_FW_VERSION_REQUEST
I: Redpine Firmware Version: 2.1.255.191
I: OTA device_id = 4 : FW_UPDATE_START_REQ
I: STM_QSPI : IB_FW_UPDATE_START_REQUEST
I: Redpine Image Stored into STM QSPI, Progress = 10
I: Redpine Image Stored into STM QSPI, Progress = 20
I: Redpine Image Stored into STM QSPI, Progress = 30
I: Redpine Image Stored into STM QSPI, Progress = 40
I: Redpine Image Stored into STM QSPI, Progress = 50
I: Redpine Image Stored into STM QSPI, Progress = 60
I: Redpine Image Stored into STM QSPI, Progress = 70
I: Redpine Image Stored into STM QSPI, Progress = 80
I: Redpine Image Stored into STM QSPI, Progress = 90
I: Redpine Image Stored into STM QSPI, Progress = 100
I: OTA device_id = 4 : FW_UPDATE_COMPLETE_REQ
I: STM_QSPI : IB_FW_UPDATE_COMPLETE_REQUEST
I: STM_QSPI : STM QSPI to Redpine SPI Image Transfer Ongoing (0)
I: STM_QSPI : STM QSPI to Redpine SPI Image Transfer Ongoing (10)
I: STM_QSPI : STM QSPI to Redpine SPI Image Transfer Ongoing (20)
I: STM_QSPI : STM QSPI to Redpine SPI Image Transfer Ongoing (30)
I: STM_QSPI : STM QSPI to Redpine SPI Image Transfer Ongoing (40)
I: STM_QSPI : STM QSPI to Redpine SPI Image Transfer Ongoing (50)
I: STM_QSPI : STM QSPI to Redpine SPI Image Transfer Ongoing (60)
I: STM_QSPI : STM QSPI to Redpine SPI Image Transfer Ongoing (70)
I: STM_QSPI : STM QSPI to Redpine SPI Image Transfer Ongoing (80)
I: STM_QSPI : STM QSPI to Redpine SPI Image Transfer Ongoing (90)
I: STM_QSPI : STM QSPI to Redpine SPI Image Transfer Ongoing (100)
I: STM_QSPI : IB_FW_UPDATE_REBOOT_REQUEST
I: Clear Redpine OTA Meta Data
I: Current OTA Stage = 24
I: Start to Erase OTA Bundle Image from External Flash
I: Erasing bundle from nRF Ext. Flash
I: Bundle Image Erased from nRF Ext. Flash: 0
I: Current OTA Stage = 25
I: FW Ver: 0.3.1+0; version: 00030100
I: 598216 [DL]DFU-BLE-Connected
I: BLE Connected
Swap type: none
I: 598499 [DL]DFU-BLE-Disconnected : 19
E: Sending UART cmd st 0
I: BLE Name set: HU:2F29 errCode: 0
I: 598512 [SWU]SMP BLE advertising started
I: 598516 [DL]DFU over SMP started
I: BLE Disconnected: 13
I: 615390 [DL]DFU-BLE-Connected
I: BLE Connected
I: 615687 [DL]DFU Image upload started
I: Current OTA Stage = 11
I: 628853 [DL]Image 0 download completed successfully
I: 628882 [DL]DFU-BLE-Disconnected : 19
E: Sending UART cmd st 0
I: BLE Name set: HU:2F29 errCode: 0
I: 628894 [SWU]SMP BLE advertising started
I: 628898 [DL]DFU over SMP started
I: BLE Disconnected: 13
I: 678356 [DL]DFU-BLE-Connected
I: BLE Connected
Swap type: none
I: 678644 [DL]DFU Image upload started
I: Current OTA Stage = 12
I: 767575 [DL]Image 1 download completed successfully
I: 767611 [DL]DFU-BLE-Disconnected : 19
E: Sending UART cmd st 0
I: BLE Name set: HU:2F29 errCode: 0
I: 767624 [SWU]SMP BLE advertising started
I: 767628 [DL]DFU over SMP started
I: BLE Disconnected: 13
I: 802578 [DL]DFU-BLE-Connected
I: BLE Connected
I: 821412 [DL]DFU Image upload started
D: 900362 [DIS]Extended discovery timed out
I: 900368 [DIS]Updating services using commissioning mode 0
E: 900375 [DIS]Failed to remove advertised services: 3
E: 900380 [DIS]Failed to finalize service update: 3
I: Current OTA Stage = 13
I: 1059993 [DL]Image 2 download completed successfully
I: Current OTA Stage = 14
I: 1060025 [DL]DFU-BLE-Disconnected : 19
E: Sending UART cmd st 0
I: BLE Name set: HU:2F29 errCode: 0
I: 1060038 [SWU]SMP BLE advertising started
I: 1060042 [DL]DFU over SMP started
I: BLE Disconnected: 13
I: 1078930 [DL]DFU-BLE-Connected
I: BLE Connected
Swap type: none
Swap type: none
Swap type: none
I: 1079228 [DL]DFU-BLE-Disconnected : 19
E: Sending UART cmd st 0
I: BLE Name set: HU:2F29 errCode: 0
I: 1079241 [SWU]SMP BLE advertising started
I: 1079245 [DL]DFU over SMP started
I: BLE Disconnected: 13
I: 1095352 [DL]DFU-BLE-Connected
I: BLE Connected
E: img_mgmt_find_by_hash Return i=1
E: a4 a4
E: 1d 1d
E: 1e 1e
E: a8 a8
E: b8 b8
E: 1d 1d
E: 72 72
E: 1b 1b
E: c0 c0
E: 13 13
E: cc cc
E: 3e 3e
E: d6 d6
E: e7 e7
E: 2f 2f
E: d4 d4
E: 4c 4c
E: 9 9
E: 25 25
E: 26 26
E: d1 d1
E: df df
E: b3 b3
E: 7b 7b
E: 1d 1d
E: f3 f3
E: b1 b1
E: db db
E: 4b 4b
E: 7c 7c
E: c3 c3
E: b4 b4
E: img_mgmt_find_by_hash slot = 1, confirm = 1
E: area_id = 2, active = 0
E: Success 1
E: Success 2
writing magic; fa_id=2 off=0xeeff0 (0xeeff0)
writing image_ok; fa_id=2 off=0xeefe8 (0xeefe8)
writing swap_info; fa_id=2 off=0xeefd8 (0xeefd8), swap_type=0x3 image_num=0x0
E: Success 3
E: *** rc = 0 ***
E: img_mgmt_set_boot_next rc = 0
Swap type: perm
Swap type: perm
Swap type: none
E: img_mgmt_state_read rc = 0
I: 1095728 [DL]DFU-BLE-Disconnected : 19
E: Sending UART cmd st 0
I: BLE Name set: HU:2F29 errCode: 0
I: 1095741 [SWU]SMP BLE advertising started
I: 1095745 [DL]DFU over SMP started
I: BLE Disconnected: 13
I: 1133725 [DL]DFU-BLE-Connected
I: BLE Connected
E: img_mgmt_find_by_hash Continue
E: img_mgmt_find_by_hash Return i=3
E: 9 9
E: 4 4
E: ba ba
E: 45 45
E: 18 18
E: a a
E: c3 c3
E: 6d 6d
E: 87 87
E: da da
E: c3 c3
E: ec ec
E: f2 f2
E: d d
E: 73 73
E: b1 b1
E: 9b 9b
E: f4 f4
E: 52 52
E: 8b 8b
E: 67 67
E: 23 23
E: 29 29
E: 47 47
E: 9 9
E: 40 40
E: 93 93
E: 98 98
E: d7 d7
E: 3b 3b
E: 9c 9c
E: 12 12
E: img_mgmt_find_by_hash slot = 3, confirm = 1
E: area_id = 8, active = 0
E: Success 1
E: Success 2
writing magic; fa_id=8 off=0x3fff0 (0x12eff0)
writing image_ok; fa_id=8 off=0x3ffe8 (0x12efe8)
writing swap_info; fa_id=8 off=0x3ffd8 (0x12efd8), swap_type=0x3 image_num=0x0
E: Success 3
E: *** rc = 0 ***
E: img_mgmt_set_boot_next rc = 0
Swap type: perm
Swap type: perm
Swap type: perm
E: img_mgmt_state_read rc = 0
I: 1134113 [DL]DFU-BLE-Disconnected : 19
E: Sending UART cmd st 0
I: BLE Name set: HU:2F29 errCode: 0
I: 1134125 [SWU]SMP BLE advertising started
I: 1134129 [DL]DFU over SMP started
I: BLE Disconnected: 13
I: 1166252 [DL]DFU-BLE-Connected
I: BLE Connected
in os_mgmt_reset
in os_mgmt_reset, Timer Register
I: 1166535 [DL]DFU-BLE-Disconnected : 19
E: Sending UART cmd st 0
I: BLE Name set: HU:2F29 errCode: 0
I: 1166548 [SWU]SMP BLE advertising started
I: 1166551 [DL]DFU over SMP started
I: BLE Disconnected: 13
in os_mgmt_reset_cb
os_mgmt_reset_work_handler: System Rebooted
*** Booting Zephyr OS build v3.3.99-ncs1-1 ***
Starting bootloader
Swap type: perm
Swap type: perm
writing magic; fa_id=4 off=0xeeff0 (0xf6ff0)
writing magic; fa_id=1 off=0x3fff0 (0x3fff0)
Bootloader chainload address offset: 0x8000
Jumping to the first image slot
Start Do_Boot


uart:~$ *** Booting Zephyr OS build v3.3.99-ncs1-1 ***
I: KWIKSET HALO 3 VERSION: 00.03.00.00
I: Init CHIP stack
I: 159 [DL]BLE address: CB:B8:2A:3A:20:72
I: Board config kwiksetmdb_nrf5340_cpuapp
I: IMAGE_VERSION 0.3.0+0
I: build time: Nov 30 2023 11:09:14
E: ====    Matter FW Ver: 0.3.0    ====
I: 198 [DL]OpenThread SED interval is 1000ms
I: 205 [DL]OpenThread started: OK
I: 208 [DL]Setting OpenThread device type to SLEEPY END DEVICE
I: 216 [SWU]DFU_BLEAdvertising_Init 
Swap type: none
I: 223 [SVR]Subscription persistence not supported
I: 227 [SVR]Server initializing...
I: 232 [TS]Last Known Good Time: 2023-11-30T17:43:12
I: 238 [DMG]AccessControl: initializing
I: 242 [DMG]Examples::AccessControlDelegate::Init
I: 248 [DMG]AccessControl: setting
I: 251 [DMG]DefaultAclStorage: initializing
I: 255 [DMG]DefaultAclStorage: 0 entries loaded
D: 260 [IN]UDP::Init bind&amp;amp;listen port=5540
E: 265 [IN]SO_REUSEPORT failed: 109
D: 269 [IN]UDP::Init bound to port=5540
D: 273 [IN]BLEBase::Init - setting/overriding transport
D: 278 [IN]TransportMgr initialized
D: 285 [DL]Using Thread extended MAC for hostname.
I: 292 [ZCL]Using ZAP configuration...
I: 298 [DMG]AccessControlCluster: initializing
D: 303 [DL]Boot reason: 6
I: 306 [ZCL]Initiating Admin Commissioning cluster.
I: 312 [ZCL]Door Lock server initialized
I: 316 [ZCL]Door Lock cluster initialized at endpoint #1
I: 322 [DIS]Updating services using commissioning mode 0
E: 328 [DIS]Failed to remove advertised services: 3
D: 334 [DL]Using Thread extended MAC for hostname.
I: 339 [DIS]Advertise commission parameter vendorID=65521 productID=32774 discriminator=3840/15 cm=0
E: 349 [DIS]Failed to advertise extended commissionable node: 3
D: 355 [DIS]Scheduling extended discovery timeout in 900s
E: 362 [DIS]Failed to finalize service update: 3
I: 367 [DIS]Delaying proxy of operational discovery: missing delegate
I: 373 [IN]CASE Server enabling CASE session setups
D: 380 [IN]SecureSession[0x200049f0]: Allocated Type:2 LSID:59866
I: 386 [SVR]Joining Multicast groups
I: 391 [SVR]Server Listening...
I: 394 [DL]Device Configuration:
I: 398 [DL]  Serial Number: 11223344556677889900
I: 403 [DL]  Vendor Id: 65521 (0xFFF1)
I: 407 [DL]  Product Id: 32774 (0x8006)
I: 411 [DL]  Product Name: not-specified
I: 415 [DL]  Hardware Version: 0
I: 418 [DL]  Setup Pin Code (0 for UNKNOWN/ERROR): 20202021
I: 425 [DL]  Setup Discriminator (0xFFFF for UNKNOWN/ERROR): 3840 (0xF00)
I: 433 [DL]  Manufacturing Date: 2022-01-01
I: 437 [DL]  Device Type: 65535 (0xFFFF)
I: 442 [SVR]SetupQRCode: [MT:8IXS142C00KA0648G00]
I: 447 [SVR]Copy/paste the below URL in a browser to see the QR Code:
I: 453 [SVR]https://project-chip.github.io/connectedhomeip/qrcode.html?data=MT%3A8IXS142C00KA0648G00
I: 465 [SVR]Manual pairing code: [34970112332]
I: 474 [DL]CHIP task running
I: 477 [DIS]Updating services using commissioning mode 0
E: 482 [DIS]Failed to remove advertised services: 3
D: 488 [DL]Using Thread extended MAC for hostname.
I: 494 [DIS]Advertise commission parameter vendorID=65521 productID=32774 discriminator=3840/15 cm=0
E: 503 [DIS]Failed to advertise extended commissionable node: 3
E: 510 [DIS]Failed to finalize service update: 3
I: FW Ver: 0.3.0+0; version: 00030000
I: Device has NOT gone through provisioning
I: network state 0
E: Sending UART cmd st 0
I: BLE Device ID: 2f29
I: Current OTA Stage = 10
I: dfu_header_data.image_count: 2
E: Sending UART cmd st 0
I: BLE Name set: HU:2F29 errCode: 0
I: 15702 [SWU]SMP BLE advertising started
I: 15706 [DL]DFU over SMP started
I: IMG Integrity Verified Successfully: 0
I: IMG Integrity Verified Successfully: 1
I: Current OTA Stage = 16
I: OTA device_id = 5 : DISCOVERY_REQ
I: SECURE_STM : DISCOVERY_REQ
I: OTA device_id = 5 : FW_VERSION_REQ
I: Secure STM Firmware Version: 2 0 1 2
I: OTA device_id = 5 : FW_UPDATE_START_REQ
I: SECURE_STM : IB_FW_UPDATE_START_REQUEST
I: STM OTA Progress = 10
I: STM OTA Progress = 20
I: STM OTA Progress = 30
I: STM OTA Progress = 40
I: STM OTA Progress = 50
I: STM OTA Progress = 60
I: STM OTA Progress = 70
I: STM OTA Progress = 80
I: STM OTA Progress = 90
I: STM OTA Progress = 100
I: OTA device_id = 5 : FW_UPDATE_REBOOT_REQ
I: SECURE_STM : REBOOT_COMMAND
I: STM Rebooted, MCUBoot Verifying Image
I: OTA device_id = 5 : FW_VERSION_REQ
I: Secure STM Firmware Version: 2 0 1 1
I: OTA device_id = 5 : FW_UPDATE_COMPLETE_REQ
I: SECURE_STM : IB_FW_UPDATE_COMPLETE_REQUEST
I: OTA device_id = 5 : FW_UPDATE_REBOOT_REQ
I: SECURE_STM : REBOOT_COMMAND
I: STM Rebooted, MCUBoot Confirming Image
I: OTA device_id = 5 : FW_VERSION_REQ
I: Secure STM Firmware Version: 2 0 1 1
I: STM Secure OTA Successful
I: Clear STM OTA Meta Data
I: Current OTA Stage = 17
I: Redpine OTA started
I: Current OTA Stage = 18
I: OTA device_id = 4 : DISCOVERY_REQ
I: STM_QSPI : IB_DEVICE_DISCOVERY_REQUEST
I: OTA device_id = 4 : FW_VERSION_REQ
I: STM_QSPI : IB_FW_VERSION_REQUEST
I: Redpine Firmware Version: 2.1.255.191
I: OTA device_id = 4 : FW_UPDATE_START_REQ
I: STM_QSPI : IB_FW_UPDATE_START_REQUEST
I: Redpine Image Stored into STM QSPI, Progress = 10
I: Redpine Image Stored into STM QSPI, Progress = 20
I: Redpine Image Stored into STM QSPI, Progress = 30
I: Redpine Image Stored into STM QSPI, Progress = 40
I: Redpine Image Stored into STM QSPI, Progress = 50
I: Redpine Image Stored into STM QSPI, Progress = 60
I: Redpine Image Stored into STM QSPI, Progress = 70
I: Redpine Image Stored into STM QSPI, Progress = 80
I: Redpine Image Stored into STM QSPI, Progress = 90
I: Redpine Image Stored into STM QSPI, Progress = 100
I: OTA device_id = 4 : FW_UPDATE_COMPLETE_REQ
I: STM_QSPI : IB_FW_UPDATE_COMPLETE_REQUEST
I: STM_QSPI : STM QSPI to Redpine SPI Image Transfer Ongoing (0)
I: STM_QSPI : STM QSPI to Redpine SPI Image Transfer Ongoing (10)
I: STM_QSPI : STM QSPI to Redpine SPI Image Transfer Ongoing (20)
I: STM_QSPI : STM QSPI to Redpine SPI Image Transfer Ongoing (30)
I: STM_QSPI : STM QSPI to Redpine SPI Image Transfer Ongoing (40)
I: STM_QSPI : STM QSPI to Redpine SPI Image Transfer Ongoing (50)
I: STM_QSPI : STM QSPI to Redpine SPI Image Transfer Ongoing (60)
I: STM_QSPI : STM QSPI to Redpine SPI Image Transfer Ongoing (70)
I: STM_QSPI : STM QSPI to Redpine SPI Image Transfer Ongoing (80)
I: STM_QSPI : STM QSPI to Redpine SPI Image Transfer Ongoing (90)
I: STM_QSPI : STM QSPI to Redpine SPI Image Transfer Ongoing (100)
I: STM_QSPI : IB_FW_UPDATE_REBOOT_REQUEST
I: Clear Redpine OTA Meta Data
I: Current OTA Stage = 24
I: Start to Erase OTA Bundle Image from External Flash
I: Erasing bundle from nRF Ext. Flash
I: Bundle Image Erased from nRF Ext. Flash: 0
I: Current OTA Stage = 25
I: FW Ver: 0.3.0+0; version: 00030000
I: 598372 [DL]DFU-BLE-Connected
I: BLE Connected
Swap type: none
I: 598636 [DL]DFU-BLE-Disconnected : 19
E: Sending UART cmd st 0
I: BLE Name set: HU:2F29 errCode: 0
I: 598648 [SWU]SMP BLE advertising started
I: 598652 [DL]DFU over SMP started
I: BLE Disconnected: 13
I: 615527 [DL]DFU-BLE-Connected
I: BLE Connected
I: 615807 [DL]DFU Image upload started
I: Current OTA Stage = 11
I: 628929 [DL]Image 0 download completed successfully
I: 628958 [DL]DFU-BLE-Disconnected : 19
E: Sending UART cmd st 0
I: BLE Name set: HU:2F29 errCode: 0
I: 628971 [SWU]SMP BLE advertising started
I: 628974 [DL]DFU over SMP started
I: BLE Disconnected: 13
I: 679494 [DL]DFU-BLE-Connected
I: BLE Connected
Swap type: none
I: 679793 [DL]DFU Image upload started
I: Current OTA Stage = 12
I: 768821 [DL]Image 1 download completed successfully
I: 768857 [DL]DFU-BLE-Disconnected : 19
E: Sending UART cmd st 0
I: BLE Name set: HU:2F29 errCode: 0
I: 768870 [SWU]SMP BLE advertising started
I: 768874 [DL]DFU over SMP started
I: BLE Disconnected: 13
I: 803542 [DL]DFU-BLE-Connected
I: BLE Connected
I: 822376 [DL]DFU Image upload started
D: 900362 [DIS]Extended discovery timed out
I: 900367 [DIS]Updating services using commissioning mode 0
E: 900373 [DIS]Failed to remove advertised services: 3
E: 900381 [DIS]Failed to finalize service update: 3
I: Current OTA Stage = 13
I: 1060497 [DL]Image 2 download completed successfully
I: Current OTA Stage = 14
I: 1060529 [DL]DFU-BLE-Disconnected : 19
E: Sending UART cmd st 0
I: BLE Name set: HU:2F29 errCode: 0
I: 1060541 [SWU]SMP BLE advertising started
I: 1060545 [DL]DFU over SMP started
I: BLE Disconnected: 13
I: 1079721 [DL]DFU-BLE-Connected
I: BLE Connected
Swap type: none
Swap type: none
Swap type: none
I: 1080017 [DL]DFU-BLE-Disconnected : 19
E: Sending UART cmd st 0
I: BLE Name set: HU:2F29 errCode: 0
I: 1080030 [SWU]SMP BLE advertising started
I: 1080034 [DL]DFU over SMP started
I: BLE Disconnected: 13
I: 1097667 [DL]DFU-BLE-Connected
I: BLE Connected
E: img_mgmt_find_by_hash Return i=1
E: cb cb
E: 96 96
E: 29 29
E: f f
E: d9 d9
E: a a
E: b7 b7
E: b b
E: 3e 3e
E: a1 a1
E: 45 45
E: aa aa
E: 46 46
E: 56 56
E: 19 19
E: 5d 5d
E: be be
E: 6e 6e
E: 4b 4b
E: eb eb
E: 7c 7c
E: e0 e0
E: bf bf
E: f0 f0
E: f4 f4
E: b8 b8
E: 18 18
E: e8 e8
E: 92 92
E: 53 53
E: 2 2
E: 82 82
E: img_mgmt_find_by_hash slot = 1, confirm = 1
E: area_id = 2, active = 0
E: Success 1
E: Success 2
writing magic; fa_id=2 off=0xeeff0 (0xeeff0)
writing image_ok; fa_id=2 off=0xeefe8 (0xeefe8)
writing swap_info; fa_id=2 off=0xeefd8 (0xeefd8), swap_type=0x3 image_num=0x0
E: Success 3
E: *** rc = 0 ***
E: img_mgmt_set_boot_next rc = 0
Swap type: perm
Swap type: perm
Swap type: none
E: img_mgmt_state_read rc = 0
I: 1098024 [DL]DFU-BLE-Disconnected : 19
E: Sending UART cmd st 0
I: BLE Name set: HU:2F29 errCode: 0
I: 1098037 [SWU]SMP BLE advertising started
I: 1098041 [DL]DFU over SMP started
I: BLE Disconnected: 13
I: 1135587 [DL]DFU-BLE-Connected
I: BLE Connected
E: img_mgmt_find_by_hash Continue
E: img_mgmt_find_by_hash Return i=3
E: 19 19
E: 64 64
E: b b
E: b1 b1
E: 5e 5e
E: dc dc
E: e6 e6
E: 77 77
E: 8c 8c
E: ef ef
E: 69 69
E: 20 20
E: 5f 5f
E: ae ae
E: 54 54
E: 61 61
E: a3 a3
E: 99 99
E: ff ff
E: 7c 7c
E: 4d 4d
E: 65 65
E: f3 f3
E: 4c 4c
E: 53 53
E: 6c 6c
E: 37 37
E: 88 88
E: 2f 2f
E: e1 e1
E: 39 39
E: 7e 7e
E: img_mgmt_find_by_hash slot = 3, confirm = 1
E: area_id = 8, active = 0
E: Success 1
E: Success 2
writing magic; fa_id=8 off=0x3fff0 (0x12eff0)
writing image_ok; fa_id=8 off=0x3ffe8 (0x12efe8)
writing swap_info; fa_id=8 off=0x3ffd8 (0x12efd8), swap_type=0x3 image_num=0x0
E: Success 3
E: *** rc = 0 ***
E: img_mgmt_set_boot_next rc = 0
Swap type: perm
Swap type: perm
Swap type: perm
E: img_mgmt_state_read rc = 0
I: 1135951 [DL]DFU-BLE-Disconnected : 19
E: Sending UART cmd st 0
I: BLE Name set: HU:2F29 errCode: 0
I: 1135964 [SWU]SMP BLE advertising started
I: 1135968 [DL]DFU over SMP started
I: BLE Disconnected: 13
I: 1167889 [DL]DFU-BLE-Connected
I: BLE Connected
in os_mgmt_reset
in os_mgmt_reset, Timer Register
I: 1168171 [DL]DFU-BLE-Disconnected : 19
E: Sending UART cmd st 0
I: BLE Name set: HU:2F29 errCode: 0
I: 1168184 [SWU]SMP BLE advertising started
I: 1168188 [DL]DFU over SMP started
I: BLE Disconnected: 13
in os_mgmt_reset_cb
os_mgmt_reset_work_handler: System Rebooted
*** Booting Zephyr OS build v3.3.99-ncs1-1 ***
Starting bootloader
Swap type: perm
Swap type: perm
writing magic; fa_id=4 off=0xeeff0 (0xf6ff0)
writing magic; fa_id=1 off=0x3fff0 (0x3fff0)
Bootloader chainload address offset: 0x8000
Jumping to the first image slot
Start Do_Boot


uart:~$ *** Booting Zephyr OS build v3.3.99-ncs1-1 ***
I: KWIKSET HALO 3 VERSION: 00.03.01.00
I: Init CHIP stack
I: 159 [DL]BLE address: D3:C8:3E:44:94:DB
I: Board config kwiksetmdb_nrf5340_cpuapp
I: IMAGE_VERSION 0.3.1+0
I: build time: Nov 30 2023 17:44:53
E: ====    Matter FW Ver: 0.3.1    ====
I: 198 [DL]OpenThread SED interval is 1000ms
I: 205 [DL]OpenThread started: OK
I: 209 [DL]Setting OpenThread device type to SLEEPY END DEVICE
I: 216 [SWU]DFU_BLEAdvertising_Init 
Swap type: none
I: 223 [SVR]Subscription persistence not supported
I: 228 [SVR]Server initializing...
I: 232 [TS]Last Known Good Time: 2023-11-30T17:43:12
I: 238 [DMG]AccessControl: initializing
I: 242 [DMG]Examples::AccessControlDelegate::Init
I: 248 [DMG]AccessControl: setting
I: 251 [DMG]DefaultAclStorage: initializing
I: 255 [DMG]DefaultAclStorage: 0 entries loaded
D: 260 [IN]UDP::Init bind&amp;amp;listen port=5540
E: 266 [IN]SO_REUSEPORT failed: 109
D: 269 [IN]UDP::Init bound to port=5540
D: 273 [IN]BLEBase::Init - setting/overriding transport
D: 278 [IN]TransportMgr initialized
D: 286 [DL]Using Thread extended MAC for hostname.
I: 292 [ZCL]Using ZAP configuration...
I: 299 [DMG]AccessControlCluster: initializing
D: 304 [DL]Boot reason: 6
I: 307 [ZCL]Initiating Admin Commissioning cluster.
I: 311 [ZCL]Door Lock server initialized
I: 316 [ZCL]Door Lock cluster initialized at endpoint #1
I: 323 [DIS]Updating services using commissioning mode 0
E: 329 [DIS]Failed to remove advertised services: 3
D: 334 [DL]Using Thread extended MAC for hostname.
I: 340 [DIS]Advertise commission parameter vendorID=65521 productID=32774 discriminator=3840/15 cm=0
E: 349 [DIS]Failed to advertise extended commissionable node: 3
D: 356 [DIS]Scheduling extended discovery timeout in 900s
E: 362 [DIS]Failed to finalize service update: 3
I: 367 [DIS]Delaying proxy of operational discovery: missing delegate
I: 375 [IN]CASE Server enabling CASE session setups
D: 381 [IN]SecureSession[0x200049f0]: Allocated Type:2 LSID:48495
I: 387 [SVR]Joining Multicast groups
I: 392 [SVR]Server Listening...
I: 395 [DL]Device Configuration:
I: 398 [DL]  Serial Number: 11223344556677889900
I: 403 [DL]  Vendor Id: 65521 (0xFFF1)
I: 407 [DL]  Product Id: 32774 (0x8006)
I: 411 [DL]  Product Name: not-specified
I: 415 [DL]  Hardware Version: 0
I: 419 [DL]  Setup Pin Code (0 for UNKNOWN/ERROR): 20202021
I: 425 [DL]  Setup Discriminator (0xFFFF for UNKNOWN/ERROR): 3840 (0xF00)
I: 433 [DL]  Manufacturing Date: 2022-01-01
I: 438 [DL]  Device Type: 65535 (0xFFFF)
I: 442 [SVR]SetupQRCode: [MT:8IXS142C00KA0648G00]
I: 447 [SVR]Copy/paste the below URL in a browser to see the QR Code:
I: 454 [SVR]https://project-chip.github.io/connectedhomeip/qrcode.html?data=MT%3A8IXS142C00KA0648G00
I: 465 [SVR]Manual pairing code: [34970112332]
I: 475 [DL]CHIP task running
I: 478 [DIS]Updating services using commissioning mode 0
E: 483 [DIS]Failed to remove advertised services: 3
D: 489 [DL]Using Thread extended MAC for hostname.
I: 495 [DIS]Advertise commission parameter vendorID=65521 productID=32774 discriminator=3840/15 cm=0
E: 503 [DIS]Failed to advertise extended commissionable node: 3
E: 510 [DIS]Failed to finalize service update: 3
I: FW Ver: 0.3.1+0; version: 00030100
I: Device has NOT gone through provisioning
I: network state 0
E: Sending UART cmd st 0
I: BLE Device ID: 2f29
I: Current OTA Stage = 10
I: dfu_header_data.image_count: 2
E: Sending UART cmd st 0
I: BLE Name set: HU:2F29 errCode: 0
I: 15697 [SWU]SMP BLE advertising started
I: 15700 [DL]DFU over SMP started
I: IMG Integrity Verified Successfully: 0
I: IMG Integrity Verified Successfully: 1
I: Current OTA Stage = 16
I: OTA device_id = 5 : DISCOVERY_REQ
I: SECURE_STM : DISCOVERY_REQ
I: OTA device_id = 5 : FW_VERSION_REQ
I: Secure STM Firmware Version: 2 0 1 1
I: OTA device_id = 5 : FW_UPDATE_START_REQ
I: SECURE_STM : IB_FW_UPDATE_START_REQUEST
I: STM OTA Progress = 10
I: STM OTA Progress = 20
I: STM OTA Progress = 30
I: STM OTA Progress = 40
I: STM OTA Progress = 50
I: STM OTA Progress = 60
I: STM OTA Progress = 70
I: STM OTA Progress = 80
I: STM OTA Progress = 90
I: STM OTA Progress = 100
I: OTA device_id = 5 : FW_UPDATE_REBOOT_REQ
I: SECURE_STM : REBOOT_COMMAND
I: STM Rebooted, MCUBoot Verifying Image
I: OTA device_id = 5 : FW_VERSION_REQ
I: Secure STM Firmware Version: 2 0 1 2
I: OTA device_id = 5 : FW_UPDATE_COMPLETE_REQ
I: SECURE_STM : IB_FW_UPDATE_COMPLETE_REQUEST
I: OTA device_id = 5 : FW_UPDATE_REBOOT_REQ
I: SECURE_STM : REBOOT_COMMAND
I: STM Rebooted, MCUBoot Confirming Image
I: OTA device_id = 5 : FW_VERSION_REQ
I: Secure STM Firmware Version: 2 0 1 2
I: STM Secure OTA Successful
I: Clear STM OTA Meta Data
I: Current OTA Stage = 17
I: Redpine OTA started
I: Current OTA Stage = 18
I: OTA device_id = 4 : DISCOVERY_REQ
I: STM_QSPI : IB_DEVICE_DISCOVERY_REQUEST
I: OTA device_id = 4 : FW_VERSION_REQ
I: STM_QSPI : IB_FW_VERSION_REQUEST
I: Redpine Firmware Version: 2.1.255.191
I: OTA device_id = 4 : FW_UPDATE_START_REQ
I: STM_QSPI : IB_FW_UPDATE_START_REQUEST
I: Redpine Image Stored into STM QSPI, Progress = 10
I: Redpine Image Stored into STM QSPI, Progress = 20
I: Redpine Image Stored into STM QSPI, Progress = 30
I: Redpine Image Stored into STM QSPI, Progress = 40
I: Redpine Image Stored into STM QSPI, Progress = 50
I: Redpine Image Stored into STM QSPI, Progress = 60
I: Redpine Image Stored into STM QSPI, Progress = 70
I: Redpine Image Stored into STM QSPI, Progress = 80
I: Redpine Image Stored into STM QSPI, Progress = 90
I: Redpine Image Stored into STM QSPI, Progress = 100
I: OTA device_id = 4 : FW_UPDATE_COMPLETE_REQ
I: STM_QSPI : IB_FW_UPDATE_COMPLETE_REQUEST
I: STM_QSPI : STM QSPI to Redpine SPI Image Transfer Ongoing (0)
I: STM_QSPI : STM QSPI to Redpine SPI Image Transfer Ongoing (10)
I: STM_QSPI : STM QSPI to Redpine SPI Image Transfer Ongoing (20)
I: STM_QSPI : STM QSPI to Redpine SPI Image Transfer Ongoing (30)
I: STM_QSPI : STM QSPI to Redpine SPI Image Transfer Ongoing (40)
I: STM_QSPI : STM QSPI to Redpine SPI Image Transfer Ongoing (50)
I: STM_QSPI : STM QSPI to Redpine SPI Image Transfer Ongoing (60)
I: STM_QSPI : STM QSPI to Redpine SPI Image Transfer Ongoing (70)
I: STM_QSPI : STM QSPI to Redpine SPI Image Transfer Ongoing (80)
I: STM_QSPI : STM QSPI to Redpine SPI Image Transfer Ongoing (90)
I: STM_QSPI : STM QSPI to Redpine SPI Image Transfer Ongoing (100)
I: STM_QSPI : IB_FW_UPDATE_REBOOT_REQUEST
I: Clear Redpine OTA Meta Data
I: Current OTA Stage = 24
I: Start to Erase OTA Bundle Image from External Flash
I: Erasing bundle from nRF Ext. Flash
I: Bundle Image Erased from nRF Ext. Flash: 0
I: Current OTA Stage = 25
I: FW Ver: 0.3.1+0; version: 00030100
I: 598473 [DL]DFU-BLE-Connected
I: BLE Connected
Swap type: none
I: 598771 [DL]DFU-BLE-Disconnected : 19
E: Sending UART cmd st 0
I: BLE Name set: HU:2F29 errCode: 0
I: 598783 [SWU]SMP BLE advertising started
I: 598787 [DL]DFU over SMP started
I: BLE Disconnected: 13
I: 615894 [DL]DFU-BLE-Connected
I: BLE Connected
I: 616199 [DL]DFU Image upload started
I: Current OTA Stage = 11
I: 629488 [DL]Image 0 download completed successfully
I: 629517 [DL]DFU-BLE-Disconnected : 19
E: Sending UART cmd st 0
I: BLE Name set: HU:2F29 errCode: 0
I: 629529 [SWU]SMP BLE advertising started
I: 629533 [DL]DFU over SMP started
I: BLE Disconnected: 13
I: 679033 [DL]DFU-BLE-Connected
I: BLE Connected
Swap type: none
I: 679320 [DL]DFU Image upload started
I: Current OTA Stage = 12
I: 768761 [DL]Image 1 download completed successfully
I: 768786 [DL]DFU-BLE-Disconnected : 19
E: Sending UART cmd st 0
I: BLE Name set: HU:2F29 errCode: 0
I: 768799 [SWU]SMP BLE advertising started
I: 768803 [DL]DFU over SMP started
I: BLE Disconnected: 13
I: 802992 [DL]DFU-BLE-Connected
I: BLE Connected
I: 821855 [DL]DFU Image upload started
D: 900363 [DIS]Extended discovery timed out
I: 900367 [DIS]Updating services using commissioning mode 0
E: 900373 [DIS]Failed to remove advertised services: 3
E: 900378 [DIS]Failed to finalize service update: 3
I: Current OTA Stage = 13
I: 1059941 [DL]Image 2 download completed successfully
I: Current OTA Stage = 14
I: 1059974 [DL]DFU-BLE-Disconnected : 19
E: Sending UART cmd st 0
I: BLE Name set: HU:2F29 errCode: 0
I: 1059986 [SWU]SMP BLE advertising started
I: 1059990 [DL]DFU over SMP started
I: BLE Disconnected: 13
I: 1078857 [DL]DFU-BLE-Connected
I: BLE Connected
Swap type: none
Swap type: none
Swap type: none
I: 1079162 [DL]DFU-BLE-Disconnected : 19
E: Sending UART cmd st 0
I: BLE Name set: HU:2F29 errCode: 0
I: 1079175 [SWU]SMP BLE advertising started
I: 1079179 [DL]DFU over SMP started
I: BLE Disconnected: 13
I: 1095022 [DL]DFU-BLE-Connected
I: BLE Connected
E: img_mgmt_find_by_hash Return i=1
E: a4 a4
E: 1d 1d
E: 1e 1e
E: a8 a8
E: b8 b8
E: 1d 1d
E: 72 72
E: 1b 1b
E: c0 c0
E: 13 13
E: cc cc
E: 3e 3e
E: d6 d6
E: e7 e7
E: 2f 2f
E: d4 d4
E: 4c 4c
E: 9 9
E: 25 25
E: 26 26
E: d1 d1
E: df df
E: b3 b3
E: 7b 7b
E: 1d 1d
E: f3 f3
E: b1 b1
E: db db
E: 4b 4b
E: 7c 7c
E: c3 c3
E: b4 b4
E: img_mgmt_find_by_hash slot = 1, confirm = 1
E: area_id = 2, active = 0
E: Success 1
E: Success 2
writing magic; fa_id=2 off=0xeeff0 (0xeeff0)
writing image_ok; fa_id=2 off=0xeefe8 (0xeefe8)
writing swap_info; fa_id=2 off=0xeefd8 (0xeefd8), swap_type=0x3 image_num=0x0
E: Success 3
E: *** rc = 0 ***
E: img_mgmt_set_boot_next rc = 0
Swap type: perm
Swap type: perm
Swap type: none
E: img_mgmt_state_read rc = 0
I: 1095392 [DL]DFU-BLE-Disconnected : 19
E: Sending UART cmd st 0
I: BLE Name set: HU:2F29 errCode: 0
I: 1095404 [SWU]SMP BLE advertising started
I: 1095408 [DL]DFU over SMP started
I: BLE Disconnected: 13
I: 1133184 [DL]DFU-BLE-Connected
I: BLE Connected
E: img_mgmt_find_by_hash Continue
E: img_mgmt_find_by_hash Return i=3
E: 9 9
E: 4 4
E: ba ba
E: 45 45
E: 18 18
E: a a
E: c3 c3
E: 6d 6d
E: 87 87
E: da da
E: c3 c3
E: ec ec
E: f2 f2
E: d d
E: 73 73
E: b1 b1
E: 9b 9b
E: f4 f4
E: 52 52
E: 8b 8b
E: 67 67
E: 23 23
E: 29 29
E: 47 47
E: 9 9
E: 40 40
E: 93 93
E: 98 98
E: d7 d7
E: 3b 3b
E: 9c 9c
E: 12 12
E: img_mgmt_find_by_hash slot = 3, confirm = 1
E: area_id = 8, active = 0
E: Success 1
E: Success 2
writing magic; fa_id=8 off=0x3fff0 (0x12eff0)
writing image_ok; fa_id=8 off=0x3ffe8 (0x12efe8)
writing swap_info; fa_id=8 off=0x3ffd8 (0x12efd8), swap_type=0x3 image_num=0x0
E: Success 3
E: *** rc = 0 ***
E: img_mgmt_set_boot_next rc = 0
Swap type: perm
Swap type: perm
Swap type: perm
E: img_mgmt_state_read rc = 0
I: 1133566 [DL]DFU-BLE-Disconnected : 19
E: Sending UART cmd st 0
I: BLE Name set: HU:2F29 errCode: 0
I: 1133579 [SWU]SMP BLE advertising started
I: 1133583 [DL]DFU over SMP started
I: BLE Disconnected: 13
I: 1165943 [DL]DFU-BLE-Connected
I: BLE Connected
in os_mgmt_reset
in os_mgmt_reset, Timer Register
I: 1166221 [DL]DFU-BLE-Disconnected : 19
E: Sending UART cmd st 0
I: BLE Name set: HU:2F29 errCode: 0
I: 1166234 [SWU]SMP BLE advertising started
I: 1166237 [DL]DFU over SMP started
I: BLE Disconnected: 13
in os_mgmt_reset_cb
os_mgmt_reset_work_handler: System Rebooted
*** Booting Zephyr OS build v3.3.99-ncs1-1 ***
Starting bootloader
Swap type: perm
Swap type: perm
writing magic; fa_id=4 off=0xeeff0 (0xf6ff0)
writing magic; fa_id=1 off=0x3fff0 (0x3fff0)
Bootloader chainload address offset: 0x8000
Jumping to the first image slot
Start Do_Boot


uart:~$ *** Booting Zephyr OS build v3.3.99-ncs1-1 ***
I: KWIKSET HALO 3 VERSION: 00.03.00.00
I: Init CHIP stack
I: 159 [DL]BLE address: FE:96:D5:76:8C:8B
I: Board config kwiksetmdb_nrf5340_cpuapp
I: IMAGE_VERSION 0.3.0+0
I: build time: Nov 30 2023 11:09:14
E: ====    Matter FW Ver: 0.3.0    ====
I: 198 [DL]OpenThread SED interval is 1000ms
I: 205 [DL]OpenThread started: OK
I: 208 [DL]Setting OpenThread device type to SLEEPY END DEVICE
I: 216 [SWU]DFU_BLEAdvertising_Init 
Swap type: none
I: 223 [SVR]Subscription persistence not supported
I: 227 [SVR]Server initializing...
I: 232 [TS]Last Known Good Time: 2023-11-30T17:43:12
I: 238 [DMG]AccessControl: initializing
I: 242 [DMG]Examples::AccessControlDelegate::Init
I: 247 [DMG]AccessControl: setting
I: 251 [DMG]DefaultAclStorage: initializing
I: 255 [DMG]DefaultAclStorage: 0 entries loaded
D: 260 [IN]UDP::Init bind&amp;amp;listen port=5540
E: 265 [IN]SO_REUSEPORT failed: 109
D: 269 [IN]UDP::Init bound to port=5540
D: 273 [IN]BLEBase::Init - setting/overriding transport
D: 278 [IN]TransportMgr initialized
D: 285 [DL]Using Thread extended MAC for hostname.
I: 292 [ZCL]Using ZAP configuration...
I: 298 [DMG]AccessControlCluster: initializing
D: 303 [DL]Boot reason: 6
I: 306 [ZCL]Initiating Admin Commissioning cluster.
I: 311 [ZCL]Door Lock server initialized
I: 316 [ZCL]Door Lock cluster initialized at endpoint #1
I: 322 [DIS]Updating services using commissioning mode 0
E: 327 [DIS]Failed to remove advertised services: 3
D: 334 [DL]Using Thread extended MAC for hostname.
I: 339 [DIS]Advertise commission parameter vendorID=65521 productID=32774 discriminator=3840/15 cm=0
E: 348 [DIS]Failed to advertise extended commissionable node: 3
D: 355 [DIS]Scheduling extended discovery timeout in 900s
E: 361 [DIS]Failed to finalize service update: 3
I: 366 [DIS]Delaying proxy of operational discovery: missing delegate
I: 373 [IN]CASE Server enabling CASE session setups
D: 380 [IN]SecureSession[0x200049f0]: Allocated Type:2 LSID:64536
I: 386 [SVR]Joining Multicast groups
I: 391 [SVR]Server Listening...
I: 394 [DL]Device Configuration:
I: 397 [DL]  Serial Number: 11223344556677889900
I: 402 [DL]  Vendor Id: 65521 (0xFFF1)
I: 407 [DL]  Product Id: 32774 (0x8006)
I: 411 [DL]  Product Name: not-specified
I: 415 [DL]  Hardware Version: 0
I: 419 [DL]  Setup Pin Code (0 for UNKNOWN/ERROR): 20202021
I: 425 [DL]  Setup Discriminator (0xFFFF for UNKNOWN/ERROR): 3840 (0xF00)
I: 432 [DL]  Manufacturing Date: 2022-01-01
I: 437 [DL]  Device Type: 65535 (0xFFFF)
I: 441 [SVR]SetupQRCode: [MT:8IXS142C00KA0648G00]
I: 447 [SVR]Copy/paste the below URL in a browser to see the QR Code:
I: 453 [SVR]https://project-chip.github.io/connectedhomeip/qrcode.html?data=MT%3A8IXS142C00KA0648G00
I: 464 [SVR]Manual pairing code: [34970112332]
I: 474 [DL]CHIP task running
I: 477 [DIS]Updating services using commissioning mode 0
E: 482 [DIS]Failed to remove advertised services: 3
D: 488 [DL]Using Thread extended MAC for hostname.
I: 494 [DIS]Advertise commission parameter vendorID=65521 productID=32774 discriminator=3840/15 cm=0
E: 503 [DIS]Failed to advertise extended commissionable node: 3
E: 510 [DIS]Failed to finalize service update: 3
I: FW Ver: 0.3.0+0; version: 00030000
I: Device has NOT gone through provisioning
I: network state 0
E: Sending UART cmd st 0
I: BLE Device ID: 2f29
I: Current OTA Stage = 10
I: dfu_header_data.image_count: 2
E: Sending UART cmd st 0
I: BLE Name set: HU:2F29 errCode: 0
I: 15696 [SWU]SMP BLE advertising started
I: 15700 [DL]DFU over SMP started
I: IMG Integrity Verified Successfully: 0
I: IMG Integrity Verified Successfully: 1
I: Current OTA Stage = 16
I: OTA device_id = 5 : DISCOVERY_REQ
I: SECURE_STM : DISCOVERY_REQ
I: OTA device_id = 5 : FW_VERSION_REQ
I: Secure STM Firmware Version: 2 0 1 2
I: OTA device_id = 5 : FW_UPDATE_START_REQ
I: SECURE_STM : IB_FW_UPDATE_START_REQUEST
I: STM OTA Progress = 10
I: STM OTA Progress = 20
I: STM OTA Progress = 30
I: STM OTA Progress = 40
E: STM OTA Retrying
I: STM OTA Progress = 50
I: STM OTA Progress = 60
I: STM OTA Progress = 70
I: STM OTA Progress = 80
I: STM OTA Progress = 90
I: STM OTA Progress = 100
I: OTA device_id = 5 : FW_UPDATE_REBOOT_REQ
I: SECURE_STM : REBOOT_COMMAND
I: STM Rebooted, MCUBoot Verifying Image
I: OTA device_id = 5 : FW_VERSION_REQ
I: Secure STM Firmware Version: 2 0 1 1
I: OTA device_id = 5 : FW_UPDATE_COMPLETE_REQ
I: SECURE_STM : IB_FW_UPDATE_COMPLETE_REQUEST
I: OTA device_id = 5 : FW_UPDATE_REBOOT_REQ
I: SECURE_STM : REBOOT_COMMAND
I: STM Rebooted, MCUBoot Confirming Image
I: OTA device_id = 5 : FW_VERSION_REQ
I: Secure STM Firmware Version: 2 0 1 1
I: STM Secure OTA Successful
I: Clear STM OTA Meta Data
I: Current OTA Stage = 17
I: Redpine OTA started
I: Current OTA Stage = 18
I: OTA device_id = 4 : DISCOVERY_REQ
I: STM_QSPI : IB_DEVICE_DISCOVERY_REQUEST
I: OTA device_id = 4 : FW_VERSION_REQ
I: STM_QSPI : IB_FW_VERSION_REQUEST
I: Redpine Firmware Version: 2.1.255.191
I: OTA device_id = 4 : FW_UPDATE_START_REQ
I: STM_QSPI : IB_FW_UPDATE_START_REQUEST
I: Redpine Image Stored into STM QSPI, Progress = 10
I: Redpine Image Stored into STM QSPI, Progress = 20
I: Redpine Image Stored into STM QSPI, Progress = 30
I: Redpine Image Stored into STM QSPI, Progress = 40
I: Redpine Image Stored into STM QSPI, Progress = 50
I: Redpine Image Stored into STM QSPI, Progress = 60
I: Redpine Image Stored into STM QSPI, Progress = 70
I: Redpine Image Stored into STM QSPI, Progress = 80
I: Redpine Image Stored into STM QSPI, Progress = 90
I: Redpine Image Stored into STM QSPI, Progress = 100
I: OTA device_id = 4 : FW_UPDATE_COMPLETE_REQ
I: STM_QSPI : IB_FW_UPDATE_COMPLETE_REQUEST
I: STM_QSPI : STM QSPI to Redpine SPI Image Transfer Ongoing (0)
I: STM_QSPI : STM QSPI to Redpine SPI Image Transfer Ongoing (10)
I: STM_QSPI : STM QSPI to Redpine SPI Image Transfer Ongoing (20)
I: STM_QSPI : STM QSPI to Redpine SPI Image Transfer Ongoing (30)
I: STM_QSPI : STM QSPI to Redpine SPI Image Transfer Ongoing (40)
I: STM_QSPI : STM QSPI to Redpine SPI Image Transfer Ongoing (50)
I: STM_QSPI : STM QSPI to Redpine SPI Image Transfer Ongoing (60)
I: STM_QSPI : STM QSPI to Redpine SPI Image Transfer Ongoing (70)
I: STM_QSPI : STM QSPI to Redpine SPI Image Transfer Ongoing (80)
I: STM_QSPI : STM QSPI to Redpine SPI Image Transfer Ongoing (90)
I: STM_QSPI : STM QSPI to Redpine SPI Image Transfer Ongoing (100)
I: STM_QSPI : IB_FW_UPDATE_REBOOT_REQUEST
I: Clear Redpine OTA Meta Data
I: Current OTA Stage = 24
I: Start to Erase OTA Bundle Image from External Flash
I: Erasing bundle from nRF Ext. Flash
I: Bundle Image Erased from nRF Ext. Flash: 0
I: Current OTA Stage = 25
I: FW Ver: 0.3.0+0; version: 00030000
I: 599136 [DL]DFU-BLE-Connected
I: BLE Connected
Swap type: none
I: 599416 [DL]DFU-BLE-Disconnected : 19
E: Sending UART cmd st 0
I: BLE Name set: HU:2F29 errCode: 0
I: 599429 [SWU]SMP BLE advertising started
I: 599433 [DL]DFU over SMP started
I: BLE Disconnected: 13
I: 616714 [DL]DFU-BLE-Connected
I: BLE Connected
I: 617009 [DL]DFU Image upload started
I: Current OTA Stage = 11
I: 630145 [DL]Image 0 download completed successfully
I: 630174 [DL]DFU-BLE-Disconnected : 19
E: Sending UART cmd st 0
I: BLE Name set: HU:2F29 errCode: 0
I: 630186 [SWU]SMP BLE advertising started
I: 630190 [DL]DFU over SMP started
I: BLE Disconnected: 13
I: 680949 [DL]DFU-BLE-Connected
I: BLE Connected
Swap type: none
I: 681226 [DL]DFU Image upload started
I: Current OTA Stage = 12
I: 770070 [DL]Image 1 download completed successfully
I: 770096 [DL]DFU-BLE-Disconnected : 19
E: Sending UART cmd st 0
I: BLE Name set: HU:2F29 errCode: 0
I: 770108 [SWU]SMP BLE advertising started
I: 770113 [DL]DFU over SMP started
I: BLE Disconnected: 13
I: 804810 [DL]DFU-BLE-Connected
I: BLE Connected
I: 823647 [DL]DFU Image upload started
D: 900361 [DIS]Extended discovery timed out
I: 900365 [DIS]Updating services using commissioning mode 0
E: 900372 [DIS]Failed to remove advertised services: 3
E: 900377 [DIS]Failed to finalize service update: 3
I: Current OTA Stage = 13
I: 1062916 [DL]Image 2 download completed successfully
I: Current OTA Stage = 14
I: 1062948 [DL]DFU-BLE-Disconnected : 19
E: Sending UART cmd st 0
I: BLE Name set: HU:2F29 errCode: 0
I: 1062961 [SWU]SMP BLE advertising started
I: 1062965 [DL]DFU over SMP started
I: BLE Disconnected: 13
I: 1082046 [DL]DFU-BLE-Connected
I: BLE Connected
Swap type: none
Swap type: none
Swap type: none
I: 1082358 [DL]DFU-BLE-Disconnected : 19
E: Sending UART cmd st 0
I: BLE Name set: HU:2F29 errCode: 0
I: 1082370 [SWU]SMP BLE advertising started
I: 1082374 [DL]DFU over SMP started
I: BLE Disconnected: 13
I: 1098981 [DL]DFU-BLE-Connected
I: BLE Connected
E: img_mgmt_find_by_hash Return i=1
E: cb cb
E: 96 96
E: 29 29
E: f f
E: d9 d9
E: a a
E: b7 b7
E: b b
E: 3e 3e
E: a1 a1
E: 45 45
E: aa aa
E: 46 46
E: 56 56
E: 19 19
E: 5d 5d
E: be be
E: 6e 6e
E: 4b 4b
E: eb eb
E: 7c 7c
E: e0 e0
E: bf bf
E: f0 f0
E: f4 f4
E: b8 b8
E: 18 18
E: e8 e8
E: 92 92
E: 53 53
E: 2 2
E: 82 82
E: img_mgmt_find_by_hash slot = 1, confirm = 1
E: area_id = 2, active = 0
E: Success 1
E: Success 2
writing magic; fa_id=2 off=0xeeff0 (0xeeff0)
writing image_ok; fa_id=2 off=0xeefe8 (0xeefe8)
writing swap_info; fa_id=2 off=0xeefd8 (0xeefd8), swap_type=0x3 image_num=0x0
E: Success 3
E: *** rc = 0 ***
E: img_mgmt_set_boot_next rc = 0
Swap type: perm
Swap type: perm
Swap type: none
E: img_mgmt_state_read rc = 0
I: 1099360 [DL]DFU-BLE-Disconnected : 19
E: Sending UART cmd st 0
I: BLE Name set: HU:2F29 errCode: 0
I: 1099373 [SWU]SMP BLE advertising started
I: 1099377 [DL]DFU over SMP started
I: BLE Disconnected: 13
I: 1137426 [DL]DFU-BLE-Connected
I: BLE Connected
E: img_mgmt_find_by_hash Continue
E: img_mgmt_find_by_hash Return i=3
E: 19 19
E: 64 64
E: b b
E: b1 b1
E: 5e 5e
E: dc dc
E: e6 e6
E: 77 77
E: 8c 8c
E: ef ef
E: 69 69
E: 20 20
E: 5f 5f
E: ae ae
E: 54 54
E: 61 61
E: a3 a3
E: 99 99
E: ff ff
E: 7c 7c
E: 4d 4d
E: 65 65
E: f3 f3
E: 4c 4c
E: 53 53
E: 6c 6c
E: 37 37
E: 88 88
E: 2f 2f
E: e1 e1
E: 39 39
E: 7e 7e
E: img_mgmt_find_by_hash slot = 3, confirm = 1
E: area_id = 8, active = 0
E: Success 1
E: Success 2
writing magic; fa_id=8 off=0x3fff0 (0x12eff0)
writing image_ok; fa_id=8 off=0x3ffe8 (0x12efe8)
writing swap_info; fa_id=8 off=0x3ffd8 (0x12efd8), swap_type=0x3 image_num=0x0
E: Success 3
E: *** rc = 0 ***
E: img_mgmt_set_boot_next rc = 0
Swap type: perm
Swap type: perm
Swap type: perm
E: img_mgmt_state_read rc = 0
I: 1137804 [DL]DFU-BLE-Disconnected : 19
E: Sending UART cmd st 0
I: BLE Name set: HU:2F29 errCode: 0
I: 1137817 [SWU]SMP BLE advertising started
I: 1137821 [DL]DFU over SMP started
I: BLE Disconnected: 13
I: 1169684 [DL]DFU-BLE-Connected
I: BLE Connected
in os_mgmt_reset
in os_mgmt_reset, Timer Register
I: 1169949 [DL]DFU-BLE-Disconnected : 19
E: Sending UART cmd st 0
I: BLE Name set: HU:2F29 errCode: 0
I: 1169962 [SWU]SMP BLE advertising started
I: 1169966 [DL]DFU over SMP started
I: BLE Disconnected: 13
in os_mgmt_reset_cb
os_mgmt_reset_work_handler: System Rebooted
*** Booting Zephyr OS build v3.3.99-ncs1-1 ***
Starting bootloader
Swap type: perm
Swap type: perm
writing magic; fa_id=4 off=0xeeff0 (0xf6ff0)
writing magic; fa_id=1 off=0x3fff0 (0x3fff0)
Bootloader chainload address offset: 0x8000
Jumping to the first image slot
Start Do_Boot


uart:~$ *** Booting Zephyr OS build v3.3.99-ncs1-1 ***
I: KWIKSET HALO 3 VERSION: 00.03.01.00
I: Init CHIP stack
I: 159 [DL]BLE address: E6:66:83:4A:5A:57
I: Board config kwiksetmdb_nrf5340_cpuapp
I: IMAGE_VERSION 0.3.1+0
I: build time: Nov 30 2023 17:44:53
E: ====    Matter FW Ver: 0.3.1    ====
I: 198 [DL]OpenThread SED interval is 1000ms
I: 205 [DL]OpenThread started: OK
I: 208 [DL]Setting OpenThread device type to SLEEPY END DEVICE
I: 216 [SWU]DFU_BLEAdvertising_Init 
Swap type: none
I: 223 [SVR]Subscription persistence not supported
I: 227 [SVR]Server initializing...
I: 232 [TS]Last Known Good Time: 2023-11-30T17:43:12
I: 238 [DMG]AccessControl: initializing
I: 242 [DMG]Examples::AccessControlDelegate::Init
I: 248 [DMG]AccessControl: setting
I: 251 [DMG]DefaultAclStorage: initializing
I: 255 [DMG]DefaultAclStorage: 0 entries loaded
D: 261 [IN]UDP::Init bind&amp;amp;listen port=5540
E: 265 [IN]SO_REUSEPORT failed: 109
D: 269 [IN]UDP::Init bound to port=5540
D: 273 [IN]BLEBase::Init - setting/overriding transport
D: 278 [IN]TransportMgr initialized
D: 286 [DL]Using Thread extended MAC for hostname.
I: 292 [ZCL]Using ZAP configuration...
I: 299 [DMG]AccessControlCluster: initializing
D: 303 [DL]Boot reason: 6
I: 306 [ZCL]Initiating Admin Commissioning cluster.
I: 311 [ZCL]Door Lock server initialized
I: 316 [ZCL]Door Lock cluster initialized at endpoint #1
I: 323 [DIS]Updating services using commissioning mode 0
E: 328 [DIS]Failed to remove advertised services: 3
D: 334 [DL]Using Thread extended MAC for hostname.
I: 339 [DIS]Advertise commission parameter vendorID=65521 productID=32774 discriminator=3840/15 cm=0
E: 348 [DIS]Failed to advertise extended commissionable node: 3
D: 355 [DIS]Scheduling extended discovery timeout in 900s
E: 362 [DIS]Failed to finalize service update: 3
I: 367 [DIS]Delaying proxy of operational discovery: missing delegate
I: 374 [IN]CASE Server enabling CASE session setups
D: 381 [IN]SecureSession[0x200049f0]: Allocated Type:2 LSID:39762
I: 387 [SVR]Joining Multicast groups
I: 391 [SVR]Server Listening...
I: 394 [DL]Device Configuration:
I: 398 [DL]  Serial Number: 11223344556677889900
I: 403 [DL]  Vendor Id: 65521 (0xFFF1)
I: 407 [DL]  Product Id: 32774 (0x8006)
I: 411 [DL]  Product Name: not-specified
I: 416 [DL]  Hardware Version: 0
I: 419 [DL]  Setup Pin Code (0 for UNKNOWN/ERROR): 20202021
I: 425 [DL]  Setup Discriminator (0xFFFF for UNKNOWN/ERROR): 3840 (0xF00)
I: 433 [DL]  Manufacturing Date: 2022-01-01
I: 437 [DL]  Device Type: 65535 (0xFFFF)
I: 442 [SVR]SetupQRCode: [MT:8IXS142C00KA0648G00]
I: 447 [SVR]Copy/paste the below URL in a browser to see the QR Code:
I: 454 [SVR]https://project-chip.github.io/connectedhomeip/qrcode.html?data=MT%3A8IXS142C00KA0648G00
I: 465 [SVR]Manual pairing code: [34970112332]
I: 474 [DL]CHIP task running
I: 478 [DIS]Updating services using commissioning mode 0
E: 483 [DIS]Failed to remove advertised services: 3
D: 489 [DL]Using Thread extended MAC for hostname.
I: 494 [DIS]Advertise commission parameter vendorID=65521 productID=32774 discriminator=3840/15 cm=0
E: 503 [DIS]Failed to advertise extended commissionable node: 3
E: 510 [DIS]Failed to finalize service update: 3
I: FW Ver: 0.3.1+0; version: 00030100
I: Device has NOT gone through provisioning
I: network state 0
E: Sending UART cmd st 0
I: BLE Device ID: 2f29
I: Current OTA Stage = 10
I: dfu_header_data.image_count: 2
E: Sending UART cmd st 0
I: BLE Name set: HU:2F29 errCode: 0
I: 15696 [SWU]SMP BLE advertising started
I: 15700 [DL]DFU over SMP started
I: IMG Integrity Verified Successfully: 0
I: IMG Integrity Verified Successfully: 1
I: Current OTA Stage = 16
I: OTA device_id = 5 : DISCOVERY_REQ
I: SECURE_STM : DISCOVERY_REQ
I: OTA device_id = 5 : FW_VERSION_REQ
I: Secure STM Firmware Version: 2 0 1 1
I: OTA device_id = 5 : FW_UPDATE_START_REQ
I: SECURE_STM : IB_FW_UPDATE_START_REQUEST
I: STM OTA Progress = 10
I: STM OTA Progress = 20
I: STM OTA Progress = 30
I: STM OTA Progress = 40
I: STM OTA Progress = 50
I: STM OTA Progress = 60
I: STM OTA Progress = 70
I: STM OTA Progress = 80
I: STM OTA Progress = 90
I: STM OTA Progress = 100
I: OTA device_id = 5 : FW_UPDATE_REBOOT_REQ
I: SECURE_STM : REBOOT_COMMAND
I: STM Rebooted, MCUBoot Verifying Image
I: OTA device_id = 5 : FW_VERSION_REQ
I: Secure STM Firmware Version: 2 0 1 2
I: OTA device_id = 5 : FW_UPDATE_COMPLETE_REQ
I: SECURE_STM : IB_FW_UPDATE_COMPLETE_REQUEST
I: OTA device_id = 5 : FW_UPDATE_REBOOT_REQ
I: SECURE_STM : REBOOT_COMMAND
I: STM Rebooted, MCUBoot Confirming Image
I: OTA device_id = 5 : FW_VERSION_REQ
I: Secure STM Firmware Version: 2 0 1 2
I: STM Secure OTA Successful
I: Clear STM OTA Meta Data
I: Current OTA Stage = 17
I: Redpine OTA started
I: Current OTA Stage = 18
I: OTA device_id = 4 : DISCOVERY_REQ
I: STM_QSPI : IB_DEVICE_DISCOVERY_REQUEST
I: OTA device_id = 4 : FW_VERSION_REQ
I: STM_QSPI : IB_FW_VERSION_REQUEST
I: Redpine Firmware Version: 2.1.255.191
I: OTA device_id = 4 : FW_UPDATE_START_REQ
I: STM_QSPI : IB_FW_UPDATE_START_REQUEST
I: Redpine Image Stored into STM QSPI, Progress = 10
I: Redpine Image Stored into STM QSPI, Progress = 20
I: Redpine Image Stored into STM QSPI, Progress = 30
I: Redpine Image Stored into STM QSPI, Progress = 40
I: Redpine Image Stored into STM QSPI, Progress = 50
I: Redpine Image Stored into STM QSPI, Progress = 60
I: Redpine Image Stored into STM QSPI, Progress = 70
I: Redpine Image Stored into STM QSPI, Progress = 80
I: Redpine Image Stored into STM QSPI, Progress = 90
I: Redpine Image Stored into STM QSPI, Progress = 100
I: OTA device_id = 4 : FW_UPDATE_COMPLETE_REQ
I: STM_QSPI : IB_FW_UPDATE_COMPLETE_REQUEST
I: STM_QSPI : STM QSPI to Redpine SPI Image Transfer Ongoing (0)
I: STM_QSPI : STM QSPI to Redpine SPI Image Transfer Ongoing (10)
I: STM_QSPI : STM QSPI to Redpine SPI Image Transfer Ongoing (20)
I: STM_QSPI : STM QSPI to Redpine SPI Image Transfer Ongoing (30)
I: STM_QSPI : STM QSPI to Redpine SPI Image Transfer Ongoing (40)
I: STM_QSPI : STM QSPI to Redpine SPI Image Transfer Ongoing (50)
I: STM_QSPI : STM QSPI to Redpine SPI Image Transfer Ongoing (60)
I: STM_QSPI : STM QSPI to Redpine SPI Image Transfer Ongoing (70)
I: STM_QSPI : STM QSPI to Redpine SPI Image Transfer Ongoing (80)
I: STM_QSPI : STM QSPI to Redpine SPI Image Transfer Ongoing (90)
I: STM_QSPI : STM QSPI to Redpine SPI Image Transfer Ongoing (100)
I: STM_QSPI : IB_FW_UPDATE_REBOOT_REQUEST
I: Clear Redpine OTA Meta Data
I: Current OTA Stage = 24
I: Start to Erase OTA Bundle Image from External Flash
I: Erasing bundle from nRF Ext. Flash
I: Bundle Image Erased from nRF Ext. Flash: 0
I: Current OTA Stage = 25
I: FW Ver: 0.3.1+0; version: 00030100
I: 598425 [DL]DFU-BLE-Connected
I: BLE Connected
Swap type: none
I: 598715 [DL]DFU-BLE-Disconnected : 19
E: Sending UART cmd st 0
I: BLE Name set: HU:2F29 errCode: 0
I: 598728 [SWU]SMP BLE advertising started
I: 598731 [DL]DFU over SMP started
I: BLE Disconnected: 13
I: 615609 [DL]DFU-BLE-Connected
I: BLE Connected
I: 615873 [DL]DFU Image upload started
I: Current OTA Stage = 11
I: 629065 [DL]Image 0 download completed successfully
I: 629093 [DL]DFU-BLE-Disconnected : 19
E: Sending UART cmd st 0
I: BLE Name set: HU:2F29 errCode: 0
I: 629106 [SWU]SMP BLE advertising started
I: 629110 [DL]DFU over SMP started
I: BLE Disconnected: 13
I: 678148 [DL]DFU-BLE-Connected
I: BLE Connected
Swap type: none
I: 678454 [DL]DFU Image upload started
I: Current OTA Stage = 12
I: 767865 [DL]Image 1 download completed successfully
I: 767890 [DL]DFU-BLE-Disconnected : 19
E: Sending UART cmd st 0
I: BLE Name set: HU:2F29 errCode: 0
I: 767903 [SWU]SMP BLE advertising started
I: 767907 [DL]DFU over SMP started
I: BLE Disconnected: 13
I: 802126 [DL]DFU-BLE-Connected
I: BLE Connected
I: 820960 [DL]DFU Image upload started
D: 900362 [DIS]Extended discovery timed out
I: 900366 [DIS]Updating services using commissioning mode 0
E: 900371 [DIS]Failed to remove advertised services: 3
E: 900377 [DIS]Failed to finalize service update: 3
I: Current OTA Stage = 13
I: 1060137 [DL]Image 2 download completed successfully
I: Current OTA Stage = 14
I: 1060169 [DL]DFU-BLE-Disconnected : 19
E: Sending UART cmd st 0
I: BLE Name set: HU:2F29 errCode: 0
I: 1060182 [SWU]SMP BLE advertising started
I: 1060186 [DL]DFU over SMP started
I: BLE Disconnected: 13
I: 1083626 [DL]DFU-BLE-Connected
I: BLE Connected
Swap type: none
Swap type: none
Swap type: none
I: 1083959 [DL]DFU-BLE-Disconnected : 19
E: Sending UART cmd st 0
I: BLE Name set: HU:2F29 errCode: 0
I: 1083971 [SWU]SMP BLE advertising started
I: 1083975 [DL]DFU over SMP started
I: BLE Disconnected: 13
I: 1100304 [DL]DFU-BLE-Connected
I: BLE Connected
E: img_mgmt_find_by_hash Return i=1
E: a4 a4
E: 1d 1d
E: 1e 1e
E: a8 a8
E: b8 b8
E: 1d 1d
E: 72 72
E: 1b 1b
E: c0 c0
E: 13 13
E: cc cc
E: 3e 3e
E: d6 d6
E: e7 e7
E: 2f 2f
E: d4 d4
E: 4c 4c
E: 9 9
E: 25 25
E: 26 26
E: d1 d1
E: df df
E: b3 b3
E: 7b 7b
E: 1d 1d
E: f3 f3
E: b1 b1
E: db db
E: 4b 4b
E: 7c 7c
E: c3 c3
E: b4 b4
E: img_mgmt_find_by_hash slot = 1, confirm = 1
E: area_id = 2, active = 0
E: Success 1
E: Success 2
writing magic; fa_id=2 off=0xeeff0 (0xeeff0)
writing image_ok; fa_id=2 off=0xeefe8 (0xeefe8)
writing swap_info; fa_id=2 off=0xeefd8 (0xeefd8), swap_type=0x3 image_num=0x0
E: Success 3
E: *** rc = 0 ***
E: img_mgmt_set_boot_next rc = 0
Swap type: perm
Swap type: perm
Swap type: none
E: img_mgmt_state_read rc = 0
I: 1100676 [DL]DFU-BLE-Disconnected : 19
E: Sending UART cmd st 0
I: BLE Name set: HU:2F29 errCode: 0
I: 1100689 [SWU]SMP BLE advertising started
I: 1100693 [DL]DFU over SMP started
I: BLE Disconnected: 13
I: 1139442 [DL]DFU-BLE-Connected
I: BLE Connected
E: img_mgmt_find_by_hash Continue
E: img_mgmt_find_by_hash Return i=3
E: 9 9
E: 4 4
E: ba ba
E: 45 45
E: 18 18
E: a a
E: c3 c3
E: 6d 6d
E: 87 87
E: da da
E: c3 c3
E: ec ec
E: f2 f2
E: d d
E: 73 73
E: b1 b1
E: 9b 9b
E: f4 f4
E: 52 52
E: 8b 8b
E: 67 67
E: 23 23
E: 29 29
E: 47 47
E: 9 9
E: 40 40
E: 93 93
E: 98 98
E: d7 d7
E: 3b 3b
E: 9c 9c
E: 12 12
E: img_mgmt_find_by_hash slot = 3, confirm = 1
E: area_id = 8, active = 0
E: Success 1
E: Success 2
writing magic; fa_id=8 off=0x3fff0 (0x12eff0)
writing image_ok; fa_id=8 off=0x3ffe8 (0x12efe8)
writing swap_info; fa_id=8 off=0x3ffd8 (0x12efd8), swap_type=0x3 image_num=0x0
E: Success 3
E: *** rc = 0 ***
E: img_mgmt_set_boot_next rc = 0
Swap type: perm
Swap type: perm
Swap type: perm
E: img_mgmt_state_read rc = 0
I: 1139825 [DL]DFU-BLE-Disconnected : 19
E: Sending UART cmd st 0
I: BLE Name set: HU:2F29 errCode: 0
I: 1139838 [SWU]SMP BLE advertising started
I: 1139842 [DL]DFU over SMP started
I: BLE Disconnected: 13
I: 1172467 [DL]DFU-BLE-Connected
I: BLE Connected
in os_mgmt_reset
in os_mgmt_reset, Timer Register
I: 1172750 [DL]DFU-BLE-Disconnected : 19
E: Sending UART cmd st 0
I: BLE Name set: HU:2F29 errCode: 0
I: 1172763 [SWU]SMP BLE advertising started
I: 1172767 [DL]DFU over SMP started
I: BLE Disconnected: 13
in os_mgmt_reset_cb
os_mgmt_reset_work_handler: System Rebooted
*** Booting Zephyr OS build v3.3.99-ncs1-1 ***
Starting bootloader
Swap type: perm
Swap type: perm
writing magic; fa_id=4 off=0xeeff0 (0xf6ff0)
writing magic; fa_id=1 off=0x3fff0 (0x3fff0)
Bootloader chainload address offset: 0x8000
Jumping to the first image slot
Start Do_Boot


uart:~$ *** Booting Zephyr OS build v3.3.99-ncs1-1 ***
I: KWIKSET HALO 3 VERSION: 00.03.00.00
I: Init CHIP stack
I: 159 [DL]BLE address: CD:0C:FD:6C:EA:85
I: Board config kwiksetmdb_nrf5340_cpuapp
I: IMAGE_VERSION 0.3.0+0
I: build time: Nov 30 2023 11:09:14
E: ====    Matter FW Ver: 0.3.0    ====
I: 198 [DL]OpenThread SED interval is 1000ms
I: 205 [DL]OpenThread started: OK
I: 208 [DL]Setting OpenThread device type to SLEEPY END DEVICE
I: 216 [SWU]DFU_BLEAdvertising_Init 
Swap type: none
I: 223 [SVR]Subscription persistence not supported
I: 227 [SVR]Server initializing...
I: 232 [TS]Last Known Good Time: 2023-11-30T17:43:12
I: 238 [DMG]AccessControl: initializing
I: 242 [DMG]Examples::AccessControlDelegate::Init
I: 248 [DMG]AccessControl: setting
I: 251 [DMG]DefaultAclStorage: initializing
I: 255 [DMG]DefaultAclStorage: 0 entries loaded
D: 260 [IN]UDP::Init bind&amp;amp;listen port=5540
E: 265 [IN]SO_REUSEPORT failed: 109
D: 269 [IN]UDP::Init bound to port=5540
D: 273 [IN]BLEBase::Init - setting/overriding transport
D: 278 [IN]TransportMgr initialized
D: 285 [DL]Using Thread extended MAC for hostname.
I: 292 [ZCL]Using ZAP configuration...
I: 298 [DMG]AccessControlCluster: initializing
D: 303 [DL]Boot reason: 6
I: 306 [ZCL]Initiating Admin Commissioning cluster.
I: 311 [ZCL]Door Lock server initialized
I: 316 [ZCL]Door Lock cluster initialized at endpoint #1
I: 322 [DIS]Updating services using commissioning mode 0
E: 328 [DIS]Failed to remove advertised services: 3
D: 334 [DL]Using Thread extended MAC for hostname.
I: 339 [DIS]Advertise commission parameter vendorID=65521 productID=32774 discriminator=3840/15 cm=0
E: 348 [DIS]Failed to advertise extended commissionable node: 3
D: 355 [DIS]Scheduling extended discovery timeout in 900s
E: 362 [DIS]Failed to finalize service update: 3
I: 367 [DIS]Delaying proxy of operational discovery: missing delegate
I: 373 [IN]CASE Server enabling CASE session setups
D: 380 [IN]SecureSession[0x200049f0]: Allocated Type:2 LSID:3166
I: 387 [SVR]Joining Multicast groups
I: 391 [SVR]Server Listening...
I: 394 [DL]Device Configuration:
I: 397 [DL]  Serial Number: 11223344556677889900
I: 402 [DL]  Vendor Id: 65521 (0xFFF1)
I: 406 [DL]  Product Id: 32774 (0x8006)
I: 411 [DL]  Product Name: not-specified
I: 415 [DL]  Hardware Version: 0
I: 418 [DL]  Setup Pin Code (0 for UNKNOWN/ERROR): 20202021
I: 424 [DL]  Setup Discriminator (0xFFFF for UNKNOWN/ERROR): 3840 (0xF00)
I: 433 [DL]  Manufacturing Date: 2022-01-01
I: 437 [DL]  Device Type: 65535 (0xFFFF)
I: 442 [SVR]SetupQRCode: [MT:8IXS142C00KA0648G00]
I: 447 [SVR]Copy/paste the below URL in a browser to see the QR Code:
I: 453 [SVR]https://project-chip.github.io/connectedhomeip/qrcode.html?data=MT%3A8IXS142C00KA0648G00
I: 465 [SVR]Manual pairing code: [34970112332]
I: 474 [DL]CHIP task running
I: 477 [DIS]Updating services using commissioning mode 0
E: 482 [DIS]Failed to remove advertised services: 3
D: 488 [DL]Using Thread extended MAC for hostname.
I: 494 [DIS]Advertise commission parameter vendorID=65521 productID=32774 discriminator=3840/15 cm=0
E: 503 [DIS]Failed to advertise extended commissionable node: 3
E: 510 [DIS]Failed to finalize service update: 3
I: FW Ver: 0.3.0+0; version: 00030000
I: Device has NOT gone through provisioning
I: network state 0
E: Sending UART cmd st 0
I: BLE Device ID: 2f29
I: Current OTA Stage = 10
I: dfu_header_data.image_count: 2
E: Sending UART cmd st 0
I: BLE Name set: HU:2F29 errCode: 0
I: 15696 [SWU]SMP BLE advertising started
I: 15700 [DL]DFU over SMP started
I: IMG Integrity Verified Successfully: 0
I: IMG Integrity Verified Successfully: 1
I: Current OTA Stage = 16
I: OTA device_id = 5 : DISCOVERY_REQ
I: SECURE_STM : DISCOVERY_REQ
I: OTA device_id = 5 : FW_VERSION_REQ
I: Secure STM Firmware Version: 2 0 1 2
I: OTA device_id = 5 : FW_UPDATE_START_REQ
I: SECURE_STM : IB_FW_UPDATE_START_REQUEST
I: STM OTA Progress = 10
I: STM OTA Progress = 20
I: STM OTA Progress = 30
I: STM OTA Progress = 40
I: STM OTA Progress = 50
I: STM OTA Progress = 60
I: STM OTA Progress = 70
I: STM OTA Progress = 80
I: STM OTA Progress = 90
I: STM OTA Progress = 100
I: OTA device_id = 5 : FW_UPDATE_REBOOT_REQ
I: SECURE_STM : REBOOT_COMMAND
I: STM Rebooted, MCUBoot Verifying Image
I: OTA device_id = 5 : FW_VERSION_REQ
I: Secure STM Firmware Version: 2 0 1 1
I: OTA device_id = 5 : FW_UPDATE_COMPLETE_REQ
I: SECURE_STM : IB_FW_UPDATE_COMPLETE_REQUEST
I: OTA device_id = 5 : FW_UPDATE_REBOOT_REQ
I: SECURE_STM : REBOOT_COMMAND
I: STM Rebooted, MCUBoot Confirming Image
I: OTA device_id = 5 : FW_VERSION_REQ
I: Secure STM Firmware Version: 2 0 1 1
I: STM Secure OTA Successful
I: Clear STM OTA Meta Data
I: Current OTA Stage = 17
I: Redpine OTA started
I: Current OTA Stage = 18
I: OTA device_id = 4 : DISCOVERY_REQ
I: STM_QSPI : IB_DEVICE_DISCOVERY_REQUEST
I: OTA device_id = 4 : FW_VERSION_REQ
I: STM_QSPI : IB_FW_VERSION_REQUEST
I: Redpine Firmware Version: 2.1.255.191
I: OTA device_id = 4 : FW_UPDATE_START_REQ
I: STM_QSPI : IB_FW_UPDATE_START_REQUEST
I: Redpine Image Stored into STM QSPI, Progress = 10
I: Redpine Image Stored into STM QSPI, Progress = 20
I: Redpine Image Stored into STM QSPI, Progress = 30
I: Redpine Image Stored into STM QSPI, Progress = 40
I: Redpine Image Stored into STM QSPI, Progress = 50
I: Redpine Image Stored into STM QSPI, Progress = 60
I: Redpine Image Stored into STM QSPI, Progress = 70
I: Redpine Image Stored into STM QSPI, Progress = 80
I: Redpine Image Stored into STM QSPI, Progress = 90
I: Redpine Image Stored into STM QSPI, Progress = 100
I: OTA device_id = 4 : FW_UPDATE_COMPLETE_REQ
I: STM_QSPI : IB_FW_UPDATE_COMPLETE_REQUEST
I: STM_QSPI : STM QSPI to Redpine SPI Image Transfer Ongoing (0)
I: STM_QSPI : STM QSPI to Redpine SPI Image Transfer Ongoing (10)
I: STM_QSPI : STM QSPI to Redpine SPI Image Transfer Ongoing (20)
I: STM_QSPI : STM QSPI to Redpine SPI Image Transfer Ongoing (30)
I: STM_QSPI : STM QSPI to Redpine SPI Image Transfer Ongoing (40)
I: STM_QSPI : STM QSPI to Redpine SPI Image Transfer Ongoing (50)
I: STM_QSPI : STM QSPI to Redpine SPI Image Transfer Ongoing (60)
I: STM_QSPI : STM QSPI to Redpine SPI Image Transfer Ongoing (70)
I: STM_QSPI : STM QSPI to Redpine SPI Image Transfer Ongoing (80)
I: STM_QSPI : STM QSPI to Redpine SPI Image Transfer Ongoing (90)
I: STM_QSPI : STM QSPI to Redpine SPI Image Transfer Ongoing (100)
I: STM_QSPI : IB_FW_UPDATE_REBOOT_REQUEST
I: Clear Redpine OTA Meta Data
I: Current OTA Stage = 24
I: Start to Erase OTA Bundle Image from External Flash
I: Erasing bundle from nRF Ext. Flash
I: Bundle Image Erased from nRF Ext. Flash: 0
I: Current OTA Stage = 25
I: FW Ver: 0.3.0+0; version: 00030000
I: 599797 [DL]DFU-BLE-Connected
I: BLE Connected
Swap type: none
I: 600102 [DL]DFU-BLE-Disconnected : 19
E: Sending UART cmd st 0
I: BLE Name set: HU:2F29 errCode: 0
I: 600114 [SWU]SMP BLE advertising started
I: 600119 [DL]DFU over SMP started
I: BLE Disconnected: 13
I: 617454 [DL]DFU-BLE-Connected
I: BLE Connected
I: 617732 [DL]DFU Image upload started
I: Current OTA Stage = 11
I: 630890 [DL]Image 0 download completed successfully
I: 630919 [DL]DFU-BLE-Disconnected : 19
E: Sending UART cmd st 0
I: BLE Name set: HU:2F29 errCode: 0
I: 630932 [SWU]SMP BLE advertising started
I: 630936 [DL]DFU over SMP started
I: BLE Disconnected: 13
I: 680184 [DL]DFU-BLE-Connected
I: BLE Connected
Swap type: none
I: 680471 [DL]DFU Image upload started
I: Current OTA Stage = 12
I: 769421 [DL]Image 1 download completed successfully
I: 769446 [DL]DFU-BLE-Disconnected : 19
E: Sending UART cmd st 0
I: BLE Name set: HU:2F29 errCode: 0
I: 769459 [SWU]SMP BLE advertising started
I: 769463 [DL]DFU over SMP started
I: BLE Disconnected: 13
I: 803429 [DL]DFU-BLE-Connected
I: BLE Connected
I: 822251 [DL]DFU Image upload started
D: 900362 [DIS]Extended discovery timed out
I: 900366 [DIS]Updating services using commissioning mode 0
E: 900372 [DIS]Failed to remove advertised services: 3
E: 900378 [DIS]Failed to finalize service update: 3
I: Current OTA Stage = 13
I: 1060905 [DL]Image 2 download completed successfully
I: Current OTA Stage = 14
I: 1060937 [DL]DFU-BLE-Disconnected : 19
E: Sending UART cmd st 0
I: BLE Name set: HU:2F29 errCode: 0
I: 1060950 [SWU]SMP BLE advertising started
I: 1060954 [DL]DFU over SMP started
I: BLE Disconnected: 13
I: 1081078 [DL]DFU-BLE-Connected
I: BLE Connected
Swap type: none
Swap type: none
Swap type: none
I: 1081378 [DL]DFU-BLE-Disconnected : 19
E: Sending UART cmd st 0
I: BLE Name set: HU:2F29 errCode: 0
I: 1081391 [SWU]SMP BLE advertising started
I: 1081395 [DL]DFU over SMP started
I: BLE Disconnected: 13
I: 1098194 [DL]DFU-BLE-Connected
I: BLE Connected
E: img_mgmt_find_by_hash Return i=1
E: cb cb
E: 96 96
E: 29 29
E: f f
E: d9 d9
E: a a
E: b7 b7
E: b b
E: 3e 3e
E: a1 a1
E: 45 45
E: aa aa
E: 46 46
E: 56 56
E: 19 19
E: 5d 5d
E: be be
E: 6e 6e
E: 4b 4b
E: eb eb
E: 7c 7c
E: e0 e0
E: bf bf
E: f0 f0
E: f4 f4
E: b8 b8
E: 18 18
E: e8 e8
E: 92 92
E: 53 53
E: 2 2
E: 82 82
E: img_mgmt_find_by_hash slot = 1, confirm = 1
E: area_id = 2, active = 0
E: Success 1
E: Success 2
writing magic; fa_id=2 off=0xeeff0 (0xeeff0)
writing image_ok; fa_id=2 off=0xeefe8 (0xeefe8)
writing swap_info; fa_id=2 off=0xeefd8 (0xeefd8), swap_type=0x3 image_num=0x0
E: Success 3
E: *** rc = 0 ***
E: img_mgmt_set_boot_next rc = 0
Swap type: perm
Swap type: perm
Swap type: none
E: img_mgmt_state_read rc = 0
I: 1098575 [DL]DFU-BLE-Disconnected : 19
E: Sending UART cmd st 0
I: BLE Name set: HU:2F29 errCode: 0
I: 1098588 [SWU]SMP BLE advertising started
I: 1098592 [DL]DFU over SMP started
I: BLE Disconnected: 13
I: 1136863 [DL]DFU-BLE-Connected
I: BLE Connected
E: img_mgmt_find_by_hash Continue
E: img_mgmt_find_by_hash Return i=3
E: 19 19
E: 64 64
E: b b
E: b1 b1
E: 5e 5e
E: dc dc
E: e6 e6
E: 77 77
E: 8c 8c
E: ef ef
E: 69 69
E: 20 20
E: 5f 5f
E: ae ae
E: 54 54
E: 61 61
E: a3 a3
E: 99 99
E: ff ff
E: 7c 7c
E: 4d 4d
E: 65 65
E: f3 f3
E: 4c 4c
E: 53 53
E: 6c 6c
E: 37 37
E: 88 88
E: 2f 2f
E: e1 e1
E: 39 39
E: 7e 7e
E: img_mgmt_find_by_hash slot = 3, confirm = 1
E: area_id = 8, active = 0
E: Success 1
E: Success 2
writing magic; fa_id=8 off=0x3fff0 (0x12eff0)
writing image_ok; fa_id=8 off=0x3ffe8 (0x12efe8)
writing swap_info; fa_id=8 off=0x3ffd8 (0x12efd8), swap_type=0x3 image_num=0x0
E: Success 3
E: *** rc = 0 ***
E: img_mgmt_set_boot_next rc = 0
Swap type: perm
Swap type: perm
Swap type: perm
E: img_mgmt_state_read rc = 0
I: 1137252 [DL]DFU-BLE-Disconnected : 19
E: Sending UART cmd st 0
I: BLE Name set: HU:2F29 errCode: 0
I: 1137265 [SWU]SMP BLE advertising started
I: 1137269 [DL]DFU over SMP started
I: BLE Disconnected: 13
I: 1169156 [DL]DFU-BLE-Connected
I: BLE Connected
in os_mgmt_reset
in os_mgmt_reset, Timer Register
I: 1169449 [DL]DFU-BLE-Disconnected : 19
E: Sending UART cmd st 0
I: BLE Name set: HU:2F29 errCode: 0
I: 1169462 [SWU]SMP BLE advertising started
I: 1169467 [DL]DFU over SMP started
I: BLE Disconnected: 13
in os_mgmt_reset_cb
os_mgmt_reset_work_handler: System Rebooted
*** Booting Zephyr OS build v3.3.99-ncs1-1 ***
Starting bootloader
Swap type: perm
Swap type: perm
writing magic; fa_id=4 off=0xeeff0 (0xf6ff0)
writing magic; fa_id=1 off=0x3fff0 (0x3fff0)
Bootloader chainload address offset: 0x8000
Jumping to the first image slot
Start Do_Boot


uart:~$ *** Booting Zephyr OS build v3.3.99-ncs1-1 ***
I: KWIKSET HALO 3 VERSION: 00.03.01.00
I: Init CHIP stack
I: 159 [DL]BLE address: CC:60:F6:F5:01:AB
I: Board config kwiksetmdb_nrf5340_cpuapp
I: IMAGE_VERSION 0.3.1+0
I: build time: Nov 30 2023 17:44:53
E: ====    Matter FW Ver: 0.3.1    ====
I: 198 [DL]OpenThread SED interval is 1000ms
I: 205 [DL]OpenThread started: OK
I: 208 [DL]Setting OpenThread device type to SLEEPY END DEVICE
I: 216 [SWU]DFU_BLEAdvertising_Init 
Swap type: none
I: 223 [SVR]Subscription persistence not supported
I: 227 [SVR]Server initializing...
I: 232 [TS]Last Known Good Time: 2023-11-30T17:43:12
I: 238 [DMG]AccessControl: initializing
I: 242 [DMG]Examples::AccessControlDelegate::Init
I: 247 [DMG]AccessControl: setting
I: 251 [DMG]DefaultAclStorage: initializing
I: 255 [DMG]DefaultAclStorage: 0 entries loaded
D: 260 [IN]UDP::Init bind&amp;amp;listen port=5540
E: 265 [IN]SO_REUSEPORT failed: 109
D: 269 [IN]UDP::Init bound to port=5540
D: 273 [IN]BLEBase::Init - setting/overriding transport
D: 278 [IN]TransportMgr initialized
D: 285 [DL]Using Thread extended MAC for hostname.
I: 292 [ZCL]Using ZAP configuration...
I: 298 [DMG]AccessControlCluster: initializing
D: 303 [DL]Boot reason: 6
I: 306 [ZCL]Initiating Admin Commissioning cluster.
I: 311 [ZCL]Door Lock server initialized
I: 316 [ZCL]Door Lock cluster initialized at endpoint #1
I: 322 [DIS]Updating services using commissioning mode 0
E: 328 [DIS]Failed to remove advertised services: 3
D: 334 [DL]Using Thread extended MAC for hostname.
I: 339 [DIS]Advertise commission parameter vendorID=65521 productID=32774 discriminator=3840/15 cm=0
E: 348 [DIS]Failed to advertise extended commissionable node: 3
D: 355 [DIS]Scheduling extended discovery timeout in 900s
E: 362 [DIS]Failed to finalize service update: 3
I: 366 [DIS]Delaying proxy of operational discovery: missing delegate
I: 373 [IN]CASE Server enabling CASE session setups
D: 380 [IN]SecureSession[0x200049f0]: Allocated Type:2 LSID:15854
I: 386 [SVR]Joining Multicast groups
I: 391 [SVR]Server Listening...
I: 394 [DL]Device Configuration:
I: 398 [DL]  Serial Number: 11223344556677889900
I: 402 [DL]  Vendor Id: 65521 (0xFFF1)
I: 407 [DL]  Product Id: 32774 (0x8006)
I: 411 [DL]  Product Name: not-specified
I: 415 [DL]  Hardware Version: 0
I: 419 [DL]  Setup Pin Code (0 for UNKNOWN/ERROR): 20202021
I: 425 [DL]  Setup Discriminator (0xFFFF for UNKNOWN/ERROR): 3840 (0xF00)
I: 433 [DL]  Manufacturing Date: 2022-01-01
I: 437 [DL]  Device Type: 65535 (0xFFFF)
I: 441 [SVR]SetupQRCode: [MT:8IXS142C00KA0648G00]
I: 447 [SVR]Copy/paste the below URL in a browser to see the QR Code:
I: 453 [SVR]https://project-chip.github.io/connectedhomeip/qrcode.html?data=MT%3A8IXS142C00KA0648G00
I: 464 [SVR]Manual pairing code: [34970112332]
I: 474 [DL]CHIP task running
I: 477 [DIS]Updating services using commissioning mode 0
E: 482 [DIS]Failed to remove advertised services: 3
D: 488 [DL]Using Thread extended MAC for hostname.
I: 494 [DIS]Advertise commission parameter vendorID=65521 productID=32774 discriminator=3840/15 cm=0
E: 503 [DIS]Failed to advertise extended commissionable node: 3
E: 510 [DIS]Failed to finalize service update: 3
I: FW Ver: 0.3.1+0; version: 00030100
I: Device has NOT gone through provisioning
I: network state 0
E: Sending UART cmd st 0
I: BLE Device ID: 2f29
I: Current OTA Stage = 10
I: dfu_header_data.image_count: 2
E: Sending UART cmd st 0
I: BLE Name set: HU:2F29 errCode: 0
I: 15701 [SWU]SMP BLE advertising started
I: 15706 [DL]DFU over SMP started
I: IMG Integrity Verified Successfully: 0
I: IMG Integrity Verified Successfully: 1
I: Current OTA Stage = 16
I: OTA device_id = 5 : DISCOVERY_REQ
I: SECURE_STM : DISCOVERY_REQ
I: OTA device_id = 5 : FW_VERSION_REQ
I: Secure STM Firmware Version: 2 0 1 1
I: OTA device_id = 5 : FW_UPDATE_START_REQ
I: SECURE_STM : IB_FW_UPDATE_START_REQUEST
I: STM OTA Progress = 10
I: STM OTA Progress = 20
I: STM OTA Progress = 30
I: STM OTA Progress = 40
I: STM OTA Progress = 50
I: STM OTA Progress = 60
I: STM OTA Progress = 70
I: STM OTA Progress = 80
I: STM OTA Progress = 90
I: STM OTA Progress = 100
I: OTA device_id = 5 : FW_UPDATE_REBOOT_REQ
I: SECURE_STM : REBOOT_COMMAND
I: STM Rebooted, MCUBoot Verifying Image
I: OTA device_id = 5 : FW_VERSION_REQ
I: Secure STM Firmware Version: 2 0 1 2
I: OTA device_id = 5 : FW_UPDATE_COMPLETE_REQ
I: SECURE_STM : IB_FW_UPDATE_COMPLETE_REQUEST
I: OTA device_id = 5 : FW_UPDATE_REBOOT_REQ
I: SECURE_STM : REBOOT_COMMAND
I: STM Rebooted, MCUBoot Confirming Image
I: OTA device_id = 5 : FW_VERSION_REQ
I: Secure STM Firmware Version: 2 0 1 2
I: STM Secure OTA Successful
I: Clear STM OTA Meta Data
I: Current OTA Stage = 17
I: Redpine OTA started
I: Current OTA Stage = 18
I: OTA device_id = 4 : DISCOVERY_REQ
I: STM_QSPI : IB_DEVICE_DISCOVERY_REQUEST
I: OTA device_id = 4 : FW_VERSION_REQ
I: STM_QSPI : IB_FW_VERSION_REQUEST
I: Redpine Firmware Version: 2.1.255.191
I: OTA device_id = 4 : FW_UPDATE_START_REQ
I: STM_QSPI : IB_FW_UPDATE_START_REQUEST
I: Redpine Image Stored into STM QSPI, Progress = 10
I: Redpine Image Stored into STM QSPI, Progress = 20
I: Redpine Image Stored into STM QSPI, Progress = 30
I: Redpine Image Stored into STM QSPI, Progress = 40
I: Redpine Image Stored into STM QSPI, Progress = 50
I: Redpine Image Stored into STM QSPI, Progress = 60
I: Redpine Image Stored into STM QSPI, Progress = 70
I: Redpine Image Stored into STM QSPI, Progress = 80
I: Redpine Image Stored into STM QSPI, Progress = 90
I: Redpine Image Stored into STM QSPI, Progress = 100
I: OTA device_id = 4 : FW_UPDATE_COMPLETE_REQ
I: STM_QSPI : IB_FW_UPDATE_COMPLETE_REQUEST
I: STM_QSPI : STM QSPI to Redpine SPI Image Transfer Ongoing (0)
I: STM_QSPI : STM QSPI to Redpine SPI Image Transfer Ongoing (10)
I: STM_QSPI : STM QSPI to Redpine SPI Image Transfer Ongoing (20)
I: STM_QSPI : STM QSPI to Redpine SPI Image Transfer Ongoing (30)
I: STM_QSPI : STM QSPI to Redpine SPI Image Transfer Ongoing (40)
I: STM_QSPI : STM QSPI to Redpine SPI Image Transfer Ongoing (50)
I: STM_QSPI : STM QSPI to Redpine SPI Image Transfer Ongoing (60)
I: STM_QSPI : STM QSPI to Redpine SPI Image Transfer Ongoing (70)
I: STM_QSPI : STM QSPI to Redpine SPI Image Transfer Ongoing (80)
I: STM_QSPI : STM QSPI to Redpine SPI Image Transfer Ongoing (90)
I: STM_QSPI : STM QSPI to Redpine SPI Image Transfer Ongoing (100)
I: STM_QSPI : IB_FW_UPDATE_REBOOT_REQUEST
I: Clear Redpine OTA Meta Data
I: Current OTA Stage = 24
I: Start to Erase OTA Bundle Image from External Flash
I: Erasing bundle from nRF Ext. Flash
I: Bundle Image Erased from nRF Ext. Flash: 0
I: Current OTA Stage = 25
I: FW Ver: 0.3.1+0; version: 00030100
I: 598777 [DL]DFU-BLE-Connected
I: BLE Connected
Swap type: none
I: 599048 [DL]DFU-BLE-Disconnected : 19
E: Sending UART cmd st 0
I: BLE Name set: HU:2F29 errCode: 0
I: 599061 [SWU]SMP BLE advertising started
I: 599065 [DL]DFU over SMP started
I: BLE Disconnected: 13
I: 616685 [DL]DFU-BLE-Connected
I: BLE Connected
I: 616964 [DL]DFU Image upload started
I: Current OTA Stage = 11
I: 630133 [DL]Image 0 download completed successfully
I: 630162 [DL]DFU-BLE-Disconnected : 19
E: Sending UART cmd st 0
I: BLE Name set: HU:2F29 errCode: 0
I: 630175 [SWU]SMP BLE advertising started
I: 630178 [DL]DFU over SMP started
I: BLE Disconnected: 13
I: 680202 [DL]DFU-BLE-Connected
I: BLE Connected
Swap type: none
I: 680491 [DL]DFU Image upload started
I: Current OTA Stage = 12
I: 770396 [DL]Image 1 download completed successfully
I: 770421 [DL]DFU-BLE-Disconnected : 19
E: Sending UART cmd st 0
I: BLE Name set: HU:2F29 errCode: 0
I: 770434 [SWU]SMP BLE advertising started
I: 770438 [DL]DFU over SMP started
I: BLE Disconnected: 13
I: 804378 [DL]DFU-BLE-Connected
I: BLE Connected
I: 823190 [DL]DFU Image upload started
D: 900362 [DIS]Extended discovery timed out
I: 900366 [DIS]Updating services using commissioning mode 0
E: 900372 [DIS]Failed to remove advertised services: 3
E: 900377 [DIS]Failed to finalize service update: 3
I: Current OTA Stage = 13
I: 1062724 [DL]Image 2 download completed successfully
I: Current OTA Stage = 14
I: 1062767 [DL]DFU-BLE-Disconnected : 19
E: Sending UART cmd st 0
I: BLE Name set: HU:2F29 errCode: 0
I: 1062780 [SWU]SMP BLE advertising started
I: 1062784 [DL]DFU over SMP started
I: BLE Disconnected: 13
I: 1082164 [DL]DFU-BLE-Connected
I: BLE Connected
Swap type: none
Swap type: none
Swap type: none
I: 1082485 [DL]DFU-BLE-Disconnected : 19
E: Sending UART cmd st 0
I: BLE Name set: HU:2F29 errCode: 0
I: 1082498 [SWU]SMP BLE advertising started
I: 1082502 [DL]DFU over SMP started
I: BLE Disconnected: 13
I: 1098353 [DL]DFU-BLE-Connected
I: BLE Connected
E: img_mgmt_find_by_hash Return i=1
E: a4 a4
E: 1d 1d
E: 1e 1e
E: a8 a8
E: b8 b8
E: 1d 1d
E: 72 72
E: 1b 1b
E: c0 c0
E: 13 13
E: cc cc
E: 3e 3e
E: d6 d6
E: e7 e7
E: 2f 2f
E: d4 d4
E: 4c 4c
E: 9 9
E: 25 25
E: 26 26
E: d1 d1
E: df df
E: b3 b3
E: 7b 7b
E: 1d 1d
E: f3 f3
E: b1 b1
E: db db
E: 4b 4b
E: 7c 7c
E: c3 c3
E: b4 b4
E: img_mgmt_find_by_hash slot = 1, confirm = 1
E: area_id = 2, active = 0
E: Success 1
E: Success 2
writing magic; fa_id=2 off=0xeeff0 (0xeeff0)
writing image_ok; fa_id=2 off=0xeefe8 (0xeefe8)
writing swap_info; fa_id=2 off=0xeefd8 (0xeefd8), swap_type=0x3 image_num=0x0
E: Success 3
E: *** rc = 0 ***
E: img_mgmt_set_boot_next rc = 0
Swap type: perm
Swap type: perm
Swap type: none
E: img_mgmt_state_read rc = 0
I: 1098714 [DL]DFU-BLE-Disconnected : 19
E: Sending UART cmd st 0
I: BLE Name set: HU:2F29 errCode: 0
I: 1098727 [SWU]SMP BLE advertising started
I: 1098731 [DL]DFU over SMP started
I: BLE Disconnected: 13
I: 1135574 [DL]DFU-BLE-Connected
I: BLE Connected
E: img_mgmt_find_by_hash Continue
E: img_mgmt_find_by_hash Return i=3
E: 9 9
E: 4 4
E: ba ba
E: 45 45
E: 18 18
E: a a
E: c3 c3
E: 6d 6d
E: 87 87
E: da da
E: c3 c3
E: ec ec
E: f2 f2
E: d d
E: 73 73
E: b1 b1
E: 9b 9b
E: f4 f4
E: 52 52
E: 8b 8b
E: 67 67
E: 23 23
E: 29 29
E: 47 47
E: 9 9
E: 40 40
E: 93 93
E: 98 98
E: d7 d7
E: 3b 3b
E: 9c 9c
E: 12 12
E: img_mgmt_find_by_hash slot = 3, confirm = 1
E: area_id = 8, active = 0
E: Success 1
E: Success 2
writing magic; fa_id=8 off=0x3fff0 (0x12eff0)
writing image_ok; fa_id=8 off=0x3ffe8 (0x12efe8)
writing swap_info; fa_id=8 off=0x3ffd8 (0x12efd8), swap_type=0x3 image_num=0x0
E: Success 3
E: *** rc = 0 ***
E: img_mgmt_set_boot_next rc = 0
Swap type: perm
Swap type: perm
Swap type: perm
E: img_mgmt_state_read rc = 0
I: 1135937 [DL]DFU-BLE-Disconnected : 19
E: Sending UART cmd st 0
I: BLE Name set: HU:2F29 errCode: 0
I: 1135949 [SWU]SMP BLE advertising started
I: 1135953 [DL]DFU over SMP started
I: BLE Disconnected: 13
I: 1167816 [DL]DFU-BLE-Connected
I: BLE Connected
in os_mgmt_reset
in os_mgmt_reset, Timer Register
I: 1168089 [DL]DFU-BLE-Disconnected : 19
E: Sending UART cmd st 0
I: BLE Name set: HU:2F29 errCode: 0
I: 1168101 [SWU]SMP BLE advertising started
I: 1168105 [DL]DFU over SMP started
I: BLE Disconnected: 13
in os_mgmt_reset_cb
os_mgmt_reset_work_handler: System Rebooted
*** Booting Zephyr OS build v3.3.99-ncs1-1 ***
Starting bootloader
Swap type: perm
Swap type: perm
writing magic; fa_id=4 off=0xeeff0 (0xf6ff0)
writing magic; fa_id=1 off=0x3fff0 (0x3fff0)
Bootloader chainload address offset: 0x8000
Jumping to the first image slot
Start Do_Boot


uart:~$ *** Booting Zephyr OS build v3.3.99-ncs1-1 ***
I: KWIKSET HALO 3 VERSION: 00.03.00.00
I: Init CHIP stack
I: 159 [DL]BLE address: DA:CF:34:32:D8:3E
I: Board config kwiksetmdb_nrf5340_cpuapp
I: IMAGE_VERSION 0.3.0+0
I: build time: Nov 30 2023 11:09:14
E: ====    Matter FW Ver: 0.3.0    ====
I: 198 [DL]OpenThread SED interval is 1000ms
I: 205 [DL]OpenThread started: OK
I: 208 [DL]Setting OpenThread device type to SLEEPY END DEVICE
I: 216 [SWU]DFU_BLEAdvertising_Init 
Swap type: none
I: 223 [SVR]Subscription persistence not supported
I: 227 [SVR]Server initializing...
I: 232 [TS]Last Known Good Time: 2023-11-30T17:43:12
I: 238 [DMG]AccessControl: initializing
I: 242 [DMG]Examples::AccessControlDelegate::Init
I: 247 [DMG]AccessControl: setting
I: 251 [DMG]DefaultAclStorage: initializing
I: 255 [DMG]DefaultAclStorage: 0 entries loaded
D: 260 [IN]UDP::Init bind&amp;amp;listen port=5540
E: 265 [IN]SO_REUSEPORT failed: 109
D: 269 [IN]UDP::Init bound to port=5540
D: 273 [IN]BLEBase::Init - setting/overriding transport
D: 278 [IN]TransportMgr initialized
D: 285 [DL]Using Thread extended MAC for hostname.
I: 292 [ZCL]Using ZAP configuration...
I: 298 [DMG]AccessControlCluster: initializing
D: 303 [DL]Boot reason: 6
I: 306 [ZCL]Initiating Admin Commissioning cluster.
I: 312 [ZCL]Door Lock server initialized
I: 316 [ZCL]Door Lock cluster initialized at endpoint #1
I: 323 [DIS]Updating services using commissioning mode 0
E: 328 [DIS]Failed to remove advertised services: 3
D: 334 [DL]Using Thread extended MAC for hostname.
I: 339 [DIS]Advertise commission parameter vendorID=65521 productID=32774 discriminator=3840/15 cm=0
E: 350 [DIS]Failed to advertise extended commissionable node: 3
D: 355 [DIS]Scheduling extended discovery timeout in 900s
E: 362 [DIS]Failed to finalize service update: 3
I: 367 [DIS]Delaying proxy of operational discovery: missing delegate
I: 373 [IN]CASE Server enabling CASE session setups
D: 381 [IN]SecureSession[0x200049f0]: Allocated Type:2 LSID:22018
I: 386 [SVR]Joining Multicast groups
I: 391 [SVR]Server Listening...
I: 394 [DL]Device Configuration:
I: 398 [DL]  Serial Number: 11223344556677889900
I: 402 [DL]  Vendor Id: 65521 (0xFFF1)
I: 407 [DL]  Product Id: 32774 (0x8006)
I: 411 [DL]  Product Name: not-specified
I: 415 [DL]  Hardware Version: 0
I: 419 [DL]  Setup Pin Code (0 for UNKNOWN/ERROR): 20202021
I: 425 [DL]  Setup Discriminator (0xFFFF for UNKNOWN/ERROR): 3840 (0xF00)
I: 433 [DL]  Manufacturing Date: 2022-01-01
I: 437 [DL]  Device Type: 65535 (0xFFFF)
I: 442 [SVR]SetupQRCode: [MT:8IXS142C00KA0648G00]
I: 447 [SVR]Copy/paste the below URL in a browser to see the QR Code:
I: 454 [SVR]https://project-chip.github.io/connectedhomeip/qrcode.html?data=MT%3A8IXS142C00KA0648G00
I: 465 [SVR]Manual pairing code: [34970112332]
I: 474 [DL]CHIP task running
I: 477 [DIS]Updating services using commissioning mode 0
E: 483 [DIS]Failed to remove advertised services: 3
D: 489 [DL]Using Thread extended MAC for hostname.
I: 494 [DIS]Advertise commission parameter vendorID=65521 productID=32774 discriminator=3840/15 cm=0
E: 504 [DIS]Failed to advertise extended commissionable node: 3
E: 510 [DIS]Failed to finalize service update: 3
I: FW Ver: 0.3.0+0; version: 00030000
I: Device has NOT gone through provisioning
I: network state 0
E: Sending UART cmd st 0
I: BLE Device ID: 2f29
I: Current OTA Stage = 10
I: dfu_header_data.image_count: 2
E: Sending UART cmd st 0
I: BLE Name set: HU:2F29 errCode: 0
I: 15696 [SWU]SMP BLE advertising started
I: 15700 [DL]DFU over SMP started
I: IMG Integrity Verified Successfully: 0
I: IMG Integrity Verified Successfully: 1
I: Current OTA Stage = 16
I: OTA device_id = 5 : DISCOVERY_REQ
I: SECURE_STM : DISCOVERY_REQ
I: OTA device_id = 5 : FW_VERSION_REQ
I: Secure STM Firmware Version: 2 0 1 2
I: OTA device_id = 5 : FW_UPDATE_START_REQ
I: SECURE_STM : IB_FW_UPDATE_START_REQUEST
I: STM OTA Progress = 10
I: STM OTA Progress = 20
I: STM OTA Progress = 30
I: STM OTA Progress = 40
I: STM OTA Progress = 50
I: STM OTA Progress = 60
I: STM OTA Progress = 70
I: STM OTA Progress = 80
I: STM OTA Progress = 90
I: STM OTA Progress = 100
I: OTA device_id = 5 : FW_UPDATE_REBOOT_REQ
I: SECURE_STM : REBOOT_COMMAND
I: STM Rebooted, MCUBoot Verifying Image
I: OTA device_id = 5 : FW_VERSION_REQ
I: Secure STM Firmware Version: 2 0 1 1
I: OTA device_id = 5 : FW_UPDATE_COMPLETE_REQ
I: SECURE_STM : IB_FW_UPDATE_COMPLETE_REQUEST
I: OTA device_id = 5 : FW_UPDATE_REBOOT_REQ
I: SECURE_STM : REBOOT_COMMAND
I: STM Rebooted, MCUBoot Confirming Image
I: OTA device_id = 5 : FW_VERSION_REQ
I: Secure STM Firmware Version: 2 0 1 1
I: STM Secure OTA Successful
I: Clear STM OTA Meta Data
I: Current OTA Stage = 17
I: Redpine OTA started
I: Current OTA Stage = 18
I: OTA device_id = 4 : DISCOVERY_REQ
I: STM_QSPI : IB_DEVICE_DISCOVERY_REQUEST
I: OTA device_id = 4 : FW_VERSION_REQ
I: STM_QSPI : IB_FW_VERSION_REQUEST
I: Redpine Firmware Version: 2.1.255.191
I: OTA device_id = 4 : FW_UPDATE_START_REQ
I: STM_QSPI : IB_FW_UPDATE_START_REQUEST
I: Redpine Image Stored into STM QSPI, Progress = 10
I: Redpine Image Stored into STM QSPI, Progress = 20
I: Redpine Image Stored into STM QSPI, Progress = 30
I: Redpine Image Stored into STM QSPI, Progress = 40
I: Redpine Image Stored into STM QSPI, Progress = 50
I: Redpine Image Stored into STM QSPI, Progress = 60
E: Redpine OTA Retrying
I: Redpine Image Stored into STM QSPI, Progress = 70
I: Redpine Image Stored into STM QSPI, Progress = 80
I: Redpine Image Stored into STM QSPI, Progress = 90
I: Redpine Image Stored into STM QSPI, Progress = 100
I: OTA device_id = 4 : FW_UPDATE_COMPLETE_REQ
I: STM_QSPI : IB_FW_UPDATE_COMPLETE_REQUEST
I: STM_QSPI : STM QSPI to Redpine SPI Image Transfer Ongoing (0)
I: STM_QSPI : STM QSPI to Redpine SPI Image Transfer Ongoing (10)
I: STM_QSPI : STM QSPI to Redpine SPI Image Transfer Ongoing (20)
I: STM_QSPI : STM QSPI to Redpine SPI Image Transfer Ongoing (30)
I: STM_QSPI : STM QSPI to Redpine SPI Image Transfer Ongoing (40)
I: STM_QSPI : STM QSPI to Redpine SPI Image Transfer Ongoing (50)
I: STM_QSPI : STM QSPI to Redpine SPI Image Transfer Ongoing (60)
I: STM_QSPI : STM QSPI to Redpine SPI Image Transfer Ongoing (70)
I: STM_QSPI : STM QSPI to Redpine SPI Image Transfer Ongoing (80)
I: STM_QSPI : STM QSPI to Redpine SPI Image Transfer Ongoing (90)
I: STM_QSPI : STM QSPI to Redpine SPI Image Transfer Ongoing (100)
I: STM_QSPI : IB_FW_UPDATE_REBOOT_REQUEST
I: Clear Redpine OTA Meta Data
I: Current OTA Stage = 24
I: Start to Erase OTA Bundle Image from External Flash
I: Erasing bundle from nRF Ext. Flash
I: Bundle Image Erased from nRF Ext. Flash: 0
I: Current OTA Stage = 25
I: FW Ver: 0.3.0+0; version: 00030000
I: 598694 [DL]DFU-BLE-Connected
I: BLE Connected
Swap type: none
I: 598958 [DL]DFU-BLE-Disconnected : 19
E: Sending UART cmd st 0
I: BLE Name set: HU:2F29 errCode: 0
I: 598971 [SWU]SMP BLE advertising started
I: 598975 [DL]DFU over SMP started
I: BLE Disconnected: 13
I: 615804 [DL]DFU-BLE-Connected
I: BLE Connected
I: 616079 [DL]DFU Image upload started
I: Current OTA Stage = 11
I: 629192 [DL]Image 0 download completed successfully
I: 629221 [DL]DFU-BLE-Disconnected : 19
E: Sending UART cmd st 0
I: BLE Name set: HU:2F29 errCode: 0
I: 629233 [SWU]SMP BLE advertising started
I: 629237 [DL]DFU over SMP started
I: BLE Disconnected: 13
I: 678205 [DL]DFU-BLE-Connected
I: BLE Connected
Swap type: none
I: 678503 [DL]DFU Image upload started
I: Current OTA Stage = 12
I: 767475 [DL]Image 1 download completed successfully
I: 767500 [DL]DFU-BLE-Disconnected : 19
E: Sending UART cmd st 0
I: BLE Name set: HU:2F29 errCode: 0
I: 767513 [SWU]SMP BLE advertising started
I: 767516 [DL]DFU over SMP started
I: BLE Disconnected: 13
I: 802740 [DL]DFU-BLE-Connected
I: BLE Connected
I: 821561 [DL]DFU Image upload started
D: 900361 [DIS]Extended discovery timed out
I: 900365 [DIS]Updating services using commissioning mode 0
E: 900372 [DIS]Failed to remove advertised services: 3
E: 900377 [DIS]Failed to finalize service update: 3
I: Current OTA Stage = 13
I: 1060388 [DL]Image 2 download completed successfully
I: Current OTA Stage = 14
I: 1060431 [DL]DFU-BLE-Disconnected : 19
E: Sending UART cmd st 0
I: BLE Name set: HU:2F29 errCode: 0
I: 1060444 [SWU]SMP BLE advertising started
I: 1060448 [DL]DFU over SMP started
I: BLE Disconnected: 13
I: 1079365 [DL]DFU-BLE-Connected
I: BLE Connected
Swap type: none
Swap type: none
Swap type: none
I: 1079672 [DL]DFU-BLE-Disconnected : 19
E: Sending UART cmd st 0
I: BLE Name set: HU:2F29 errCode: 0
I: 1079685 [SWU]SMP BLE advertising started
I: 1079689 [DL]DFU over SMP started
I: BLE Disconnected: 13
I: 1097556 [DL]DFU-BLE-Connected
I: BLE Connected
E: img_mgmt_find_by_hash Return i=1
E: cb cb
E: 96 96
E: 29 29
E: f f
E: d9 d9
E: a a
E: b7 b7
E: b b
E: 3e 3e
E: a1 a1
E: 45 45
E: aa aa
E: 46 46
E: 56 56
E: 19 19
E: 5d 5d
E: be be
E: 6e 6e
E: 4b 4b
E: eb eb
E: 7c 7c
E: e0 e0
E: bf bf
E: f0 f0
E: f4 f4
E: b8 b8
E: 18 18
E: e8 e8
E: 92 92
E: 53 53
E: 2 2
E: 82 82
E: img_mgmt_find_by_hash slot = 1, confirm = 1
E: area_id = 2, active = 0
E: Success 1
E: Success 2
writing magic; fa_id=2 off=0xeeff0 (0xeeff0)
writing image_ok; fa_id=2 off=0xeefe8 (0xeefe8)
writing swap_info; fa_id=2 off=0xeefd8 (0xeefd8), swap_type=0x3 image_num=0x0
E: Success 3
E: *** rc = 0 ***
E: img_mgmt_set_boot_next rc = 0
Swap type: perm
Swap type: perm
Swap type: none
E: img_mgmt_state_read rc = 0
I: 1097927 [DL]DFU-BLE-Disconnected : 19
E: Sending UART cmd st 0
I: BLE Name set: HU:2F29 errCode: 0
I: 1097940 [SWU]SMP BLE advertising started
I: 1097943 [DL]DFU over SMP started
I: BLE Disconnected: 13
I: 1136798 [DL]DFU-BLE-Connected
I: BLE Connected
E: img_mgmt_find_by_hash Continue
E: img_mgmt_find_by_hash Return i=3
E: 19 19
E: 64 64
E: b b
E: b1 b1
E: 5e 5e
E: dc dc
E: e6 e6
E: 77 77
E: 8c 8c
E: ef ef
E: 69 69
E: 20 20
E: 5f 5f
E: ae ae
E: 54 54
E: 61 61
E: a3 a3
E: 99 99
E: ff ff
E: 7c 7c
E: 4d 4d
E: 65 65
E: f3 f3
E: 4c 4c
E: 53 53
E: 6c 6c
E: 37 37
E: 88 88
E: 2f 2f
E: e1 e1
E: 39 39
E: 7e 7e
E: img_mgmt_find_by_hash slot = 3, confirm = 1
E: area_id = 8, active = 0
E: Success 1
E: Success 2
writing magic; fa_id=8 off=0x3fff0 (0x12eff0)
writing image_ok; fa_id=8 off=0x3ffe8 (0x12efe8)
writing swap_info; fa_id=8 off=0x3ffd8 (0x12efd8), swap_type=0x3 image_num=0x0
E: Success 3
E: *** rc = 0 ***
E: img_mgmt_set_boot_next rc = 0
Swap type: perm
Swap type: perm
Swap type: perm
E: img_mgmt_state_read rc = 0
I: 1137181 [DL]DFU-BLE-Disconnected : 19
E: Sending UART cmd st 0
I: BLE Name set: HU:2F29 errCode: 0
I: 1137194 [SWU]SMP BLE advertising started
I: 1137198 [DL]DFU over SMP started
I: BLE Disconnected: 13
I: 1170129 [DL]DFU-BLE-Connected
I: BLE Connected
in os_mgmt_reset
in os_mgmt_reset, Timer Register
I: 1170406 [DL]DFU-BLE-Disconnected : 19
E: Sending UART cmd st 0
I: BLE Name set: HU:2F29 errCode: 0
I: 1170419 [SWU]SMP BLE advertising started
I: 1170423 [DL]DFU over SMP started
I: BLE Disconnected: 13
in os_mgmt_reset_cb
os_mgmt_reset_work_handler: System Rebooted
*** Booting Zephyr OS build v3.3.99-ncs1-1 ***
Starting bootloader
Swap type: perm
Swap type: perm
writing magic; fa_id=4 off=0xeeff0 (0xf6ff0)
writing magic; fa_id=1 off=0x3fff0 (0x3fff0)
Bootloader chainload address offset: 0x8000
Jumping to the first image slot
Start Do_Boot


uart:~$ *** Booting Zephyr OS build v3.3.99-ncs1-1 ***
I: KWIKSET HALO 3 VERSION: 00.03.01.00
I: Init CHIP stack
I: 159 [DL]BLE address: CB:A3:B8:6B:14:C1
I: Board config kwiksetmdb_nrf5340_cpuapp
I: IMAGE_VERSION 0.3.1+0
I: build time: Nov 30 2023 17:44:53
E: ====    Matter FW Ver: 0.3.1    ====
I: 198 [DL]OpenThread SED interval is 1000ms
I: 205 [DL]OpenThread started: OK
I: 209 [DL]Setting OpenThread device type to SLEEPY END DEVICE
I: 216 [SWU]DFU_BLEAdvertising_Init 
Swap type: none
I: 223 [SVR]Subscription persistence not supported
I: 227 [SVR]Server initializing...
I: 232 [TS]Last Known Good Time: 2023-11-30T17:43:12
I: 238 [DMG]AccessControl: initializing
I: 242 [DMG]Examples::AccessControlDelegate::Init
I: 247 [DMG]AccessControl: setting
I: 251 [DMG]DefaultAclStorage: initializing
I: 255 [DMG]DefaultAclStorage: 0 entries loaded
D: 260 [IN]UDP::Init bind&amp;amp;listen port=5540
E: 265 [IN]SO_REUSEPORT failed: 109
D: 269 [IN]UDP::Init bound to port=5540
D: 273 [IN]BLEBase::Init - setting/overriding transport
D: 278 [IN]TransportMgr initialized
D: 285 [DL]Using Thread extended MAC for hostname.
I: 292 [ZCL]Using ZAP configuration...
I: 298 [DMG]AccessControlCluster: initializing
D: 303 [DL]Boot reason: 6
I: 306 [ZCL]Initiating Admin Commissioning cluster.
I: 311 [ZCL]Door Lock server initialized
I: 316 [ZCL]Door Lock cluster initialized at endpoint #1
I: 322 [DIS]Updating services using commissioning mode 0
E: 328 [DIS]Failed to remove advertised services: 3
D: 334 [DL]Using Thread extended MAC for hostname.
I: 339 [DIS]Advertise commission parameter vendorID=65521 productID=32774 discriminator=3840/15 cm=0
E: 348 [DIS]Failed to advertise extended commissionable node: 3
D: 355 [DIS]Scheduling extended discovery timeout in 900s
E: 362 [DIS]Failed to finalize service update: 3
I: 366 [DIS]Delaying proxy of operational discovery: missing delegate
I: 373 [IN]CASE Server enabling CASE session setups
D: 380 [IN]SecureSession[0x200049f0]: Allocated Type:2 LSID:9859
I: 387 [SVR]Joining Multicast groups
I: 391 [SVR]Server Listening...
I: 394 [DL]Device Configuration:
I: 398 [DL]  Serial Number: 11223344556677889900
I: 402 [DL]  Vendor Id: 65521 (0xFFF1)
I: 407 [DL]  Product Id: 32774 (0x8006)
I: 411 [DL]  Product Name: not-specified
I: 415 [DL]  Hardware Version: 0
I: 418 [DL]  Setup Pin Code (0 for UNKNOWN/ERROR): 20202021
I: 425 [DL]  Setup Discriminator (0xFFFF for UNKNOWN/ERROR): 3840 (0xF00)
I: 433 [DL]  Manufacturing Date: 2022-01-01
I: 437 [DL]  Device Type: 65535 (0xFFFF)
I: 442 [SVR]SetupQRCode: [MT:8IXS142C00KA0648G00]
I: 447 [SVR]Copy/paste the below URL in a browser to see the QR Code:
I: 454 [SVR]https://project-chip.github.io/connectedhomeip/qrcode.html?data=MT%3A8IXS142C00KA0648G00
I: 465 [SVR]Manual pairing code: [34970112332]
I: 474 [DL]CHIP task running
I: 477 [DIS]Updating services using commissioning mode 0
E: 482 [DIS]Failed to remove advertised services: 3
D: 488 [DL]Using Thread extended MAC for hostname.
I: 494 [DIS]Advertise commission parameter vendorID=65521 productID=32774 discriminator=3840/15 cm=0
E: 503 [DIS]Failed to advertise extended commissionable node: 3
E: 510 [DIS]Failed to finalize service update: 3
I: FW Ver: 0.3.1+0; version: 00030100
I: Device has NOT gone through provisioning
I: network state 0
E: Sending UART cmd st 0
I: BLE Device ID: 2f29
I: Current OTA Stage = 10
I: dfu_header_data.image_count: 2
E: Sending UART cmd st 0
I: BLE Name set: HU:2F29 errCode: 0
I: 15696 [SWU]SMP BLE advertising started
I: 15700 [DL]DFU over SMP started
I: IMG Integrity Verified Successfully: 0
I: IMG Integrity Verified Successfully: 1
I: Current OTA Stage = 16
I: OTA device_id = 5 : DISCOVERY_REQ
I: SECURE_STM : DISCOVERY_REQ
I: OTA device_id = 5 : FW_VERSION_REQ
I: Secure STM Firmware Version: 2 0 1 1
I: OTA device_id = 5 : FW_UPDATE_START_REQ
I: SECURE_STM : IB_FW_UPDATE_START_REQUEST
I: STM OTA Progress = 10
I: STM OTA Progress = 20
I: STM OTA Progress = 30
I: STM OTA Progress = 40
I: STM OTA Progress = 50
I: STM OTA Progress = 60
I: STM OTA Progress = 70
I: STM OTA Progress = 80
I: STM OTA Progress = 90
I: STM OTA Progress = 100
I: OTA device_id = 5 : FW_UPDATE_REBOOT_REQ
I: SECURE_STM : REBOOT_COMMAND
I: STM Rebooted, MCUBoot Verifying Image
I: OTA device_id = 5 : FW_VERSION_REQ
I: Secure STM Firmware Version: 2 0 1 2
I: OTA device_id = 5 : FW_UPDATE_COMPLETE_REQ
I: SECURE_STM : IB_FW_UPDATE_COMPLETE_REQUEST
I: OTA device_id = 5 : FW_UPDATE_REBOOT_REQ
I: SECURE_STM : REBOOT_COMMAND
I: STM Rebooted, MCUBoot Confirming Image
I: OTA device_id = 5 : FW_VERSION_REQ
I: Secure STM Firmware Version: 2 0 1 2
I: STM Secure OTA Successful
I: Clear STM OTA Meta Data
I: Current OTA Stage = 17
I: Redpine OTA started
I: Current OTA Stage = 18
I: OTA device_id = 4 : DISCOVERY_REQ
I: STM_QSPI : IB_DEVICE_DISCOVERY_REQUEST
I: OTA device_id = 4 : FW_VERSION_REQ
I: STM_QSPI : IB_FW_VERSION_REQUEST
I: Redpine Firmware Version: 2.1.255.191
I: OTA device_id = 4 : FW_UPDATE_START_REQ
I: STM_QSPI : IB_FW_UPDATE_START_REQUEST
I: Redpine Image Stored into STM QSPI, Progress = 10
I: Redpine Image Stored into STM QSPI, Progress = 20
I: Redpine Image Stored into STM QSPI, Progress = 30
I: Redpine Image Stored into STM QSPI, Progress = 40
I: Redpine Image Stored into STM QSPI, Progress = 50
I: Redpine Image Stored into STM QSPI, Progress = 60
I: Redpine Image Stored into STM QSPI, Progress = 70
I: Redpine Image Stored into STM QSPI, Progress = 80
I: Redpine Image Stored into STM QSPI, Progress = 90
I: Redpine Image Stored into STM QSPI, Progress = 100
I: OTA device_id = 4 : FW_UPDATE_COMPLETE_REQ
I: STM_QSPI : IB_FW_UPDATE_COMPLETE_REQUEST
I: STM_QSPI : STM QSPI to Redpine SPI Image Transfer Ongoing (0)
I: STM_QSPI : STM QSPI to Redpine SPI Image Transfer Ongoing (10)
I: STM_QSPI : STM QSPI to Redpine SPI Image Transfer Ongoing (20)
I: STM_QSPI : STM QSPI to Redpine SPI Image Transfer Ongoing (30)
I: STM_QSPI : STM QSPI to Redpine SPI Image Transfer Ongoing (40)
I: STM_QSPI : STM QSPI to Redpine SPI Image Transfer Ongoing (50)
I: STM_QSPI : STM QSPI to Redpine SPI Image Transfer Ongoing (60)
I: STM_QSPI : STM QSPI to Redpine SPI Image Transfer Ongoing (70)
I: STM_QSPI : STM QSPI to Redpine SPI Image Transfer Ongoing (80)
I: STM_QSPI : STM QSPI to Redpine SPI Image Transfer Ongoing (90)
I: STM_QSPI : STM QSPI to Redpine SPI Image Transfer Ongoing (100)
I: STM_QSPI : IB_FW_UPDATE_REBOOT_REQUEST
I: Clear Redpine OTA Meta Data
I: Current OTA Stage = 24
I: Start to Erase OTA Bundle Image from External Flash
I: Erasing bundle from nRF Ext. Flash
I: Bundle Image Erased from nRF Ext. Flash: 0
I: Current OTA Stage = 25
I: FW Ver: 0.3.1+0; version: 00030100
I: 599528 [DL]DFU-BLE-Connected
I: BLE Connected
Swap type: none
I: 599791 [DL]DFU-BLE-Disconnected : 19
E: Sending UART cmd st 0
I: BLE Name set: HU:2F29 errCode: 0
I: 599804 [SWU]SMP BLE advertising started
I: 599808 [DL]DFU over SMP started
I: BLE Disconnected: 13
I: 616693 [DL]DFU-BLE-Connected
I: BLE Connected
I: 616994 [DL]DFU Image upload started
I: Current OTA Stage = 11
I: 630171 [DL]Image 0 download completed successfully
I: 630200 [DL]DFU-BLE-Disconnected : 19
E: Sending UART cmd st 0
I: BLE Name set: HU:2F29 errCode: 0
I: 630213 [SWU]SMP BLE advertising started
I: 630217 [DL]DFU over SMP started
I: BLE Disconnected: 13
I: 679984 [DL]DFU-BLE-Connected
I: BLE Connected
Swap type: none
I: 680289 [DL]DFU Image upload started
I: Current OTA Stage = 12
I: 768983 [DL]Image 1 download completed successfully
I: 769008 [DL]DFU-BLE-Disconnected : 19
E: Sending UART cmd st 0
I: BLE Name set: HU:2F29 errCode: 0
I: 769021 [SWU]SMP BLE advertising started
I: 769025 [DL]DFU over SMP started
I: BLE Disconnected: 13
I: 806506 [DL]DFU-BLE-Connected
I: BLE Connected
I: 825348 [DL]DFU Image upload started
D: 900362 [DIS]Extended discovery timed out
I: 900368 [DIS]Updating services using commissioning mode 0
E: 900376 [DIS]Failed to remove advertised services: 3
E: 900382 [DIS]Failed to finalize service update: 3
I: Current OTA Stage = 13
I: 1065361 [DL]Image 2 download completed successfully
I: Current OTA Stage = 14
I: 1065393 [DL]DFU-BLE-Disconnected : 19
E: Sending UART cmd st 0
I: BLE Name set: HU:2F29 errCode: 0
I: 1065406 [SWU]SMP BLE advertising started
I: 1065411 [DL]DFU over SMP started
I: BLE Disconnected: 13
I: 1084296 [DL]DFU-BLE-Connected
I: BLE Connected
Swap type: none
Swap type: none
Swap type: none
I: 1084600 [DL]DFU-BLE-Disconnected : 19
E: Sending UART cmd st 0
I: BLE Name set: HU:2F29 errCode: 0
I: 1084613 [SWU]SMP BLE advertising started
I: 1084617 [DL]DFU over SMP started
I: BLE Disconnected: 13
I: 1102767 [DL]DFU-BLE-Connected
I: BLE Connected
E: img_mgmt_find_by_hash Return i=1
E: a4 a4
E: 1d 1d
E: 1e 1e
E: a8 a8
E: b8 b8
E: 1d 1d
E: 72 72
E: 1b 1b
E: c0 c0
E: 13 13
E: cc cc
E: 3e 3e
E: d6 d6
E: e7 e7
E: 2f 2f
E: d4 d4
E: 4c 4c
E: 9 9
E: 25 25
E: 26 26
E: d1 d1
E: df df
E: b3 b3
E: 7b 7b
E: 1d 1d
E: f3 f3
E: b1 b1
E: db db
E: 4b 4b
E: 7c 7c
E: c3 c3
E: b4 b4
E: img_mgmt_find_by_hash slot = 1, confirm = 1
E: area_id = 2, active = 0
E: Success 1
E: Success 2
writing magic; fa_id=2 off=0xeeff0 (0xeeff0)
writing image_ok; fa_id=2 off=0xeefe8 (0xeefe8)
writing swap_info; fa_id=2 off=0xeefd8 (0xeefd8), swap_type=0x3 image_num=0x0
E: Success 3
E: *** rc = 0 ***
E: img_mgmt_set_boot_next rc = 0
Swap type: perm
Swap type: perm
Swap type: none
E: img_mgmt_state_read rc = 0
I: 1103133 [DL]DFU-BLE-Disconnected : 19
E: Sending UART cmd st 0
I: BLE Name set: HU:2F29 errCode: 0
I: 1103145 [SWU]SMP BLE advertising started
I: 1103149 [DL]DFU over SMP started
I: BLE Disconnected: 13
I: 1140634 [DL]DFU-BLE-Connected
I: BLE Connected
E: img_mgmt_find_by_hash Continue
E: img_mgmt_find_by_hash Return i=3
E: 9 9
E: 4 4
E: ba ba
E: 45 45
E: 18 18
E: a a
E: c3 c3
E: 6d 6d
E: 87 87
E: da da
E: c3 c3
E: ec ec
E: f2 f2
E: d d
E: 73 73
E: b1 b1
E: 9b 9b
E: f4 f4
E: 52 52
E: 8b 8b
E: 67 67
E: 23 23
E: 29 29
E: 47 47
E: 9 9
E: 40 40
E: 93 93
E: 98 98
E: d7 d7
E: 3b 3b
E: 9c 9c
E: 12 12
E: img_mgmt_find_by_hash slot = 3, confirm = 1
E: area_id = 8, active = 0
E: Success 1
E: Success 2
writing magic; fa_id=8 off=0x3fff0 (0x12eff0)
writing image_ok; fa_id=8 off=0x3ffe8 (0x12efe8)
writing swap_info; fa_id=8 off=0x3ffd8 (0x12efd8), swap_type=0x3 image_num=0x0
E: Success 3
E: *** rc = 0 ***
E: img_mgmt_set_boot_next rc = 0
Swap type: perm
Swap type: perm
Swap type: perm
E: img_mgmt_state_read rc = 0
I: 1141015 [DL]DFU-BLE-Disconnected : 19
E: Sending UART cmd st 0
I: BLE Name set: HU:2F29 errCode: 0
I: 1141027 [SWU]SMP BLE advertising started
I: 1141031 [DL]DFU over SMP started
I: BLE Disconnected: 13
I: 1173734 [DL]DFU-BLE-Connected
I: BLE Connected
in os_mgmt_reset
in os_mgmt_reset, Timer Register
I: 1174014 [DL]DFU-BLE-Disconnected : 19
E: Sending UART cmd st 0
I: BLE Name set: HU:2F29 errCode: 0
I: 1174027 [SWU]SMP BLE advertising started
I: 1174031 [DL]DFU over SMP started
I: BLE Disconnected: 13
in os_mgmt_reset_cb
os_mgmt_reset_work_handler: System Rebooted
*** Booting Zephyr OS build v3.3.99-ncs1-1 ***
Starting bootloader
Swap type: perm
Swap type: perm
writing magic; fa_id=4 off=0xeeff0 (0xf6ff0)
writing magic; fa_id=1 off=0x3fff0 (0x3fff0)
Bootloader chainload address offset: 0x8000
Jumping to the first image slot
Start Do_Boot


uart:~$ *** Booting Zephyr OS build v3.3.99-ncs1-1 ***
I: KWIKSET HALO 3 VERSION: 00.03.00.00
I: Init CHIP stack
I: 159 [DL]BLE address: C0:CD:69:9A:2F:D7
I: Board config kwiksetmdb_nrf5340_cpuapp
I: IMAGE_VERSION 0.3.0+0
I: build time: Nov 30 2023 11:09:14
E: ====    Matter FW Ver: 0.3.0    ====
I: 198 [DL]OpenThread SED interval is 1000ms
I: 205 [DL]OpenThread started: OK
I: 208 [DL]Setting OpenThread device type to SLEEPY END DEVICE
I: 216 [SWU]DFU_BLEAdvertising_Init 
Swap type: none
I: 223 [SVR]Subscription persistence not supported
I: 227 [SVR]Server initializing...
I: 232 [TS]Last Known Good Time: 2023-11-30T17:43:12
I: 238 [DMG]AccessControl: initializing
I: 242 [DMG]Examples::AccessControlDelegate::Init
I: 247 [DMG]AccessControl: setting
I: 251 [DMG]DefaultAclStorage: initializing
I: 255 [DMG]DefaultAclStorage: 0 entries loaded
D: 260 [IN]UDP::Init bind&amp;amp;listen port=5540
E: 265 [IN]SO_REUSEPORT failed: 109
D: 269 [IN]UDP::Init bound to port=5540
D: 273 [IN]BLEBase::Init - setting/overriding transport
D: 278 [IN]TransportMgr initialized
D: 285 [DL]Using Thread extended MAC for hostname.
I: 292 [ZCL]Using ZAP configuration...
I: 298 [DMG]AccessControlCluster: initializing
D: 303 [DL]Boot reason: 6
I: 306 [ZCL]Initiating Admin Commissioning cluster.
I: 311 [ZCL]Door Lock server initialized
I: 316 [ZCL]Door Lock cluster initialized at endpoint #1
I: 322 [DIS]Updating services using commissioning mode 0
E: 328 [DIS]Failed to remove advertised services: 3
D: 334 [DL]Using Thread extended MAC for hostname.
I: 339 [DIS]Advertise commission parameter vendorID=65521 productID=32774 discriminator=3840/15 cm=0
E: 349 [DIS]Failed to advertise extended commissionable node: 3
D: 355 [DIS]Scheduling extended discovery timeout in 900s
E: 362 [DIS]Failed to finalize service update: 3
I: 367 [DIS]Delaying proxy of operational discovery: missing delegate
I: 373 [IN]CASE Server enabling CASE session setups
D: 380 [IN]SecureSession[0x200049f0]: Allocated Type:2 LSID:28740
I: 386 [SVR]Joining Multicast groups
I: 391 [SVR]Server Listening...
I: 394 [DL]Device Configuration:
I: 398 [DL]  Serial Number: 11223344556677889900
I: 403 [DL]  Vendor Id: 65521 (0xFFF1)
I: 407 [DL]  Product Id: 32774 (0x8006)
I: 411 [DL]  Product Name: not-specified
I: 415 [DL]  Hardware Version: 0
I: 419 [DL]  Setup Pin Code (0 for UNKNOWN/ERROR): 20202021
I: 425 [DL]  Setup Discriminator (0xFFFF for UNKNOWN/ERROR): 3840 (0xF00)
I: 433 [DL]  Manufacturing Date: 2022-01-01
I: 437 [DL]  Device Type: 65535 (0xFFFF)
I: 442 [SVR]SetupQRCode: [MT:8IXS142C00KA0648G00]
I: 447 [SVR]Copy/paste the below URL in a browser to see the QR Code:
I: 453 [SVR]https://project-chip.github.io/connectedhomeip/qrcode.html?data=MT%3A8IXS142C00KA0648G00
I: 465 [SVR]Manual pairing code: [34970112332]
I: 474 [DL]CHIP task running
I: 477 [DIS]Updating services using commissioning mode 0
E: 482 [DIS]Failed to remove advertised services: 3
D: 488 [DL]Using Thread extended MAC for hostname.
I: 494 [DIS]Advertise commission parameter vendorID=65521 productID=32774 discriminator=3840/15 cm=0
E: 503 [DIS]Failed to advertise extended commissionable node: 3
E: 510 [DIS]Failed to finalize service update: 3
I: FW Ver: 0.3.0+0; version: 00030000
I: Device has NOT gone through provisioning
I: network state 0
E: Sending UART cmd st 0
I: BLE Device ID: 2f29
I: Current OTA Stage = 10
I: dfu_header_data.image_count: 2
E: Sending UART cmd st 0
I: BLE Name set: HU:2F29 errCode: 0
I: 15696 [SWU]SMP BLE advertising started
I: 15700 [DL]DFU over SMP started
I: IMG Integrity Verified Successfully: 0
I: IMG Integrity Verified Successfully: 1
I: Current OTA Stage = 16
I: OTA device_id = 5 : DISCOVERY_REQ
I: SECURE_STM : DISCOVERY_REQ
I: OTA device_id = 5 : FW_VERSION_REQ
I: Secure STM Firmware Version: 2 0 1 2
I: OTA device_id = 5 : FW_UPDATE_START_REQ
I: SECURE_STM : IB_FW_UPDATE_START_REQUEST
I: STM OTA Progress = 10
I: STM OTA Progress = 20
I: STM OTA Progress = 30
I: STM OTA Progress = 40
I: STM OTA Progress = 50
I: STM OTA Progress = 60
I: STM OTA Progress = 70
I: STM OTA Progress = 80
I: STM OTA Progress = 90
I: STM OTA Progress = 100
I: OTA device_id = 5 : FW_UPDATE_REBOOT_REQ
I: SECURE_STM : REBOOT_COMMAND
I: STM Rebooted, MCUBoot Verifying Image
I: OTA device_id = 5 : FW_VERSION_REQ
I: Secure STM Firmware Version: 2 0 1 1
I: OTA device_id = 5 : FW_UPDATE_COMPLETE_REQ
I: SECURE_STM : IB_FW_UPDATE_COMPLETE_REQUEST
I: OTA device_id = 5 : FW_UPDATE_REBOOT_REQ
I: SECURE_STM : REBOOT_COMMAND
I: STM Rebooted, MCUBoot Confirming Image
I: OTA device_id = 5 : FW_VERSION_REQ
I: Secure STM Firmware Version: 2 0 1 1
I: STM Secure OTA Successful
I: Clear STM OTA Meta Data
I: Current OTA Stage = 17
I: Redpine OTA started
I: Current OTA Stage = 18
I: OTA device_id = 4 : DISCOVERY_REQ
I: STM_QSPI : IB_DEVICE_DISCOVERY_REQUEST
I: OTA device_id = 4 : FW_VERSION_REQ
I: STM_QSPI : IB_FW_VERSION_REQUEST
I: Redpine Firmware Version: 2.1.255.191
I: OTA device_id = 4 : FW_UPDATE_START_REQ
I: STM_QSPI : IB_FW_UPDATE_START_REQUEST
I: Redpine Image Stored into STM QSPI, Progress = 10
I: Redpine Image Stored into STM QSPI, Progress = 20
I: Redpine Image Stored into STM QSPI, Progress = 30
I: Redpine Image Stored into STM QSPI, Progress = 40
I: Redpine Image Stored into STM QSPI, Progress = 50
I: Redpine Image Stored into STM QSPI, Progress = 60
I: Redpine Image Stored into STM QSPI, Progress = 70
I: Redpine Image Stored into STM QSPI, Progress = 80
I: Redpine Image Stored into STM QSPI, Progress = 90
I: Redpine Image Stored into STM QSPI, Progress = 100
I: OTA device_id = 4 : FW_UPDATE_COMPLETE_REQ
I: STM_QSPI : IB_FW_UPDATE_COMPLETE_REQUEST
I: STM_QSPI : STM QSPI to Redpine SPI Image Transfer Ongoing (0)
I: STM_QSPI : STM QSPI to Redpine SPI Image Transfer Ongoing (10)
I: STM_QSPI : STM QSPI to Redpine SPI Image Transfer Ongoing (20)
I: STM_QSPI : STM QSPI to Redpine SPI Image Transfer Ongoing (30)
I: STM_QSPI : STM QSPI to Redpine SPI Image Transfer Ongoing (40)
I: STM_QSPI : STM QSPI to Redpine SPI Image Transfer Ongoing (50)
I: STM_QSPI : STM QSPI to Redpine SPI Image Transfer Ongoing (60)
I: STM_QSPI : STM QSPI to Redpine SPI Image Transfer Ongoing (70)
I: STM_QSPI : STM QSPI to Redpine SPI Image Transfer Ongoing (80)
I: STM_QSPI : STM QSPI to Redpine SPI Image Transfer Ongoing (90)
I: STM_QSPI : STM QSPI to Redpine SPI Image Transfer Ongoing (100)
I: STM_QSPI : IB_FW_UPDATE_REBOOT_REQUEST
I: Clear Redpine OTA Meta Data
I: Current OTA Stage = 24
I: Start to Erase OTA Bundle Image from External Flash
I: Erasing bundle from nRF Ext. Flash
I: Bundle Image Erased from nRF Ext. Flash: 0
I: Current OTA Stage = 25
I: FW Ver: 0.3.0+0; version: 00030000
I: 598415 [DL]DFU-BLE-Connected
I: BLE Connected
Swap type: none
I: 598694 [DL]DFU-BLE-Disconnected : 19
E: Sending UART cmd st 0
I: BLE Name set: HU:2F29 errCode: 0
I: 598707 [SWU]SMP BLE advertising started
I: 598711 [DL]DFU over SMP started
I: BLE Disconnected: 13
I: 615509 [DL]DFU-BLE-Connected
I: BLE Connected
I: 615785 [DL]DFU Image upload started
I: Current OTA Stage = 11
I: 628976 [DL]Image 0 download completed successfully
I: 629005 [DL]DFU-BLE-Disconnected : 19
E: Sending UART cmd st 0
I: BLE Name set: HU:2F29 errCode: 0
I: 629018 [SWU]SMP BLE advertising started
I: 629022 [DL]DFU over SMP started
I: BLE Disconnected: 13
I: 678784 [DL]DFU-BLE-Connected
I: BLE Connected
Swap type: none
I: 679064 [DL]DFU Image upload started
I: Current OTA Stage = 12
I: 768610 [DL]Image 1 download completed successfully
I: 768646 [DL]DFU-BLE-Disconnected : 19
E: Sending UART cmd st 0
I: BLE Name set: HU:2F29 errCode: 0
I: 768658 [SWU]SMP BLE advertising started
I: 768662 [DL]DFU over SMP started
I: BLE Disconnected: 13
I: 802526 [DL]DFU-BLE-Connected
I: BLE Connected
I: 821361 [DL]DFU Image upload started
D: 900361 [DIS]Extended discovery timed out
I: 900365 [DIS]Updating services using commissioning mode 0
E: 900371 [DIS]Failed to remove advertised services: 3
E: 900377 [DIS]Failed to finalize service update: 3
I: Current OTA Stage = 13
I: 1060555 [DL]Image 2 download completed successfully
I: Current OTA Stage = 14
I: 1060587 [DL]DFU-BLE-Disconnected : 19
E: Sending UART cmd st 0
I: BLE Name set: HU:2F29 errCode: 0
I: 1060600 [SWU]SMP BLE advertising started
I: 1060604 [DL]DFU over SMP started
I: BLE Disconnected: 13
I: 1080780 [DL]DFU-BLE-Connected
I: BLE Connected
Swap type: none
Swap type: none
Swap type: none
I: 1081095 [DL]DFU-BLE-Disconnected : 19
E: Sending UART cmd st 0
I: BLE Name set: HU:2F29 errCode: 0
I: 1081108 [SWU]SMP BLE advertising started
I: 1081113 [DL]DFU over SMP started
I: BLE Disconnected: 13
I: 1097465 [DL]DFU-BLE-Connected
I: BLE Connected
E: img_mgmt_find_by_hash Return i=1
E: cb cb
E: 96 96
E: 29 29
E: f f
E: d9 d9
E: a a
E: b7 b7
E: b b
E: 3e 3e
E: a1 a1
E: 45 45
E: aa aa
E: 46 46
E: 56 56
E: 19 19
E: 5d 5d
E: be be
E: 6e 6e
E: 4b 4b
E: eb eb
E: 7c 7c
E: e0 e0
E: bf bf
E: f0 f0
E: f4 f4
E: b8 b8
E: 18 18
E: e8 e8
E: 92 92
E: 53 53
E: 2 2
E: 82 82
E: img_mgmt_find_by_hash slot = 1, confirm = 1
E: area_id = 2, active = 0
E: Success 1
E: Success 2
writing magic; fa_id=2 off=0xeeff0 (0xeeff0)
writing image_ok; fa_id=2 off=0xeefe8 (0xeefe8)
writing swap_info; fa_id=2 off=0xeefd8 (0xeefd8), swap_type=0x3 image_num=0x0
E: Success 3
E: *** rc = 0 ***
E: img_mgmt_set_boot_next rc = 0
Swap type: perm
Swap type: perm
Swap type: none
E: img_mgmt_state_read rc = 0
I: 1097835 [DL]DFU-BLE-Disconnected : 19
E: Sending UART cmd st 0
I: BLE Name set: HU:2F29 errCode: 0
I: 1097848 [SWU]SMP BLE advertising started
I: 1097852 [DL]DFU over SMP started
I: BLE Disconnected: 13
I: 1135659 [DL]DFU-BLE-Connected
I: BLE Connected
E: img_mgmt_find_by_hash Continue
E: img_mgmt_find_by_hash Return i=3
E: 19 19
E: 64 64
E: b b
E: b1 b1
E: 5e 5e
E: dc dc
E: e6 e6
E: 77 77
E: 8c 8c
E: ef ef
E: 69 69
E: 20 20
E: 5f 5f
E: ae ae
E: 54 54
E: 61 61
E: a3 a3
E: 99 99
E: ff ff
E: 7c 7c
E: 4d 4d
E: 65 65
E: f3 f3
E: 4c 4c
E: 53 53
E: 6c 6c
E: 37 37
E: 88 88
E: 2f 2f
E: e1 e1
E: 39 39
E: 7e 7e
E: img_mgmt_find_by_hash slot = 3, confirm = 1
E: area_id = 8, active = 0
E: Success 1
E: Success 2
writing magic; fa_id=8 off=0x3fff0 (0x12eff0)
writing image_ok; fa_id=8 off=0x3ffe8 (0x12efe8)
writing swap_info; fa_id=8 off=0x3ffd8 (0x12efd8), swap_type=0x3 image_num=0x0
E: Success 3
E: *** rc = 0 ***
E: img_mgmt_set_boot_next rc = 0
Swap type: perm
Swap type: perm
Swap type: perm
E: img_mgmt_state_read rc = 0
I: 1136047 [DL]DFU-BLE-Disconnected : 19
E: Sending UART cmd st 0
I: BLE Name set: HU:2F29 errCode: 0
I: 1136060 [SWU]SMP BLE advertising started
I: 1136064 [DL]DFU over SMP started
I: BLE Disconnected: 13
I: 1167964 [DL]DFU-BLE-Connected
I: BLE Connected
in os_mgmt_reset
in os_mgmt_reset, Timer Register
I: 1168244 [DL]DFU-BLE-Disconnected : 19
E: Sending UART cmd st 0
I: BLE Name set: HU:2F29 errCode: 0
I: 1168257 [SWU]SMP BLE advertising started
I: 1168262 [DL]DFU over SMP started
I: BLE Disconnected: 13
in os_mgmt_reset_cb
os_mgmt_reset_work_handler: System Rebooted
*** Booting Zephyr OS build v3.3.99-ncs1-1 ***
Starting bootloader
Swap type: perm
Swap type: perm
writing magic; fa_id=4 off=0xeeff0 (0xf6ff0)
writing magic; fa_id=1 off=0x3fff0 (0x3fff0)
Bootloader chainload address offset: 0x8000
Jumping to the first image slot
Start Do_Boot


uart:~$ *** Booting Zephyr OS build v3.3.99-ncs1-1 ***
I: KWIKSET HALO 3 VERSION: 00.03.01.00
I: Init CHIP stack
I: 159 [DL]BLE address: D5:8A:57:3C:71:B4
I: Board config kwiksetmdb_nrf5340_cpuapp
I: IMAGE_VERSION 0.3.1+0
I: build time: Nov 30 2023 17:44:53
E: ====    Matter FW Ver: 0.3.1    ====
I: 198 [DL]OpenThread SED interval is 1000ms
I: 205 [DL]OpenThread started: OK
I: 208 [DL]Setting OpenThread device type to SLEEPY END DEVICE
I: 216 [SWU]DFU_BLEAdvertising_Init 
Swap type: none
I: 223 [SVR]Subscription persistence not supported
I: 227 [SVR]Server initializing...
I: 232 [TS]Last Known Good Time: 2023-11-30T17:43:12
I: 238 [DMG]AccessControl: initializing
I: 242 [DMG]Examples::AccessControlDelegate::Init
I: 248 [DMG]AccessControl: setting
I: 251 [DMG]DefaultAclStorage: initializing
I: 255 [DMG]DefaultAclStorage: 0 entries loaded
D: 260 [IN]UDP::Init bind&amp;amp;listen port=5540
E: 265 [IN]SO_REUSEPORT failed: 109
D: 269 [IN]UDP::Init bound to port=5540
D: 273 [IN]BLEBase::Init - setting/overriding transport
D: 278 [IN]TransportMgr initialized
D: 286 [DL]Using Thread extended MAC for hostname.
I: 292 [ZCL]Using ZAP configuration...
I: 298 [DMG]AccessControlCluster: initializing
D: 303 [DL]Boot reason: 6
I: 306 [ZCL]Initiating Admin Commissioning cluster.
I: 312 [ZCL]Door Lock server initialized
I: 316 [ZCL]Door Lock cluster initialized at endpoint #1
I: 323 [DIS]Updating services using commissioning mode 0
E: 328 [DIS]Failed to remove advertised services: 3
D: 334 [DL]Using Thread extended MAC for hostname.
I: 339 [DIS]Advertise commission parameter vendorID=65521 productID=32774 discriminator=3840/15 cm=0
E: 350 [DIS]Failed to advertise extended commissionable node: 3
D: 355 [DIS]Scheduling extended discovery timeout in 900s
E: 362 [DIS]Failed to finalize service update: 3
I: 367 [DIS]Delaying proxy of operational discovery: missing delegate
I: 373 [IN]CASE Server enabling CASE session setups
D: 381 [IN]SecureSession[0x200049f0]: Allocated Type:2 LSID:36306
I: 386 [SVR]Joining Multicast groups
I: 391 [SVR]Server Listening...
I: 394 [DL]Device Configuration:
I: 398 [DL]  Serial Number: 11223344556677889900
I: 403 [DL]  Vendor Id: 65521 (0xFFF1)
I: 407 [DL]  Product Id: 32774 (0x8006)
I: 411 [DL]  Product Name: not-specified
I: 415 [DL]  Hardware Version: 0
I: 419 [DL]  Setup Pin Code (0 for UNKNOWN/ERROR): 20202021
I: 425 [DL]  Setup Discriminator (0xFFFF for UNKNOWN/ERROR): 3840 (0xF00)
I: 433 [DL]  Manufacturing Date: 2022-01-01
I: 437 [DL]  Device Type: 65535 (0xFFFF)
I: 442 [SVR]SetupQRCode: [MT:8IXS142C00KA0648G00]
I: 447 [SVR]Copy/paste the below URL in a browser to see the QR Code:
I: 453 [SVR]https://project-chip.github.io/connectedhomeip/qrcode.html?data=MT%3A8IXS142C00KA0648G00
I: 465 [SVR]Manual pairing code: [34970112332]
I: 474 [DL]CHIP task running
I: 477 [DIS]Updating services using commissioning mode 0
E: 482 [DIS]Failed to remove advertised services: 3
D: 489 [DL]Using Thread extended MAC for hostname.
I: 494 [DIS]Advertise commission parameter vendorID=65521 productID=32774 discriminator=3840/15 cm=0
E: 503 [DIS]Failed to advertise extended commissionable node: 3
E: 510 [DIS]Failed to finalize service update: 3
I: FW Ver: 0.3.1+0; version: 00030100
I: Device has NOT gone through provisioning
I: network state 0
E: Sending UART cmd st 0
I: BLE Device ID: 2f29
I: Current OTA Stage = 10
I: dfu_header_data.image_count: 2
E: Sending UART cmd st 0
I: BLE Name set: HU:2F29 errCode: 0
I: 15701 [SWU]SMP BLE advertising started
I: 15705 [DL]DFU over SMP started
I: IMG Integrity Verified Successfully: 0
I: IMG Integrity Verified Successfully: 1
I: Current OTA Stage = 16
I: OTA device_id = 5 : DISCOVERY_REQ
I: SECURE_STM : DISCOVERY_REQ
I: OTA device_id = 5 : FW_VERSION_REQ
I: Secure STM Firmware Version: 2 0 1 1
I: OTA device_id = 5 : FW_UPDATE_START_REQ
I: SECURE_STM : IB_FW_UPDATE_START_REQUEST
I: STM OTA Progress = 10
I: STM OTA Progress = 20
I: STM OTA Progress = 30
I: STM OTA Progress = 40
I: STM OTA Progress = 50
I: STM OTA Progress = 60
I: STM OTA Progress = 70
I: STM OTA Progress = 80
I: STM OTA Progress = 90
I: STM OTA Progress = 100
I: OTA device_id = 5 : FW_UPDATE_REBOOT_REQ
I: SECURE_STM : REBOOT_COMMAND
I: STM Rebooted, MCUBoot Verifying Image
I: OTA device_id = 5 : FW_VERSION_REQ
I: Secure STM Firmware Version: 2 0 1 2
I: OTA device_id = 5 : FW_UPDATE_COMPLETE_REQ
I: SECURE_STM : IB_FW_UPDATE_COMPLETE_REQUEST
I: OTA device_id = 5 : FW_UPDATE_REBOOT_REQ
I: SECURE_STM : REBOOT_COMMAND
I: STM Rebooted, MCUBoot Confirming Image
I: OTA device_id = 5 : FW_VERSION_REQ
I: Secure STM Firmware Version: 2 0 1 2
I: STM Secure OTA Successful
I: Clear STM OTA Meta Data
I: Current OTA Stage = 17
I: Redpine OTA started
I: Current OTA Stage = 18
I: OTA device_id = 4 : DISCOVERY_REQ
I: STM_QSPI : IB_DEVICE_DISCOVERY_REQUEST
I: OTA device_id = 4 : FW_VERSION_REQ
I: STM_QSPI : IB_FW_VERSION_REQUEST
I: Redpine Firmware Version: 2.1.255.191
I: OTA device_id = 4 : FW_UPDATE_START_REQ
I: STM_QSPI : IB_FW_UPDATE_START_REQUEST
I: Redpine Image Stored into STM QSPI, Progress = 10
I: Redpine Image Stored into STM QSPI, Progress = 20
I: Redpine Image Stored into STM QSPI, Progress = 30
I: Redpine Image Stored into STM QSPI, Progress = 40
I: Redpine Image Stored into STM QSPI, Progress = 50
I: Redpine Image Stored into STM QSPI, Progress = 60
I: Redpine Image Stored into STM QSPI, Progress = 70
I: Redpine Image Stored into STM QSPI, Progress = 80
I: Redpine Image Stored into STM QSPI, Progress = 90
I: Redpine Image Stored into STM QSPI, Progress = 100
I: OTA device_id = 4 : FW_UPDATE_COMPLETE_REQ
I: STM_QSPI : IB_FW_UPDATE_COMPLETE_REQUEST
I: STM_QSPI : STM QSPI to Redpine SPI Image Transfer Ongoing (0)
I: STM_QSPI : STM QSPI to Redpine SPI Image Transfer Ongoing (10)
I: STM_QSPI : STM QSPI to Redpine SPI Image Transfer Ongoing (20)
I: STM_QSPI : STM QSPI to Redpine SPI Image Transfer Ongoing (30)
I: STM_QSPI : STM QSPI to Redpine SPI Image Transfer Ongoing (40)
I: STM_QSPI : STM QSPI to Redpine SPI Image Transfer Ongoing (50)
I: STM_QSPI : STM QSPI to Redpine SPI Image Transfer Ongoing (60)
I: STM_QSPI : STM QSPI to Redpine SPI Image Transfer Ongoing (70)
I: STM_QSPI : STM QSPI to Redpine SPI Image Transfer Ongoing (80)
I: STM_QSPI : STM QSPI to Redpine SPI Image Transfer Ongoing (90)
I: STM_QSPI : STM QSPI to Redpine SPI Image Transfer Ongoing (100)
I: STM_QSPI : IB_FW_UPDATE_REBOOT_REQUEST
I: Clear Redpine OTA Meta Data
I: Current OTA Stage = 24
I: Start to Erase OTA Bundle Image from External Flash
I: Erasing bundle from nRF Ext. Flash
I: Bundle Image Erased from nRF Ext. Flash: 0
I: Current OTA Stage = 25
I: FW Ver: 0.3.1+0; version: 00030100
I: 598133 [DL]DFU-BLE-Connected
I: BLE Connected
Swap type: none
I: 598404 [DL]DFU-BLE-Disconnected : 19
E: Sending UART cmd st 0
I: BLE Name set: HU:2F29 errCode: 0
I: 598417 [SWU]SMP BLE advertising started
I: 598421 [DL]DFU over SMP started
I: BLE Disconnected: 13
I: 616776 [DL]DFU-BLE-Connected
I: BLE Connected
I: 617047 [DL]DFU Image upload started
I: Current OTA Stage = 11
I: 630299 [DL]Image 0 download completed successfully
I: 630328 [DL]DFU-BLE-Disconnected : 19
E: Sending UART cmd st 0
I: BLE Name set: HU:2F29 errCode: 0
I: 630341 [SWU]SMP BLE advertising started
I: 630344 [DL]DFU over SMP started
I: BLE Disconnected: 13
I: 679342 [DL]DFU-BLE-Connected
I: BLE Connected
Swap type: none
I: 679614 [DL]DFU Image upload started
I: Current OTA Stage = 12
I: 768706 [DL]Image 1 download completed successfully
I: 768731 [DL]DFU-BLE-Disconnected : 19
E: Sending UART cmd st 0
I: BLE Name set: HU:2F29 errCode: 0
I: 768744 [SWU]SMP BLE advertising started
I: 768748 [DL]DFU over SMP started
I: BLE Disconnected: 13
I: 802704 [DL]DFU-BLE-Connected
I: BLE Connected
I: 821544 [DL]DFU Image upload started
D: 900361 [DIS]Extended discovery timed out
I: 900365 [DIS]Updating services using commissioning mode 0
E: 900371 [DIS]Failed to remove advertised services: 3
E: 900377 [DIS]Failed to finalize service update: 3
I: Current OTA Stage = 13
I: 1060910 [DL]Image 2 download completed successfully
I: Current OTA Stage = 14
I: 1060942 [DL]DFU-BLE-Disconnected : 19
E: Sending UART cmd st 0
I: BLE Name set: HU:2F29 errCode: 0
I: 1060955 [SWU]SMP BLE advertising started
I: 1060959 [DL]DFU over SMP started
I: BLE Disconnected: 13
I: 1079890 [DL]DFU-BLE-Connected
I: BLE Connected
Swap type: none
Swap type: none
Swap type: none
I: 1080183 [DL]DFU-BLE-Disconnected : 19
E: Sending UART cmd st 0
I: BLE Name set: HU:2F29 errCode: 0
I: 1080196 [SWU]SMP BLE advertising started
I: 1080200 [DL]DFU over SMP started
I: BLE Disconnected: 13
I: 1096506 [DL]DFU-BLE-Connected
I: BLE Connected
E: img_mgmt_find_by_hash Return i=1
E: a4 a4
E: 1d 1d
E: 1e 1e
E: a8 a8
E: b8 b8
E: 1d 1d
E: 72 72
E: 1b 1b
E: c0 c0
E: 13 13
E: cc cc
E: 3e 3e
E: d6 d6
E: e7 e7
E: 2f 2f
E: d4 d4
E: 4c 4c
E: 9 9
E: 25 25
E: 26 26
E: d1 d1
E: df df
E: b3 b3
E: 7b 7b
E: 1d 1d
E: f3 f3
E: b1 b1
E: db db
E: 4b 4b
E: 7c 7c
E: c3 c3
E: b4 b4
E: img_mgmt_find_by_hash slot = 1, confirm = 1
E: area_id = 2, active = 0
E: Success 1
E: Success 2
writing magic; fa_id=2 off=0xeeff0 (0xeeff0)
writing image_ok; fa_id=2 off=0xeefe8 (0xeefe8)
writing swap_info; fa_id=2 off=0xeefd8 (0xeefd8), swap_type=0x3 image_num=0x0
E: Success 3
E: *** rc = 0 ***
E: img_mgmt_set_boot_next rc = 0
Swap type: perm
Swap type: perm
Swap type: none
E: img_mgmt_state_read rc = 0
I: 1096863 [DL]DFU-BLE-Disconnected : 19
E: Sending UART cmd st 0
I: BLE Name set: HU:2F29 errCode: 0
I: 1096876 [SWU]SMP BLE advertising started
I: 1096880 [DL]DFU over SMP started
I: BLE Disconnected: 13
I: 1135907 [DL]DFU-BLE-Connected
I: BLE Connected
E: img_mgmt_find_by_hash Continue
E: img_mgmt_find_by_hash Return i=3
E: 9 9
E: 4 4
E: ba ba
E: 45 45
E: 18 18
E: a a
E: c3 c3
E: 6d 6d
E: 87 87
E: da da
E: c3 c3
E: ec ec
E: f2 f2
E: d d
E: 73 73
E: b1 b1
E: 9b 9b
E: f4 f4
E: 52 52
E: 8b 8b
E: 67 67
E: 23 23
E: 29 29
E: 47 47
E: 9 9
E: 40 40
E: 93 93
E: 98 98
E: d7 d7
E: 3b 3b
E: 9c 9c
E: 12 12
E: img_mgmt_find_by_hash slot = 3, confirm = 1
E: area_id = 8, active = 0
E: Success 1
E: Success 2
writing magic; fa_id=8 off=0x3fff0 (0x12eff0)
writing image_ok; fa_id=8 off=0x3ffe8 (0x12efe8)
writing swap_info; fa_id=8 off=0x3ffd8 (0x12efd8), swap_type=0x3 image_num=0x0
E: Success 3
E: *** rc = 0 ***
E: img_mgmt_set_boot_next rc = 0
Swap type: perm
Swap type: perm
Swap type: perm
E: img_mgmt_state_read rc = 0
I: 1136282 [DL]DFU-BLE-Disconnected : 19
E: Sending UART cmd st 0
I: BLE Name set: HU:2F29 errCode: 0
I: 1136295 [SWU]SMP BLE advertising started
I: 1136299 [DL]DFU over SMP started
I: BLE Disconnected: 13
I: 1169507 [DL]DFU-BLE-Connected
I: BLE Connected
in os_mgmt_reset
in os_mgmt_reset, Timer Register
I: 1169777 [DL]DFU-BLE-Disconnected : 19
E: Sending UART cmd st 0
I: BLE Name set: HU:2F29 errCode: 0
I: 1169790 [SWU]SMP BLE advertising started
I: 1169794 [DL]DFU over SMP started
I: BLE Disconnected: 13
in os_mgmt_reset_cb
os_mgmt_reset_work_handler: System Rebooted
*** Booting Zephyr OS build v3.3.99-ncs1-1 ***
Starting bootloader
Swap type: perm
Swap type: perm
writing magic; fa_id=4 off=0xeeff0 (0xf6ff0)
writing magic; fa_id=1 off=0x3fff0 (0x3fff0)
Bootloader chainload address offset: 0x8000
Jumping to the first image slot
Start Do_Boot


uart:~$ *** Booting Zephyr OS build v3.3.99-ncs1-1 ***
I: KWIKSET HALO 3 VERSION: 00.03.00.00
I: Init CHIP stack
I: 159 [DL]BLE address: EA:B5:54:9F:26:4D
I: Board config kwiksetmdb_nrf5340_cpuapp
I: IMAGE_VERSION 0.3.0+0
I: build time: Nov 30 2023 11:09:14
E: ====    Matter FW Ver: 0.3.0    ====
I: 198 [DL]OpenThread SED interval is 1000ms
I: 205 [DL]OpenThread started: OK
I: 208 [DL]Setting OpenThread device type to SLEEPY END DEVICE
I: 216 [SWU]DFU_BLEAdvertising_Init 
Swap type: none
I: 223 [SVR]Subscription persistence not supported
I: 227 [SVR]Server initializing...
I: 232 [TS]Last Known Good Time: 2023-11-30T17:43:12
I: 238 [DMG]AccessControl: initializing
I: 242 [DMG]Examples::AccessControlDelegate::Init
I: 248 [DMG]AccessControl: setting
I: 251 [DMG]DefaultAclStorage: initializing
I: 255 [DMG]DefaultAclStorage: 0 entries loaded
D: 261 [IN]UDP::Init bind&amp;amp;listen port=5540
E: 265 [IN]SO_REUSEPORT failed: 109
D: 269 [IN]UDP::Init bound to port=5540
D: 273 [IN]BLEBase::Init - setting/overriding transport
D: 278 [IN]TransportMgr initialized
D: 285 [DL]Using Thread extended MAC for hostname.
I: 292 [ZCL]Using ZAP configuration...
I: 298 [DMG]AccessControlCluster: initializing
D: 303 [DL]Boot reason: 6
I: 306 [ZCL]Initiating Admin Commissioning cluster.
I: 312 [ZCL]Door Lock server initialized
I: 316 [ZCL]Door Lock cluster initialized at endpoint #1
I: 322 [DIS]Updating services using commissioning mode 0
E: 328 [DIS]Failed to remove advertised services: 3
D: 334 [DL]Using Thread extended MAC for hostname.
I: 339 [DIS]Advertise commission parameter vendorID=65521 productID=32774 discriminator=3840/15 cm=0
E: 348 [DIS]Failed to advertise extended commissionable node: 3
D: 355 [DIS]Scheduling extended discovery timeout in 900s
E: 362 [DIS]Failed to finalize service update: 3
I: 367 [DIS]Delaying proxy of operational discovery: missing delegate
I: 373 [IN]CASE Server enabling CASE session setups
D: 380 [IN]SecureSession[0x200049f0]: Allocated Type:2 LSID:61844
I: 386 [SVR]Joining Multicast groups
I: 391 [SVR]Server Listening...
I: 395 [DL]Device Configuration:
I: 398 [DL]  Serial Number: 11223344556677889900
I: 402 [DL]  Vendor Id: 65521 (0xFFF1)
I: 407 [DL]  Product Id: 32774 (0x8006)
I: 411 [DL]  Product Name: not-specified
I: 415 [DL]  Hardware Version: 0
I: 418 [DL]  Setup Pin Code (0 for UNKNOWN/ERROR): 20202021
I: 425 [DL]  Setup Discriminator (0xFFFF for UNKNOWN/ERROR): 3840 (0xF00)
I: 432 [DL]  Manufacturing Date: 2022-01-01
I: 437 [DL]  Device Type: 65535 (0xFFFF)
I: 442 [SVR]SetupQRCode: [MT:8IXS142C00KA0648G00]
I: 447 [SVR]Copy/paste the below URL in a browser to see the QR Code:
I: 453 [SVR]https://project-chip.github.io/connectedhomeip/qrcode.html?data=MT%3A8IXS142C00KA0648G00
I: 464 [SVR]Manual pairing code: [34970112332]
I: 474 [DL]CHIP task running
I: 477 [DIS]Updating services using commissioning mode 0
E: 483 [DIS]Failed to remove advertised services: 3
D: 488 [DL]Using Thread extended MAC for hostname.
I: 494 [DIS]Advertise commission parameter vendorID=65521 productID=32774 discriminator=3840/15 cm=0
E: 503 [DIS]Failed to advertise extended commissionable node: 3
E: 510 [DIS]Failed to finalize service update: 3
I: FW Ver: 0.3.0+0; version: 00030000
I: Device has NOT gone through provisioning
I: network state 0
E: Sending UART cmd st 0
I: BLE Device ID: 2f29
I: Current OTA Stage = 10
I: dfu_header_data.image_count: 2
E: Sending UART cmd st 0
I: BLE Name set: HU:2F29 errCode: 0
I: 15696 [SWU]SMP BLE advertising started
I: 15700 [DL]DFU over SMP started
I: IMG Integrity Verified Successfully: 0
I: IMG Integrity Verified Successfully: 1
I: Current OTA Stage = 16
I: OTA device_id = 5 : DISCOVERY_REQ
I: SECURE_STM : DISCOVERY_REQ
I: OTA device_id = 5 : FW_VERSION_REQ
I: Secure STM Firmware Version: 2 0 1 2
I: OTA device_id = 5 : FW_UPDATE_START_REQ
I: SECURE_STM : IB_FW_UPDATE_START_REQUEST
I: STM OTA Progress = 10
I: STM OTA Progress = 20
I: STM OTA Progress = 30
I: STM OTA Progress = 40
I: STM OTA Progress = 50
I: STM OTA Progress = 60
I: STM OTA Progress = 70
I: STM OTA Progress = 80
I: STM OTA Progress = 90
I: STM OTA Progress = 100
I: OTA device_id = 5 : FW_UPDATE_REBOOT_REQ
I: SECURE_STM : REBOOT_COMMAND
I: STM Rebooted, MCUBoot Verifying Image
I: OTA device_id = 5 : FW_VERSION_REQ
I: Secure STM Firmware Version: 2 0 1 1
I: OTA device_id = 5 : FW_UPDATE_COMPLETE_REQ
I: SECURE_STM : IB_FW_UPDATE_COMPLETE_REQUEST
I: OTA device_id = 5 : FW_UPDATE_REBOOT_REQ
I: SECURE_STM : REBOOT_COMMAND
I: STM Rebooted, MCUBoot Confirming Image
I: OTA device_id = 5 : FW_VERSION_REQ
I: Secure STM Firmware Version: 2 0 1 1
I: STM Secure OTA Successful
I: Clear STM OTA Meta Data
I: Current OTA Stage = 17
I: Redpine OTA started
I: Current OTA Stage = 18
I: OTA device_id = 4 : DISCOVERY_REQ
I: STM_QSPI : IB_DEVICE_DISCOVERY_REQUEST
I: OTA device_id = 4 : FW_VERSION_REQ
I: STM_QSPI : IB_FW_VERSION_REQUEST
I: Redpine Firmware Version: 2.1.255.191
I: OTA device_id = 4 : FW_UPDATE_START_REQ
I: STM_QSPI : IB_FW_UPDATE_START_REQUEST
I: Redpine Image Stored into STM QSPI, Progress = 10
I: Redpine Image Stored into STM QSPI, Progress = 20
I: Redpine Image Stored into STM QSPI, Progress = 30
I: Redpine Image Stored into STM QSPI, Progress = 40
I: Redpine Image Stored into STM QSPI, Progress = 50
I: Redpine Image Stored into STM QSPI, Progress = 60
I: Redpine Image Stored into STM QSPI, Progress = 70
I: Redpine Image Stored into STM QSPI, Progress = 80
I: Redpine Image Stored into STM QSPI, Progress = 90
I: Redpine Image Stored into STM QSPI, Progress = 100
I: OTA device_id = 4 : FW_UPDATE_COMPLETE_REQ
I: STM_QSPI : IB_FW_UPDATE_COMPLETE_REQUEST
I: STM_QSPI : STM QSPI to Redpine SPI Image Transfer Ongoing (0)
I: STM_QSPI : STM QSPI to Redpine SPI Image Transfer Ongoing (10)
I: STM_QSPI : STM QSPI to Redpine SPI Image Transfer Ongoing (20)
I: STM_QSPI : STM QSPI to Redpine SPI Image Transfer Ongoing (30)
I: STM_QSPI : STM QSPI to Redpine SPI Image Transfer Ongoing (40)
I: STM_QSPI : STM QSPI to Redpine SPI Image Transfer Ongoing (50)
I: STM_QSPI : STM QSPI to Redpine SPI Image Transfer Ongoing (60)
I: STM_QSPI : STM QSPI to Redpine SPI Image Transfer Ongoing (70)
I: STM_QSPI : STM QSPI to Redpine SPI Image Transfer Ongoing (80)
I: STM_QSPI : STM QSPI to Redpine SPI Image Transfer Ongoing (90)
I: STM_QSPI : STM QSPI to Redpine SPI Image Transfer Ongoing (100)
I: STM_QSPI : IB_FW_UPDATE_REBOOT_REQUEST
I: Clear Redpine OTA Meta Data
I: Current OTA Stage = 24
I: Start to Erase OTA Bundle Image from External Flash
I: Erasing bundle from nRF Ext. Flash
I: Bundle Image Erased from nRF Ext. Flash: 0
I: Current OTA Stage = 25
I: FW Ver: 0.3.0+0; version: 00030000
I: 598452 [DL]DFU-BLE-Connected
I: BLE Connected
Swap type: none
I: 598744 [DL]DFU-BLE-Disconnected : 19
E: Sending UART cmd st 0
I: BLE Name set: HU:2F29 errCode: 0
I: 598757 [SWU]SMP BLE advertising started
I: 598761 [DL]DFU over SMP started
I: BLE Disconnected: 13
I: 616907 [DL]DFU-BLE-Connected
I: BLE Connected
I: 617185 [DL]DFU Image upload started
I: Current OTA Stage = 11
I: 630403 [DL]Image 0 download completed successfully
I: 630432 [DL]DFU-BLE-Disconnected : 19
E: Sending UART cmd st 0
I: BLE Name set: HU:2F29 errCode: 0
I: 630445 [SWU]SMP BLE advertising started
I: 630448 [DL]DFU over SMP started
I: BLE Disconnected: 13
I: 680467 [DL]DFU-BLE-Connected
I: BLE Connected
Swap type: none
I: 680772 [DL]DFU Image upload started
I: Current OTA Stage = 12
I: 770430 [DL]Image 1 download completed successfully
I: 770455 [DL]DFU-BLE-Disconnected : 19
E: Sending UART cmd st 0
I: BLE Name set: HU:2F29 errCode: 0
I: 770468 [SWU]SMP BLE advertising started
I: 770472 [DL]DFU over SMP started
I: BLE Disconnected: 13
I: 805908 [DL]DFU-BLE-Connected
I: BLE Connected
I: 824744 [DL]DFU Image upload started
D: 900361 [DIS]Extended discovery timed out
I: 900366 [DIS]Updating services using commissioning mode 0
E: 900371 [DIS]Failed to remove advertised services: 3
E: 900377 [DIS]Failed to finalize service update: 3
I: Current OTA Stage = 13
I: 1064490 [DL]Image 2 download completed successfully
I: Current OTA Stage = 14
I: 1064523 [DL]DFU-BLE-Disconnected : 19
E: Sending UART cmd st 0
I: BLE Name set: HU:2F29 errCode: 0
I: 1064535 [SWU]SMP BLE advertising started
I: 1064539 [DL]DFU over SMP started
I: BLE Disconnected: 13
I: 1084142 [DL]DFU-BLE-Connected
I: BLE Connected
Swap type: none
Swap type: none
Swap type: none
I: 1084446 [DL]DFU-BLE-Disconnected : 19
E: Sending UART cmd st 0
I: BLE Name set: HU:2F29 errCode: 0
I: 1084459 [SWU]SMP BLE advertising started
I: 1084462 [DL]DFU over SMP started
I: BLE Disconnected: 13
I: 1100519 [DL]DFU-BLE-Connected
I: BLE Connected
E: img_mgmt_find_by_hash Return i=1
E: cb cb
E: 96 96
E: 29 29
E: f f
E: d9 d9
E: a a
E: b7 b7
E: b b
E: 3e 3e
E: a1 a1
E: 45 45
E: aa aa
E: 46 46
E: 56 56
E: 19 19
E: 5d 5d
E: be be
E: 6e 6e
E: 4b 4b
E: eb eb
E: 7c 7c
E: e0 e0
E: bf bf
E: f0 f0
E: f4 f4
E: b8 b8
E: 18 18
E: e8 e8
E: 92 92
E: 53 53
E: 2 2
E: 82 82
E: img_mgmt_find_by_hash slot = 1, confirm = 1
E: area_id = 2, active = 0
E: Success 1
E: Success 2
writing magic; fa_id=2 off=0xeeff0 (0xeeff0)
writing image_ok; fa_id=2 off=0xeefe8 (0xeefe8)
writing swap_info; fa_id=2 off=0xeefd8 (0xeefd8), swap_type=0x3 image_num=0x0
E: Success 3
E: *** rc = 0 ***
E: img_mgmt_set_boot_next rc = 0
Swap type: perm
Swap type: perm
Swap type: none
E: img_mgmt_state_read rc = 0
I: 1100908 [DL]DFU-BLE-Disconnected : 19
E: Sending UART cmd st 0
I: BLE Name set: HU:2F29 errCode: 0
I: 1100921 [SWU]SMP BLE advertising started
I: 1100925 [DL]DFU over SMP started
I: BLE Disconnected: 13
I: 1138682 [DL]DFU-BLE-Connected
I: BLE Connected
E: img_mgmt_find_by_hash Continue
E: img_mgmt_find_by_hash Return i=3
E: 19 19
E: 64 64
E: b b
E: b1 b1
E: 5e 5e
E: dc dc
E: e6 e6
E: 77 77
E: 8c 8c
E: ef ef
E: 69 69
E: 20 20
E: 5f 5f
E: ae ae
E: 54 54
E: 61 61
E: a3 a3
E: 99 99
E: ff ff
E: 7c 7c
E: 4d 4d
E: 65 65
E: f3 f3
E: 4c 4c
E: 53 53
E: 6c 6c
E: 37 37
E: 88 88
E: 2f 2f
E: e1 e1
E: 39 39
E: 7e 7e
E: img_mgmt_find_by_hash slot = 3, confirm = 1
E: area_id = 8, active = 0
E: Success 1
E: Success 2
writing magic; fa_id=8 off=0x3fff0 (0x12eff0)
writing image_ok; fa_id=8 off=0x3ffe8 (0x12efe8)
writing swap_info; fa_id=8 off=0x3ffd8 (0x12efd8), swap_type=0x3 image_num=0x0
E: Success 3
E: *** rc = 0 ***
E: img_mgmt_set_boot_next rc = 0
Swap type: perm
Swap type: perm
Swap type: perm
E: img_mgmt_state_read rc = 0
I: 1139068 [DL]DFU-BLE-Disconnected : 19
E: Sending UART cmd st 0
I: BLE Name set: HU:2F29 errCode: 0
I: 1139080 [SWU]SMP BLE advertising started
I: 1139085 [DL]DFU over SMP started
I: BLE Disconnected: 13
I: 1172759 [DL]DFU-BLE-Connected
I: BLE Connected
in os_mgmt_reset
in os_mgmt_reset, Timer Register
I: 1173042 [DL]DFU-BLE-Disconnected : 19
E: Sending UART cmd st 0
I: BLE Name set: HU:2F29 errCode: 0
I: 1173055 [SWU]SMP BLE advertising started
I: 1173059 [DL]DFU over SMP started
I: BLE Disconnected: 13
in os_mgmt_reset_cb
os_mgmt_reset_work_handler: System Rebooted
*** Booting Zephyr OS build v3.3.99-ncs1-1 ***
Starting bootloader
Swap type: perm
Swap type: perm
writing magic; fa_id=4 off=0xeeff0 (0xf6ff0)
writing magic; fa_id=1 off=0x3fff0 (0x3fff0)
Bootloader chainload address offset: 0x8000
Jumping to the first image slot
Start Do_Boot


uart:~$ *** Booting Zephyr OS build v3.3.99-ncs1-1 ***
I: KWIKSET HALO 3 VERSION: 00.03.01.00
I: Init CHIP stack
I: 159 [DL]BLE address: E9:8F:FB:AD:41:13
I: Board config kwiksetmdb_nrf5340_cpuapp
I: IMAGE_VERSION 0.3.1+0
I: build time: Nov 30 2023 17:44:53
E: ====    Matter FW Ver: 0.3.1    ====
I: 198 [DL]OpenThread SED interval is 1000ms
I: 205 [DL]OpenThread started: OK
I: 208 [DL]Setting OpenThread device type to SLEEPY END DEVICE
I: 216 [SWU]DFU_BLEAdvertising_Init 
Swap type: none
I: 223 [SVR]Subscription persistence not supported
I: 227 [SVR]Server initializing...
I: 232 [TS]Last Known Good Time: 2023-11-30T17:43:12
I: 238 [DMG]AccessControl: initializing
I: 242 [DMG]Examples::AccessControlDelegate::Init
I: 247 [DMG]AccessControl: setting
I: 250 [DMG]DefaultAclStorage: initializing
I: 255 [DMG]DefaultAclStorage: 0 entries loaded
D: 260 [IN]UDP::Init bind&amp;amp;listen port=5540
E: 265 [IN]SO_REUSEPORT failed: 109
D: 269 [IN]UDP::Init bound to port=5540
D: 273 [IN]BLEBase::Init - setting/overriding transport
D: 278 [IN]TransportMgr initialized
D: 285 [DL]Using Thread extended MAC for hostname.
I: 292 [ZCL]Using ZAP configuration...
I: 298 [DMG]AccessControlCluster: initializing
D: 303 [DL]Boot reason: 6
I: 306 [ZCL]Initiating Admin Commissioning cluster.
I: 311 [ZCL]Door Lock server initialized
I: 315 [ZCL]Door Lock cluster initialized at endpoint #1
I: 322 [DIS]Updating services using commissioning mode 0
E: 328 [DIS]Failed to remove advertised services: 3
D: 333 [DL]Using Thread extended MAC for hostname.
I: 339 [DIS]Advertise commission parameter vendorID=65521 productID=32774 discriminator=3840/15 cm=0
E: 348 [DIS]Failed to advertise extended commissionable node: 3
D: 355 [DIS]Scheduling extended discovery timeout in 900s
E: 362 [DIS]Failed to finalize service update: 3
I: 366 [DIS]Delaying proxy of operational discovery: missing delegate
I: 373 [IN]CASE Server enabling CASE session setups
D: 380 [IN]SecureSession[0x200049f0]: Allocated Type:2 LSID:24473
I: 386 [SVR]Joining Multicast groups
I: 391 [SVR]Server Listening...
I: 394 [DL]Device Configuration:
I: 398 [DL]  Serial Number: 11223344556677889900
I: 402 [DL]  Vendor Id: 65521 (0xFFF1)
I: 406 [DL]  Product Id: 32774 (0x8006)
I: 410 [DL]  Product Name: not-specified
I: 415 [DL]  Hardware Version: 0
I: 418 [DL]  Setup Pin Code (0 for UNKNOWN/ERROR): 20202021
I: 425 [DL]  Setup Discriminator (0xFFFF for UNKNOWN/ERROR): 3840 (0xF00)
I: 431 [DL]  Manufacturing Date: 2022-01-01
I: 436 [DL]  Device Type: 65535 (0xFFFF)
I: 441 [SVR]SetupQRCode: [MT:8IXS142C00KA0648G00]
I: 447 [SVR]Copy/paste the below URL in a browser to see the QR Code:
I: 454 [SVR]https://project-chip.github.io/connectedhomeip/qrcode.html?data=MT%3A8IXS142C00KA0648G00
I: 464 [SVR]Manual pairing code: [34970112332]
I: 474 [DL]CHIP task running
I: 477 [DIS]Updating services using commissioning mode 0
E: 482 [DIS]Failed to remove advertised services: 3
D: 488 [DL]Using Thread extended MAC for hostname.
I: 494 [DIS]Advertise commission parameter vendorID=65521 productID=32774 discriminator=3840/15 cm=0
E: 503 [DIS]Failed to advertise extended commissionable node: 3
E: 509 [DIS]Failed to finalize service update: 3
I: FW Ver: 0.3.1+0; version: 00030100
I: Device has NOT gone through provisioning
I: network state 0
E: Sending UART cmd st 0
I: BLE Device ID: 2f29
I: Current OTA Stage = 10
I: dfu_header_data.image_count: 2
E: Sending UART cmd st 0
I: BLE Name set: HU:2F29 errCode: 0
I: 15696 [SWU]SMP BLE advertising started
I: 15700 [DL]DFU over SMP started
I: IMG Integrity Verified Successfully: 0
I: IMG Integrity Verified Successfully: 1
I: Current OTA Stage = 16
I: OTA device_id = 5 : DISCOVERY_REQ
I: SECURE_STM : DISCOVERY_REQ
I: OTA device_id = 5 : FW_VERSION_REQ
I: Secure STM Firmware Version: 2 0 1 1
I: OTA device_id = 5 : FW_UPDATE_START_REQ
D: 900362 [DIS]Extended discovery timed out
I: 900366 [DIS]Updating services using commissioning mode 0
E: 900372 [DIS]Failed to remove advertised services: 3
E: 900377 [DIS]Failed to finalize service update: 3
I: 944826 [DL]DFU-BLE-Connected
I: BLE Connected
Swap type: none
I: 945108 [DL]DFU-BLE-Disconnected : 19
E: Sending UART cmd st 0
I: BLE Name set: HU:2F29 errCode: 0
I: 945120 [SWU]SMP BLE advertising started
I: 945124 [DL]DFU over SMP started
I: BLE Disconnected: 13
I: 947183 [DL]DFU-BLE-Connected
I: BLE Connected
Swap type: none
I: 947455 [DL]DFU-BLE-Disconnected : 19
E: Sending UART cmd st 0
I: BLE Name set: HU:2F29 errCode: 0
I: 947468 [SWU]SMP BLE advertising started
I: 947472 [DL]DFU over SMP started
I: BLE Disconnected: 13
I: 965532 [DL]DFU-BLE-Connected
I: BLE Connected
I: 965828 [DL]DFU Image upload started
I: Current OTA Stage = 11
I: 979226 [DL]Image 0 download completed successfully
I: 979255 [DL]DFU-BLE-Disconnected : 19
E: Sending UART cmd st 0
I: BLE Name set: HU:2F29 errCode: 0
I: 979268 [SWU]SMP BLE advertising started
I: 979271 [DL]DFU over SMP started
I: BLE Disconnected: 13
I: 1028517 [DL]DFU-BLE-Connected
I: BLE Connected
Swap type: none
I: 1028815 [DL]DFU Image upload started
I: Current OTA Stage = 12
I: 1118409 [DL]Image 1 download completed successfully
I: 1118434 [DL]DFU-BLE-Disconnected : 19
E: Sending UART cmd st 0
I: BLE Name set: HU:2F29 errCode: 0
I: 1118447 [SWU]SMP BLE advertising started
I: 1118451 [DL]DFU over SMP started
I: BLE Disconnected: 13
I: 1152658 [DL]DFU-BLE-Connected
I: BLE Connected
I: 1152914 [DL]DFU Image upload started
I: Current OTA Stage = 13
I: 1413887 [DL]Image 2 download completed successfully
I: Current OTA Stage = 14
I: 1413919 [DL]DFU-BLE-Disconnected : 19
E: Sending UART cmd st 0
I: BLE Name set: HU:2F29 errCode: 0
I: 1413932 [SWU]SMP BLE advertising started
I: 1413936 [DL]DFU over SMP started
I: BLE Disconnected: 13
I: 1432830 [DL]DFU-BLE-Connected
I: BLE Connected
Swap type: none
Swap type: none
Swap type: none
I: 1433119 [DL]DFU-BLE-Disconnected : 19
E: Sending UART cmd st 0
I: BLE Name set: HU:2F29 errCode: 0
I: 1433132 [SWU]SMP BLE advertising started
I: 1433136 [DL]DFU over SMP started
I: BLE Disconnected: 13
I: 1455874 [DL]DFU-BLE-Connected
I: BLE Connected
E: img_mgmt_find_by_hash Continue
E: img_mgmt_find_by_hash Return i=3
E: 19 19
E: 64 64
E: b b
E: b1 b1
E: 5e 5e
E: dc dc
E: e6 e6
E: 77 77
E: 8c 8c
E: ef ef
E: 69 69
E: 20 20
E: 5f 5f
E: ae ae
E: 54 54
E: 61 61
E: a3 a3
E: 99 99
E: ff ff
E: 7c 7c
E: 4d 4d
E: 65 65
E: f3 f3
E: 4c 4c
E: 53 53
E: 6c 6c
E: 37 37
E: 88 88
E: 2f 2f
E: e1 e1
E: 39 39
E: 7e 7e
E: img_mgmt_find_by_hash slot = 3, confirm = 1
E: area_id = 8, active = 0
E: Success 1
E: Success 2
writing magic; fa_id=8 off=0x3fff0 (0x12eff0)
writing image_ok; fa_id=8 off=0x3ffe8 (0x12efe8)
writing swap_info; fa_id=8 off=0x3ffd8 (0x12efd8), swap_type=0x3 image_num=0x0
E: Success 3
E: *** rc = 0 ***
E: img_mgmt_set_boot_next rc = 0
Swap type: none
Swap type: none
Swap type: perm
E: img_mgmt_state_read rc = 0
I: 1456271 [DL]DFU-BLE-Disconnected : 19
E: Sending UART cmd st 0
I: BLE Name set: HU:2F29 errCode: 0
I: 1456284 [SWU]SMP BLE advertising started
I: 1456288 [DL]DFU over SMP started
I: BLE Disconnected: 13
I: 1488174 [DL]DFU-BLE-Connected
I: BLE Connected
in os_mgmt_reset
in os_mgmt_reset, Timer Register
I: 1488446 [DL]DFU-BLE-Disconnected : 19
E: Sending UART cmd st 0
I: BLE Name set: HU:2F29 errCode: 0
I: 1488458 [SWU]SMP BLE advertising started
I: 1488462 [DL]DFU over SMP started
I: BLE Disconnected: 13
in os_mgmt_reset_cb
os_mgmt_reset_work_handler: System Rebooted
*** Booting Zephyr OS build v3.3.99-ncs1-1 ***
Starting bootloader
Swap type: none
Swap type: perm
writing magic; fa_id=1 off=0x3fff0 (0x3fff0)
Bootloader chainload address offset: 0x8000
Jumping to the first image slot
Start Do_Boot


uart:~$ *** Booting Zephyr OS build v3.3.99-ncs1-1 ***
I: KWIKSET HALO 3 VERSION: 00.03.01.00
I: Init CHIP stack
I: 159 [DL]BLE address: D3:8C:AC:86:3E:17
I: Board config kwiksetmdb_nrf5340_cpuapp
I: IMAGE_VERSION 0.3.1+0
I: build time: Nov 30 2023 17:44:53
E: ====    Matter FW Ver: 0.3.1    ====
I: 198 [DL]OpenThread SED interval is 1000ms
I: 205 [DL]OpenThread started: OK
I: 209 [DL]Setting OpenThread device type to SLEEPY END DEVICE
I: 216 [SWU]DFU_BLEAdvertising_Init 
Swap type: none
I: 223 [SVR]Subscription persistence not supported
I: 228 [SVR]Server initializing...
I: 232 [TS]Last Known Good Time: 2023-11-30T17:43:12
I: 238 [DMG]AccessControl: initializing
I: 243 [DMG]Examples::AccessControlDelegate::Init
I: 248 [DMG]AccessControl: setting
I: 251 [DMG]DefaultAclStorage: initializing
I: 255 [DMG]DefaultAclStorage: 0 entries loaded
D: 260 [IN]UDP::Init bind&amp;amp;listen port=5540
E: 265 [IN]SO_REUSEPORT failed: 109
D: 269 [IN]UDP::Init bound to port=5540
D: 273 [IN]BLEBase::Init - setting/overriding transport
D: 278 [IN]TransportMgr initialized
D: 286 [DL]Using Thread extended MAC for hostname.
I: 292 [ZCL]Using ZAP configuration...
I: 299 [DMG]AccessControlCluster: initializing
D: 303 [DL]Boot reason: 6
I: 306 [ZCL]Initiating Admin Commissioning cluster.
I: 311 [ZCL]Door Lock server initialized
I: 316 [ZCL]Door Lock cluster initialized at endpoint #1
I: 323 [DIS]Updating services using commissioning mode 0
E: 329 [DIS]Failed to remove advertised services: 3
D: 334 [DL]Using Thread extended MAC for hostname.
I: 340 [DIS]Advertise commission parameter vendorID=65521 productID=32774 discriminator=3840/15 cm=0
E: 348 [DIS]Failed to advertise extended commissionable node: 3
D: 355 [DIS]Scheduling extended discovery timeout in 900s
E: 362 [DIS]Failed to finalize service update: 3
I: 367 [DIS]Delaying proxy of operational discovery: missing delegate
I: 374 [IN]CASE Server enabling CASE session setups
D: 381 [IN]SecureSession[0x200049f0]: Allocated Type:2 LSID:27024
I: 387 [SVR]Joining Multicast groups
I: 392 [SVR]Server Listening...
I: 394 [DL]Device Configuration:
I: 398 [DL]  Serial Number: 11223344556677889900
I: 403 [DL]  Vendor Id: 65521 (0xFFF1)
I: 407 [DL]  Product Id: 32774 (0x8006)
I: 411 [DL]  Product Name: not-specified
I: 415 [DL]  Hardware Version: 0
I: 419 [DL]  Setup Pin Code (0 for UNKNOWN/ERROR): 20202021
I: 425 [DL]  Setup Discriminator (0xFFFF for UNKNOWN/ERROR): 3840 (0xF00)
I: 433 [DL]  Manufacturing Date: 2022-01-01
I: 437 [DL]  Device Type: 65535 (0xFFFF)
I: 442 [SVR]SetupQRCode: [MT:8IXS142C00KA0648G00]
I: 447 [SVR]Copy/paste the below URL in a browser to see the QR Code:
I: 455 [SVR]https://project-chip.github.io/connectedhomeip/qrcode.html?data=MT%3A8IXS142C00KA0648G00
I: 465 [SVR]Manual pairing code: [34970112332]
I: 474 [DL]CHIP task running
I: 478 [DIS]Updating services using commissioning mode 0
E: 483 [DIS]Failed to remove advertised services: 3
D: 488 [DL]Using Thread extended MAC for hostname.
I: 494 [DIS]Advertise commission parameter vendorID=65521 productID=32774 discriminator=3840/15 cm=0
E: 503 [DIS]Failed to advertise extended commissionable node: 3
E: 511 [DIS]Failed to finalize service update: 3
I: FW Ver: 0.3.1+0; version: 00030100
I: Device has NOT gone through provisioning
I: network state 0
E: Sending UART cmd st 0
I: BLE Device ID: 2f29
I: Current OTA Stage = 10
I: Previous STM Post OTA Pending
I: Previous Redpine Post OTA Pending
E: Sending UART cmd st 0
I: BLE Name set: HU:2F29 errCode: 0
I: 15609 [SWU]SMP BLE advertising started
I: 15613 [DL]DFU over SMP started
I: IMG Integrity Verified Successfully: 0
I: IMG Integrity Verified Successfully: 1
I: Current OTA Stage = 16
I: OTA device_id = 5 : DISCOVERY_REQ
I: SECURE_STM : DISCOVERY_REQ
I: OTA device_id = 5 : FW_VERSION_REQ
I: Secure STM Firmware Version: 2 0 1 1
I: OTA device_id = 5 : FW_UPDATE_START_REQ
I: SECURE_STM : IB_FW_UPDATE_START_REQUEST
I: STM OTA Progress = 10
I: STM OTA Progress = 20
I: STM OTA Progress = 30
I: STM OTA Progress = 40
I: STM OTA Progress = 50
I: STM OTA Progress = 60
I: STM OTA Progress = 70
I: STM OTA Progress = 80
I: STM OTA Progress = 90
I: STM OTA Progress = 100
I: OTA device_id = 5 : FW_UPDATE_REBOOT_REQ
I: SECURE_STM : REBOOT_COMMAND
I: STM Rebooted, MCUBoot Verifying Image
I: OTA device_id = 5 : FW_VERSION_REQ
I: Secure STM Firmware Version: 2 0 1 2
I: OTA device_id = 5 : FW_UPDATE_COMPLETE_REQ
I: SECURE_STM : IB_FW_UPDATE_COMPLETE_REQUEST
I: OTA device_id = 5 : FW_UPDATE_REBOOT_REQ
I: SECURE_STM : REBOOT_COMMAND
I: STM Rebooted, MCUBoot Confirming Image
I: OTA device_id = 5 : FW_VERSION_REQ
I: Secure STM Firmware Version: 2 0 1 2
I: STM Secure OTA Successful
I: Clear STM OTA Meta Data
I: Current OTA Stage = 17
I: Redpine OTA started
I: Current OTA Stage = 18
I: OTA device_id = 4 : DISCOVERY_REQ
I: STM_QSPI : IB_DEVICE_DISCOVERY_REQUEST
I: OTA device_id = 4 : FW_VERSION_REQ
I: STM_QSPI : IB_FW_VERSION_REQUEST
I: Redpine Firmware Version: 2.1.255.191
I: OTA device_id = 4 : FW_UPDATE_START_REQ
I: STM_QSPI : IB_FW_UPDATE_START_REQUEST
I: Redpine Image Stored into STM QSPI, Progress = 10
I: Redpine Image Stored into STM QSPI, Progress = 20
I: Redpine Image Stored into STM QSPI, Progress = 30
I: Redpine Image Stored into STM QSPI, Progress = 40
I: Redpine Image Stored into STM QSPI, Progress = 50
I: Redpine Image Stored into STM QSPI, Progress = 60
I: Redpine Image Stored into STM QSPI, Progress = 70
I: Redpine Image Stored into STM QSPI, Progress = 80
I: Redpine Image Stored into STM QSPI, Progress = 90
I: Redpine Image Stored into STM QSPI, Progress = 100
I: OTA device_id = 4 : FW_UPDATE_COMPLETE_REQ
I: STM_QSPI : IB_FW_UPDATE_COMPLETE_REQUEST
I: STM_QSPI : STM QSPI to Redpine SPI Image Transfer Ongoing (0)
I: STM_QSPI : STM QSPI to Redpine SPI Image Transfer Ongoing (10)
I: STM_QSPI : STM QSPI to Redpine SPI Image Transfer Ongoing (20)
I: STM_QSPI : STM QSPI to Redpine SPI Image Transfer Ongoing (30)
I: STM_QSPI : STM QSPI to Redpine SPI Image Transfer Ongoing (40)
I: STM_QSPI : STM QSPI to Redpine SPI Image Transfer Ongoing (50)
I: STM_QSPI : STM QSPI to Redpine SPI Image Transfer Ongoing (60)
I: STM_QSPI : STM QSPI to Redpine SPI Image Transfer Ongoing (70)
I: STM_QSPI : STM QSPI to Redpine SPI Image Transfer Ongoing (80)
I: STM_QSPI : STM QSPI to Redpine SPI Image Transfer Ongoing (90)
I: STM_QSPI : STM QSPI to Redpine SPI Image Transfer Ongoing (100)
I: STM_QSPI : IB_FW_UPDATE_REBOOT_REQUEST
I: Clear Redpine OTA Meta Data
I: Current OTA Stage = 24
I: Start to Erase OTA Bundle Image from External Flash
I: Erasing bundle from nRF Ext. Flash
I: Bundle Image Erased from nRF Ext. Flash: 0
I: Current OTA Stage = 25
I: FW Ver: 0.3.1+0; version: 00030100
I: 593644 [DL]DFU-BLE-Connected
I: BLE Connected
Swap type: none
Swap type: none
I: 593937 [DL]DFU-BLE-Disconnected : 19
E: Sending UART cmd st 0
I: BLE Name set: HU:2F29 errCode: 0
I: 593950 [SWU]SMP BLE advertising started
I: 593954 [DL]DFU over SMP started
I: BLE Disconnected: 13
I: 612603 [DL]DFU-BLE-Connected
I: BLE Connected
I: 612888 [DL]DFU Image upload started
I: Current OTA Stage = 11
I: 626023 [DL]Image 0 download completed successfully
I: 626063 [DL]DFU-BLE-Disconnected : 19
E: Sending UART cmd st 0
I: BLE Name set: HU:2F29 errCode: 0
I: 626076 [SWU]SMP BLE advertising started
I: 626080 [DL]DFU over SMP started
I: BLE Disconnected: 13
I: 675781 [DL]DFU-BLE-Connected
I: BLE Connected
Swap type: none
I: 676063 [DL]DFU Image upload started
I: Current OTA Stage = 12
I: 765274 [DL]Image 1 download completed successfully
I: 765299 [DL]DFU-BLE-Disconnected : 19
E: Sending UART cmd st 0
I: BLE Name set: HU:2F29 errCode: 0
I: 765312 [SWU]SMP BLE advertising started
I: 765316 [DL]DFU over SMP started
I: BLE Disconnected: 13
I: 799226 [DL]DFU-BLE-Connected
I: BLE Connected
I: 818142 [DL]DFU Image upload started
D: 900362 [DIS]Extended discovery timed out
I: 900366 [DIS]Updating services using commissioning mode 0
E: 900371 [DIS]Failed to remove advertised services: 3
E: 900377 [DIS]Failed to finalize service update: 3
I: Current OTA Stage = 13
I: 1056398 [DL]Image 2 download completed successfully
I: Current OTA Stage = 14
I: 1056431 [DL]DFU-BLE-Disconnected : 19
E: Sending UART cmd st 0
I: BLE Name set: HU:2F29 errCode: 0
I: 1056443 [SWU]SMP BLE advertising started
I: 1056447 [DL]DFU over SMP started
I: BLE Disconnected: 13
I: 1076888 [DL]DFU-BLE-Connected
I: BLE Connected
Swap type: none
Swap type: none
Swap type: none
I: 1077179 [DL]DFU-BLE-Disconnected : 19
E: Sending UART cmd st 0
I: BLE Name set: HU:2F29 errCode: 0
I: 1077192 [SWU]SMP BLE advertising started
I: 1077196 [DL]DFU over SMP started
I: BLE Disconnected: 13
I: 1094061 [DL]DFU-BLE-Connected
I: BLE Connected
E: img_mgmt_find_by_hash Return i=1
E: a4 a4
E: 1d 1d
E: 1e 1e
E: a8 a8
E: b8 b8
E: 1d 1d
E: 72 72
E: 1b 1b
E: c0 c0
E: 13 13
E: cc cc
E: 3e 3e
E: d6 d6
E: e7 e7
E: 2f 2f
E: d4 d4
E: 4c 4c
E: 9 9
E: 25 25
E: 26 26
E: d1 d1
E: df df
E: b3 b3
E: 7b 7b
E: 1d 1d
E: f3 f3
E: b1 b1
E: db db
E: 4b 4b
E: 7c 7c
E: c3 c3
E: b4 b4
E: img_mgmt_find_by_hash slot = 1, confirm = 1
E: area_id = 2, active = 0
E: Success 1
E: Success 2
writing magic; fa_id=2 off=0xeeff0 (0xeeff0)
writing image_ok; fa_id=2 off=0xeefe8 (0xeefe8)
writing swap_info; fa_id=2 off=0xeefd8 (0xeefd8), swap_type=0x3 image_num=0x0
E: Success 3
E: *** rc = 0 ***
E: img_mgmt_set_boot_next rc = 0
Swap type: perm
Swap type: perm
Swap type: none
E: img_mgmt_state_read rc = 0
I: 1094436 [DL]DFU-BLE-Disconnected : 19
E: Sending UART cmd st 0
I: BLE Name set: HU:2F29 errCode: 0
I: 1094449 [SWU]SMP BLE advertising started
I: 1094453 [DL]DFU over SMP started
I: BLE Disconnected: 13
I: 1133436 [DL]DFU-BLE-Connected
I: BLE Connected
E: img_mgmt_find_by_hash Continue
E: img_mgmt_find_by_hash Return i=3
E: 9 9
E: 4 4
E: ba ba
E: 45 45
E: 18 18
E: a a
E: c3 c3
E: 6d 6d
E: 87 87
E: da da
E: c3 c3
E: ec ec
E: f2 f2
E: d d
E: 73 73
E: b1 b1
E: 9b 9b
E: f4 f4
E: 52 52
E: 8b 8b
E: 67 67
E: 23 23
E: 29 29
E: 47 47
E: 9 9
E: 40 40
E: 93 93
E: 98 98
E: d7 d7
E: 3b 3b
E: 9c 9c
E: 12 12
E: img_mgmt_find_by_hash slot = 3, confirm = 1
E: area_id = 8, active = 0
E: Success 1
E: Success 2
writing magic; fa_id=8 off=0x3fff0 (0x12eff0)
writing image_ok; fa_id=8 off=0x3ffe8 (0x12efe8)
writing swap_info; fa_id=8 off=0x3ffd8 (0x12efd8), swap_type=0x3 image_num=0x0
E: Success 3
E: *** rc = 0 ***
E: img_mgmt_set_boot_next rc = 0
Swap type: perm
Swap type: perm
Swap type: perm
E: img_mgmt_state_read rc = 0
I: 1133826 [DL]DFU-BLE-Disconnected : 19
E: Sending UART cmd st 0
I: BLE Name set: HU:2F29 errCode: 0
I: 1133838 [SWU]SMP BLE advertising started
I: 1133842 [DL]DFU over SMP started
I: BLE Disconnected: 13
I: 1167016 [DL]DFU-BLE-Connected
I: BLE Connected
in os_mgmt_reset
in os_mgmt_reset, Timer Register
I: 1167298 [DL]DFU-BLE-Disconnected : 19
E: Sending UART cmd st 0
I: BLE Name set: HU:2F29 errCode: 0
I: 1167311 [SWU]SMP BLE advertising started
I: 1167314 [DL]DFU over SMP started
I: BLE Disconnected: 13
in os_mgmt_reset_cb
os_mgmt_reset_work_handler: System Rebooted
*** Booting Zephyr OS build v3.3.99-ncs1-1 ***
Starting bootloader
Swap type: perm
Swap type: perm
writing magic; fa_id=4 off=0xeeff0 (0xf6ff0)
writing magic; fa_id=1 off=0x3fff0 (0x3fff0)
Bootloader chainload address offset: 0x8000
Jumping to the first image slot
Start Do_Boot


uart:~$ *** Booting Zephyr OS build v3.3.99-ncs1-1 ***
I: KWIKSET HALO 3 VERSION: 00.03.00.00
I: Init CHIP stack
I: 159 [DL]BLE address: C0:19:27:C7:07:4A
I: Board config kwiksetmdb_nrf5340_cpuapp
I: IMAGE_VERSION 0.3.0+0
I: build time: Nov 30 2023 11:09:14
E: ====    Matter FW Ver: 0.3.0    ====
I: 198 [DL]OpenThread SED interval is 1000ms
I: 205 [DL]OpenThread started: OK
I: 208 [DL]Setting OpenThread device type to SLEEPY END DEVICE
I: 216 [SWU]DFU_BLEAdvertising_Init 
Swap type: none
I: 223 [SVR]Subscription persistence not supported
I: 227 [SVR]Server initializing...
I: 232 [TS]Last Known Good Time: 2023-11-30T17:43:12
I: 238 [DMG]AccessControl: initializing
I: 242 [DMG]Examples::AccessControlDelegate::Init
I: 248 [DMG]AccessControl: setting
I: 251 [DMG]DefaultAclStorage: initializing
I: 255 [DMG]DefaultAclStorage: 0 entries loaded
D: 261 [IN]UDP::Init bind&amp;amp;listen port=5540
E: 265 [IN]SO_REUSEPORT failed: 109
D: 269 [IN]UDP::Init bound to port=5540
D: 273 [IN]BLEBase::Init - setting/overriding transport
D: 278 [IN]TransportMgr initialized
D: 286 [DL]Using Thread extended MAC for hostname.
I: 292 [ZCL]Using ZAP configuration...
I: 299 [DMG]AccessControlCluster: initializing
D: 303 [DL]Boot reason: 6
I: 307 [ZCL]Initiating Admin Commissioning cluster.
I: 311 [ZCL]Door Lock server initialized
I: 316 [ZCL]Door Lock cluster initialized at endpoint #1
I: 323 [DIS]Updating services using commissioning mode 0
E: 328 [DIS]Failed to remove advertised services: 3
D: 334 [DL]Using Thread extended MAC for hostname.
I: 339 [DIS]Advertise commission parameter vendorID=65521 productID=32774 discriminator=3840/15 cm=0
E: 348 [DIS]Failed to advertise extended commissionable node: 3
D: 355 [DIS]Scheduling extended discovery timeout in 900s
E: 362 [DIS]Failed to finalize service update: 3
I: 367 [DIS]Delaying proxy of operational discovery: missing delegate
I: 374 [IN]CASE Server enabling CASE session setups
D: 381 [IN]SecureSession[0x200049f0]: Allocated Type:2 LSID:44913
I: 387 [SVR]Joining Multicast groups
I: 391 [SVR]Server Listening...
I: 394 [DL]Device Configuration:
I: 398 [DL]  Serial Number: 11223344556677889900
I: 403 [DL]  Vendor Id: 65521 (0xFFF1)
I: 407 [DL]  Product Id: 32774 (0x8006)
I: 411 [DL]  Product Name: not-specified
I: 415 [DL]  Hardware Version: 0
I: 419 [DL]  Setup Pin Code (0 for UNKNOWN/ERROR): 20202021
I: 425 [DL]  Setup Discriminator (0xFFFF for UNKNOWN/ERROR): 3840 (0xF00)
I: 433 [DL]  Manufacturing Date: 2022-01-01
I: 437 [DL]  Device Type: 65535 (0xFFFF)
I: 442 [SVR]SetupQRCode: [MT:8IXS142C00KA0648G00]
I: 447 [SVR]Copy/paste the below URL in a browser to see the QR Code:
I: 454 [SVR]https://project-chip.github.io/connectedhomeip/qrcode.html?data=MT%3A8IXS142C00KA0648G00
I: 465 [SVR]Manual pairing code: [34970112332]
I: 474 [DL]CHIP task running
I: 478 [DIS]Updating services using commissioning mode 0
E: 483 [DIS]Failed to remove advertised services: 3
D: 489 [DL]Using Thread extended MAC for hostname.
I: 494 [DIS]Advertise commission parameter vendorID=65521 productID=32774 discriminator=3840/15 cm=0
E: 503 [DIS]Failed to advertise extended commissionable node: 3
E: 510 [DIS]Failed to finalize service update: 3
I: FW Ver: 0.3.0+0; version: 00030000
I: Device has NOT gone through provisioning
I: network state 0
E: Sending UART cmd st 0
I: BLE Device ID: 2f29
I: Current OTA Stage = 10
I: dfu_header_data.image_count: 2
E: Sending UART cmd st 0
I: BLE Name set: HU:2F29 errCode: 0
I: 15696 [SWU]SMP BLE advertising started
I: 15700 [DL]DFU over SMP started
I: IMG Integrity Verified Successfully: 0
I: IMG Integrity Verified Successfully: 1
I: Current OTA Stage = 16
I: OTA device_id = 5 : DISCOVERY_REQ
I: SECURE_STM : DISCOVERY_REQ
I: OTA device_id = 5 : FW_VERSION_REQ
I: Secure STM Firmware Version: 2 0 1 2
I: OTA device_id = 5 : FW_UPDATE_START_REQ
I: SECURE_STM : IB_FW_UPDATE_START_REQUEST
I: STM OTA Progress = 10
I: STM OTA Progress = 20
I: STM OTA Progress = 30
I: STM OTA Progress = 40
I: STM OTA Progress = 50
I: STM OTA Progress = 60
I: STM OTA Progress = 70
I: STM OTA Progress = 80
I: STM OTA Progress = 90
I: STM OTA Progress = 100
I: OTA device_id = 5 : FW_UPDATE_REBOOT_REQ
I: SECURE_STM : REBOOT_COMMAND
I: STM Rebooted, MCUBoot Verifying Image
I: OTA device_id = 5 : FW_VERSION_REQ
I: Secure STM Firmware Version: 2 0 1 1
I: OTA device_id = 5 : FW_UPDATE_COMPLETE_REQ
I: SECURE_STM : IB_FW_UPDATE_COMPLETE_REQUEST
I: OTA device_id = 5 : FW_UPDATE_REBOOT_REQ
I: SECURE_STM : REBOOT_COMMAND
I: STM Rebooted, MCUBoot Confirming Image
I: OTA device_id = 5 : FW_VERSION_REQ
I: Secure STM Firmware Version: 2 0 1 1
I: STM Secure OTA Successful
I: Clear STM OTA Meta Data
I: Current OTA Stage = 17
I: Redpine OTA started
I: Current OTA Stage = 18
I: OTA device_id = 4 : DISCOVERY_REQ
I: STM_QSPI : IB_DEVICE_DISCOVERY_REQUEST
I: OTA device_id = 4 : FW_VERSION_REQ
I: STM_QSPI : IB_FW_VERSION_REQUEST
I: Redpine Firmware Version: 2.1.255.191
I: OTA device_id = 4 : FW_UPDATE_START_REQ
I: STM_QSPI : IB_FW_UPDATE_START_REQUEST
I: Redpine Image Stored into STM QSPI, Progress = 10
I: Redpine Image Stored into STM QSPI, Progress = 20
I: Redpine Image Stored into STM QSPI, Progress = 30
I: Redpine Image Stored into STM QSPI, Progress = 40
I: Redpine Image Stored into STM QSPI, Progress = 50
I: Redpine Image Stored into STM QSPI, Progress = 60
I: Redpine Image Stored into STM QSPI, Progress = 70
I: Redpine Image Stored into STM QSPI, Progress = 80
I: Redpine Image Stored into STM QSPI, Progress = 90
I: Redpine Image Stored into STM QSPI, Progress = 100
I: OTA device_id = 4 : FW_UPDATE_COMPLETE_REQ
I: STM_QSPI : IB_FW_UPDATE_COMPLETE_REQUEST
I: STM_QSPI : STM QSPI to Redpine SPI Image Transfer Ongoing (0)
I: STM_QSPI : STM QSPI to Redpine SPI Image Transfer Ongoing (10)
I: STM_QSPI : STM QSPI to Redpine SPI Image Transfer Ongoing (20)
I: STM_QSPI : STM QSPI to Redpine SPI Image Transfer Ongoing (30)
I: STM_QSPI : STM QSPI to Redpine SPI Image Transfer Ongoing (40)
I: STM_QSPI : STM QSPI to Redpine SPI Image Transfer Ongoing (50)
I: STM_QSPI : STM QSPI to Redpine SPI Image Transfer Ongoing (60)
I: STM_QSPI : STM QSPI to Redpine SPI Image Transfer Ongoing (70)
I: STM_QSPI : STM QSPI to Redpine SPI Image Transfer Ongoing (80)
I: STM_QSPI : STM QSPI to Redpine SPI Image Transfer Ongoing (90)
I: STM_QSPI : STM QSPI to Redpine SPI Image Transfer Ongoing (100)
I: STM_QSPI : IB_FW_UPDATE_REBOOT_REQUEST
I: Clear Redpine OTA Meta Data
I: Current OTA Stage = 24
I: Start to Erase OTA Bundle Image from External Flash
I: Erasing bundle from nRF Ext. Flash
I: Bundle Image Erased from nRF Ext. Flash: 0
I: Current OTA Stage = 25
I: FW Ver: 0.3.0+0; version: 00030000
I: 598671 [DL]DFU-BLE-Connected
I: BLE Connected
Swap type: none
I: 598945 [DL]DFU-BLE-Disconnected : 19
E: Sending UART cmd st 0
I: BLE Name set: HU:2F29 errCode: 0
I: 598958 [SWU]SMP BLE advertising started
I: 598961 [DL]DFU over SMP started
I: BLE Disconnected: 13
I: 616077 [DL]DFU-BLE-Connected
I: BLE Connected
I: 616373 [DL]DFU Image upload started
I: Current OTA Stage = 11
I: 629651 [DL]Image 0 download completed successfully
I: 629691 [DL]DFU-BLE-Disconnected : 19
E: Sending UART cmd st 0
I: BLE Name set: HU:2F29 errCode: 0
I: 629703 [SWU]SMP BLE advertising started
I: 629708 [DL]DFU over SMP started
I: BLE Disconnected: 13
I: 679425 [DL]DFU-BLE-Connected
I: BLE Connected
Swap type: none
I: 679705 [DL]DFU Image upload started
I: Current OTA Stage = 12
I: 768958 [DL]Image 1 download completed successfully
I: 768983 [DL]DFU-BLE-Disconnected : 19
E: Sending UART cmd st 0
I: BLE Name set: HU:2F29 errCode: 0
I: 768996 [SWU]SMP BLE advertising started
I: 768999 [DL]DFU over SMP started
I: BLE Disconnected: 13
I: 803222 [DL]DFU-BLE-Connected
I: BLE Connected
I: 822074 [DL]DFU Image upload started
D: 900362 [DIS]Extended discovery timed out
I: 900366 [DIS]Updating services using commissioning mode 0
E: 900372 [DIS]Failed to remove advertised services: 3
E: 900377 [DIS]Failed to finalize service update: 3
I: Current OTA Stage = 13
I: 1061454 [DL]Image 2 download completed successfully
I: Current OTA Stage = 14
I: 1061487 [DL]DFU-BLE-Disconnected : 19
E: Sending UART cmd st 0
I: BLE Name set: HU:2F29 errCode: 0
I: 1061499 [SWU]SMP BLE advertising started
I: 1061503 [DL]DFU over SMP started
I: BLE Disconnected: 13
I: 1081395 [DL]DFU-BLE-Connected
I: BLE Connected
Swap type: none
Swap type: none
Swap type: none
I: 1081691 [DL]DFU-BLE-Disconnected : 19
E: Sending UART cmd st 0
I: BLE Name set: HU:2F29 errCode: 0
I: 1081704 [SWU]SMP BLE advertising started
I: 1081708 [DL]DFU over SMP started
I: BLE Disconnected: 13
I: 1098802 [DL]DFU-BLE-Connected
I: BLE Connected
E: img_mgmt_find_by_hash Return i=1
E: cb cb
E: 96 96
E: 29 29
E: f f
E: d9 d9
E: a a
E: b7 b7
E: b b
E: 3e 3e
E: a1 a1
E: 45 45
E: aa aa
E: 46 46
E: 56 56
E: 19 19
E: 5d 5d
E: be be
E: 6e 6e
E: 4b 4b
E: eb eb
E: 7c 7c
E: e0 e0
E: bf bf
E: f0 f0
E: f4 f4
E: b8 b8
E: 18 18
E: e8 e8
E: 92 92
E: 53 53
E: 2 2
E: 82 82
E: img_mgmt_find_by_hash slot = 1, confirm = 1
E: area_id = 2, active = 0
E: Success 1
E: Success 2
writing magic; fa_id=2 off=0xeeff0 (0xeeff0)
writing image_ok; fa_id=2 off=0xeefe8 (0xeefe8)
writing swap_info; fa_id=2 off=0xeefd8 (0xeefd8), swap_type=0x3 image_num=0x0
E: Success 3
E: *** rc = 0 ***
E: img_mgmt_set_boot_next rc = 0
Swap type: perm
Swap type: perm
Swap type: none
E: img_mgmt_state_read rc = 0
I: 1099166 [DL]DFU-BLE-Disconnected : 19
E: Sending UART cmd st 0
I: BLE Name set: HU:2F29 errCode: 0
I: 1099179 [SWU]SMP BLE advertising started
I: 1099183 [DL]DFU over SMP started
I: BLE Disconnected: 13
I: 1136690 [DL]DFU-BLE-Connected
I: BLE Connected
E: img_mgmt_find_by_hash Continue
E: img_mgmt_find_by_hash Return i=3
E: 19 19
E: 64 64
E: b b
E: b1 b1
E: 5e 5e
E: dc dc
E: e6 e6
E: 77 77
E: 8c 8c
E: ef ef
E: 69 69
E: 20 20
E: 5f 5f
E: ae ae
E: 54 54
E: 61 61
E: a3 a3
E: 99 99
E: ff ff
E: 7c 7c
E: 4d 4d
E: 65 65
E: f3 f3
E: 4c 4c
E: 53 53
E: 6c 6c
E: 37 37
E: 88 88
E: 2f 2f
E: e1 e1
E: 39 39
E: 7e 7e
E: img_mgmt_find_by_hash slot = 3, confirm = 1
E: area_id = 8, active = 0
E: Success 1
E: Success 2
writing magic; fa_id=8 off=0x3fff0 (0x12eff0)
writing image_ok; fa_id=8 off=0x3ffe8 (0x12efe8)
writing swap_info; fa_id=8 off=0x3ffd8 (0x12efd8), swap_type=0x3 image_num=0x0
E: Success 3
E: *** rc = 0 ***
E: img_mgmt_set_boot_next rc = 0
Swap type: perm
Swap type: perm
Swap type: perm
E: img_mgmt_state_read rc = 0
I: 1137078 [DL]DFU-BLE-Disconnected : 19
E: Sending UART cmd st 0
I: BLE Name set: HU:2F29 errCode: 0
I: 1137091 [SWU]SMP BLE advertising started
I: 1137095 [DL]DFU over SMP started
I: BLE Disconnected: 13
I: 1169019 [DL]DFU-BLE-Connected
I: BLE Connected
in os_mgmt_reset
in os_mgmt_reset, Timer Register
I: 1169313 [DL]DFU-BLE-Disconnected : 19
E: Sending UART cmd st 0
I: BLE Name set: HU:2F29 errCode: 0
I: 1169325 [SWU]SMP BLE advertising started
I: 1169329 [DL]DFU over SMP started
I: BLE Disconnected: 13
in os_mgmt_reset_cb
os_mgmt_reset_work_handler: System Rebooted
*** Booting Zephyr OS build v3.3.99-ncs1-1 ***
Starting bootloader
Swap type: perm
Swap type: perm
writing magic; fa_id=4 off=0xeeff0 (0xf6ff0)
writing magic; fa_id=1 off=0x3fff0 (0x3fff0)
Bootloader chainload address offset: 0x8000
Jumping to the first image slot
Start Do_Boot


uart:~$ *** Booting Zephyr OS build v3.3.99-ncs1-1 ***
I: KWIKSET HALO 3 VERSION: 00.03.01.00
I: Init CHIP stack
I: 159 [DL]BLE address: E1:9A:42:F8:DC:14
I: Board config kwiksetmdb_nrf5340_cpuapp
I: IMAGE_VERSION 0.3.1+0
I: build time: Nov 30 2023 17:44:53
E: ====    Matter FW Ver: 0.3.1    ====
I: 198 [DL]OpenThread SED interval is 1000ms
I: 205 [DL]OpenThread started: OK
I: 209 [DL]Setting OpenThread device type to SLEEPY END DEVICE
I: 216 [SWU]DFU_BLEAdvertising_Init 
Swap type: none
I: 223 [SVR]Subscription persistence not supported
I: 227 [SVR]Server initializing...
I: 232 [TS]Last Known Good Time: 2023-11-30T17:43:12
I: 238 [DMG]AccessControl: initializing
I: 242 [DMG]Examples::AccessControlDelegate::Init
I: 247 [DMG]AccessControl: setting
I: 251 [DMG]DefaultAclStorage: initializing
I: 255 [DMG]DefaultAclStorage: 0 entries loaded
D: 260 [IN]UDP::Init bind&amp;amp;listen port=5540
E: 265 [IN]SO_REUSEPORT failed: 109
D: 269 [IN]UDP::Init bound to port=5540
D: 273 [IN]BLEBase::Init - setting/overriding transport
D: 278 [IN]TransportMgr initialized
D: 285 [DL]Using Thread extended MAC for hostname.
I: 292 [ZCL]Using ZAP configuration...
I: 298 [DMG]AccessControlCluster: initializing
D: 303 [DL]Boot reason: 6
I: 306 [ZCL]Initiating Admin Commissioning cluster.
I: 311 [ZCL]Door Lock server initialized
I: 316 [ZCL]Door Lock cluster initialized at endpoint #1
I: 322 [DIS]Updating services using commissioning mode 0
E: 327 [DIS]Failed to remove advertised services: 3
D: 334 [DL]Using Thread extended MAC for hostname.
I: 339 [DIS]Advertise commission parameter vendorID=65521 productID=32774 discriminator=3840/15 cm=0
E: 348 [DIS]Failed to advertise extended commissionable node: 3
D: 355 [DIS]Scheduling extended discovery timeout in 900s
E: 362 [DIS]Failed to finalize service update: 3
I: 366 [DIS]Delaying proxy of operational discovery: missing delegate
I: 373 [IN]CASE Server enabling CASE session setups
D: 380 [IN]SecureSession[0x200049f0]: Allocated Type:2 LSID:43765
I: 386 [SVR]Joining Multicast groups
I: 391 [SVR]Server Listening...
I: 394 [DL]Device Configuration:
I: 397 [DL]  Serial Number: 11223344556677889900
I: 403 [DL]  Vendor Id: 65521 (0xFFF1)
I: 406 [DL]  Product Id: 32774 (0x8006)
I: 411 [DL]  Product Name: not-specified
I: 415 [DL]  Hardware Version: 0
I: 418 [DL]  Setup Pin Code (0 for UNKNOWN/ERROR): 20202021
I: 425 [DL]  Setup Discriminator (0xFFFF for UNKNOWN/ERROR): 3840 (0xF00)
I: 433 [DL]  Manufacturing Date: 2022-01-01
I: 437 [DL]  Device Type: 65535 (0xFFFF)
I: 442 [SVR]SetupQRCode: [MT:8IXS142C00KA0648G00]
I: 447 [SVR]Copy/paste the below URL in a browser to see the QR Code:
I: 453 [SVR]https://project-chip.github.io/connectedhomeip/qrcode.html?data=MT%3A8IXS142C00KA0648G00
I: 465 [SVR]Manual pairing code: [34970112332]
I: 474 [DL]CHIP task running
I: 477 [DIS]Updating services using commissioning mode 0
E: 482 [DIS]Failed to remove advertised services: 3
D: 488 [DL]Using Thread extended MAC for hostname.
I: 494 [DIS]Advertise commission parameter vendorID=65521 productID=32774 discriminator=3840/15 cm=0
E: 504 [DIS]Failed to advertise extended commissionable node: 3
E: 511 [DIS]Failed to finalize service update: 3
I: FW Ver: 0.3.1+0; version: 00030100
I: Device has NOT gone through provisioning
I: network state 0
E: Sending UART cmd st 0
I: BLE Device ID: 2f29
I: Current OTA Stage = 10
I: dfu_header_data.image_count: 2
E: Sending UART cmd st 0
I: BLE Name set: HU:2F29 errCode: 0
I: 15696 [SWU]SMP BLE advertising started
I: 15700 [DL]DFU over SMP started
I: IMG Integrity Verified Successfully: 0
I: IMG Integrity Verified Successfully: 1
I: Current OTA Stage = 16
I: OTA device_id = 5 : DISCOVERY_REQ
I: SECURE_STM : DISCOVERY_REQ
I: OTA device_id = 5 : FW_VERSION_REQ
I: Secure STM Firmware Version: 2 0 1 1
I: OTA device_id = 5 : FW_UPDATE_START_REQ
I: SECURE_STM : IB_FW_UPDATE_START_REQUEST
I: STM OTA Progress = 10
I: STM OTA Progress = 20
I: STM OTA Progress = 30
I: STM OTA Progress = 40
I: STM OTA Progress = 50
I: STM OTA Progress = 60
I: STM OTA Progress = 70
I: STM OTA Progress = 80
I: STM OTA Progress = 90
I: STM OTA Progress = 100
I: OTA device_id = 5 : FW_UPDATE_REBOOT_REQ
I: SECURE_STM : REBOOT_COMMAND
I: STM Rebooted, MCUBoot Verifying Image
I: OTA device_id = 5 : FW_VERSION_REQ
I: Secure STM Firmware Version: 2 0 1 2
I: OTA device_id = 5 : FW_UPDATE_COMPLETE_REQ
I: SECURE_STM : IB_FW_UPDATE_COMPLETE_REQUEST
I: OTA device_id = 5 : FW_UPDATE_REBOOT_REQ
I: SECURE_STM : REBOOT_COMMAND
I: STM Rebooted, MCUBoot Confirming Image
I: OTA device_id = 5 : FW_VERSION_REQ
I: Secure STM Firmware Version: 2 0 1 2
I: STM Secure OTA Successful
I: Clear STM OTA Meta Data
I: Current OTA Stage = 17
I: Redpine OTA started
I: Current OTA Stage = 18
I: OTA device_id = 4 : DISCOVERY_REQ
I: STM_QSPI : IB_DEVICE_DISCOVERY_REQUEST
I: OTA device_id = 4 : FW_VERSION_REQ
I: STM_QSPI : IB_FW_VERSION_REQUEST
I: Redpine Firmware Version: 2.1.255.191
I: OTA device_id = 4 : FW_UPDATE_START_REQ
I: STM_QSPI : IB_FW_UPDATE_START_REQUEST
I: Redpine Image Stored into STM QSPI, Progress = 10
I: Redpine Image Stored into STM QSPI, Progress = 20
I: Redpine Image Stored into STM QSPI, Progress = 30
I: Redpine Image Stored into STM QSPI, Progress = 40
I: Redpine Image Stored into STM QSPI, Progress = 50
I: Redpine Image Stored into STM QSPI, Progress = 60
I: Redpine Image Stored into STM QSPI, Progress = 70
I: Redpine Image Stored into STM QSPI, Progress = 80
I: Redpine Image Stored into STM QSPI, Progress = 90
I: Redpine Image Stored into STM QSPI, Progress = 100
I: OTA device_id = 4 : FW_UPDATE_COMPLETE_REQ
I: STM_QSPI : IB_FW_UPDATE_COMPLETE_REQUEST
I: STM_QSPI : STM QSPI to Redpine SPI Image Transfer Ongoing (0)
I: STM_QSPI : STM QSPI to Redpine SPI Image Transfer Ongoing (10)
I: STM_QSPI : STM QSPI to Redpine SPI Image Transfer Ongoing (20)
I: STM_QSPI : STM QSPI to Redpine SPI Image Transfer Ongoing (30)
I: STM_QSPI : STM QSPI to Redpine SPI Image Transfer Ongoing (40)
I: STM_QSPI : STM QSPI to Redpine SPI Image Transfer Ongoing (50)
I: STM_QSPI : STM QSPI to Redpine SPI Image Transfer Ongoing (60)
I: STM_QSPI : STM QSPI to Redpine SPI Image Transfer Ongoing (70)
I: STM_QSPI : STM QSPI to Redpine SPI Image Transfer Ongoing (80)
I: STM_QSPI : STM QSPI to Redpine SPI Image Transfer Ongoing (90)
I: STM_QSPI : STM QSPI to Redpine SPI Image Transfer Ongoing (100)
I: STM_QSPI : IB_FW_UPDATE_REBOOT_REQUEST
I: Clear Redpine OTA Meta Data
I: Current OTA Stage = 24
I: Start to Erase OTA Bundle Image from External Flash
I: Erasing bundle from nRF Ext. Flash
I: Bundle Image Erased from nRF Ext. Flash: 0
I: Current OTA Stage = 25
I: FW Ver: 0.3.1+0; version: 00030100
I: 598057 [DL]DFU-BLE-Connected
I: BLE Connected
Swap type: none
I: 598360 [DL]DFU-BLE-Disconnected : 19
E: Sending UART cmd st 0
I: BLE Name set: HU:2F29 errCode: 0
I: 598373 [SWU]SMP BLE advertising started
I: 598377 [DL]DFU over SMP started
I: BLE Disconnected: 13
I: 615453 [DL]DFU-BLE-Connected
I: BLE Connected
I: 615760 [DL]DFU Image upload started
I: Current OTA Stage = 11
I: 628976 [DL]Image 0 download completed successfully
I: 629005 [DL]DFU-BLE-Disconnected : 19
E: Sending UART cmd st 0
I: BLE Name set: HU:2F29 errCode: 0
I: 629018 [SWU]SMP BLE advertising started
I: 629022 [DL]DFU over SMP started
I: BLE Disconnected: 13
I: 680287 [DL]DFU-BLE-Connected
I: BLE Connected
Swap type: none
I: 680553 [DL]DFU Image upload started
I: Current OTA Stage = 12
I: 769836 [DL]Image 1 download completed successfully
I: 769861 [DL]DFU-BLE-Disconnected : 19
E: Sending UART cmd st 0
I: BLE Name set: HU:2F29 errCode: 0
I: 769874 [SWU]SMP BLE advertising started
I: 769877 [DL]DFU over SMP started
I: BLE Disconnected: 13
I: 805116 [DL]DFU-BLE-Connected
I: BLE Connected
I: 823964 [DL]DFU Image upload started
D: 900361 [DIS]Extended discovery timed out
I: 900365 [DIS]Updating services using commissioning mode 0
E: 900371 [DIS]Failed to remove advertised services: 3
E: 900377 [DIS]Failed to finalize service update: 3
I: Current OTA Stage = 13
I: 1062614 [DL]Image 2 download completed successfully
I: Current OTA Stage = 14
I: 1062646 [DL]DFU-BLE-Disconnected : 19
E: Sending UART cmd st 0
I: BLE Name set: HU:2F29 errCode: 0
I: 1062659 [SWU]SMP BLE advertising started
I: 1062663 [DL]DFU over SMP started
I: BLE Disconnected: 13
I: 1081556 [DL]DFU-BLE-Connected
I: BLE Connected
Swap type: none
Swap type: none
Swap type: none
I: 1081857 [DL]DFU-BLE-Disconnected : 19
E: Sending UART cmd st 0
I: BLE Name set: HU:2F29 errCode: 0
I: 1081870 [SWU]SMP BLE advertising started
I: 1081873 [DL]DFU over SMP started
I: BLE Disconnected: 13
I: 1101017 [DL]DFU-BLE-Connected
I: BLE Connected
E: img_mgmt_find_by_hash Return i=1
E: a4 a4
E: 1d 1d
E: 1e 1e
E: a8 a8
E: b8 b8
E: 1d 1d
E: 72 72
E: 1b 1b
E: c0 c0
E: 13 13
E: cc cc
E: 3e 3e
E: d6 d6
E: e7 e7
E: 2f 2f
E: d4 d4
E: 4c 4c
E: 9 9
E: 25 25
E: 26 26
E: d1 d1
E: df df
E: b3 b3
E: 7b 7b
E: 1d 1d
E: f3 f3
E: b1 b1
E: db db
E: 4b 4b
E: 7c 7c
E: c3 c3
E: b4 b4
E: img_mgmt_find_by_hash slot = 1, confirm = 1
E: area_id = 2, active = 0
E: Success 1
E: Success 2
writing magic; fa_id=2 off=0xeeff0 (0xeeff0)
writing image_ok; fa_id=2 off=0xeefe8 (0xeefe8)
writing swap_info; fa_id=2 off=0xeefd8 (0xeefd8), swap_type=0x3 image_num=0x0
E: Success 3
E: *** rc = 0 ***
E: img_mgmt_set_boot_next rc = 0
Swap type: perm
Swap type: perm
Swap type: none
E: img_mgmt_state_read rc = 0
I: 1101379 [DL]DFU-BLE-Disconnected : 19
E: Sending UART cmd st 0
I: BLE Name set: HU:2F29 errCode: 0
I: 1101392 [SWU]SMP BLE advertising started
I: 1101396 [DL]DFU over SMP started
I: BLE Disconnected: 13
I: 1138603 [DL]DFU-BLE-Connected
I: BLE Connected
E: img_mgmt_find_by_hash Continue
E: img_mgmt_find_by_hash Return i=3
E: 9 9
E: 4 4
E: ba ba
E: 45 45
E: 18 18
E: a a
E: c3 c3
E: 6d 6d
E: 87 87
E: da da
E: c3 c3
E: ec ec
E: f2 f2
E: d d
E: 73 73
E: b1 b1
E: 9b 9b
E: f4 f4
E: 52 52
E: 8b 8b
E: 67 67
E: 23 23
E: 29 29
E: 47 47
E: 9 9
E: 40 40
E: 93 93
E: 98 98
E: d7 d7
E: 3b 3b
E: 9c 9c
E: 12 12
E: img_mgmt_find_by_hash slot = 3, confirm = 1
E: area_id = 8, active = 0
E: Success 1
E: Success 2
writing magic; fa_id=8 off=0x3fff0 (0x12eff0)
writing image_ok; fa_id=8 off=0x3ffe8 (0x12efe8)
writing swap_info; fa_id=8 off=0x3ffd8 (0x12efd8), swap_type=0x3 image_num=0x0
E: Success 3
E: *** rc = 0 ***
E: img_mgmt_set_boot_next rc = 0
Swap type: perm
Swap type: perm
Swap type: perm
E: img_mgmt_state_read rc = 0
I: 1138984 [DL]DFU-BLE-Disconnected : 19
E: Sending UART cmd st 0
I: BLE Name set: HU:2F29 errCode: 0
I: 1138996 [SWU]SMP BLE advertising started
I: 1139000 [DL]DFU over SMP started
I: BLE Disconnected: 13
I: 1171380 [DL]DFU-BLE-Connected
I: BLE Connected
in os_mgmt_reset
in os_mgmt_reset, Timer Register
I: 1171668 [DL]DFU-BLE-Disconnected : 19
E: Sending UART cmd st 0
I: BLE Name set: HU:2F29 errCode: 0
I: 1171681 [SWU]SMP BLE advertising started
I: 1171685 [DL]DFU over SMP started
I: BLE Disconnected: 13
in os_mgmt_reset_cb
os_mgmt_reset_work_handler: System Rebooted
*** Booting Zephyr OS build v3.3.99-ncs1-1 ***
Starting bootloader
Swap type: perm
Swap type: perm
writing magic; fa_id=4 off=0xeeff0 (0xf6ff0)
writing magic; fa_id=1 off=0x3fff0 (0x3fff0)
Bootloader chainload address offset: 0x8000
Jumping to the first image slot
Start Do_Boot


uart:~$ *** Booting Zephyr OS build v3.3.99-ncs1-1 ***
I: KWIKSET HALO 3 VERSION: 00.03.00.00
I: Init CHIP stack
I: 159 [DL]BLE address: FB:02:5F:B2:B3:10
I: Board config kwiksetmdb_nrf5340_cpuapp
I: IMAGE_VERSION 0.3.0+0
I: build time: Nov 30 2023 11:09:14
E: ====    Matter FW Ver: 0.3.0    ====
I: 198 [DL]OpenThread SED interval is 1000ms
I: 205 [DL]OpenThread started: OK
I: 209 [DL]Setting OpenThread device type to SLEEPY END DEVICE
I: 216 [SWU]DFU_BLEAdvertising_Init 
Swap type: none
I: 223 [SVR]Subscription persistence not supported
I: 228 [SVR]Server initializing...
I: 232 [TS]Last Known Good Time: 2023-11-30T17:43:12
I: 238 [DMG]AccessControl: initializing
I: 242 [DMG]Examples::AccessControlDelegate::Init
I: 248 [DMG]AccessControl: setting
I: 251 [DMG]DefaultAclStorage: initializing
I: 255 [DMG]DefaultAclStorage: 0 entries loaded
D: 260 [IN]UDP::Init bind&amp;amp;listen port=5540
E: 265 [IN]SO_REUSEPORT failed: 109
D: 269 [IN]UDP::Init bound to port=5540
D: 273 [IN]BLEBase::Init - setting/overriding transport
D: 278 [IN]TransportMgr initialized
D: 286 [DL]Using Thread extended MAC for hostname.
I: 292 [ZCL]Using ZAP configuration...
I: 299 [DMG]AccessControlCluster: initializing
D: 304 [DL]Boot reason: 6
I: 307 [ZCL]Initiating Admin Commissioning cluster.
I: 311 [ZCL]Door Lock server initialized
I: 316 [ZCL]Door Lock cluster initialized at endpoint #1
I: 323 [DIS]Updating services using commissioning mode 0
E: 329 [DIS]Failed to remove advertised services: 3
D: 334 [DL]Using Thread extended MAC for hostname.
I: 340 [DIS]Advertise commission parameter vendorID=65521 productID=32774 discriminator=3840/15 cm=0
E: 349 [DIS]Failed to advertise extended commissionable node: 3
D: 355 [DIS]Scheduling extended discovery timeout in 900s
E: 363 [DIS]Failed to finalize service update: 3
I: 367 [DIS]Delaying proxy of operational discovery: missing delegate
I: 374 [IN]CASE Server enabling CASE session setups
D: 381 [IN]SecureSession[0x200049f0]: Allocated Type:2 LSID:54626
I: 387 [SVR]Joining Multicast groups
I: 392 [SVR]Server Listening...
I: 395 [DL]Device Configuration:
I: 398 [DL]  Serial Number: 11223344556677889900
I: 403 [DL]  Vendor Id: 65521 (0xFFF1)
I: 407 [DL]  Product Id: 32774 (0x8006)
I: 412 [DL]  Product Name: not-specified
I: 416 [DL]  Hardware Version: 0
I: 420 [DL]  Setup Pin Code (0 for UNKNOWN/ERROR): 20202021
I: 426 [DL]  Setup Discriminator (0xFFFF for UNKNOWN/ERROR): 3840 (0xF00)
I: 432 [DL]  Manufacturing Date: 2022-01-01
I: 437 [DL]  Device Type: 65535 (0xFFFF)
I: 442 [SVR]SetupQRCode: [MT:8IXS142C00KA0648G00]
I: 448 [SVR]Copy/paste the below URL in a browser to see the QR Code:
I: 454 [SVR]https://project-chip.github.io/connectedhomeip/qrcode.html?data=MT%3A8IXS142C00KA0648G00
I: 465 [SVR]Manual pairing code: [34970112332]
I: 475 [DL]CHIP task running
I: 478 [DIS]Updating services using commissioning mode 0
E: 484 [DIS]Failed to remove advertised services: 3
D: 489 [DL]Using Thread extended MAC for hostname.
I: 495 [DIS]Advertise commission parameter vendorID=65521 productID=32774 discriminator=3840/15 cm=0
E: 505 [DIS]Failed to advertise extended commissionable node: 3
E: 511 [DIS]Failed to finalize service update: 3
I: FW Ver: 0.3.0+0; version: 00030000
I: Device has NOT gone through provisioning
I: network state 0
E: Sending UART cmd st 0
I: BLE Device ID: 2f29
I: Current OTA Stage = 10
I: dfu_header_data.image_count: 2
E: Sending UART cmd st 0
I: BLE Name set: HU:2F29 errCode: 0
I: 15696 [SWU]SMP BLE advertising started
I: 15700 [DL]DFU over SMP started
I: IMG Integrity Verified Successfully: 0
I: IMG Integrity Verified Successfully: 1
I: Current OTA Stage = 16
I: OTA device_id = 5 : DISCOVERY_REQ
I: SECURE_STM : DISCOVERY_REQ
I: OTA device_id = 5 : FW_VERSION_REQ
I: Secure STM Firmware Version: 2 0 1 2
I: OTA device_id = 5 : FW_UPDATE_START_REQ
I: SECURE_STM : IB_FW_UPDATE_START_REQUEST
I: STM OTA Progress = 10
I: STM OTA Progress = 20
I: STM OTA Progress = 30
I: STM OTA Progress = 40
I: STM OTA Progress = 50
I: STM OTA Progress = 60
I: STM OTA Progress = 70
I: STM OTA Progress = 80
I: STM OTA Progress = 90
I: STM OTA Progress = 100
I: OTA device_id = 5 : FW_UPDATE_REBOOT_REQ
I: SECURE_STM : REBOOT_COMMAND
I: STM Rebooted, MCUBoot Verifying Image
I: OTA device_id = 5 : FW_VERSION_REQ
I: Secure STM Firmware Version: 2 0 1 1
I: OTA device_id = 5 : FW_UPDATE_COMPLETE_REQ
I: SECURE_STM : IB_FW_UPDATE_COMPLETE_REQUEST
I: OTA device_id = 5 : FW_UPDATE_REBOOT_REQ
I: SECURE_STM : REBOOT_COMMAND
I: STM Rebooted, MCUBoot Confirming Image
I: OTA device_id = 5 : FW_VERSION_REQ
I: Secure STM Firmware Version: 2 0 1 1
I: STM Secure OTA Successful
I: Clear STM OTA Meta Data
I: Current OTA Stage = 17
I: Redpine OTA started
I: Current OTA Stage = 18
I: OTA device_id = 4 : DISCOVERY_REQ
I: STM_QSPI : IB_DEVICE_DISCOVERY_REQUEST
I: OTA device_id = 4 : FW_VERSION_REQ
I: STM_QSPI : IB_FW_VERSION_REQUEST
I: Redpine Firmware Version: 2.1.255.191
I: OTA device_id = 4 : FW_UPDATE_START_REQ
I: STM_QSPI : IB_FW_UPDATE_START_REQUEST
I: Redpine Image Stored into STM QSPI, Progress = 10
I: Redpine Image Stored into STM QSPI, Progress = 20
I: Redpine Image Stored into STM QSPI, Progress = 30
I: Redpine Image Stored into STM QSPI, Progress = 40
I: Redpine Image Stored into STM QSPI, Progress = 50
I: Redpine Image Stored into STM QSPI, Progress = 60
I: Redpine Image Stored into STM QSPI, Progress = 70
I: Redpine Image Stored into STM QSPI, Progress = 80
I: Redpine Image Stored into STM QSPI, Progress = 90
I: Redpine Image Stored into STM QSPI, Progress = 100
I: OTA device_id = 4 : FW_UPDATE_COMPLETE_REQ
I: STM_QSPI : IB_FW_UPDATE_COMPLETE_REQUEST
I: STM_QSPI : STM QSPI to Redpine SPI Image Transfer Ongoing (0)
I: STM_QSPI : STM QSPI to Redpine SPI Image Transfer Ongoing (10)
I: STM_QSPI : STM QSPI to Redpine SPI Image Transfer Ongoing (20)
I: STM_QSPI : STM QSPI to Redpine SPI Image Transfer Ongoing (30)
I: STM_QSPI : STM QSPI to Redpine SPI Image Transfer Ongoing (40)
I: STM_QSPI : STM QSPI to Redpine SPI Image Transfer Ongoing (50)
I: STM_QSPI : STM QSPI to Redpine SPI Image Transfer Ongoing (60)
I: STM_QSPI : STM QSPI to Redpine SPI Image Transfer Ongoing (70)
I: STM_QSPI : STM QSPI to Redpine SPI Image Transfer Ongoing (80)
I: STM_QSPI : STM QSPI to Redpine SPI Image Transfer Ongoing (90)
I: STM_QSPI : STM QSPI to Redpine SPI Image Transfer Ongoing (100)
I: STM_QSPI : IB_FW_UPDATE_REBOOT_REQUEST
I: Clear Redpine OTA Meta Data
I: Current OTA Stage = 24
I: Start to Erase OTA Bundle Image from External Flash
I: Erasing bundle from nRF Ext. Flash
I: Bundle Image Erased from nRF Ext. Flash: 0
I: Current OTA Stage = 25
I: FW Ver: 0.3.0+0; version: 00030000
I: 598773 [DL]DFU-BLE-Connected
I: BLE Connected
Swap type: none
I: 599066 [DL]DFU-BLE-Disconnected : 19
E: Sending UART cmd st 0
I: BLE Name set: HU:2F29 errCode: 0
I: 599079 [SWU]SMP BLE advertising started
I: 599083 [DL]DFU over SMP started
I: BLE Disconnected: 13
I: 615948 [DL]DFU-BLE-Connected
I: BLE Connected
I: 616247 [DL]DFU Image upload started
I: Current OTA Stage = 11
I: 629427 [DL]Image 0 download completed successfully
I: 629467 [DL]DFU-BLE-Disconnected : 19
E: Sending UART cmd st 0
I: BLE Name set: HU:2F29 errCode: 0
I: 629480 [SWU]SMP BLE advertising started
I: 629484 [DL]DFU over SMP started
I: BLE Disconnected: 13
I: 678454 [DL]DFU-BLE-Connected
I: BLE Connected
Swap type: none
I: 678746 [DL]DFU Image upload started
I: Current OTA Stage = 12
I: 768307 [DL]Image 1 download completed successfully
I: 768332 [DL]DFU-BLE-Disconnected : 19
E: Sending UART cmd st 0
I: BLE Name set: HU:2F29 errCode: 0
I: 768345 [SWU]SMP BLE advertising started
I: 768348 [DL]DFU over SMP started
I: BLE Disconnected: 13
I: 803824 [DL]DFU-BLE-Connected
I: BLE Connected
I: 822690 [DL]DFU Image upload started
D: 900362 [DIS]Extended discovery timed out
I: 900366 [DIS]Updating services using commissioning mode 0
E: 900373 [DIS]Failed to remove advertised services: 3
E: 900380 [DIS]Failed to finalize service update: 3
I: Current OTA Stage = 13
I: 1062727 [DL]Image 2 download completed successfully
I: Current OTA Stage = 14
I: 1062759 [DL]DFU-BLE-Disconnected : 19
E: Sending UART cmd st 0
I: BLE Name set: HU:2F29 errCode: 0
I: 1062772 [SWU]SMP BLE advertising started
I: 1062776 [DL]DFU over SMP started
I: BLE Disconnected: 13
I: 1082914 [DL]DFU-BLE-Connected
I: BLE Connected
Swap type: none
Swap type: none
Swap type: none
I: 1083215 [DL]DFU-BLE-Disconnected : 19
E: Sending UART cmd st 0
I: BLE Name set: HU:2F29 errCode: 0
I: 1083228 [SWU]SMP BLE advertising started
I: 1083232 [DL]DFU over SMP started
I: BLE Disconnected: 13
I: 1101605 [DL]DFU-BLE-Connected
I: BLE Connected
E: img_mgmt_find_by_hash Return i=1
E: cb cb
E: 96 96
E: 29 29
E: f f
E: d9 d9
E: a a
E: b7 b7
E: b b
E: 3e 3e
E: a1 a1
E: 45 45
E: aa aa
E: 46 46
E: 56 56
E: 19 19
E: 5d 5d
E: be be
E: 6e 6e
E: 4b 4b
E: eb eb
E: 7c 7c
E: e0 e0
E: bf bf
E: f0 f0
E: f4 f4
E: b8 b8
E: 18 18
E: e8 e8
E: 92 92
E: 53 53
E: 2 2
E: 82 82
E: img_mgmt_find_by_hash slot = 1, confirm = 1
E: area_id = 2, active = 0
E: Success 1
E: Success 2
writing magic; fa_id=2 off=0xeeff0 (0xeeff0)
writing image_ok; fa_id=2 off=0xeefe8 (0xeefe8)
writing swap_info; fa_id=2 off=0xeefd8 (0xeefd8), swap_type=0x3 image_num=0x0
E: Success 3
E: *** rc = 0 ***
E: img_mgmt_set_boot_next rc = 0
Swap type: perm
Swap type: perm
Swap type: none
E: img_mgmt_state_read rc = 0
I: 1101995 [DL]DFU-BLE-Disconnected : 19
E: Sending UART cmd st 0
I: BLE Name set: HU:2F29 errCode: 0
I: 1102008 [SWU]SMP BLE advertising started
I: 1102012 [DL]DFU over SMP started
I: BLE Disconnected: 13
I: 1139210 [DL]DFU-BLE-Connected
I: BLE Connected
E: img_mgmt_find_by_hash Continue
E: img_mgmt_find_by_hash Return i=3
E: 19 19
E: 64 64
E: b b
E: b1 b1
E: 5e 5e
E: dc dc
E: e6 e6
E: 77 77
E: 8c 8c
E: ef ef
E: 69 69
E: 20 20
E: 5f 5f
E: ae ae
E: 54 54
E: 61 61
E: a3 a3
E: 99 99
E: ff ff
E: 7c 7c
E: 4d 4d
E: 65 65
E: f3 f3
E: 4c 4c
E: 53 53
E: 6c 6c
E: 37 37
E: 88 88
E: 2f 2f
E: e1 e1
E: 39 39
E: 7e 7e
E: img_mgmt_find_by_hash slot = 3, confirm = 1
E: area_id = 8, active = 0
E: Success 1
E: Success 2
writing magic; fa_id=8 off=0x3fff0 (0x12eff0)
writing image_ok; fa_id=8 off=0x3ffe8 (0x12efe8)
writing swap_info; fa_id=8 off=0x3ffd8 (0x12efd8), swap_type=0x3 image_num=0x0
E: Success 3
E: *** rc = 0 ***
E: img_mgmt_set_boot_next rc = 0
Swap type: perm
Swap type: perm
Swap type: perm
E: img_mgmt_state_read rc = 0
I: 1139592 [DL]DFU-BLE-Disconnected : 19
E: Sending UART cmd st 0
I: BLE Name set: HU:2F29 errCode: 0
I: 1139605 [SWU]SMP BLE advertising started
I: 1139609 [DL]DFU over SMP started
I: BLE Disconnected: 13
I: 1171716 [DL]DFU-BLE-Connected
I: BLE Connected
in os_mgmt_reset
in os_mgmt_reset, Timer Register
I: 1171992 [DL]DFU-BLE-Disconnected : 19
E: Sending UART cmd st 0
I: BLE Name set: HU:2F29 errCode: 0
I: 1172004 [SWU]SMP BLE advertising started
I: 1172008 [DL]DFU over SMP started
I: BLE Disconnected: 13
in os_mgmt_reset_cb
os_mgmt_reset_work_handler: System Rebooted
*** Booting Zephyr OS build v3.3.99-ncs1-1 ***
Starting bootloader
Swap type: perm
Swap type: perm
writing magic; fa_id=4 off=0xeeff0 (0xf6ff0)
writing magic; fa_id=1 off=0x3fff0 (0x3fff0)
Bootloader chainload address offset: 0x8000
Jumping to the first image slot
Start Do_Boot


uart:~$ *** Booting Zephyr OS build v3.3.99-ncs1-1 ***
I: KWIKSET HALO 3 VERSION: 00.03.01.00
I: Init CHIP stack
I: 159 [DL]BLE address: D1:AB:10:70:D2:32
I: Board config kwiksetmdb_nrf5340_cpuapp
I: IMAGE_VERSION 0.3.1+0
I: build time: Nov 30 2023 17:44:53
E: ====    Matter FW Ver: 0.3.1    ====
I: 198 [DL]OpenThread SED interval is 1000ms
I: 205 [DL]OpenThread started: OK
I: 208 [DL]Setting OpenThread device type to SLEEPY END DEVICE
I: 216 [SWU]DFU_BLEAdvertising_Init 
Swap type: none
I: 223 [SVR]Subscription persistence not supported
I: 227 [SVR]Server initializing...
I: 232 [TS]Last Known Good Time: 2023-11-30T17:43:12
I: 238 [DMG]AccessControl: initializing
I: 242 [DMG]Examples::AccessControlDelegate::Init
I: 248 [DMG]AccessControl: setting
I: 251 [DMG]DefaultAclStorage: initializing
I: 255 [DMG]DefaultAclStorage: 0 entries loaded
D: 260 [IN]UDP::Init bind&amp;amp;listen port=5540
E: 265 [IN]SO_REUSEPORT failed: 109
D: 269 [IN]UDP::Init bound to port=5540
D: 273 [IN]BLEBase::Init - setting/overriding transport
D: 278 [IN]TransportMgr initialized
D: 285 [DL]Using Thread extended MAC for hostname.
I: 292 [ZCL]Using ZAP configuration...
I: 298 [DMG]AccessControlCluster: initializing
D: 303 [DL]Boot reason: 6
I: 306 [ZCL]Initiating Admin Commissioning cluster.
I: 311 [ZCL]Door Lock server initialized
I: 316 [ZCL]Door Lock cluster initialized at endpoint #1
I: 322 [DIS]Updating services using commissioning mode 0
E: 328 [DIS]Failed to remove advertised services: 3
D: 334 [DL]Using Thread extended MAC for hostname.
I: 339 [DIS]Advertise commission parameter vendorID=65521 productID=32774 discriminator=3840/15 cm=0
E: 348 [DIS]Failed to advertise extended commissionable node: 3
D: 356 [DIS]Scheduling extended discovery timeout in 900s
E: 362 [DIS]Failed to finalize service update: 3
I: 367 [DIS]Delaying proxy of operational discovery: missing delegate
I: 373 [IN]CASE Server enabling CASE session setups
D: 380 [IN]SecureSession[0x200049f0]: Allocated Type:2 LSID:19823
I: 386 [SVR]Joining Multicast groups
I: 391 [SVR]Server Listening...
I: 394 [DL]Device Configuration:
I: 398 [DL]  Serial Number: 11223344556677889900
I: 403 [DL]  Vendor Id: 65521 (0xFFF1)
I: 407 [DL]  Product Id: 32774 (0x8006)
I: 411 [DL]  Product Name: not-specified
I: 415 [DL]  Hardware Version: 0
I: 419 [DL]  Setup Pin Code (0 for UNKNOWN/ERROR): 20202021
I: 424 [DL]  Setup Discriminator (0xFFFF for UNKNOWN/ERROR): 3840 (0xF00)
I: 432 [DL]  Manufacturing Date: 2022-01-01
I: 437 [DL]  Device Type: 65535 (0xFFFF)
I: 442 [SVR]SetupQRCode: [MT:8IXS142C00KA0648G00]
I: 446 [SVR]Copy/paste the below URL in a browser to see the QR Code:
I: 454 [SVR]https://project-chip.github.io/connectedhomeip/qrcode.html?data=MT%3A8IXS142C00KA0648G00
I: 465 [SVR]Manual pairing code: [34970112332]
I: 474 [DL]CHIP task running
I: 477 [DIS]Updating services using commissioning mode 0
E: 482 [DIS]Failed to remove advertised services: 3
D: 488 [DL]Using Thread extended MAC for hostname.
I: 494 [DIS]Advertise commission parameter vendorID=65521 productID=32774 discriminator=3840/15 cm=0
E: 503 [DIS]Failed to advertise extended commissionable node: 3
E: 510 [DIS]Failed to finalize service update: 3
I: FW Ver: 0.3.1+0; version: 00030100
I: Device has NOT gone through provisioning
I: network state 0
E: Sending UART cmd st 0
I: BLE Device ID: 2f29
I: Current OTA Stage = 10
I: dfu_header_data.image_count: 2
E: Sending UART cmd st 0
I: BLE Name set: HU:2F29 errCode: 0
I: 15696 [SWU]SMP BLE advertising started
I: 15700 [DL]DFU over SMP started
I: IMG Integrity Verified Successfully: 0
I: IMG Integrity Verified Successfully: 1
I: Current OTA Stage = 16
I: OTA device_id = 5 : DISCOVERY_REQ
I: SECURE_STM : DISCOVERY_REQ
I: OTA device_id = 5 : FW_VERSION_REQ
I: Secure STM Firmware Version: 2 0 1 1
I: OTA device_id = 5 : FW_UPDATE_START_REQ
I: SECURE_STM : IB_FW_UPDATE_START_REQUEST
I: STM OTA Progress = 10
I: STM OTA Progress = 20
I: STM OTA Progress = 30
I: STM OTA Progress = 40
I: STM OTA Progress = 50
I: STM OTA Progress = 60
I: STM OTA Progress = 70
I: STM OTA Progress = 80
I: STM OTA Progress = 90
I: STM OTA Progress = 100
I: OTA device_id = 5 : FW_UPDATE_REBOOT_REQ
I: SECURE_STM : REBOOT_COMMAND
I: STM Rebooted, MCUBoot Verifying Image
I: OTA device_id = 5 : FW_VERSION_REQ
I: Secure STM Firmware Version: 2 0 1 2
I: OTA device_id = 5 : FW_UPDATE_COMPLETE_REQ
I: SECURE_STM : IB_FW_UPDATE_COMPLETE_REQUEST
I: OTA device_id = 5 : FW_UPDATE_REBOOT_REQ
I: SECURE_STM : REBOOT_COMMAND
I: STM Rebooted, MCUBoot Confirming Image
I: OTA device_id = 5 : FW_VERSION_REQ
I: Secure STM Firmware Version: 2 0 1 2
I: STM Secure OTA Successful
I: Clear STM OTA Meta Data
I: Current OTA Stage = 17
I: Redpine OTA started
I: Current OTA Stage = 18
I: OTA device_id = 4 : DISCOVERY_REQ
I: STM_QSPI : IB_DEVICE_DISCOVERY_REQUEST
I: OTA device_id = 4 : FW_VERSION_REQ
I: STM_QSPI : IB_FW_VERSION_REQUEST
I: Redpine Firmware Version: 2.1.255.191
I: OTA device_id = 4 : FW_UPDATE_START_REQ
I: STM_QSPI : IB_FW_UPDATE_START_REQUEST
I: Redpine Image Stored into STM QSPI, Progress = 10
I: Redpine Image Stored into STM QSPI, Progress = 20
I: Redpine Image Stored into STM QSPI, Progress = 30
I: Redpine Image Stored into STM QSPI, Progress = 40
I: Redpine Image Stored into STM QSPI, Progress = 50
I: Redpine Image Stored into STM QSPI, Progress = 60
I: Redpine Image Stored into STM QSPI, Progress = 70
I: Redpine Image Stored into STM QSPI, Progress = 80
I: Redpine Image Stored into STM QSPI, Progress = 90
I: Redpine Image Stored into STM QSPI, Progress = 100
I: OTA device_id = 4 : FW_UPDATE_COMPLETE_REQ
I: STM_QSPI : IB_FW_UPDATE_COMPLETE_REQUEST
I: STM_QSPI : STM QSPI to Redpine SPI Image Transfer Ongoing (0)
I: STM_QSPI : STM QSPI to Redpine SPI Image Transfer Ongoing (10)
I: STM_QSPI : STM QSPI to Redpine SPI Image Transfer Ongoing (20)
I: STM_QSPI : STM QSPI to Redpine SPI Image Transfer Ongoing (30)
I: STM_QSPI : STM QSPI to Redpine SPI Image Transfer Ongoing (40)
I: STM_QSPI : STM QSPI to Redpine SPI Image Transfer Ongoing (50)
I: STM_QSPI : STM QSPI to Redpine SPI Image Transfer Ongoing (60)
I: STM_QSPI : STM QSPI to Redpine SPI Image Transfer Ongoing (70)
I: STM_QSPI : STM QSPI to Redpine SPI Image Transfer Ongoing (80)
I: STM_QSPI : STM QSPI to Redpine SPI Image Transfer Ongoing (90)
I: STM_QSPI : STM QSPI to Redpine SPI Image Transfer Ongoing (100)
I: STM_QSPI : IB_FW_UPDATE_REBOOT_REQUEST
I: Clear Redpine OTA Meta Data
I: Current OTA Stage = 24
I: Start to Erase OTA Bundle Image from External Flash
I: Erasing bundle from nRF Ext. Flash
I: Bundle Image Erased from nRF Ext. Flash: 0
I: Current OTA Stage = 25
I: FW Ver: 0.3.1+0; version: 00030100
I: 598037 [DL]DFU-BLE-Connected
I: BLE Connected
Swap type: none
I: 598309 [DL]DFU-BLE-Disconnected : 19
E: Sending UART cmd st 0
I: BLE Name set: HU:2F29 errCode: 0
I: 598321 [SWU]SMP BLE advertising started
I: 598325 [DL]DFU over SMP started
I: BLE Disconnected: 13
I: 617942 [DL]DFU-BLE-Connected
I: BLE Connected
I: 618219 [DL]DFU Image upload started
I: Current OTA Stage = 11
I: 631467 [DL]Image 0 download completed successfully
I: 631507 [DL]DFU-BLE-Disconnected : 19
E: Sending UART cmd st 0
I: BLE Name set: HU:2F29 errCode: 0
I: 631520 [SWU]SMP BLE advertising started
I: 631524 [DL]DFU over SMP started
I: BLE Disconnected: 13
I: 680495 [DL]DFU-BLE-Connected
I: BLE Connected
Swap type: none
I: 680786 [DL]DFU Image upload started
I: Current OTA Stage = 12
I: 770043 [DL]Image 1 download completed successfully
I: 770068 [DL]DFU-BLE-Disconnected : 19
E: Sending UART cmd st 0
I: BLE Name set: HU:2F29 errCode: 0
I: 770081 [SWU]SMP BLE advertising started
I: 770085 [DL]DFU over SMP started
I: BLE Disconnected: 13
I: 803964 [DL]DFU-BLE-Connected
I: BLE Connected
I: 822822 [DL]DFU Image upload started
D: 900362 [DIS]Extended discovery timed out
I: 900366 [DIS]Updating services using commissioning mode 0
E: 900375 [DIS]Failed to remove advertised services: 3
E: 900382 [DIS]Failed to finalize service update: 3
I: Current OTA Stage = 13
I: 1061662 [DL]Image 2 download completed successfully
I: Current OTA Stage = 14
I: 1061694 [DL]DFU-BLE-Disconnected : 19
E: Sending UART cmd st 0
I: BLE Name set: HU:2F29 errCode: 0
I: 1061707 [SWU]SMP BLE advertising started
I: 1061711 [DL]DFU over SMP started
I: BLE Disconnected: 13
I: 1081847 [DL]DFU-BLE-Connected
I: BLE Connected
Swap type: none
Swap type: none
Swap type: none
I: 1082128 [DL]DFU-BLE-Disconnected : 19
E: Sending UART cmd st 0
I: BLE Name set: HU:2F29 errCode: 0
I: 1082140 [SWU]SMP BLE advertising started
I: 1082144 [DL]DFU over SMP started
I: BLE Disconnected: 13
I: 1098785 [DL]DFU-BLE-Connected
I: BLE Connected
E: img_mgmt_find_by_hash Return i=1
E: a4 a4
E: 1d 1d
E: 1e 1e
E: a8 a8
E: b8 b8
E: 1d 1d
E: 72 72
E: 1b 1b
E: c0 c0
E: 13 13
E: cc cc
E: 3e 3e
E: d6 d6
E: e7 e7
E: 2f 2f
E: d4 d4
E: 4c 4c
E: 9 9
E: 25 25
E: 26 26
E: d1 d1
E: df df
E: b3 b3
E: 7b 7b
E: 1d 1d
E: f3 f3
E: b1 b1
E: db db
E: 4b 4b
E: 7c 7c
E: c3 c3
E: b4 b4
E: img_mgmt_find_by_hash slot = 1, confirm = 1
E: area_id = 2, active = 0
E: Success 1
E: Success 2
writing magic; fa_id=2 off=0xeeff0 (0xeeff0)
writing image_ok; fa_id=2 off=0xeefe8 (0xeefe8)
writing swap_info; fa_id=2 off=0xeefd8 (0xeefd8), swap_type=0x3 image_num=0x0
E: Success 3
E: *** rc = 0 ***
E: img_mgmt_set_boot_next rc = 0
Swap type: perm
Swap type: perm
Swap type: none
E: img_mgmt_state_read rc = 0
I: 1099160 [DL]DFU-BLE-Disconnected : 19
E: Sending UART cmd st 0
I: BLE Name set: HU:2F29 errCode: 0
I: 1099173 [SWU]SMP BLE advertising started
I: 1099177 [DL]DFU over SMP started
I: BLE Disconnected: 13
I: 1136408 [DL]DFU-BLE-Connected
I: BLE Connected
E: img_mgmt_find_by_hash Continue
E: img_mgmt_find_by_hash Return i=3
E: 9 9
E: 4 4
E: ba ba
E: 45 45
E: 18 18
E: a a
E: c3 c3
E: 6d 6d
E: 87 87
E: da da
E: c3 c3
E: ec ec
E: f2 f2
E: d d
E: 73 73
E: b1 b1
E: 9b 9b
E: f4 f4
E: 52 52
E: 8b 8b
E: 67 67
E: 23 23
E: 29 29
E: 47 47
E: 9 9
E: 40 40
E: 93 93
E: 98 98
E: d7 d7
E: 3b 3b
E: 9c 9c
E: 12 12
E: img_mgmt_find_by_hash slot = 3, confirm = 1
E: area_id = 8, active = 0
E: Success 1
E: Success 2
writing magic; fa_id=8 off=0x3fff0 (0x12eff0)
writing image_ok; fa_id=8 off=0x3ffe8 (0x12efe8)
writing swap_info; fa_id=8 off=0x3ffd8 (0x12efd8), swap_type=0x3 image_num=0x0
E: Success 3
E: *** rc = 0 ***
E: img_mgmt_set_boot_next rc = 0
Swap type: perm
Swap type: perm
Swap type: perm
E: img_mgmt_state_read rc = 0
I: 1136794 [DL]DFU-BLE-Disconnected : 19
E: Sending UART cmd st 0
I: BLE Name set: HU:2F29 errCode: 0
I: 1136807 [SWU]SMP BLE advertising started
I: 1136811 [DL]DFU over SMP started
I: BLE Disconnected: 13
I: 1168702 [DL]DFU-BLE-Connected
I: BLE Connected
in os_mgmt_reset
in os_mgmt_reset, Timer Register
I: 1168976 [DL]DFU-BLE-Disconnected : 19
E: Sending UART cmd st 0
I: BLE Name set: HU:2F29 errCode: 0
I: 1168989 [SWU]SMP BLE advertising started
I: 1168993 [DL]DFU over SMP started
I: BLE Disconnected: 13
in os_mgmt_reset_cb
os_mgmt_reset_work_handler: System Rebooted
*** Booting Zephyr OS build v3.3.99-ncs1-1 ***
Starting bootloader
Swap type: perm
Swap type: perm
writing magic; fa_id=4 off=0xeeff0 (0xf6ff0)
writing magic; fa_id=1 off=0x3fff0 (0x3fff0)
Bootloader chainload address offset: 0x8000
Jumping to the first image slot
Start Do_Boot


uart:~$ *** Booting Zephyr OS build v3.3.99-ncs1-1 ***
I: KWIKSET HALO 3 VERSION: 00.03.00.00
I: Init CHIP stack
I: 159 [DL]BLE address: C9:AB:26:F2:61:9B
I: Board config kwiksetmdb_nrf5340_cpuapp
I: IMAGE_VERSION 0.3.0+0
I: build time: Nov 30 2023 11:09:14
E: ====    Matter FW Ver: 0.3.0    ====
I: 198 [DL]OpenThread SED interval is 1000ms
I: 205 [DL]OpenThread started: OK
I: 208 [DL]Setting OpenThread device type to SLEEPY END DEVICE
I: 216 [SWU]DFU_BLEAdvertising_Init 
Swap type: none
I: 223 [SVR]Subscription persistence not supported
I: 227 [SVR]Server initializing...
I: 232 [TS]Last Known Good Time: 2023-11-30T17:43:12
I: 238 [DMG]AccessControl: initializing
I: 242 [DMG]Examples::AccessControlDelegate::Init
I: 247 [DMG]AccessControl: setting
I: 251 [DMG]DefaultAclStorage: initializing
I: 255 [DMG]DefaultAclStorage: 0 entries loaded
D: 260 [IN]UDP::Init bind&amp;amp;listen port=5540
E: 265 [IN]SO_REUSEPORT failed: 109
D: 269 [IN]UDP::Init bound to port=5540
D: 273 [IN]BLEBase::Init - setting/overriding transport
D: 278 [IN]TransportMgr initialized
D: 285 [DL]Using Thread extended MAC for hostname.
I: 292 [ZCL]Using ZAP configuration...
I: 298 [DMG]AccessControlCluster: initializing
D: 303 [DL]Boot reason: 6
I: 306 [ZCL]Initiating Admin Commissioning cluster.
I: 311 [ZCL]Door Lock server initialized
I: 316 [ZCL]Door Lock cluster initialized at endpoint #1
I: 323 [DIS]Updating services using commissioning mode 0
E: 328 [DIS]Failed to remove advertised services: 3
D: 334 [DL]Using Thread extended MAC for hostname.
I: 339 [DIS]Advertise commission parameter vendorID=65521 productID=32774 discriminator=3840/15 cm=0
E: 348 [DIS]Failed to advertise extended commissionable node: 3
D: 355 [DIS]Scheduling extended discovery timeout in 900s
E: 362 [DIS]Failed to finalize service update: 3
I: 367 [DIS]Delaying proxy of operational discovery: missing delegate
I: 373 [IN]CASE Server enabling CASE session setups
D: 381 [IN]SecureSession[0x200049f0]: Allocated Type:2 LSID:10039
I: 386 [SVR]Joining Multicast groups
I: 391 [SVR]Server Listening...
I: 394 [DL]Device Configuration:
I: 398 [DL]  Serial Number: 11223344556677889900
I: 402 [DL]  Vendor Id: 65521 (0xFFF1)
I: 407 [DL]  Product Id: 32774 (0x8006)
I: 411 [DL]  Product Name: not-specified
I: 415 [DL]  Hardware Version: 0
I: 419 [DL]  Setup Pin Code (0 for UNKNOWN/ERROR): 20202021
I: 425 [DL]  Setup Discriminator (0xFFFF for UNKNOWN/ERROR): 3840 (0xF00)
I: 432 [DL]  Manufacturing Date: 2022-01-01
I: 437 [DL]  Device Type: 65535 (0xFFFF)
I: 442 [SVR]SetupQRCode: [MT:8IXS142C00KA0648G00]
I: 447 [SVR]Copy/paste the below URL in a browser to see the QR Code:
I: 453 [SVR]https://project-chip.github.io/connectedhomeip/qrcode.html?data=MT%3A8IXS142C00KA0648G00
I: 465 [SVR]Manual pairing code: [34970112332]
I: 474 [DL]CHIP task running
I: 477 [DIS]Updating services using commissioning mode 0
E: 482 [DIS]Failed to remove advertised services: 3
D: 489 [DL]Using Thread extended MAC for hostname.
I: 494 [DIS]Advertise commission parameter vendorID=65521 productID=32774 discriminator=3840/15 cm=0
E: 503 [DIS]Failed to advertise extended commissionable node: 3
E: 510 [DIS]Failed to finalize service update: 3
I: FW Ver: 0.3.0+0; version: 00030000
I: Device has NOT gone through provisioning
I: network state 0
E: Sending UART cmd st 0
I: BLE Device ID: 2f29
I: Current OTA Stage = 10
I: dfu_header_data.image_count: 2
E: Sending UART cmd st 0
I: BLE Name set: HU:2F29 errCode: 0
I: 15696 [SWU]SMP BLE advertising started
I: 15700 [DL]DFU over SMP started
I: IMG Integrity Verified Successfully: 0
I: IMG Integrity Verified Successfully: 1
I: Current OTA Stage = 16
I: OTA device_id = 5 : DISCOVERY_REQ
I: SECURE_STM : DISCOVERY_REQ
I: OTA device_id = 5 : FW_VERSION_REQ
I: Secure STM Firmware Version: 2 0 1 2
I: OTA device_id = 5 : FW_UPDATE_START_REQ
I: SECURE_STM : IB_FW_UPDATE_START_REQUEST
I: STM OTA Progress = 10
I: STM OTA Progress = 20
I: STM OTA Progress = 30
I: STM OTA Progress = 40
I: STM OTA Progress = 50
I: STM OTA Progress = 60
I: STM OTA Progress = 70
I: STM OTA Progress = 80
I: STM OTA Progress = 90
I: STM OTA Progress = 100
I: OTA device_id = 5 : FW_UPDATE_REBOOT_REQ
I: SECURE_STM : REBOOT_COMMAND
I: STM Rebooted, MCUBoot Verifying Image
I: OTA device_id = 5 : FW_VERSION_REQ
I: Secure STM Firmware Version: 2 0 1 1
I: OTA device_id = 5 : FW_UPDATE_COMPLETE_REQ
I: SECURE_STM : IB_FW_UPDATE_COMPLETE_REQUEST
I: OTA device_id = 5 : FW_UPDATE_REBOOT_REQ
I: SECURE_STM : REBOOT_COMMAND
I: STM Rebooted, MCUBoot Confirming Image
I: OTA device_id = 5 : FW_VERSION_REQ
I: Secure STM Firmware Version: 2 0 1 1
I: STM Secure OTA Successful
I: Clear STM OTA Meta Data
I: Current OTA Stage = 17
I: Redpine OTA started
I: Current OTA Stage = 18
I: OTA device_id = 4 : DISCOVERY_REQ
I: STM_QSPI : IB_DEVICE_DISCOVERY_REQUEST
I: OTA device_id = 4 : FW_VERSION_REQ
I: STM_QSPI : IB_FW_VERSION_REQUEST
I: Redpine Firmware Version: 2.1.255.191
I: OTA device_id = 4 : FW_UPDATE_START_REQ
I: STM_QSPI : IB_FW_UPDATE_START_REQUEST
I: Redpine Image Stored into STM QSPI, Progress = 10
I: Redpine Image Stored into STM QSPI, Progress = 20
I: Redpine Image Stored into STM QSPI, Progress = 30
I: Redpine Image Stored into STM QSPI, Progress = 40
I: Redpine Image Stored into STM QSPI, Progress = 50
I: Redpine Image Stored into STM QSPI, Progress = 60
I: Redpine Image Stored into STM QSPI, Progress = 70
I: Redpine Image Stored into STM QSPI, Progress = 80
I: Redpine Image Stored into STM QSPI, Progress = 90
I: Redpine Image Stored into STM QSPI, Progress = 100
I: OTA device_id = 4 : FW_UPDATE_COMPLETE_REQ
I: STM_QSPI : IB_FW_UPDATE_COMPLETE_REQUEST
I: STM_QSPI : STM QSPI to Redpine SPI Image Transfer Ongoing (0)
I: STM_QSPI : STM QSPI to Redpine SPI Image Transfer Ongoing (10)
I: STM_QSPI : STM QSPI to Redpine SPI Image Transfer Ongoing (20)
I: STM_QSPI : STM QSPI to Redpine SPI Image Transfer Ongoing (30)
I: STM_QSPI : STM QSPI to Redpine SPI Image Transfer Ongoing (40)
I: STM_QSPI : STM QSPI to Redpine SPI Image Transfer Ongoing (50)
I: STM_QSPI : STM QSPI to Redpine SPI Image Transfer Ongoing (60)
I: STM_QSPI : STM QSPI to Redpine SPI Image Transfer Ongoing (70)
I: STM_QSPI : STM QSPI to Redpine SPI Image Transfer Ongoing (80)
I: STM_QSPI : STM QSPI to Redpine SPI Image Transfer Ongoing (90)
I: STM_QSPI : STM QSPI to Redpine SPI Image Transfer Ongoing (100)
I: STM_QSPI : IB_FW_UPDATE_REBOOT_REQUEST
I: Clear Redpine OTA Meta Data
I: Current OTA Stage = 24
I: Start to Erase OTA Bundle Image from External Flash
I: Erasing bundle from nRF Ext. Flash
I: Bundle Image Erased from nRF Ext. Flash: 0
I: Current OTA Stage = 25
I: FW Ver: 0.3.0+0; version: 00030000
I: 599214 [DL]DFU-BLE-Connected
I: BLE Connected
Swap type: none
I: 599496 [DL]DFU-BLE-Disconnected : 19
E: Sending UART cmd st 0
I: BLE Name set: HU:2F29 errCode: 0
I: 599509 [SWU]SMP BLE advertising started
I: 599513 [DL]DFU over SMP started
I: BLE Disconnected: 13
I: 616595 [DL]DFU-BLE-Connected
I: BLE Connected
I: 616879 [DL]DFU Image upload started
I: Current OTA Stage = 11
I: 630108 [DL]Image 0 download completed successfully
I: 630137 [DL]DFU-BLE-Disconnected : 19
E: Sending UART cmd st 0
I: BLE Name set: HU:2F29 errCode: 0
I: 630150 [SWU]SMP BLE advertising started
I: 630154 [DL]DFU over SMP started
I: BLE Disconnected: 13
I: 681605 [DL]DFU-BLE-Connected
I: BLE Connected
Swap type: none
I: 681906 [DL]DFU Image upload started
I: Current OTA Stage = 12
I: 771204 [DL]Image 1 download completed successfully
I: 771229 [DL]DFU-BLE-Disconnected : 19
E: Sending UART cmd st 0
I: BLE Name set: HU:2F29 errCode: 0
I: 771242 [SWU]SMP BLE advertising started
I: 771246 [DL]DFU over SMP started
I: BLE Disconnected: 13
I: 805139 [DL]DFU-BLE-Connected
I: BLE Connected
I: 824017 [DL]DFU Image upload started
D: 900361 [DIS]Extended discovery timed out
I: 900367 [DIS]Updating services using commissioning mode 0
E: 900373 [DIS]Failed to remove advertised services: 3
E: 900378 [DIS]Failed to finalize service update: 3
I: Current OTA Stage = 13
I: 1063420 [DL]Image 2 download completed successfully
I: Current OTA Stage = 14
I: 1063452 [DL]DFU-BLE-Disconnected : 19
E: Sending UART cmd st 0
I: BLE Name set: HU:2F29 errCode: 0
I: 1063464 [SWU]SMP BLE advertising started
I: 1063468 [DL]DFU over SMP started
I: BLE Disconnected: 13
I: 1083100 [DL]DFU-BLE-Connected
I: BLE Connected
Swap type: none
Swap type: none
Swap type: none
I: 1083398 [DL]DFU-BLE-Disconnected : 19
E: Sending UART cmd st 0
I: BLE Name set: HU:2F29 errCode: 0
I: 1083410 [SWU]SMP BLE advertising started
I: 1083414 [DL]DFU over SMP started
I: BLE Disconnected: 13
I: 1099274 [DL]DFU-BLE-Connected
I: BLE Connected
E: img_mgmt_find_by_hash Return i=1
E: cb cb
E: 96 96
E: 29 29
E: f f
E: d9 d9
E: a a
E: b7 b7
E: b b
E: 3e 3e
E: a1 a1
E: 45 45
E: aa aa
E: 46 46
E: 56 56
E: 19 19
E: 5d 5d
E: be be
E: 6e 6e
E: 4b 4b
E: eb eb
E: 7c 7c
E: e0 e0
E: bf bf
E: f0 f0
E: f4 f4
E: b8 b8
E: 18 18
E: e8 e8
E: 92 92
E: 53 53
E: 2 2
E: 82 82
E: img_mgmt_find_by_hash slot = 1, confirm = 1
E: area_id = 2, active = 0
E: Success 1
E: Success 2
writing magic; fa_id=2 off=0xeeff0 (0xeeff0)
writing image_ok; fa_id=2 off=0xeefe8 (0xeefe8)
writing swap_info; fa_id=2 off=0xeefd8 (0xeefd8), swap_type=0x3 image_num=0x0
E: Success 3
E: *** rc = 0 ***
E: img_mgmt_set_boot_next rc = 0
Swap type: perm
Swap type: perm
Swap type: none
E: img_mgmt_state_read rc = 0
I: 1099657 [DL]DFU-BLE-Disconnected : 19
E: Sending UART cmd st 0
I: BLE Name set: HU:2F29 errCode: 0
I: 1099670 [SWU]SMP BLE advertising started
I: 1099674 [DL]DFU over SMP started
I: BLE Disconnected: 13
I: 1137654 [DL]DFU-BLE-Connected
I: BLE Connected
E: img_mgmt_find_by_hash Continue
E: img_mgmt_find_by_hash Return i=3
E: 19 19
E: 64 64
E: b b
E: b1 b1
E: 5e 5e
E: dc dc
E: e6 e6
E: 77 77
E: 8c 8c
E: ef ef
E: 69 69
E: 20 20
E: 5f 5f
E: ae ae
E: 54 54
E: 61 61
E: a3 a3
E: 99 99
E: ff ff
E: 7c 7c
E: 4d 4d
E: 65 65
E: f3 f3
E: 4c 4c
E: 53 53
E: 6c 6c
E: 37 37
E: 88 88
E: 2f 2f
E: e1 e1
E: 39 39
E: 7e 7e
E: img_mgmt_find_by_hash slot = 3, confirm = 1
E: area_id = 8, active = 0
E: Success 1
E: Success 2
writing magic; fa_id=8 off=0x3fff0 (0x12eff0)
writing image_ok; fa_id=8 off=0x3ffe8 (0x12efe8)
writing swap_info; fa_id=8 off=0x3ffd8 (0x12efd8), swap_type=0x3 image_num=0x0
E: Success 3
E: *** rc = 0 ***
E: img_mgmt_set_boot_next rc = 0
Swap type: perm
Swap type: perm
Swap type: perm
E: img_mgmt_state_read rc = 0
I: 1138034 [DL]DFU-BLE-Disconnected : 19
E: Sending UART cmd st 0
I: BLE Name set: HU:2F29 errCode: 0
I: 1138047 [SWU]SMP BLE advertising started
I: 1138051 [DL]DFU over SMP started
I: BLE Disconnected: 13
I: 1170154 [DL]DFU-BLE-Connected
I: BLE Connected
in os_mgmt_reset
in os_mgmt_reset, Timer Register
I: 1170434 [DL]DFU-BLE-Disconnected : 19
E: Sending UART cmd st 0
I: BLE Name set: HU:2F29 errCode: 0
I: 1170447 [SWU]SMP BLE advertising started
I: 1170451 [DL]DFU over SMP started
I: BLE Disconnected: 13
in os_mgmt_reset_cb
os_mgmt_reset_work_handler: System Rebooted
*** Booting Zephyr OS build v3.3.99-ncs1-1 ***
Starting bootloader
Swap type: perm
Swap type: perm
writing magic; fa_id=4 off=0xeeff0 (0xf6ff0)
writing magic; fa_id=1 off=0x3fff0 (0x3fff0)
Bootloader chainload address offset: 0x8000
Jumping to the first image slot
Start Do_Boot


uart:~$ *** Booting Zephyr OS build v3.3.99-ncs1-1 ***
I: KWIKSET HALO 3 VERSION: 00.03.01.00
I: Init CHIP stack
I: 159 [DL]BLE address: E4:3D:9E:A9:5F:90
I: Board config kwiksetmdb_nrf5340_cpuapp
I: IMAGE_VERSION 0.3.1+0
I: build time: Nov 30 2023 17:44:53
E: ====    Matter FW Ver: 0.3.1    ====
I: 198 [DL]OpenThread SED interval is 1000ms
I: 205 [DL]OpenThread started: OK
I: 208 [DL]Setting OpenThread device type to SLEEPY END DEVICE
I: 216 [SWU]DFU_BLEAdvertising_Init 
Swap type: none
I: 223 [SVR]Subscription persistence not supported
I: 227 [SVR]Server initializing...
I: 232 [TS]Last Known Good Time: 2023-11-30T17:43:12
I: 238 [DMG]AccessControl: initializing
I: 242 [DMG]Examples::AccessControlDelegate::Init
I: 247 [DMG]AccessControl: setting
I: 251 [DMG]DefaultAclStorage: initializing
I: 255 [DMG]DefaultAclStorage: 0 entries loaded
D: 260 [IN]UDP::Init bind&amp;amp;listen port=5540
E: 265 [IN]SO_REUSEPORT failed: 109
D: 269 [IN]UDP::Init bound to port=5540
D: 273 [IN]BLEBase::Init - setting/overriding transport
D: 278 [IN]TransportMgr initialized
D: 285 [DL]Using Thread extended MAC for hostname.
I: 292 [ZCL]Using ZAP configuration...
I: 298 [DMG]AccessControlCluster: initializing
D: 303 [DL]Boot reason: 6
I: 306 [ZCL]Initiating Admin Commissioning cluster.
I: 311 [ZCL]Door Lock server initialized
I: 316 [ZCL]Door Lock cluster initialized at endpoint #1
I: 322 [DIS]Updating services using commissioning mode 0
E: 328 [DIS]Failed to remove advertised services: 3
D: 334 [DL]Using Thread extended MAC for hostname.
I: 339 [DIS]Advertise commission parameter vendorID=65521 productID=32774 discriminator=3840/15 cm=0
E: 348 [DIS]Failed to advertise extended commissionable node: 3
D: 355 [DIS]Scheduling extended discovery timeout in 900s
E: 362 [DIS]Failed to finalize service update: 3
I: 367 [DIS]Delaying proxy of operational discovery: missing delegate
I: 373 [IN]CASE Server enabling CASE session setups
D: 380 [IN]SecureSession[0x200049f0]: Allocated Type:2 LSID:7175
I: 387 [SVR]Joining Multicast groups
I: 391 [SVR]Server Listening...
I: 394 [DL]Device Configuration:
I: 397 [DL]  Serial Number: 11223344556677889900
I: 403 [DL]  Vendor Id: 65521 (0xFFF1)
I: 407 [DL]  Product Id: 32774 (0x8006)
I: 411 [DL]  Product Name: not-specified
I: 415 [DL]  Hardware Version: 0
I: 418 [DL]  Setup Pin Code (0 for UNKNOWN/ERROR): 20202021
I: 425 [DL]  Setup Discriminator (0xFFFF for UNKNOWN/ERROR): 3840 (0xF00)
I: 433 [DL]  Manufacturing Date: 2022-01-01
I: 437 [DL]  Device Type: 65535 (0xFFFF)
I: 442 [SVR]SetupQRCode: [MT:8IXS142C00KA0648G00]
I: 447 [SVR]Copy/paste the below URL in a browser to see the QR Code:
I: 453 [SVR]https://project-chip.github.io/connectedhomeip/qrcode.html?data=MT%3A8IXS142C00KA0648G00
I: 465 [SVR]Manual pairing code: [34970112332]
I: 474 [DL]CHIP task running
I: 477 [DIS]Updating services using commissioning mode 0
E: 482 [DIS]Failed to remove advertised services: 3
D: 488 [DL]Using Thread extended MAC for hostname.
I: 494 [DIS]Advertise commission parameter vendorID=65521 productID=32774 discriminator=3840/15 cm=0
E: 503 [DIS]Failed to advertise extended commissionable node: 3
E: 510 [DIS]Failed to finalize service update: 3
I: FW Ver: 0.3.1+0; version: 00030100
I: Device has NOT gone through provisioning
I: network state 0
E: Sending UART cmd st 0
I: BLE Device ID: 2f29
I: Current OTA Stage = 10
I: dfu_header_data.image_count: 2
E: Sending UART cmd st 0
I: BLE Name set: HU:2F29 errCode: 0
I: 15701 [SWU]SMP BLE advertising started
I: 15705 [DL]DFU over SMP started
I: IMG Integrity Verified Successfully: 0
I: IMG Integrity Verified Successfully: 1
I: Current OTA Stage = 16
I: OTA device_id = 5 : DISCOVERY_REQ
I: SECURE_STM : DISCOVERY_REQ
I: OTA device_id = 5 : FW_VERSION_REQ
I: Secure STM Firmware Version: 2 0 1 1
I: OTA device_id = 5 : FW_UPDATE_START_REQ
I: SECURE_STM : IB_FW_UPDATE_START_REQUEST
I: STM OTA Progress = 10
I: STM OTA Progress = 20
I: STM OTA Progress = 30
I: STM OTA Progress = 40
I: STM OTA Progress = 50
I: STM OTA Progress = 60
I: STM OTA Progress = 70
I: STM OTA Progress = 80
I: STM OTA Progress = 90
I: STM OTA Progress = 100
I: OTA device_id = 5 : FW_UPDATE_REBOOT_REQ
I: SECURE_STM : REBOOT_COMMAND
I: STM Rebooted, MCUBoot Verifying Image
I: OTA device_id = 5 : FW_VERSION_REQ
I: Secure STM Firmware Version: 2 0 1 2
I: OTA device_id = 5 : FW_UPDATE_COMPLETE_REQ
I: SECURE_STM : IB_FW_UPDATE_COMPLETE_REQUEST
I: OTA device_id = 5 : FW_UPDATE_REBOOT_REQ
I: SECURE_STM : REBOOT_COMMAND
I: STM Rebooted, MCUBoot Confirming Image
I: OTA device_id = 5 : FW_VERSION_REQ
I: Secure STM Firmware Version: 2 0 1 2
I: STM Secure OTA Successful
I: Clear STM OTA Meta Data
I: Current OTA Stage = 17
I: Redpine OTA started
I: Current OTA Stage = 18
I: OTA device_id = 4 : DISCOVERY_REQ
I: STM_QSPI : IB_DEVICE_DISCOVERY_REQUEST
I: OTA device_id = 4 : FW_VERSION_REQ
I: STM_QSPI : IB_FW_VERSION_REQUEST
I: Redpine Firmware Version: 2.1.255.191
I: OTA device_id = 4 : FW_UPDATE_START_REQ
I: STM_QSPI : IB_FW_UPDATE_START_REQUEST
I: Redpine Image Stored into STM QSPI, Progress = 10
I: Redpine Image Stored into STM QSPI, Progress = 20
I: Redpine Image Stored into STM QSPI, Progress = 30
I: Redpine Image Stored into STM QSPI, Progress = 40
I: Redpine Image Stored into STM QSPI, Progress = 50
I: Redpine Image Stored into STM QSPI, Progress = 60
I: Redpine Image Stored into STM QSPI, Progress = 70
I: Redpine Image Stored into STM QSPI, Progress = 80
I: Redpine Image Stored into STM QSPI, Progress = 90
I: Redpine Image Stored into STM QSPI, Progress = 100
I: OTA device_id = 4 : FW_UPDATE_COMPLETE_REQ
I: STM_QSPI : IB_FW_UPDATE_COMPLETE_REQUEST
I: STM_QSPI : STM QSPI to Redpine SPI Image Transfer Ongoing (0)
I: STM_QSPI : STM QSPI to Redpine SPI Image Transfer Ongoing (10)
I: STM_QSPI : STM QSPI to Redpine SPI Image Transfer Ongoing (20)
I: STM_QSPI : STM QSPI to Redpine SPI Image Transfer Ongoing (30)
I: STM_QSPI : STM QSPI to Redpine SPI Image Transfer Ongoing (40)
I: STM_QSPI : STM QSPI to Redpine SPI Image Transfer Ongoing (50)
I: STM_QSPI : STM QSPI to Redpine SPI Image Transfer Ongoing (60)
I: STM_QSPI : STM QSPI to Redpine SPI Image Transfer Ongoing (70)
I: STM_QSPI : STM QSPI to Redpine SPI Image Transfer Ongoing (80)
I: STM_QSPI : STM QSPI to Redpine SPI Image Transfer Ongoing (90)
I: STM_QSPI : STM QSPI to Redpine SPI Image Transfer Ongoing (100)
I: STM_QSPI : IB_FW_UPDATE_REBOOT_REQUEST
I: Clear Redpine OTA Meta Data
I: Current OTA Stage = 24
I: Start to Erase OTA Bundle Image from External Flash
I: Erasing bundle from nRF Ext. Flash
I: Bundle Image Erased from nRF Ext. Flash: 0
I: Current OTA Stage = 25
I: FW Ver: 0.3.1+0; version: 00030100
I: 598274 [DL]DFU-BLE-Connected
I: BLE Connected
Swap type: none
I: 598558 [DL]DFU-BLE-Disconnected : 19
E: Sending UART cmd st 0
I: BLE Name set: HU:2F29 errCode: 0
I: 598571 [SWU]SMP BLE advertising started
I: 598574 [DL]DFU over SMP started
I: BLE Disconnected: 13
I: 615927 [DL]DFU-BLE-Connected
I: BLE Connected
I: 616218 [DL]DFU Image upload started
I: Current OTA Stage = 11
I: 629358 [DL]Image 0 download completed successfully
I: 629386 [DL]DFU-BLE-Disconnected : 19
E: Sending UART cmd st 0
I: BLE Name set: HU:2F29 errCode: 0
I: 629399 [SWU]SMP BLE advertising started
I: 629403 [DL]DFU over SMP started
I: BLE Disconnected: 13
I: 678701 [DL]DFU-BLE-Connected
I: BLE Connected
Swap type: none
I: 678988 [DL]DFU Image upload started
I: Current OTA Stage = 12
I: 768664 [DL]Image 1 download completed successfully
I: 768690 [DL]DFU-BLE-Disconnected : 19
E: Sending UART cmd st 0
I: BLE Name set: HU:2F29 errCode: 0
I: 768702 [SWU]SMP BLE advertising started
I: 768707 [DL]DFU over SMP started
I: BLE Disconnected: 13
I: 803382 [DL]DFU-BLE-Connected
I: BLE Connected
I: 822251 [DL]DFU Image upload started
D: 900361 [DIS]Extended discovery timed out
I: 900367 [DIS]Updating services using commissioning mode 0
E: 900374 [DIS]Failed to remove advertised services: 3
E: 900379 [DIS]Failed to finalize service update: 3
I: Current OTA Stage = 13
I: 1061206 [DL]Image 2 download completed successfully
I: Current OTA Stage = 14
I: 1061238 [DL]DFU-BLE-Disconnected : 19
E: Sending UART cmd st 0
I: BLE Name set: HU:2F29 errCode: 0
I: 1061251 [SWU]SMP BLE advertising started
I: 1061255 [DL]DFU over SMP started
I: BLE Disconnected: 13
I: 1083213 [DL]DFU-BLE-Connected
I: BLE Connected
Swap type: none
Swap type: none
Swap type: none
I: 1083517 [DL]DFU-BLE-Disconnected : 19
E: Sending UART cmd st 0
I: BLE Name set: HU:2F29 errCode: 0
I: 1083529 [SWU]SMP BLE advertising started
I: 1083534 [DL]DFU over SMP started
I: BLE Disconnected: 13
I: 1099892 [DL]DFU-BLE-Connected
I: BLE Connected
E: img_mgmt_find_by_hash Return i=1
E: a4 a4
E: 1d 1d
E: 1e 1e
E: a8 a8
E: b8 b8
E: 1d 1d
E: 72 72
E: 1b 1b
E: c0 c0
E: 13 13
E: cc cc
E: 3e 3e
E: d6 d6
E: e7 e7
E: 2f 2f
E: d4 d4
E: 4c 4c
E: 9 9
E: 25 25
E: 26 26
E: d1 d1
E: df df
E: b3 b3
E: 7b 7b
E: 1d 1d
E: f3 f3
E: b1 b1
E: db db
E: 4b 4b
E: 7c 7c
E: c3 c3
E: b4 b4
E: img_mgmt_find_by_hash slot = 1, confirm = 1
E: area_id = 2, active = 0
E: Success 1
E: Success 2
writing magic; fa_id=2 off=0xeeff0 (0xeeff0)
writing image_ok; fa_id=2 off=0xeefe8 (0xeefe8)
writing swap_info; fa_id=2 off=0xeefd8 (0xeefd8), swap_type=0x3 image_num=0x0
E: Success 3
E: *** rc = 0 ***
E: img_mgmt_set_boot_next rc = 0
Swap type: perm
Swap type: perm
Swap type: none
E: img_mgmt_state_read rc = 0
I: 1100271 [DL]DFU-BLE-Disconnected : 19
E: Sending UART cmd st 0
I: BLE Name set: HU:2F29 errCode: 0
I: 1100284 [SWU]SMP BLE advertising started
I: 1100289 [DL]DFU over SMP started
I: BLE Disconnected: 13
I: 1137795 [DL]DFU-BLE-Connected
I: BLE Connected
E: img_mgmt_find_by_hash Continue
E: img_mgmt_find_by_hash Return i=3
E: 9 9
E: 4 4
E: ba ba
E: 45 45
E: 18 18
E: a a
E: c3 c3
E: 6d 6d
E: 87 87
E: da da
E: c3 c3
E: ec ec
E: f2 f2
E: d d
E: 73 73
E: b1 b1
E: 9b 9b
E: f4 f4
E: 52 52
E: 8b 8b
E: 67 67
E: 23 23
E: 29 29
E: 47 47
E: 9 9
E: 40 40
E: 93 93
E: 98 98
E: d7 d7
E: 3b 3b
E: 9c 9c
E: 12 12
E: img_mgmt_find_by_hash slot = 3, confirm = 1
E: area_id = 8, active = 0
E: Success 1
E: Success 2
writing magic; fa_id=8 off=0x3fff0 (0x12eff0)
writing image_ok; fa_id=8 off=0x3ffe8 (0x12efe8)
writing swap_info; fa_id=8 off=0x3ffd8 (0x12efd8), swap_type=0x3 image_num=0x0
E: Success 3
E: *** rc = 0 ***
E: img_mgmt_set_boot_next rc = 0
Swap type: perm
Swap type: perm
Swap type: perm
E: img_mgmt_state_read rc = 0
I: 1138191 [DL]DFU-BLE-Disconnected : 19
E: Sending UART cmd st 0
I: BLE Name set: HU:2F29 errCode: 0
I: 1138204 [SWU]SMP BLE advertising started
I: 1138208 [DL]DFU over SMP started
I: BLE Disconnected: 13
I: 1170610 [DL]DFU-BLE-Connected
I: BLE Connected
in os_mgmt_reset
in os_mgmt_reset, Timer Register
I: 1170883 [DL]DFU-BLE-Disconnected : 19
E: Sending UART cmd st 0
I: BLE Name set: HU:2F29 errCode: 0
I: 1170896 [SWU]SMP BLE advertising started
I: 1170900 [DL]DFU over SMP started
I: BLE Disconnected: 13
in os_mgmt_reset_cb
os_mgmt_reset_work_handler: System Rebooted
*** Booting Zephyr OS build v3.3.99-ncs1-1 ***
Starting bootloader
Swap type: perm
Swap type: perm
writing magic; fa_id=4 off=0xeeff0 (0xf6ff0)
writing magic; fa_id=1 off=0x3fff0 (0x3fff0)
Bootloader chainload address offset: 0x8000
Jumping to the first image slot
Start Do_Boot


uart:~$ *** Booting Zephyr OS build v3.3.99-ncs1-1 ***
I: KWIKSET HALO 3 VERSION: 00.03.00.00
I: Init CHIP stack
I: 159 [DL]BLE address: FC:FD:48:69:91:DD
I: Board config kwiksetmdb_nrf5340_cpuapp
I: IMAGE_VERSION 0.3.0+0
I: build time: Nov 30 2023 11:09:14
E: ====    Matter FW Ver: 0.3.0    ====
I: 198 [DL]OpenThread SED interval is 1000ms
I: 205 [DL]OpenThread started: OK
I: 208 [DL]Setting OpenThread device type to SLEEPY END DEVICE
I: 216 [SWU]DFU_BLEAdvertising_Init 
Swap type: none
I: 223 [SVR]Subscription persistence not supported
I: 227 [SVR]Server initializing...
I: 232 [TS]Last Known Good Time: 2023-11-30T17:43:12
I: 238 [DMG]AccessControl: initializing
I: 242 [DMG]Examples::AccessControlDelegate::Init
I: 247 [DMG]AccessControl: setting
I: 251 [DMG]DefaultAclStorage: initializing
I: 255 [DMG]DefaultAclStorage: 0 entries loaded
D: 260 [IN]UDP::Init bind&amp;amp;listen port=5540
E: 265 [IN]SO_REUSEPORT failed: 109
D: 269 [IN]UDP::Init bound to port=5540
D: 273 [IN]BLEBase::Init - setting/overriding transport
D: 278 [IN]TransportMgr initialized
D: 286 [DL]Using Thread extended MAC for hostname.
I: 292 [ZCL]Using ZAP configuration...
I: 298 [DMG]AccessControlCluster: initializing
D: 303 [DL]Boot reason: 6
I: 306 [ZCL]Initiating Admin Commissioning cluster.
I: 311 [ZCL]Door Lock server initialized
I: 316 [ZCL]Door Lock cluster initialized at endpoint #1
I: 322 [DIS]Updating services using commissioning mode 0
E: 328 [DIS]Failed to remove advertised services: 3
D: 334 [DL]Using Thread extended MAC for hostname.
I: 339 [DIS]Advertise commission parameter vendorID=65521 productID=32774 discriminator=3840/15 cm=0
E: 348 [DIS]Failed to advertise extended commissionable node: 3
D: 355 [DIS]Scheduling extended discovery timeout in 900s
E: 362 [DIS]Failed to finalize service update: 3
I: 367 [DIS]Delaying proxy of operational discovery: missing delegate
I: 373 [IN]CASE Server enabling CASE session setups
D: 380 [IN]SecureSession[0x200049f0]: Allocated Type:2 LSID:11556
I: 386 [SVR]Joining Multicast groups
I: 391 [SVR]Server Listening...
I: 394 [DL]Device Configuration:
I: 397 [DL]  Serial Number: 11223344556677889900
I: 402 [DL]  Vendor Id: 65521 (0xFFF1)
I: 406 [DL]  Product Id: 32774 (0x8006)
I: 411 [DL]  Product Name: not-specified
I: 415 [DL]  Hardware Version: 0
I: 418 [DL]  Setup Pin Code (0 for UNKNOWN/ERROR): 20202021
I: 424 [DL]  Setup Discriminator (0xFFFF for UNKNOWN/ERROR): 3840 (0xF00)
I: 432 [DL]  Manufacturing Date: 2022-01-01
I: 437 [DL]  Device Type: 65535 (0xFFFF)
I: 442 [SVR]SetupQRCode: [MT:8IXS142C00KA0648G00]
I: 447 [SVR]Copy/paste the below URL in a browser to see the QR Code:
I: 454 [SVR]https://project-chip.github.io/connectedhomeip/qrcode.html?data=MT%3A8IXS142C00KA0648G00
I: 464 [SVR]Manual pairing code: [34970112332]
I: 474 [DL]CHIP task running
I: 477 [DIS]Updating services using commissioning mode 0
E: 482 [DIS]Failed to remove advertised services: 3
D: 488 [DL]Using Thread extended MAC for hostname.
I: 494 [DIS]Advertise commission parameter vendorID=65521 productID=32774 discriminator=3840/15 cm=0
E: 503 [DIS]Failed to advertise extended commissionable node: 3
E: 510 [DIS]Failed to finalize service update: 3
I: FW Ver: 0.3.0+0; version: 00030000
I: Device has NOT gone through provisioning
I: network state 0
E: Sending UART cmd st 0
I: BLE Device ID: 2f29
I: Current OTA Stage = 10
I: dfu_header_data.image_count: 2
E: Sending UART cmd st 0
I: BLE Name set: HU:2F29 errCode: 0
I: 15701 [SWU]SMP BLE advertising started
I: 15705 [DL]DFU over SMP started
I: IMG Integrity Verified Successfully: 0
I: IMG Integrity Verified Successfully: 1
I: Current OTA Stage = 16
I: OTA device_id = 5 : DISCOVERY_REQ
I: SECURE_STM : DISCOVERY_REQ
I: OTA device_id = 5 : FW_VERSION_REQ
I: Secure STM Firmware Version: 2 0 1 2
I: OTA device_id = 5 : FW_UPDATE_START_REQ
I: SECURE_STM : IB_FW_UPDATE_START_REQUEST
I: STM OTA Progress = 10
I: STM OTA Progress = 20
I: STM OTA Progress = 30
I: STM OTA Progress = 40
I: STM OTA Progress = 50
I: STM OTA Progress = 60
I: STM OTA Progress = 70
I: STM OTA Progress = 80
I: STM OTA Progress = 90
I: STM OTA Progress = 100
I: OTA device_id = 5 : FW_UPDATE_REBOOT_REQ
I: SECURE_STM : REBOOT_COMMAND
I: STM Rebooted, MCUBoot Verifying Image
I: OTA device_id = 5 : FW_VERSION_REQ
I: Secure STM Firmware Version: 2 0 1 1
I: OTA device_id = 5 : FW_UPDATE_COMPLETE_REQ
I: SECURE_STM : IB_FW_UPDATE_COMPLETE_REQUEST
I: OTA device_id = 5 : FW_UPDATE_REBOOT_REQ
I: SECURE_STM : REBOOT_COMMAND
I: STM Rebooted, MCUBoot Confirming Image
I: OTA device_id = 5 : FW_VERSION_REQ
I: Secure STM Firmware Version: 2 0 1 1
I: STM Secure OTA Successful
I: Clear STM OTA Meta Data
I: Current OTA Stage = 17
I: Redpine OTA started
I: Current OTA Stage = 18
I: OTA device_id = 4 : DISCOVERY_REQ
I: STM_QSPI : IB_DEVICE_DISCOVERY_REQUEST
I: OTA device_id = 4 : FW_VERSION_REQ
I: STM_QSPI : IB_FW_VERSION_REQUEST
I: Redpine Firmware Version: 2.1.255.191
I: OTA device_id = 4 : FW_UPDATE_START_REQ
I: STM_QSPI : IB_FW_UPDATE_START_REQUEST
I: Redpine Image Stored into STM QSPI, Progress = 10
I: Redpine Image Stored into STM QSPI, Progress = 20
I: Redpine Image Stored into STM QSPI, Progress = 30
I: Redpine Image Stored into STM QSPI, Progress = 40
I: Redpine Image Stored into STM QSPI, Progress = 50
I: Redpine Image Stored into STM QSPI, Progress = 60
I: Redpine Image Stored into STM QSPI, Progress = 70
I: Redpine Image Stored into STM QSPI, Progress = 80
I: Redpine Image Stored into STM QSPI, Progress = 90
I: Redpine Image Stored into STM QSPI, Progress = 100
I: OTA device_id = 4 : FW_UPDATE_COMPLETE_REQ
I: STM_QSPI : IB_FW_UPDATE_COMPLETE_REQUEST
I: STM_QSPI : STM QSPI to Redpine SPI Image Transfer Ongoing (0)
I: STM_QSPI : STM QSPI to Redpine SPI Image Transfer Ongoing (10)
I: STM_QSPI : STM QSPI to Redpine SPI Image Transfer Ongoing (20)
I: STM_QSPI : STM QSPI to Redpine SPI Image Transfer Ongoing (30)
I: STM_QSPI : STM QSPI to Redpine SPI Image Transfer Ongoing (40)
I: STM_QSPI : STM QSPI to Redpine SPI Image Transfer Ongoing (50)
I: STM_QSPI : STM QSPI to Redpine SPI Image Transfer Ongoing (60)
I: STM_QSPI : STM QSPI to Redpine SPI Image Transfer Ongoing (70)
I: STM_QSPI : STM QSPI to Redpine SPI Image Transfer Ongoing (80)
I: STM_QSPI : STM QSPI to Redpine SPI Image Transfer Ongoing (90)
I: STM_QSPI : STM QSPI to Redpine SPI Image Transfer Ongoing (100)
I: STM_QSPI : IB_FW_UPDATE_REBOOT_REQUEST
I: Clear Redpine OTA Meta Data
I: Current OTA Stage = 24
I: Start to Erase OTA Bundle Image from External Flash
I: Erasing bundle from nRF Ext. Flash
I: Bundle Image Erased from nRF Ext. Flash: 0
I: Current OTA Stage = 25
I: FW Ver: 0.3.0+0; version: 00030000
I: 598641 [DL]DFU-BLE-Connected
I: BLE Connected
Swap type: none
I: 598919 [DL]DFU-BLE-Disconnected : 19
E: Sending UART cmd st 0
I: BLE Name set: HU:2F29 errCode: 0
I: 598931 [SWU]SMP BLE advertising started
I: 598935 [DL]DFU over SMP started
I: BLE Disconnected: 13
I: 616294 [DL]DFU-BLE-Connected
I: BLE Connected
I: 616572 [DL]DFU Image upload started
I: Current OTA Stage = 11
I: 629808 [DL]Image 0 download completed successfully
I: 629837 [DL]DFU-BLE-Disconnected : 19
E: Sending UART cmd st 0
I: BLE Name set: HU:2F29 errCode: 0
I: 629850 [SWU]SMP BLE advertising started
I: 629854 [DL]DFU over SMP started
I: BLE Disconnected: 13
I: 679770 [DL]DFU-BLE-Connected
I: BLE Connected
Swap type: none
I: 680061 [DL]DFU Image upload started
I: Current OTA Stage = 12
I: 769340 [DL]Image 1 download completed successfully
I: 769365 [DL]DFU-BLE-Disconnected : 19
E: Sending UART cmd st 0
I: BLE Name set: HU:2F29 errCode: 0
I: 769378 [SWU]SMP BLE advertising started
I: 769382 [DL]DFU over SMP started
I: BLE Disconnected: 13
I: 803788 [DL]DFU-BLE-Connected
I: BLE Connected
I: 822636 [DL]DFU Image upload started
D: 900361 [DIS]Extended discovery timed out
I: 900365 [DIS]Updating services using commissioning mode 0
E: 900372 [DIS]Failed to remove advertised services: 3
E: 900377 [DIS]Failed to finalize service update: 3
I: Current OTA Stage = 13
I: 1061274 [DL]Image 2 download completed successfully
I: Current OTA Stage = 14
I: 1061307 [DL]DFU-BLE-Disconnected : 19
E: Sending UART cmd st 0
I: BLE Name set: HU:2F29 errCode: 0
I: 1061319 [SWU]SMP BLE advertising started
I: 1061323 [DL]DFU over SMP started
I: BLE Disconnected: 13
I: 1083270 [DL]DFU-BLE-Connected
I: BLE Connected
Swap type: none
Swap type: none
Swap type: none
I: 1083585 [DL]DFU-BLE-Disconnected : 19
E: Sending UART cmd st 0
I: BLE Name set: HU:2F29 errCode: 0
I: 1083598 [SWU]SMP BLE advertising started
I: 1083602 [DL]DFU over SMP started
I: BLE Disconnected: 13
I: 1099931 [DL]DFU-BLE-Connected
I: BLE Connected
E: img_mgmt_find_by_hash Return i=1
E: cb cb
E: 96 96
E: 29 29
E: f f
E: d9 d9
E: a a
E: b7 b7
E: b b
E: 3e 3e
E: a1 a1
E: 45 45
E: aa aa
E: 46 46
E: 56 56
E: 19 19
E: 5d 5d
E: be be
E: 6e 6e
E: 4b 4b
E: eb eb
E: 7c 7c
E: e0 e0
E: bf bf
E: f0 f0
E: f4 f4
E: b8 b8
E: 18 18
E: e8 e8
E: 92 92
E: 53 53
E: 2 2
E: 82 82
E: img_mgmt_find_by_hash slot = 1, confirm = 1
E: area_id = 2, active = 0
E: Success 1
E: Success 2
writing magic; fa_id=2 off=0xeeff0 (0xeeff0)
writing image_ok; fa_id=2 off=0xeefe8 (0xeefe8)
writing swap_info; fa_id=2 off=0xeefd8 (0xeefd8), swap_type=0x3 image_num=0x0
E: Success 3
E: *** rc = 0 ***
E: img_mgmt_set_boot_next rc = 0
Swap type: perm
Swap type: perm
Swap type: none
E: img_mgmt_state_read rc = 0
I: 1100295 [DL]DFU-BLE-Disconnected : 19
E: Sending UART cmd st 0
I: BLE Name set: HU:2F29 errCode: 0
I: 1100307 [SWU]SMP BLE advertising started
I: 1100312 [DL]DFU over SMP started
I: BLE Disconnected: 13
I: 1138108 [DL]DFU-BLE-Connected
I: BLE Connected
E: img_mgmt_find_by_hash Continue
E: img_mgmt_find_by_hash Return i=3
E: 19 19
E: 64 64
E: b b
E: b1 b1
E: 5e 5e
E: dc dc
E: e6 e6
E: 77 77
E: 8c 8c
E: ef ef
E: 69 69
E: 20 20
E: 5f 5f
E: ae ae
E: 54 54
E: 61 61
E: a3 a3
E: 99 99
E: ff ff
E: 7c 7c
E: 4d 4d
E: 65 65
E: f3 f3
E: 4c 4c
E: 53 53
E: 6c 6c
E: 37 37
E: 88 88
E: 2f 2f
E: e1 e1
E: 39 39
E: 7e 7e
E: img_mgmt_find_by_hash slot = 3, confirm = 1
E: area_id = 8, active = 0
E: Success 1
E: Success 2
writing magic; fa_id=8 off=0x3fff0 (0x12eff0)
writing image_ok; fa_id=8 off=0x3ffe8 (0x12efe8)
writing swap_info; fa_id=8 off=0x3ffd8 (0x12efd8), swap_type=0x3 image_num=0x0
E: Success 3
E: *** rc = 0 ***
E: img_mgmt_set_boot_next rc = 0
Swap type: perm
Swap type: perm
Swap type: perm
E: img_mgmt_state_read rc = 0
I: 1138477 [DL]DFU-BLE-Disconnected : 19
E: Sending UART cmd st 0
I: BLE Name set: HU:2F29 errCode: 0
I: 1138490 [SWU]SMP BLE advertising started
I: 1138493 [DL]DFU over SMP started
I: BLE Disconnected: 13
I: 1170394 [DL]DFU-BLE-Connected
I: BLE Connected
in os_mgmt_reset
in os_mgmt_reset, Timer Register
I: 1170666 [DL]DFU-BLE-Disconnected : 19
E: Sending UART cmd st 0
I: BLE Name set: HU:2F29 errCode: 0
I: 1170679 [SWU]SMP BLE advertising started
I: 1170683 [DL]DFU over SMP started
I: BLE Disconnected: 13
in os_mgmt_reset_cb
os_mgmt_reset_work_handler: System Rebooted
*** Booting Zephyr OS build v3.3.99-ncs1-1 ***
Starting bootloader
Swap type: perm
Swap type: perm
writing magic; fa_id=4 off=0xeeff0 (0xf6ff0)
writing magic; fa_id=1 off=0x3fff0 (0x3fff0)
Bootloader chainload address offset: 0x8000
Jumping to the first image slot
Start Do_Boot


uart:~$ *** Booting Zephyr OS build v3.3.99-ncs1-1 ***
I: KWIKSET HALO 3 VERSION: 00.03.01.00
I: Init CHIP stack
I: 159 [DL]BLE address: E9:19:34:18:8D:BA
I: Board config kwiksetmdb_nrf5340_cpuapp
I: IMAGE_VERSION 0.3.1+0
I: build time: Nov 30 2023 17:44:53
E: ====    Matter FW Ver: 0.3.1    ====
I: 198 [DL]OpenThread SED interval is 1000ms
I: 205 [DL]OpenThread started: OK
I: 208 [DL]Setting OpenThread device type to SLEEPY END DEVICE
I: 216 [SWU]DFU_BLEAdvertising_Init 
Swap type: none
I: 223 [SVR]Subscription persistence not supported
I: 228 [SVR]Server initializing...
I: 232 [TS]Last Known Good Time: 2023-11-30T17:43:12
I: 238 [DMG]AccessControl: initializing
I: 242 [DMG]Examples::AccessControlDelegate::Init
I: 247 [DMG]AccessControl: setting
I: 251 [DMG]DefaultAclStorage: initializing
I: 255 [DMG]DefaultAclStorage: 0 entries loaded
D: 260 [IN]UDP::Init bind&amp;amp;listen port=5540
E: 265 [IN]SO_REUSEPORT failed: 109
D: 269 [IN]UDP::Init bound to port=5540
D: 273 [IN]BLEBase::Init - setting/overriding transport
D: 278 [IN]TransportMgr initialized
D: 285 [DL]Using Thread extended MAC for hostname.
I: 292 [ZCL]Using ZAP configuration...
I: 298 [DMG]AccessControlCluster: initializing
D: 303 [DL]Boot reason: 6
I: 306 [ZCL]Initiating Admin Commissioning cluster.
I: 311 [ZCL]Door Lock server initialized
I: 316 [ZCL]Door Lock cluster initialized at endpoint #1
I: 322 [DIS]Updating services using commissioning mode 0
E: 328 [DIS]Failed to remove advertised services: 3
D: 334 [DL]Using Thread extended MAC for hostname.
I: 339 [DIS]Advertise commission parameter vendorID=65521 productID=32774 discriminator=3840/15 cm=0
E: 348 [DIS]Failed to advertise extended commissionable node: 3
D: 355 [DIS]Scheduling extended discovery timeout in 900s
E: 362 [DIS]Failed to finalize service update: 3
I: 366 [DIS]Delaying proxy of operational discovery: missing delegate
I: 374 [IN]CASE Server enabling CASE session setups
D: 380 [IN]SecureSession[0x200049f0]: Allocated Type:2 LSID:31257
I: 386 [SVR]Joining Multicast groups
I: 391 [SVR]Server Listening...
I: 394 [DL]Device Configuration:
I: 397 [DL]  Serial Number: 11223344556677889900
I: 402 [DL]  Vendor Id: 65521 (0xFFF1)
I: 407 [DL]  Product Id: 32774 (0x8006)
I: 411 [DL]  Product Name: not-specified
I: 415 [DL]  Hardware Version: 0
I: 419 [DL]  Setup Pin Code (0 for UNKNOWN/ERROR): 20202021
I: 424 [DL]  Setup Discriminator (0xFFFF for UNKNOWN/ERROR): 3840 (0xF00)
I: 433 [DL]  Manufacturing Date: 2022-01-01
I: 437 [DL]  Device Type: 65535 (0xFFFF)
I: 442 [SVR]SetupQRCode: [MT:8IXS142C00KA0648G00]
I: 447 [SVR]Copy/paste the below URL in a browser to see the QR Code:
I: 453 [SVR]https://project-chip.github.io/connectedhomeip/qrcode.html?data=MT%3A8IXS142C00KA0648G00
I: 465 [SVR]Manual pairing code: [34970112332]
I: 474 [DL]CHIP task running
I: 477 [DIS]Updating services using commissioning mode 0
E: 482 [DIS]Failed to remove advertised services: 3
D: 488 [DL]Using Thread extended MAC for hostname.
I: 494 [DIS]Advertise commission parameter vendorID=65521 productID=32774 discriminator=3840/15 cm=0
E: 503 [DIS]Failed to advertise extended commissionable node: 3
E: 510 [DIS]Failed to finalize service update: 3
I: FW Ver: 0.3.1+0; version: 00030100
I: Device has NOT gone through provisioning
I: network state 0
E: Sending UART cmd st 0
I: BLE Device ID: 2f29
I: Current OTA Stage = 10
I: dfu_header_data.image_count: 2
E: Sending UART cmd st 0
I: BLE Name set: HU:2F29 errCode: 0
I: 15696 [SWU]SMP BLE advertising started
I: 15700 [DL]DFU over SMP started
I: IMG Integrity Verified Successfully: 0
I: IMG Integrity Verified Successfully: 1
I: Current OTA Stage = 16
I: OTA device_id = 5 : DISCOVERY_REQ
I: SECURE_STM : DISCOVERY_REQ
I: OTA device_id = 5 : FW_VERSION_REQ
I: Secure STM Firmware Version: 2 0 1 1
I: OTA device_id = 5 : FW_UPDATE_START_REQ
I: SECURE_STM : IB_FW_UPDATE_START_REQUEST
I: STM OTA Progress = 10
I: STM OTA Progress = 20
I: STM OTA Progress = 30
I: STM OTA Progress = 40
I: STM OTA Progress = 50
I: STM OTA Progress = 60
I: STM OTA Progress = 70
I: STM OTA Progress = 80
I: STM OTA Progress = 90
I: STM OTA Progress = 100
I: OTA device_id = 5 : FW_UPDATE_REBOOT_REQ
I: SECURE_STM : REBOOT_COMMAND
I: STM Rebooted, MCUBoot Verifying Image
I: OTA device_id = 5 : FW_VERSION_REQ
I: Secure STM Firmware Version: 2 0 1 2
I: OTA device_id = 5 : FW_UPDATE_COMPLETE_REQ
I: SECURE_STM : IB_FW_UPDATE_COMPLETE_REQUEST
I: OTA device_id = 5 : FW_UPDATE_REBOOT_REQ
I: SECURE_STM : REBOOT_COMMAND
I: STM Rebooted, MCUBoot Confirming Image
I: OTA device_id = 5 : FW_VERSION_REQ
I: Secure STM Firmware Version: 2 0 1 2
I: STM Secure OTA Successful
I: Clear STM OTA Meta Data
I: Current OTA Stage = 17
I: Redpine OTA started
I: Current OTA Stage = 18
I: OTA device_id = 4 : DISCOVERY_REQ
I: STM_QSPI : IB_DEVICE_DISCOVERY_REQUEST
I: OTA device_id = 4 : FW_VERSION_REQ
I: STM_QSPI : IB_FW_VERSION_REQUEST
I: Redpine Firmware Version: 2.1.255.191
I: OTA device_id = 4 : FW_UPDATE_START_REQ
I: STM_QSPI : IB_FW_UPDATE_START_REQUEST
I: Redpine Image Stored into STM QSPI, Progress = 10
I: Redpine Image Stored into STM QSPI, Progress = 20
I: Redpine Image Stored into STM QSPI, Progress = 30
I: Redpine Image Stored into STM QSPI, Progress = 40
I: Redpine Image Stored into STM QSPI, Progress = 50
I: Redpine Image Stored into STM QSPI, Progress = 60
I: Redpine Image Stored into STM QSPI, Progress = 70
I: Redpine Image Stored into STM QSPI, Progress = 80
I: Redpine Image Stored into STM QSPI, Progress = 90
I: Redpine Image Stored into STM QSPI, Progress = 100
I: OTA device_id = 4 : FW_UPDATE_COMPLETE_REQ
I: STM_QSPI : IB_FW_UPDATE_COMPLETE_REQUEST
I: STM_QSPI : STM QSPI to Redpine SPI Image Transfer Ongoing (0)
I: STM_QSPI : STM QSPI to Redpine SPI Image Transfer Ongoing (10)
I: STM_QSPI : STM QSPI to Redpine SPI Image Transfer Ongoing (20)
I: STM_QSPI : STM QSPI to Redpine SPI Image Transfer Ongoing (30)
I: STM_QSPI : STM QSPI to Redpine SPI Image Transfer Ongoing (40)
I: STM_QSPI : STM QSPI to Redpine SPI Image Transfer Ongoing (50)
I: STM_QSPI : STM QSPI to Redpine SPI Image Transfer Ongoing (60)
I: STM_QSPI : STM QSPI to Redpine SPI Image Transfer Ongoing (70)
I: STM_QSPI : STM QSPI to Redpine SPI Image Transfer Ongoing (80)
I: STM_QSPI : STM QSPI to Redpine SPI Image Transfer Ongoing (90)
I: STM_QSPI : STM QSPI to Redpine SPI Image Transfer Ongoing (100)
I: STM_QSPI : IB_FW_UPDATE_REBOOT_REQUEST
I: Clear Redpine OTA Meta Data
I: Current OTA Stage = 24
I: Start to Erase OTA Bundle Image from External Flash
I: Erasing bundle from nRF Ext. Flash
I: Bundle Image Erased from nRF Ext. Flash: 0
I: Current OTA Stage = 25
I: FW Ver: 0.3.1+0; version: 00030100
I: 598367 [DL]DFU-BLE-Connected
I: BLE Connected
Swap type: none
I: 598650 [DL]DFU-BLE-Disconnected : 19
E: Sending UART cmd st 0
I: BLE Name set: HU:2F29 errCode: 0
I: 598663 [SWU]SMP BLE advertising started
I: 598666 [DL]DFU over SMP started
I: BLE Disconnected: 13
I: 615728 [DL]DFU-BLE-Connected
I: BLE Connected
I: 616025 [DL]DFU Image upload started
I: Current OTA Stage = 11
I: 629236 [DL]Image 0 download completed successfully
I: 629265 [DL]DFU-BLE-Disconnected : 19
E: Sending UART cmd st 0
I: BLE Name set: HU:2F29 errCode: 0
I: 629277 [SWU]SMP BLE advertising started
I: 629281 [DL]DFU over SMP started
I: BLE Disconnected: 13
I: 678231 [DL]DFU-BLE-Connected
I: BLE Connected
Swap type: none
I: 678525 [DL]DFU Image upload started
I: Current OTA Stage = 12
I: 767609 [DL]Image 1 download completed successfully
I: 767634 [DL]DFU-BLE-Disconnected : 19
E: Sending UART cmd st 0
I: BLE Name set: HU:2F29 errCode: 0
I: 767647 [SWU]SMP BLE advertising started
I: 767651 [DL]DFU over SMP started
I: BLE Disconnected: 13
I: 801838 [DL]DFU-BLE-Connected
I: BLE Connected
I: 820686 [DL]DFU Image upload started
D: 900362 [DIS]Extended discovery timed out
I: 900366 [DIS]Updating services using commissioning mode 0
E: 900372 [DIS]Failed to remove advertised services: 3
E: 900378 [DIS]Failed to finalize service update: 3
I: Current OTA Stage = 13
I: 1059757 [DL]Image 2 download completed successfully
I: Current OTA Stage = 14
I: 1059789 [DL]DFU-BLE-Disconnected : 19
E: Sending UART cmd st 0
I: BLE Name set: HU:2F29 errCode: 0
I: 1059802 [SWU]SMP BLE advertising started
I: 1059807 [DL]DFU over SMP started
I: BLE Disconnected: 13
I: 1078923 [DL]DFU-BLE-Connected
I: BLE Connected
Swap type: none
Swap type: none
Swap type: none
I: 1079244 [DL]DFU-BLE-Disconnected : 19
E: Sending UART cmd st 0
I: BLE Name set: HU:2F29 errCode: 0
I: 1079256 [SWU]SMP BLE advertising started
I: 1079260 [DL]DFU over SMP started
I: BLE Disconnected: 13
I: 1096334 [DL]DFU-BLE-Connected
I: BLE Connected
E: img_mgmt_find_by_hash Return i=1
E: a4 a4
E: 1d 1d
E: 1e 1e
E: a8 a8
E: b8 b8
E: 1d 1d
E: 72 72
E: 1b 1b
E: c0 c0
E: 13 13
E: cc cc
E: 3e 3e
E: d6 d6
E: e7 e7
E: 2f 2f
E: d4 d4
E: 4c 4c
E: 9 9
E: 25 25
E: 26 26
E: d1 d1
E: df df
E: b3 b3
E: 7b 7b
E: 1d 1d
E: f3 f3
E: b1 b1
E: db db
E: 4b 4b
E: 7c 7c
E: c3 c3
E: b4 b4
E: img_mgmt_find_by_hash slot = 1, confirm = 1
E: area_id = 2, active = 0
E: Success 1
E: Success 2
writing magic; fa_id=2 off=0xeeff0 (0xeeff0)
writing image_ok; fa_id=2 off=0xeefe8 (0xeefe8)
writing swap_info; fa_id=2 off=0xeefd8 (0xeefd8), swap_type=0x3 image_num=0x0
E: Success 3
E: *** rc = 0 ***
E: img_mgmt_set_boot_next rc = 0
Swap type: perm
Swap type: perm
Swap type: none
E: img_mgmt_state_read rc = 0
I: 1096696 [DL]DFU-BLE-Disconnected : 19
E: Sending UART cmd st 0
I: BLE Name set: HU:2F29 errCode: 0
I: 1096709 [SWU]SMP BLE advertising started
I: 1096713 [DL]DFU over SMP started
I: BLE Disconnected: 13
I: 1133694 [DL]DFU-BLE-Connected
I: BLE Connected
E: img_mgmt_find_by_hash Continue
E: img_mgmt_find_by_hash Return i=3
E: 9 9
E: 4 4
E: ba ba
E: 45 45
E: 18 18
E: a a
E: c3 c3
E: 6d 6d
E: 87 87
E: da da
E: c3 c3
E: ec ec
E: f2 f2
E: d d
E: 73 73
E: b1 b1
E: 9b 9b
E: f4 f4
E: 52 52
E: 8b 8b
E: 67 67
E: 23 23
E: 29 29
E: 47 47
E: 9 9
E: 40 40
E: 93 93
E: 98 98
E: d7 d7
E: 3b 3b
E: 9c 9c
E: 12 12
E: img_mgmt_find_by_hash slot = 3, confirm = 1
E: area_id = 8, active = 0
E: Success 1
E: Success 2
writing magic; fa_id=8 off=0x3fff0 (0x12eff0)
writing image_ok; fa_id=8 off=0x3ffe8 (0x12efe8)
writing swap_info; fa_id=8 off=0x3ffd8 (0x12efd8), swap_type=0x3 image_num=0x0
E: Success 3
E: *** rc = 0 ***
E: img_mgmt_set_boot_next rc = 0
Swap type: perm
Swap type: perm
Swap type: perm
E: img_mgmt_state_read rc = 0
I: 1134076 [DL]DFU-BLE-Disconnected : 19
E: Sending UART cmd st 0
I: BLE Name set: HU:2F29 errCode: 0
I: 1134088 [SWU]SMP BLE advertising started
I: 1134092 [DL]DFU over SMP started
I: BLE Disconnected: 13
I: 1167736 [DL]DFU-BLE-Connected
I: BLE Connected
in os_mgmt_reset
in os_mgmt_reset, Timer Register
I: 1168020 [DL]DFU-BLE-Disconnected : 19
E: Sending UART cmd st 0
I: BLE Name set: HU:2F29 errCode: 0
I: 1168033 [SWU]SMP BLE advertising started
I: 1168037 [DL]DFU over SMP started
I: BLE Disconnected: 13
in os_mgmt_reset_cb
os_mgmt_reset_work_handler: System Rebooted
*** Booting Zephyr OS build v3.3.99-ncs1-1 ***
Starting bootloader
Swap type: perm
Swap type: perm
writing magic; fa_id=4 off=0xeeff0 (0xf6ff0)
writing magic; fa_id=1 off=0x3fff0 (0x3fff0)
Bootloader chainload address offset: 0x8000
Jumping to the first image slot
Start Do_Boot


uart:~$ *** Booting Zephyr OS build v3.3.99-ncs1-1 ***
I: KWIKSET HALO 3 VERSION: 00.03.00.00
I: Init CHIP stack
I: 159 [DL]BLE address: D3:A8:85:80:A9:CC
I: Board config kwiksetmdb_nrf5340_cpuapp
I: IMAGE_VERSION 0.3.0+0
I: build time: Nov 30 2023 11:09:14
E: ====    Matter FW Ver: 0.3.0    ====
I: 198 [DL]OpenThread SED interval is 1000ms
I: 205 [DL]OpenThread started: OK
I: 208 [DL]Setting OpenThread device type to SLEEPY END DEVICE
I: 216 [SWU]DFU_BLEAdvertising_Init 
Swap type: none
I: 223 [SVR]Subscription persistence not supported
I: 227 [SVR]Server initializing...
I: 232 [TS]Last Known Good Time: 2023-11-30T17:43:12
I: 238 [DMG]AccessControl: initializing
I: 242 [DMG]Examples::AccessControlDelegate::Init
I: 247 [DMG]AccessControl: setting
I: 251 [DMG]DefaultAclStorage: initializing
I: 255 [DMG]DefaultAclStorage: 0 entries loaded
D: 260 [IN]UDP::Init bind&amp;amp;listen port=5540
E: 265 [IN]SO_REUSEPORT failed: 109
D: 269 [IN]UDP::Init bound to port=5540
D: 273 [IN]BLEBase::Init - setting/overriding transport
D: 278 [IN]TransportMgr initialized
D: 286 [DL]Using Thread extended MAC for hostname.
I: 292 [ZCL]Using ZAP configuration...
I: 298 [DMG]AccessControlCluster: initializing
D: 303 [DL]Boot reason: 6
I: 306 [ZCL]Initiating Admin Commissioning cluster.
I: 311 [ZCL]Door Lock server initialized
I: 316 [ZCL]Door Lock cluster initialized at endpoint #1
I: 323 [DIS]Updating services using commissioning mode 0
E: 328 [DIS]Failed to remove advertised services: 3
D: 334 [DL]Using Thread extended MAC for hostname.
I: 339 [DIS]Advertise commission parameter vendorID=65521 productID=32774 discriminator=3840/15 cm=0
E: 348 [DIS]Failed to advertise extended commissionable node: 3
D: 355 [DIS]Scheduling extended discovery timeout in 900s
E: 362 [DIS]Failed to finalize service update: 3
I: 367 [DIS]Delaying proxy of operational discovery: missing delegate
I: 373 [IN]CASE Server enabling CASE session setups
D: 381 [IN]SecureSession[0x200049f0]: Allocated Type:2 LSID:37781
I: 387 [SVR]Joining Multicast groups
I: 391 [SVR]Server Listening...
I: 394 [DL]Device Configuration:
I: 398 [DL]  Serial Number: 11223344556677889900
I: 403 [DL]  Vendor Id: 65521 (0xFFF1)
I: 407 [DL]  Product Id: 32774 (0x8006)
I: 411 [DL]  Product Name: not-specified
I: 415 [DL]  Hardware Version: 0
I: 419 [DL]  Setup Pin Code (0 for UNKNOWN/ERROR): 20202021
I: 425 [DL]  Setup Discriminator (0xFFFF for UNKNOWN/ERROR): 3840 (0xF00)
I: 433 [DL]  Manufacturing Date: 2022-01-01
I: 437 [DL]  Device Type: 65535 (0xFFFF)
I: 442 [SVR]SetupQRCode: [MT:8IXS142C00KA0648G00]
I: 447 [SVR]Copy/paste the below URL in a browser to see the QR Code:
I: 454 [SVR]https://project-chip.github.io/connectedhomeip/qrcode.html?data=MT%3A8IXS142C00KA0648G00
I: 465 [SVR]Manual pairing code: [34970112332]
I: 474 [DL]CHIP task running
I: 478 [DIS]Updating services using commissioning mode 0
E: 483 [DIS]Failed to remove advertised services: 3
D: 489 [DL]Using Thread extended MAC for hostname.
I: 494 [DIS]Advertise commission parameter vendorID=65521 productID=32774 discriminator=3840/15 cm=0
E: 503 [DIS]Failed to advertise extended commissionable node: 3
E: 510 [DIS]Failed to finalize service update: 3
I: FW Ver: 0.3.0+0; version: 00030000
I: Device has NOT gone through provisioning
I: network state 0
E: Sending UART cmd st 0
I: BLE Device ID: 2f29
I: Current OTA Stage = 10
I: dfu_header_data.image_count: 2
E: Sending UART cmd st 0
I: BLE Name set: HU:2F29 errCode: 0
I: 15701 [SWU]SMP BLE advertising started
I: 15705 [DL]DFU over SMP started
I: IMG Integrity Verified Successfully: 0
I: IMG Integrity Verified Successfully: 1
I: Current OTA Stage = 16
I: OTA device_id = 5 : DISCOVERY_REQ
I: SECURE_STM : DISCOVERY_REQ
I: OTA device_id = 5 : FW_VERSION_REQ
I: Secure STM Firmware Version: 2 0 1 2
I: OTA device_id = 5 : FW_UPDATE_START_REQ
I: SECURE_STM : IB_FW_UPDATE_START_REQUEST
I: STM OTA Progress = 10
I: STM OTA Progress = 20
I: STM OTA Progress = 30
I: STM OTA Progress = 40
I: STM OTA Progress = 50
I: STM OTA Progress = 60
I: STM OTA Progress = 70
I: STM OTA Progress = 80
I: STM OTA Progress = 90
I: STM OTA Progress = 100
I: OTA device_id = 5 : FW_UPDATE_REBOOT_REQ
I: SECURE_STM : REBOOT_COMMAND
I: STM Rebooted, MCUBoot Verifying Image
I: OTA device_id = 5 : FW_VERSION_REQ
I: Secure STM Firmware Version: 2 0 1 1
I: OTA device_id = 5 : FW_UPDATE_COMPLETE_REQ
I: SECURE_STM : IB_FW_UPDATE_COMPLETE_REQUEST
I: OTA device_id = 5 : FW_UPDATE_REBOOT_REQ
I: SECURE_STM : REBOOT_COMMAND
I: STM Rebooted, MCUBoot Confirming Image
I: OTA device_id = 5 : FW_VERSION_REQ
I: Secure STM Firmware Version: 2 0 1 1
I: STM Secure OTA Successful
I: Clear STM OTA Meta Data
I: Current OTA Stage = 17
I: Redpine OTA started
I: Current OTA Stage = 18
I: OTA device_id = 4 : DISCOVERY_REQ
I: STM_QSPI : IB_DEVICE_DISCOVERY_REQUEST
I: OTA device_id = 4 : FW_VERSION_REQ
I: STM_QSPI : IB_FW_VERSION_REQUEST
I: Redpine Firmware Version: 2.1.255.191
I: OTA device_id = 4 : FW_UPDATE_START_REQ
I: STM_QSPI : IB_FW_UPDATE_START_REQUEST
I: Redpine Image Stored into STM QSPI, Progress = 10
I: Redpine Image Stored into STM QSPI, Progress = 20
I: Redpine Image Stored into STM QSPI, Progress = 30
I: Redpine Image Stored into STM QSPI, Progress = 40
I: Redpine Image Stored into STM QSPI, Progress = 50
I: Redpine Image Stored into STM QSPI, Progress = 60
I: Redpine Image Stored into STM QSPI, Progress = 70
I: Redpine Image Stored into STM QSPI, Progress = 80
I: Redpine Image Stored into STM QSPI, Progress = 90
I: Redpine Image Stored into STM QSPI, Progress = 100
I: OTA device_id = 4 : FW_UPDATE_COMPLETE_REQ
I: STM_QSPI : IB_FW_UPDATE_COMPLETE_REQUEST
I: STM_QSPI : STM QSPI to Redpine SPI Image Transfer Ongoing (0)
I: STM_QSPI : STM QSPI to Redpine SPI Image Transfer Ongoing (10)
I: STM_QSPI : STM QSPI to Redpine SPI Image Transfer Ongoing (20)
I: STM_QSPI : STM QSPI to Redpine SPI Image Transfer Ongoing (30)
I: STM_QSPI : STM QSPI to Redpine SPI Image Transfer Ongoing (40)
I: STM_QSPI : STM QSPI to Redpine SPI Image Transfer Ongoing (50)
I: STM_QSPI : STM QSPI to Redpine SPI Image Transfer Ongoing (60)
I: STM_QSPI : STM QSPI to Redpine SPI Image Transfer Ongoing (70)
I: STM_QSPI : STM QSPI to Redpine SPI Image Transfer Ongoing (80)
I: STM_QSPI : STM QSPI to Redpine SPI Image Transfer Ongoing (90)
I: STM_QSPI : STM QSPI to Redpine SPI Image Transfer Ongoing (100)
I: STM_QSPI : IB_FW_UPDATE_REBOOT_REQUEST
I: Clear Redpine OTA Meta Data
I: Current OTA Stage = 24
I: Start to Erase OTA Bundle Image from External Flash
I: Erasing bundle from nRF Ext. Flash
I: Bundle Image Erased from nRF Ext. Flash: 0
I: Current OTA Stage = 25
I: FW Ver: 0.3.0+0; version: 00030000
I: 599573 [DL]DFU-BLE-Connected
I: BLE Connected
Swap type: none
I: 599853 [DL]DFU-BLE-Disconnected : 19
E: Sending UART cmd st 0
I: BLE Name set: HU:2F29 errCode: 0
I: 599865 [SWU]SMP BLE advertising started
I: 599869 [DL]DFU over SMP started
I: BLE Disconnected: 13
I: 616703 [DL]DFU-BLE-Connected
I: BLE Connected
I: 616996 [DL]DFU Image upload started
I: Current OTA Stage = 11
I: 630191 [DL]Image 0 download completed successfully
I: 630220 [DL]DFU-BLE-Disconnected : 19
E: Sending UART cmd st 0
I: BLE Name set: HU:2F29 errCode: 0
I: 630233 [SWU]SMP BLE advertising started
I: 630237 [DL]DFU over SMP started
I: BLE Disconnected: 13
I: 680413 [DL]DFU-BLE-Connected
I: BLE Connected
Swap type: none
I: 680687 [DL]DFU Image upload started
I: Current OTA Stage = 12
I: 770798 [DL]Image 1 download completed successfully
I: 770839 [DL]DFU-BLE-Disconnected : 19
E: Sending UART cmd st 0
I: BLE Name set: HU:2F29 errCode: 0
I: 770852 [SWU]SMP BLE advertising started
I: 770856 [DL]DFU over SMP started
I: BLE Disconnected: 13
I: 805301 [DL]DFU-BLE-Connected
I: BLE Connected
I: 824157 [DL]DFU Image upload started
D: 900362 [DIS]Extended discovery timed out
I: 900365 [DIS]Updating services using commissioning mode 0
E: 900371 [DIS]Failed to remove advertised services: 3
E: 900377 [DIS]Failed to finalize service update: 3
I: Current OTA Stage = 13
I: 1064267 [DL]Image 2 download completed successfully
I: Current OTA Stage = 14
I: 1064299 [DL]DFU-BLE-Disconnected : 19
E: Sending UART cmd st 0
I: BLE Name set: HU:2F29 errCode: 0
I: 1064312 [SWU]SMP BLE advertising started
I: 1064316 [DL]DFU over SMP started
I: BLE Disconnected: 13
I: 1084219 [DL]DFU-BLE-Connected
I: BLE Connected
Swap type: none
Swap type: none
Swap type: none
I: 1084519 [DL]DFU-BLE-Disconnected : 19
E: Sending UART cmd st 0
I: BLE Name set: HU:2F29 errCode: 0
I: 1084532 [SWU]SMP BLE advertising started
I: 1084536 [DL]DFU over SMP started
I: BLE Disconnected: 13
I: 1100858 [DL]DFU-BLE-Connected
I: BLE Connected
E: img_mgmt_find_by_hash Return i=1
E: cb cb
E: 96 96
E: 29 29
E: f f
E: d9 d9
E: a a
E: b7 b7
E: b b
E: 3e 3e
E: a1 a1
E: 45 45
E: aa aa
E: 46 46
E: 56 56
E: 19 19
E: 5d 5d
E: be be
E: 6e 6e
E: 4b 4b
E: eb eb
E: 7c 7c
E: e0 e0
E: bf bf
E: f0 f0
E: f4 f4
E: b8 b8
E: 18 18
E: e8 e8
E: 92 92
E: 53 53
E: 2 2
E: 82 82
E: img_mgmt_find_by_hash slot = 1, confirm = 1
E: area_id = 2, active = 0
E: Success 1
E: Success 2
writing magic; fa_id=2 off=0xeeff0 (0xeeff0)
writing image_ok; fa_id=2 off=0xeefe8 (0xeefe8)
writing swap_info; fa_id=2 off=0xeefd8 (0xeefd8), swap_type=0x3 image_num=0x0
E: Success 3
E: *** rc = 0 ***
E: img_mgmt_set_boot_next rc = 0
Swap type: perm
Swap type: perm
Swap type: none
E: img_mgmt_state_read rc = 0
I: 1101221 [DL]DFU-BLE-Disconnected : 19
E: Sending UART cmd st 0
I: BLE Name set: HU:2F29 errCode: 0
I: 1101234 [SWU]SMP BLE advertising started
I: 1101238 [DL]DFU over SMP started
I: BLE Disconnected: 13
I: 1138493 [DL]DFU-BLE-Connected
I: BLE Connected
E: img_mgmt_find_by_hash Continue
E: img_mgmt_find_by_hash Return i=3
E: 19 19
E: 64 64
E: b b
E: b1 b1
E: 5e 5e
E: dc dc
E: e6 e6
E: 77 77
E: 8c 8c
E: ef ef
E: 69 69
E: 20 20
E: 5f 5f
E: ae ae
E: 54 54
E: 61 61
E: a3 a3
E: 99 99
E: ff ff
E: 7c 7c
E: 4d 4d
E: 65 65
E: f3 f3
E: 4c 4c
E: 53 53
E: 6c 6c
E: 37 37
E: 88 88
E: 2f 2f
E: e1 e1
E: 39 39
E: 7e 7e
E: img_mgmt_find_by_hash slot = 3, confirm = 1
E: area_id = 8, active = 0
E: Success 1
E: Success 2
writing magic; fa_id=8 off=0x3fff0 (0x12eff0)
writing image_ok; fa_id=8 off=0x3ffe8 (0x12efe8)
writing swap_info; fa_id=8 off=0x3ffd8 (0x12efd8), swap_type=0x3 image_num=0x0
E: Success 3
E: *** rc = 0 ***
E: img_mgmt_set_boot_next rc = 0
Swap type: perm
Swap type: perm
Swap type: perm
E: img_mgmt_state_read rc = 0
I: 1138841 [DL]DFU-BLE-Disconnected : 19
E: Sending UART cmd st 0
I: BLE Name set: HU:2F29 errCode: 0
I: 1138854 [SWU]SMP BLE advertising started
I: 1138857 [DL]DFU over SMP started
I: BLE Disconnected: 13
I: 1171080 [DL]DFU-BLE-Connected
I: BLE Connected
in os_mgmt_reset
in os_mgmt_reset, Timer Register
I: 1171345 [DL]DFU-BLE-Disconnected : 19
E: Sending UART cmd st 0
I: BLE Name set: HU:2F29 errCode: 0
I: 1171358 [SWU]SMP BLE advertising started
I: 1171362 [DL]DFU over SMP started
I: BLE Disconnected: 13
in os_mgmt_reset_cb
os_mgmt_reset_work_handler: System Rebooted
*** Booting Zephyr OS build v3.3.99-ncs1-1 ***
Starting bootloader
Swap type: perm
Swap type: perm
writing magic; fa_id=4 off=0xeeff0 (0xf6ff0)
writing magic; fa_id=1 off=0x3fff0 (0x3fff0)
Bootloader chainload address offset: 0x8000
Jumping to the first image slot
Start Do_Boot


uart:~$ *** Booting Zephyr OS build v3.3.99-ncs1-1 ***
I: KWIKSET HALO 3 VERSION: 00.03.01.00
I: Init CHIP stack
I: 159 [DL]BLE address: CD:8C:27:BA:BE:97
I: Board config kwiksetmdb_nrf5340_cpuapp
I: IMAGE_VERSION 0.3.1+0
I: build time: Nov 30 2023 17:44:53
E: ====    Matter FW Ver: 0.3.1    ====
I: 198 [DL]OpenThread SED interval is 1000ms
I: 205 [DL]OpenThread started: OK
I: 208 [DL]Setting OpenThread device type to SLEEPY END DEVICE
I: 216 [SWU]DFU_BLEAdvertising_Init 
Swap type: none
I: 223 [SVR]Subscription persistence not supported
I: 227 [SVR]Server initializing...
I: 232 [TS]Last Known Good Time: 2023-11-30T17:43:12
I: 238 [DMG]AccessControl: initializing
I: 242 [DMG]Examples::AccessControlDelegate::Init
I: 247 [DMG]AccessControl: setting
I: 250 [DMG]DefaultAclStorage: initializing
I: 255 [DMG]DefaultAclStorage: 0 entries loaded
D: 260 [IN]UDP::Init bind&amp;amp;listen port=5540
E: 265 [IN]SO_REUSEPORT failed: 109
D: 269 [IN]UDP::Init bound to port=5540
D: 272 [IN]BLEBase::Init - setting/overriding transport
D: 278 [IN]TransportMgr initialized
D: 285 [DL]Using Thread extended MAC for hostname.
I: 292 [ZCL]Using ZAP configuration...
I: 298 [DMG]AccessControlCluster: initializing
D: 303 [DL]Boot reason: 6
I: 306 [ZCL]Initiating Admin Commissioning cluster.
I: 310 [ZCL]Door Lock server initialized
I: 315 [ZCL]Door Lock cluster initialized at endpoint #1
I: 322 [DIS]Updating services using commissioning mode 0
E: 328 [DIS]Failed to remove advertised services: 3
D: 333 [DL]Using Thread extended MAC for hostname.
I: 339 [DIS]Advertise commission parameter vendorID=65521 productID=32774 discriminator=3840/15 cm=0
E: 348 [DIS]Failed to advertise extended commissionable node: 3
D: 355 [DIS]Scheduling extended discovery timeout in 900s
E: 362 [DIS]Failed to finalize service update: 3
I: 366 [DIS]Delaying proxy of operational discovery: missing delegate
I: 373 [IN]CASE Server enabling CASE session setups
D: 380 [IN]SecureSession[0x200049f0]: Allocated Type:2 LSID:29676
I: 386 [SVR]Joining Multicast groups
I: 391 [SVR]Server Listening...
I: 394 [DL]Device Configuration:
I: 397 [DL]  Serial Number: 11223344556677889900
I: 402 [DL]  Vendor Id: 65521 (0xFFF1)
I: 406 [DL]  Product Id: 32774 (0x8006)
I: 410 [DL]  Product Name: not-specified
I: 414 [DL]  Hardware Version: 0
I: 418 [DL]  Setup Pin Code (0 for UNKNOWN/ERROR): 20202021
I: 425 [DL]  Setup Discriminator (0xFFFF for UNKNOWN/ERROR): 3840 (0xF00)
I: 431 [DL]  Manufacturing Date: 2022-01-01
I: 437 [DL]  Device Type: 65535 (0xFFFF)
I: 441 [SVR]SetupQRCode: [MT:8IXS142C00KA0648G00]
I: 446 [SVR]Copy/paste the below URL in a browser to see the QR Code:
I: 453 [SVR]https://project-chip.github.io/connectedhomeip/qrcode.html?data=MT%3A8IXS142C00KA0648G00
I: 464 [SVR]Manual pairing code: [34970112332]
I: 473 [DL]CHIP task running
I: 477 [DIS]Updating services using commissioning mode 0
E: 482 [DIS]Failed to remove advertised services: 3
D: 488 [DL]Using Thread extended MAC for hostname.
I: 493 [DIS]Advertise commission parameter vendorID=65521 productID=32774 discriminator=3840/15 cm=0
E: 502 [DIS]Failed to advertise extended commissionable node: 3
E: 510 [DIS]Failed to finalize service update: 3
I: FW Ver: 0.3.1+0; version: 00030100
I: Device has NOT gone through provisioning
I: network state 0
E: Sending UART cmd st 0
I: BLE Device ID: 2f29
I: Current OTA Stage = 10
I: dfu_header_data.image_count: 2
E: Sending UART cmd st 0
I: BLE Name set: HU:2F29 errCode: 0
I: 15696 [SWU]SMP BLE advertising started
I: 15700 [DL]DFU over SMP started
I: IMG Integrity Verified Successfully: 0
I: IMG Integrity Verified Successfully: 1
I: Current OTA Stage = 16
I: OTA device_id = 5 : DISCOVERY_REQ
I: SECURE_STM : DISCOVERY_REQ
I: OTA device_id = 5 : FW_VERSION_REQ
I: Secure STM Firmware Version: 2 0 1 1
I: OTA device_id = 5 : FW_UPDATE_START_REQ
I: SECURE_STM : IB_FW_UPDATE_START_REQUEST
I: STM OTA Progress = 10
I: STM OTA Progress = 20
I: STM OTA Progress = 30
I: STM OTA Progress = 40
I: STM OTA Progress = 50
I: STM OTA Progress = 60
I: STM OTA Progress = 70
I: STM OTA Progress = 80
I: STM OTA Progress = 90
I: STM OTA Progress = 100
I: OTA device_id = 5 : FW_UPDATE_REBOOT_REQ
I: SECURE_STM : REBOOT_COMMAND
I: STM Rebooted, MCUBoot Verifying Image
I: OTA device_id = 5 : FW_VERSION_REQ
I: Secure STM Firmware Version: 2 0 1 2
I: OTA device_id = 5 : FW_UPDATE_COMPLETE_REQ
I: SECURE_STM : IB_FW_UPDATE_COMPLETE_REQUEST
I: OTA device_id = 5 : FW_UPDATE_REBOOT_REQ
I: SECURE_STM : REBOOT_COMMAND
I: STM Rebooted, MCUBoot Confirming Image
I: OTA device_id = 5 : FW_VERSION_REQ
I: Secure STM Firmware Version: 2 0 1 2
I: STM Secure OTA Successful
I: Clear STM OTA Meta Data
I: Current OTA Stage = 17
I: Redpine OTA started
I: Current OTA Stage = 18
I: OTA device_id = 4 : DISCOVERY_REQ
I: STM_QSPI : IB_DEVICE_DISCOVERY_REQUEST
I: OTA device_id = 4 : FW_VERSION_REQ
I: STM_QSPI : IB_FW_VERSION_REQUEST
I: Redpine Firmware Version: 2.1.255.191
I: OTA device_id = 4 : FW_UPDATE_START_REQ
I: STM_QSPI : IB_FW_UPDATE_START_REQUEST
I: Redpine Image Stored into STM QSPI, Progress = 10
I: Redpine Image Stored into STM QSPI, Progress = 20
I: Redpine Image Stored into STM QSPI, Progress = 30
I: Redpine Image Stored into STM QSPI, Progress = 40
I: Redpine Image Stored into STM QSPI, Progress = 50
I: Redpine Image Stored into STM QSPI, Progress = 60
I: Redpine Image Stored into STM QSPI, Progress = 70
I: Redpine Image Stored into STM QSPI, Progress = 80
I: Redpine Image Stored into STM QSPI, Progress = 90
I: Redpine Image Stored into STM QSPI, Progress = 100
I: OTA device_id = 4 : FW_UPDATE_COMPLETE_REQ
I: STM_QSPI : IB_FW_UPDATE_COMPLETE_REQUEST
I: STM_QSPI : STM QSPI to Redpine SPI Image Transfer Ongoing (0)
I: STM_QSPI : STM QSPI to Redpine SPI Image Transfer Ongoing (10)
I: STM_QSPI : STM QSPI to Redpine SPI Image Transfer Ongoing (20)
I: STM_QSPI : STM QSPI to Redpine SPI Image Transfer Ongoing (30)
I: STM_QSPI : STM QSPI to Redpine SPI Image Transfer Ongoing (40)
I: STM_QSPI : STM QSPI to Redpine SPI Image Transfer Ongoing (50)
I: STM_QSPI : STM QSPI to Redpine SPI Image Transfer Ongoing (60)
I: STM_QSPI : STM QSPI to Redpine SPI Image Transfer Ongoing (70)
I: STM_QSPI : STM QSPI to Redpine SPI Image Transfer Ongoing (80)
I: STM_QSPI : STM QSPI to Redpine SPI Image Transfer Ongoing (90)
I: STM_QSPI : STM QSPI to Redpine SPI Image Transfer Ongoing (100)
I: STM_QSPI : IB_FW_UPDATE_REBOOT_REQUEST
I: Clear Redpine OTA Meta Data
I: Current OTA Stage = 24
I: Start to Erase OTA Bundle Image from External Flash
I: Erasing bundle from nRF Ext. Flash
I: Bundle Image Erased from nRF Ext. Flash: 0
I: Current OTA Stage = 25
I: FW Ver: 0.3.1+0; version: 00030100
I: 598394 [DL]DFU-BLE-Connected
I: BLE Connected
Swap type: none
I: 598675 [DL]DFU-BLE-Disconnected : 19
E: Sending UART cmd st 0
I: BLE Name set: HU:2F29 errCode: 0
I: 598687 [SWU]SMP BLE advertising started
I: 598691 [DL]DFU over SMP started
I: BLE Disconnected: 13
I: 615548 [DL]DFU-BLE-Connected
I: BLE Connected
I: 615840 [DL]DFU Image upload started
I: Current OTA Stage = 11
I: 629054 [DL]Image 0 download completed successfully
I: 629083 [DL]DFU-BLE-Disconnected : 19
E: Sending UART cmd st 0
I: BLE Name set: HU:2F29 errCode: 0
I: 629096 [SWU]SMP BLE advertising started
I: 629100 [DL]DFU over SMP started
I: BLE Disconnected: 13
I: 678086 [DL]DFU-BLE-Connected
I: BLE Connected
Swap type: none
I: 678377 [DL]DFU Image upload started
I: Current OTA Stage = 12
I: 767967 [DL]Image 1 download completed successfully
I: 767993 [DL]DFU-BLE-Disconnected : 19
E: Sending UART cmd st 0
I: BLE Name set: HU:2F29 errCode: 0
I: 768005 [SWU]SMP BLE advertising started
I: 768009 [DL]DFU over SMP started
I: BLE Disconnected: 13
I: 802209 [DL]DFU-BLE-Connected
I: BLE Connected
I: 821062 [DL]DFU Image upload started
D: 900362 [DIS]Extended discovery timed out
I: 900366 [DIS]Updating services using commissioning mode 0
E: 900372 [DIS]Failed to remove advertised services: 3
E: 900380 [DIS]Failed to finalize service update: 3
I: Current OTA Stage = 13
I: 1061297 [DL]Image 2 download completed successfully
I: Current OTA Stage = 14
I: 1061329 [DL]DFU-BLE-Disconnected : 19
E: Sending UART cmd st 0
I: BLE Name set: HU:2F29 errCode: 0
I: 1061342 [SWU]SMP BLE advertising started
I: 1061346 [DL]DFU over SMP started
I: BLE Disconnected: 13
I: 1080246 [DL]DFU-BLE-Connected
I: BLE Connected
Swap type: none
Swap type: none
Swap type: none
I: 1080551 [DL]DFU-BLE-Disconnected : 19
E: Sending UART cmd st 0
I: BLE Name set: HU:2F29 errCode: 0
I: 1080564 [SWU]SMP BLE advertising started
I: 1080568 [DL]DFU over SMP started
I: BLE Disconnected: 13
I: 1097437 [DL]DFU-BLE-Connected
I: BLE Connected
E: img_mgmt_find_by_hash Return i=1
E: a4 a4
E: 1d 1d
E: 1e 1e
E: a8 a8
E: b8 b8
E: 1d 1d
E: 72 72
E: 1b 1b
E: c0 c0
E: 13 13
E: cc cc
E: 3e 3e
E: d6 d6
E: e7 e7
E: 2f 2f
E: d4 d4
E: 4c 4c
E: 9 9
E: 25 25
E: 26 26
E: d1 d1
E: df df
E: b3 b3
E: 7b 7b
E: 1d 1d
E: f3 f3
E: b1 b1
E: db db
E: 4b 4b
E: 7c 7c
E: c3 c3
E: b4 b4
E: img_mgmt_find_by_hash slot = 1, confirm = 1
E: area_id = 2, active = 0
E: Success 1
E: Success 2
writing magic; fa_id=2 off=0xeeff0 (0xeeff0)
writing image_ok; fa_id=2 off=0xeefe8 (0xeefe8)
writing swap_info; fa_id=2 off=0xeefd8 (0xeefd8), swap_type=0x3 image_num=0x0
E: Success 3
E: *** rc = 0 ***
E: img_mgmt_set_boot_next rc = 0
Swap type: perm
Swap type: perm
Swap type: none
E: img_mgmt_state_read rc = 0
I: 1097808 [DL]DFU-BLE-Disconnected : 19
E: Sending UART cmd st 0
I: BLE Name set: HU:2F29 errCode: 0
I: 1097821 [SWU]SMP BLE advertising started
I: 1097825 [DL]DFU over SMP started
I: BLE Disconnected: 13
I: 1135014 [DL]DFU-BLE-Connected
I: BLE Connected
E: img_mgmt_find_by_hash Continue
E: img_mgmt_find_by_hash Return i=3
E: 9 9
E: 4 4
E: ba ba
E: 45 45
E: 18 18
E: a a
E: c3 c3
E: 6d 6d
E: 87 87
E: da da
E: c3 c3
E: ec ec
E: f2 f2
E: d d
E: 73 73
E: b1 b1
E: 9b 9b
E: f4 f4
E: 52 52
E: 8b 8b
E: 67 67
E: 23 23
E: 29 29
E: 47 47
E: 9 9
E: 40 40
E: 93 93
E: 98 98
E: d7 d7
E: 3b 3b
E: 9c 9c
E: 12 12
E: img_mgmt_find_by_hash slot = 3, confirm = 1
E: area_id = 8, active = 0
E: Success 1
E: Success 2
writing magic; fa_id=8 off=0x3fff0 (0x12eff0)
writing image_ok; fa_id=8 off=0x3ffe8 (0x12efe8)
writing swap_info; fa_id=8 off=0x3ffd8 (0x12efd8), swap_type=0x3 image_num=0x0
E: Success 3
E: *** rc = 0 ***
E: img_mgmt_set_boot_next rc = 0
Swap type: perm
Swap type: perm
Swap type: perm
E: img_mgmt_state_read rc = 0
I: 1135383 [DL]DFU-BLE-Disconnected : 19
E: Sending UART cmd st 0
I: BLE Name set: HU:2F29 errCode: 0
I: 1135395 [SWU]SMP BLE advertising started
I: 1135399 [DL]DFU over SMP started
I: BLE Disconnected: 13
I: 1168590 [DL]DFU-BLE-Connected
I: BLE Connected
in os_mgmt_reset
in os_mgmt_reset, Timer Register
I: 1168855 [DL]DFU-BLE-Disconnected : 19
E: Sending UART cmd st 0
I: BLE Name set: HU:2F29 errCode: 0
I: 1168868 [SWU]SMP BLE advertising started
I: 1168872 [DL]DFU over SMP started
I: BLE Disconnected: 13
in os_mgmt_reset_cb
os_mgmt_reset_work_handler: System Rebooted
*** Booting Zephyr OS build v3.3.99-ncs1-1 ***
Starting bootloader
Swap type: perm
Swap type: perm
writing magic; fa_id=4 off=0xeeff0 (0xf6ff0)
writing magic; fa_id=1 off=0x3fff0 (0x3fff0)
Bootloader chainload address offset: 0x8000
Jumping to the first image slot
Start Do_Boot


uart:~$ *** Booting Zephyr OS build v3.3.99-ncs1-1 ***
I: KWIKSET HALO 3 VERSION: 00.03.00.00
I: Init CHIP stack
I: 159 [DL]BLE address: C3:59:0B:DF:C7:17
I: Board config kwiksetmdb_nrf5340_cpuapp
I: IMAGE_VERSION 0.3.0+0
I: build time: Nov 30 2023 11:09:14
E: ====    Matter FW Ver: 0.3.0    ====
I: 198 [DL]OpenThread SED interval is 1000ms
I: 205 [DL]OpenThread started: OK
I: 208 [DL]Setting OpenThread device type to SLEEPY END DEVICE
I: 216 [SWU]DFU_BLEAdvertising_Init 
Swap type: none
I: 223 [SVR]Subscription persistence not supported
I: 228 [SVR]Server initializing...
I: 232 [TS]Last Known Good Time: 2023-11-30T17:43:12
I: 238 [DMG]AccessControl: initializing
I: 242 [DMG]Examples::AccessControlDelegate::Init
I: 247 [DMG]AccessControl: setting
I: 251 [DMG]DefaultAclStorage: initializing
I: 255 [DMG]DefaultAclStorage: 0 entries loaded
D: 260 [IN]UDP::Init bind&amp;amp;listen port=5540
E: 265 [IN]SO_REUSEPORT failed: 109
D: 269 [IN]UDP::Init bound to port=5540
D: 273 [IN]BLEBase::Init - setting/overriding transport
D: 278 [IN]TransportMgr initialized
D: 285 [DL]Using Thread extended MAC for hostname.
I: 292 [ZCL]Using ZAP configuration...
I: 298 [DMG]AccessControlCluster: initializing
D: 303 [DL]Boot reason: 6
I: 306 [ZCL]Initiating Admin Commissioning cluster.
I: 311 [ZCL]Door Lock server initialized
I: 316 [ZCL]Door Lock cluster initialized at endpoint #1
I: 322 [DIS]Updating services using commissioning mode 0
E: 327 [DIS]Failed to remove advertised services: 3
D: 333 [DL]Using Thread extended MAC for hostname.
I: 339 [DIS]Advertise commission parameter vendorID=65521 productID=32774 discriminator=3840/15 cm=0
E: 348 [DIS]Failed to advertise extended commissionable node: 3
D: 355 [DIS]Scheduling extended discovery timeout in 900s
E: 362 [DIS]Failed to finalize service update: 3
I: 366 [DIS]Delaying proxy of operational discovery: missing delegate
I: 373 [IN]CASE Server enabling CASE session setups
D: 380 [IN]SecureSession[0x200049f0]: Allocated Type:2 LSID:38427
I: 386 [SVR]Joining Multicast groups
I: 391 [SVR]Server Listening...
I: 394 [DL]Device Configuration:
I: 398 [DL]  Serial Number: 11223344556677889900
I: 403 [DL]  Vendor Id: 65521 (0xFFF1)
I: 406 [DL]  Product Id: 32774 (0x8006)
I: 411 [DL]  Product Name: not-specified
I: 415 [DL]  Hardware Version: 0
I: 419 [DL]  Setup Pin Code (0 for UNKNOWN/ERROR): 20202021
I: 425 [DL]  Setup Discriminator (0xFFFF for UNKNOWN/ERROR): 3840 (0xF00)
I: 433 [DL]  Manufacturing Date: 2022-01-01
I: 437 [DL]  Device Type: 65535 (0xFFFF)
I: 442 [SVR]SetupQRCode: [MT:8IXS142C00KA0648G00]
I: 447 [SVR]Copy/paste the below URL in a browser to see the QR Code:
I: 453 [SVR]https://project-chip.github.io/connectedhomeip/qrcode.html?data=MT%3A8IXS142C00KA0648G00
I: 464 [SVR]Manual pairing code: [34970112332]
I: 474 [DL]CHIP task running
I: 477 [DIS]Updating services using commissioning mode 0
E: 482 [DIS]Failed to remove advertised services: 3
D: 488 [DL]Using Thread extended MAC for hostname.
I: 494 [DIS]Advertise commission parameter vendorID=65521 productID=32774 discriminator=3840/15 cm=0
E: 503 [DIS]Failed to advertise extended commissionable node: 3
E: 510 [DIS]Failed to finalize service update: 3
I: FW Ver: 0.3.0+0; version: 00030000
I: Device has NOT gone through provisioning
I: network state 0
E: Sending UART cmd st 0
I: BLE Device ID: 2f29
I: Current OTA Stage = 10
I: dfu_header_data.image_count: 2
E: Sending UART cmd st 0
I: BLE Name set: HU:2F29 errCode: 0
I: 15696 [SWU]SMP BLE advertising started
I: 15700 [DL]DFU over SMP started
I: IMG Integrity Verified Successfully: 0
I: IMG Integrity Verified Successfully: 1
I: Current OTA Stage = 16
I: OTA device_id = 5 : DISCOVERY_REQ
I: SECURE_STM : DISCOVERY_REQ
I: OTA device_id = 5 : FW_VERSION_REQ
I: Secure STM Firmware Version: 2 0 1 2
I: OTA device_id = 5 : FW_UPDATE_START_REQ
I: SECURE_STM : IB_FW_UPDATE_START_REQUEST
I: STM OTA Progress = 10
I: STM OTA Progress = 20
I: STM OTA Progress = 30
I: STM OTA Progress = 40
I: STM OTA Progress = 50
I: STM OTA Progress = 60
I: STM OTA Progress = 70
I: STM OTA Progress = 80
I: STM OTA Progress = 90
I: STM OTA Progress = 100
I: OTA device_id = 5 : FW_UPDATE_REBOOT_REQ
I: SECURE_STM : REBOOT_COMMAND
I: STM Rebooted, MCUBoot Verifying Image
I: OTA device_id = 5 : FW_VERSION_REQ
I: Secure STM Firmware Version: 2 0 1 1
I: OTA device_id = 5 : FW_UPDATE_COMPLETE_REQ
I: SECURE_STM : IB_FW_UPDATE_COMPLETE_REQUEST
I: OTA device_id = 5 : FW_UPDATE_REBOOT_REQ
I: SECURE_STM : REBOOT_COMMAND
I: STM Rebooted, MCUBoot Confirming Image
I: OTA device_id = 5 : FW_VERSION_REQ
I: Secure STM Firmware Version: 2 0 1 1
I: STM Secure OTA Successful
I: Clear STM OTA Meta Data
I: Current OTA Stage = 17
I: Redpine OTA started
I: Current OTA Stage = 18
I: OTA device_id = 4 : DISCOVERY_REQ
I: STM_QSPI : IB_DEVICE_DISCOVERY_REQUEST
I: OTA device_id = 4 : FW_VERSION_REQ
I: STM_QSPI : IB_FW_VERSION_REQUEST
I: Redpine Firmware Version: 2.1.255.191
I: OTA device_id = 4 : FW_UPDATE_START_REQ
I: STM_QSPI : IB_FW_UPDATE_START_REQUEST
I: Redpine Image Stored into STM QSPI, Progress = 10
I: Redpine Image Stored into STM QSPI, Progress = 20
I: Redpine Image Stored into STM QSPI, Progress = 30
I: Redpine Image Stored into STM QSPI, Progress = 40
I: Redpine Image Stored into STM QSPI, Progress = 50
I: Redpine Image Stored into STM QSPI, Progress = 60
I: Redpine Image Stored into STM QSPI, Progress = 70
I: Redpine Image Stored into STM QSPI, Progress = 80
I: Redpine Image Stored into STM QSPI, Progress = 90
I: Redpine Image Stored into STM QSPI, Progress = 100
I: OTA device_id = 4 : FW_UPDATE_COMPLETE_REQ
I: STM_QSPI : IB_FW_UPDATE_COMPLETE_REQUEST
I: STM_QSPI : STM QSPI to Redpine SPI Image Transfer Ongoing (0)
I: STM_QSPI : STM QSPI to Redpine SPI Image Transfer Ongoing (10)
I: STM_QSPI : STM QSPI to Redpine SPI Image Transfer Ongoing (20)
I: STM_QSPI : STM QSPI to Redpine SPI Image Transfer Ongoing (30)
I: STM_QSPI : STM QSPI to Redpine SPI Image Transfer Ongoing (40)
I: STM_QSPI : STM QSPI to Redpine SPI Image Transfer Ongoing (50)
I: STM_QSPI : STM QSPI to Redpine SPI Image Transfer Ongoing (60)
I: STM_QSPI : STM QSPI to Redpine SPI Image Transfer Ongoing (70)
I: STM_QSPI : STM QSPI to Redpine SPI Image Transfer Ongoing (80)
I: STM_QSPI : STM QSPI to Redpine SPI Image Transfer Ongoing (90)
I: STM_QSPI : STM QSPI to Redpine SPI Image Transfer Ongoing (100)
I: STM_QSPI : IB_FW_UPDATE_REBOOT_REQUEST
I: Clear Redpine OTA Meta Data
I: Current OTA Stage = 24
I: Start to Erase OTA Bundle Image from External Flash
I: Erasing bundle from nRF Ext. Flash
I: Bundle Image Erased from nRF Ext. Flash: 0
I: Current OTA Stage = 25
I: FW Ver: 0.3.0+0; version: 00030000
I: 598716 [DL]DFU-BLE-Connected
I: BLE Connected
Swap type: none
I: 599000 [DL]DFU-BLE-Disconnected : 19
E: Sending UART cmd st 0
I: BLE Name set: HU:2F29 errCode: 0
I: 599013 [SWU]SMP BLE advertising started
I: 599017 [DL]DFU over SMP started
I: BLE Disconnected: 13
I: STOP BLE Advertisment
I: STOP BLE Advertisment After Post OTA
E: Sending UART cmd st 0
E: Sending UART cmd st 0
I: 617629 [DL]DFU-BLE-Connected
I: BLE Connected
I: 617928 [DL]DFU Image upload started
I: Current OTA Stage = 11
I: 631120 [DL]Image 0 download completed successfully
I: 631149 [DL]DFU-BLE-Disconnected : 19
E: Sending UART cmd st 0
I: BLE Name set: HU:2F29 errCode: 0
I: 631161 [SWU]SMP BLE advertising started
I: 631165 [DL]DFU over SMP started
I: BLE Disconnected: 13
I: 680129 [DL]DFU-BLE-Connected
I: BLE Connected
Swap type: none
I: 680420 [DL]DFU Image upload started
I: Current OTA Stage = 12
I: 769561 [DL]Image 1 download completed successfully
I: 769586 [DL]DFU-BLE-Disconnected : 19
E: Sending UART cmd st 0
I: BLE Name set: HU:2F29 errCode: 0
I: 769598 [SWU]SMP BLE advertising started
I: 769602 [DL]DFU over SMP started
I: BLE Disconnected: 13
I: 803584 [DL]DFU-BLE-Connected
I: BLE Connected
I: 822432 [DL]DFU Image upload started
D: 900362 [DIS]Extended discovery timed out
I: 900368 [DIS]Updating services using commissioning mode 0
E: 900375 [DIS]Failed to remove advertised services: 3
E: 900382 [DIS]Failed to finalize service update: 3
I: Current OTA Stage = 13
I: 1061506 [DL]Image 2 download completed successfully
I: Current OTA Stage = 14
I: 1061538 [DL]DFU-BLE-Disconnected : 19
E: Sending UART cmd st 0
I: BLE Name set: HU:2F29 errCode: 0
I: 1061551 [SWU]SMP BLE advertising started
I: 1061555 [DL]DFU over SMP started
I: BLE Disconnected: 13
I: 1081207 [DL]DFU-BLE-Connected
I: BLE Connected
Swap type: none
Swap type: none
Swap type: none
I: 1081506 [DL]DFU-BLE-Disconnected : 19
E: Sending UART cmd st 0
I: BLE Name set: HU:2F29 errCode: 0
I: 1081519 [SWU]SMP BLE advertising started
I: 1081523 [DL]DFU over SMP started
I: BLE Disconnected: 13
I: 1098629 [DL]DFU-BLE-Connected
I: BLE Connected
E: img_mgmt_find_by_hash Return i=1
E: cb cb
E: 96 96
E: 29 29
E: f f
E: d9 d9
E: a a
E: b7 b7
E: b b
E: 3e 3e
E: a1 a1
E: 45 45
E: aa aa
E: 46 46
E: 56 56
E: 19 19
E: 5d 5d
E: be be
E: 6e 6e
E: 4b 4b
E: eb eb
E: 7c 7c
E: e0 e0
E: bf bf
E: f0 f0
E: f4 f4
E: b8 b8
E: 18 18
E: e8 e8
E: 92 92
E: 53 53
E: 2 2
E: 82 82
E: img_mgmt_find_by_hash slot = 1, confirm = 1
E: area_id = 2, active = 0
E: Success 1
E: Success 2
writing magic; fa_id=2 off=0xeeff0 (0xeeff0)
writing image_ok; fa_id=2 off=0xeefe8 (0xeefe8)
writing swap_info; fa_id=2 off=0xeefd8 (0xeefd8), swap_type=0x3 image_num=0x0
E: Success 3
E: *** rc = 0 ***
E: img_mgmt_set_boot_next rc = 0
Swap type: perm
Swap type: perm
Swap type: none
E: img_mgmt_state_read rc = 0
I: 1099011 [DL]DFU-BLE-Disconnected : 19
E: Sending UART cmd st 0
I: BLE Name set: HU:2F29 errCode: 0
I: 1099024 [SWU]SMP BLE advertising started
I: 1099028 [DL]DFU over SMP started
I: BLE Disconnected: 13
I: 1136988 [DL]DFU-BLE-Connected
I: BLE Connected
E: img_mgmt_find_by_hash Continue
E: img_mgmt_find_by_hash Return i=3
E: 19 19
E: 64 64
E: b b
E: b1 b1
E: 5e 5e
E: dc dc
E: e6 e6
E: 77 77
E: 8c 8c
E: ef ef
E: 69 69
E: 20 20
E: 5f 5f
E: ae ae
E: 54 54
E: 61 61
E: a3 a3
E: 99 99
E: ff ff
E: 7c 7c
E: 4d 4d
E: 65 65
E: f3 f3
E: 4c 4c
E: 53 53
E: 6c 6c
E: 37 37
E: 88 88
E: 2f 2f
E: e1 e1
E: 39 39
E: 7e 7e
E: img_mgmt_find_by_hash slot = 3, confirm = 1
E: area_id = 8, active = 0
E: Success 1
E: Success 2
writing magic; fa_id=8 off=0x3fff0 (0x12eff0)
writing image_ok; fa_id=8 off=0x3ffe8 (0x12efe8)
writing swap_info; fa_id=8 off=0x3ffd8 (0x12efd8), swap_type=0x3 image_num=0x0
E: Success 3
E: *** rc = 0 ***
E: img_mgmt_set_boot_next rc = 0
Swap type: perm
Swap type: perm
Swap type: perm
E: img_mgmt_state_read rc = 0
I: 1137351 [DL]DFU-BLE-Disconnected : 19
E: Sending UART cmd st 0
I: BLE Name set: HU:2F29 errCode: 0
I: 1137364 [SWU]SMP BLE advertising started
I: 1137368 [DL]DFU over SMP started
I: BLE Disconnected: 13
I: 1169549 [DL]DFU-BLE-Connected
I: BLE Connected
in os_mgmt_reset
in os_mgmt_reset, Timer Register
I: 1169833 [DL]DFU-BLE-Disconnected : 19
E: Sending UART cmd st 0
I: BLE Name set: HU:2F29 errCode: 0
I: 1169846 [SWU]SMP BLE advertising started
I: 1169850 [DL]DFU over SMP started
I: BLE Disconnected: 13
in os_mgmt_reset_cb
os_mgmt_reset_work_handler: System Rebooted
*** Booting Zephyr OS build v3.3.99-ncs1-1 ***
Starting bootloader
Swap type: perm
Swap type: perm
writing magic; fa_id=4 off=0xeeff0 (0xf6ff0)
writing magic; fa_id=1 off=0x3fff0 (0x3fff0)
Bootloader chainload address offset: 0x8000
Jumping to the first image slot
Start Do_Boot


uart:~$ *** Booting Zephyr OS build v3.3.99-ncs1-1 ***
I: KWIKSET HALO 3 VERSION: 00.03.01.00
I: Init CHIP stack
I: 159 [DL]BLE address: D5:40:A0:52:4F:F2
I: Board config kwiksetmdb_nrf5340_cpuapp
I: IMAGE_VERSION 0.3.1+0
I: build time: Nov 30 2023 17:44:53
E: ====    Matter FW Ver: 0.3.1    ====
I: 198 [DL]OpenThread SED interval is 1000ms
I: 205 [DL]OpenThread started: OK
I: 208 [DL]Setting OpenThread device type to SLEEPY END DEVICE
I: 216 [SWU]DFU_BLEAdvertising_Init 
Swap type: none
I: 223 [SVR]Subscription persistence not supported
I: 227 [SVR]Server initializing...
I: 232 [TS]Last Known Good Time: 2023-11-30T17:43:12
I: 238 [DMG]AccessControl: initializing
I: 242 [DMG]Examples::AccessControlDelegate::Init
I: 247 [DMG]AccessControl: setting
I: 250 [DMG]DefaultAclStorage: initializing
I: 255 [DMG]DefaultAclStorage: 0 entries loaded
D: 260 [IN]UDP::Init bind&amp;amp;listen port=5540
E: 265 [IN]SO_REUSEPORT failed: 109
D: 269 [IN]UDP::Init bound to port=5540
D: 272 [IN]BLEBase::Init - setting/overriding transport
D: 278 [IN]TransportMgr initialized
D: 285 [DL]Using Thread extended MAC for hostname.
I: 292 [ZCL]Using ZAP configuration...
I: 298 [DMG]AccessControlCluster: initializing
D: 303 [DL]Boot reason: 6
I: 306 [ZCL]Initiating Admin Commissioning cluster.
I: 311 [ZCL]Door Lock server initialized
I: 315 [ZCL]Door Lock cluster initialized at endpoint #1
I: 322 [DIS]Updating services using commissioning mode 0
E: 327 [DIS]Failed to remove advertised services: 3
D: 333 [DL]Using Thread extended MAC for hostname.
I: 339 [DIS]Advertise commission parameter vendorID=65521 productID=32774 discriminator=3840/15 cm=0
E: 348 [DIS]Failed to advertise extended commissionable node: 3
D: 355 [DIS]Scheduling extended discovery timeout in 900s
E: 361 [DIS]Failed to finalize service update: 3
I: 366 [DIS]Delaying proxy of operational discovery: missing delegate
I: 373 [IN]CASE Server enabling CASE session setups
D: 380 [IN]SecureSession[0x200049f0]: Allocated Type:2 LSID:18355
I: 386 [SVR]Joining Multicast groups
I: 391 [SVR]Server Listening...
I: 394 [DL]Device Configuration:
I: 397 [DL]  Serial Number: 11223344556677889900
I: 402 [DL]  Vendor Id: 65521 (0xFFF1)
I: 407 [DL]  Product Id: 32774 (0x8006)
I: 411 [DL]  Product Name: not-specified
I: 415 [DL]  Hardware Version: 0
I: 418 [DL]  Setup Pin Code (0 for UNKNOWN/ERROR): 20202021
I: 425 [DL]  Setup Discriminator (0xFFFF for UNKNOWN/ERROR): 3840 (0xF00)
I: 432 [DL]  Manufacturing Date: 2022-01-01
I: 437 [DL]  Device Type: 65535 (0xFFFF)
I: 441 [SVR]SetupQRCode: [MT:8IXS142C00KA0648G00]
I: 447 [SVR]Copy/paste the below URL in a browser to see the QR Code:
I: 454 [SVR]https://project-chip.github.io/connectedhomeip/qrcode.html?data=MT%3A8IXS142C00KA0648G00
I: 464 [SVR]Manual pairing code: [34970112332]
I: 474 [DL]CHIP task running
I: 477 [DIS]Updating services using commissioning mode 0
E: 482 [DIS]Failed to remove advertised services: 3
D: 488 [DL]Using Thread extended MAC for hostname.
I: 494 [DIS]Advertise commission parameter vendorID=65521 productID=32774 discriminator=3840/15 cm=0
E: 503 [DIS]Failed to advertise extended commissionable node: 3
E: 509 [DIS]Failed to finalize service update: 3
I: FW Ver: 0.3.1+0; version: 00030100
I: Device has NOT gone through provisioning
I: network state 0
E: Sending UART cmd st 0
I: BLE Device ID: 2f29
I: Current OTA Stage = 10
I: dfu_header_data.image_count: 2
E: Sending UART cmd st 0
I: BLE Name set: HU:2F29 errCode: 0
I: 15696 [SWU]SMP BLE advertising started
I: 15700 [DL]DFU over SMP started
I: IMG Integrity Verified Successfully: 0
I: IMG Integrity Verified Successfully: 1
I: Current OTA Stage = 16
I: OTA device_id = 5 : DISCOVERY_REQ
I: SECURE_STM : DISCOVERY_REQ
I: OTA device_id = 5 : FW_VERSION_REQ
I: Secure STM Firmware Version: 2 0 1 1
I: OTA device_id = 5 : FW_UPDATE_START_REQ
I: SECURE_STM : IB_FW_UPDATE_START_REQUEST
I: STM OTA Progress = 10
I: STM OTA Progress = 20
I: STM OTA Progress = 30
I: STM OTA Progress = 40
I: STM OTA Progress = 50
I: STM OTA Progress = 60
I: STM OTA Progress = 70
I: STM OTA Progress = 80
I: STM OTA Progress = 90
I: STM OTA Progress = 100
I: OTA device_id = 5 : FW_UPDATE_REBOOT_REQ
I: SECURE_STM : REBOOT_COMMAND
I: STM Rebooted, MCUBoot Verifying Image
I: OTA device_id = 5 : FW_VERSION_REQ
I: Secure STM Firmware Version: 2 0 1 2
I: OTA device_id = 5 : FW_UPDATE_COMPLETE_REQ
I: SECURE_STM : IB_FW_UPDATE_COMPLETE_REQUEST
I: OTA device_id = 5 : FW_UPDATE_REBOOT_REQ
I: SECURE_STM : REBOOT_COMMAND
I: STM Rebooted, MCUBoot Confirming Image
I: OTA device_id = 5 : FW_VERSION_REQ
I: Secure STM Firmware Version: 2 0 1 2
I: STM Secure OTA Successful
I: Clear STM OTA Meta Data
I: Current OTA Stage = 17
I: Redpine OTA started
I: Current OTA Stage = 18
I: OTA device_id = 4 : DISCOVERY_REQ
I: STM_QSPI : IB_DEVICE_DISCOVERY_REQUEST
I: OTA device_id = 4 : FW_VERSION_REQ
I: STM_QSPI : IB_FW_VERSION_REQUEST
I: Redpine Firmware Version: 2.1.255.191
I: OTA device_id = 4 : FW_UPDATE_START_REQ
I: STM_QSPI : IB_FW_UPDATE_START_REQUEST
I: Redpine Image Stored into STM QSPI, Progress = 10
I: Redpine Image Stored into STM QSPI, Progress = 20
I: Redpine Image Stored into STM QSPI, Progress = 30
I: Redpine Image Stored into STM QSPI, Progress = 40
I: Redpine Image Stored into STM QSPI, Progress = 50
I: Redpine Image Stored into STM QSPI, Progress = 60
I: Redpine Image Stored into STM QSPI, Progress = 70
I: Redpine Image Stored into STM QSPI, Progress = 80
I: Redpine Image Stored into STM QSPI, Progress = 90
I: Redpine Image Stored into STM QSPI, Progress = 100
I: OTA device_id = 4 : FW_UPDATE_COMPLETE_REQ
I: STM_QSPI : IB_FW_UPDATE_COMPLETE_REQUEST
I: STM_QSPI : STM QSPI to Redpine SPI Image Transfer Ongoing (0)
I: STM_QSPI : STM QSPI to Redpine SPI Image Transfer Ongoing (10)
I: STM_QSPI : STM QSPI to Redpine SPI Image Transfer Ongoing (20)
I: STM_QSPI : STM QSPI to Redpine SPI Image Transfer Ongoing (30)
I: STM_QSPI : STM QSPI to Redpine SPI Image Transfer Ongoing (40)
I: STM_QSPI : STM QSPI to Redpine SPI Image Transfer Ongoing (50)
I: STM_QSPI : STM QSPI to Redpine SPI Image Transfer Ongoing (60)
I: STM_QSPI : STM QSPI to Redpine SPI Image Transfer Ongoing (70)
I: STM_QSPI : STM QSPI to Redpine SPI Image Transfer Ongoing (80)
I: STM_QSPI : STM QSPI to Redpine SPI Image Transfer Ongoing (90)
I: STM_QSPI : STM QSPI to Redpine SPI Image Transfer Ongoing (100)
I: STM_QSPI : IB_FW_UPDATE_REBOOT_REQUEST
I: Clear Redpine OTA Meta Data
I: Current OTA Stage = 24
I: Start to Erase OTA Bundle Image from External Flash
I: Erasing bundle from nRF Ext. Flash
I: Bundle Image Erased from nRF Ext. Flash: 0
I: Current OTA Stage = 25
I: FW Ver: 0.3.1+0; version: 00030100
I: 599036 [DL]DFU-BLE-Connected
I: BLE Connected
Swap type: none
I: 599311 [DL]DFU-BLE-Disconnected : 19
E: Sending UART cmd st 0
I: BLE Name set: HU:2F29 errCode: 0
I: 599324 [SWU]SMP BLE advertising started
I: 599328 [DL]DFU over SMP started
I: BLE Disconnected: 13
I: 616442 [DL]DFU-BLE-Connected
I: BLE Connected
I: 616732 [DL]DFU Image upload started
I: Current OTA Stage = 11
I: 630029 [DL]Image 0 download completed successfully
I: 630057 [DL]DFU-BLE-Disconnected : 19
E: Sending UART cmd st 0
I: BLE Name set: HU:2F29 errCode: 0
I: 630070 [SWU]SMP BLE advertising started
I: 630074 [DL]DFU over SMP started
I: BLE Disconnected: 13
I: 679115 [DL]DFU-BLE-Connected
I: BLE Connected
Swap type: none
I: 679403 [DL]DFU Image upload started
I: Current OTA Stage = 12
I: 769110 [DL]Image 1 download completed successfully
I: 769136 [DL]DFU-BLE-Disconnected : 19
E: Sending UART cmd st 0
I: BLE Name set: HU:2F29 errCode: 0
I: 769148 [SWU]SMP BLE advertising started
I: 769152 [DL]DFU over SMP started
I: BLE Disconnected: 13
I: 803108 [DL]DFU-BLE-Connected
I: BLE Connected
I: 821923 [DL]DFU Image upload started
D: 900361 [DIS]Extended discovery timed out
I: 900367 [DIS]Updating services using commissioning mode 0
E: 900372 [DIS]Failed to remove advertised services: 3
E: 900378 [DIS]Failed to finalize service update: 3
I: Current OTA Stage = 13
I: 1061000 [DL]Image 2 download completed successfully
I: Current OTA Stage = 14
I: 1061032 [DL]DFU-BLE-Disconnected : 19
E: Sending UART cmd st 0
I: BLE Name set: HU:2F29 errCode: 0
I: 1061045 [SWU]SMP BLE advertising started
I: 1061049 [DL]DFU over SMP started
I: BLE Disconnected: 13
I: 1081972 [DL]DFU-BLE-Connected
I: BLE Connected
Swap type: none
Swap type: none
Swap type: none
I: 1082268 [DL]DFU-BLE-Disconnected : 19
E: Sending UART cmd st 0
I: BLE Name set: HU:2F29 errCode: 0
I: 1082280 [SWU]SMP BLE advertising started
I: 1082284 [DL]DFU over SMP started
I: BLE Disconnected: 13
I: 1099097 [DL]DFU-BLE-Connected
I: BLE Connected
E: img_mgmt_find_by_hash Return i=1
E: a4 a4
E: 1d 1d
E: 1e 1e
E: a8 a8
E: b8 b8
E: 1d 1d
E: 72 72
E: 1b 1b
E: c0 c0
E: 13 13
E: cc cc
E: 3e 3e
E: d6 d6
E: e7 e7
E: 2f 2f
E: d4 d4
E: 4c 4c
E: 9 9
E: 25 25
E: 26 26
E: d1 d1
E: df df
E: b3 b3
E: 7b 7b
E: 1d 1d
E: f3 f3
E: b1 b1
E: db db
E: 4b 4b
E: 7c 7c
E: c3 c3
E: b4 b4
E: img_mgmt_find_by_hash slot = 1, confirm = 1
E: area_id = 2, active = 0
E: Success 1
E: Success 2
writing magic; fa_id=2 off=0xeeff0 (0xeeff0)
writing image_ok; fa_id=2 off=0xeefe8 (0xeefe8)
writing swap_info; fa_id=2 off=0xeefd8 (0xeefd8), swap_type=0x3 image_num=0x0
E: Success 3
E: *** rc = 0 ***
E: img_mgmt_set_boot_next rc = 0
Swap type: perm
Swap type: perm
Swap type: none
E: img_mgmt_state_read rc = 0
I: 1099457 [DL]DFU-BLE-Disconnected : 19
E: Sending UART cmd st 0
I: BLE Name set: HU:2F29 errCode: 0
I: 1099470 [SWU]SMP BLE advertising started
I: 1099475 [DL]DFU over SMP started
I: BLE Disconnected: 13
I: 1136937 [DL]DFU-BLE-Connected
I: BLE Connected
E: img_mgmt_find_by_hash Continue
E: img_mgmt_find_by_hash Return i=3
E: 9 9
E: 4 4
E: ba ba
E: 45 45
E: 18 18
E: a a
E: c3 c3
E: 6d 6d
E: 87 87
E: da da
E: c3 c3
E: ec ec
E: f2 f2
E: d d
E: 73 73
E: b1 b1
E: 9b 9b
E: f4 f4
E: 52 52
E: 8b 8b
E: 67 67
E: 23 23
E: 29 29
E: 47 47
E: 9 9
E: 40 40
E: 93 93
E: 98 98
E: d7 d7
E: 3b 3b
E: 9c 9c
E: 12 12
E: img_mgmt_find_by_hash slot = 3, confirm = 1
E: area_id = 8, active = 0
E: Success 1
E: Success 2
writing magic; fa_id=8 off=0x3fff0 (0x12eff0)
writing image_ok; fa_id=8 off=0x3ffe8 (0x12efe8)
writing swap_info; fa_id=8 off=0x3ffd8 (0x12efd8), swap_type=0x3 image_num=0x0
E: Success 3
E: *** rc = 0 ***
E: img_mgmt_set_boot_next rc = 0
Swap type: perm
Swap type: perm
Swap type: perm
E: img_mgmt_state_read rc = 0
I: 1137332 [DL]DFU-BLE-Disconnected : 19
E: Sending UART cmd st 0
I: BLE Name set: HU:2F29 errCode: 0
I: 1137345 [SWU]SMP BLE advertising started
I: 1137349 [DL]DFU over SMP started
I: BLE Disconnected: 13
I: 1169238 [DL]DFU-BLE-Connected
I: BLE Connected
in os_mgmt_reset
in os_mgmt_reset, Timer Register
I: 1169521 [DL]DFU-BLE-Disconnected : 19
E: Sending UART cmd st 0
I: BLE Name set: HU:2F29 errCode: 0
I: 1169534 [SWU]SMP BLE advertising started
I: 1169538 [DL]DFU over SMP started
I: BLE Disconnected: 13
in os_mgmt_reset_cb
os_mgmt_reset_work_handler: System Rebooted
*** Booting Zephyr OS build v3.3.99-ncs1-1 ***
Starting bootloader
Swap type: perm
Swap type: perm
writing magic; fa_id=4 off=0xeeff0 (0xf6ff0)
writing magic; fa_id=1 off=0x3fff0 (0x3fff0)
Bootloader chainload address offset: 0x8000
Jumping to the first image slot
Start Do_Boot


uart:~$ *** Booting Zephyr OS build v3.3.99-ncs1-1 ***
I: KWIKSET HALO 3 VERSION: 00.03.00.00
I: Init CHIP stack
I: 159 [DL]BLE address: CC:AB:94:3E:AF:D5
I: Board config kwiksetmdb_nrf5340_cpuapp
I: IMAGE_VERSION 0.3.0+0
I: build time: Nov 30 2023 11:09:14
E: ====    Matter FW Ver: 0.3.0    ====
I: 198 [DL]OpenThread SED interval is 1000ms
I: 205 [DL]OpenThread started: OK
I: 208 [DL]Setting OpenThread device type to SLEEPY END DEVICE
I: 216 [SWU]DFU_BLEAdvertising_Init 
Swap type: none
I: 223 [SVR]Subscription persistence not supported
I: 227 [SVR]Server initializing...
I: 232 [TS]Last Known Good Time: 2023-11-30T17:43:12
I: 238 [DMG]AccessControl: initializing
I: 242 [DMG]Examples::AccessControlDelegate::Init
I: 248 [DMG]AccessControl: setting
I: 251 [DMG]DefaultAclStorage: initializing
I: 255 [DMG]DefaultAclStorage: 0 entries loaded
D: 260 [IN]UDP::Init bind&amp;amp;listen port=5540
E: 265 [IN]SO_REUSEPORT failed: 109
D: 269 [IN]UDP::Init bound to port=5540
D: 273 [IN]BLEBase::Init - setting/overriding transport
D: 278 [IN]TransportMgr initialized
D: 285 [DL]Using Thread extended MAC for hostname.
I: 292 [ZCL]Using ZAP configuration...
I: 298 [DMG]AccessControlCluster: initializing
D: 303 [DL]Boot reason: 6
I: 306 [ZCL]Initiating Admin Commissioning cluster.
I: 311 [ZCL]Door Lock server initialized
I: 316 [ZCL]Door Lock cluster initialized at endpoint #1
I: 322 [DIS]Updating services using commissioning mode 0
E: 328 [DIS]Failed to remove advertised services: 3
D: 334 [DL]Using Thread extended MAC for hostname.
I: 339 [DIS]Advertise commission parameter vendorID=65521 productID=32774 discriminator=3840/15 cm=0
E: 348 [DIS]Failed to advertise extended commissionable node: 3
D: 355 [DIS]Scheduling extended discovery timeout in 900s
E: 362 [DIS]Failed to finalize service update: 3
I: 367 [DIS]Delaying proxy of operational discovery: missing delegate
I: 373 [IN]CASE Server enabling CASE session setups
D: 380 [IN]SecureSession[0x200049f0]: Allocated Type:2 LSID:2765
I: 386 [SVR]Joining Multicast groups
I: 391 [SVR]Server Listening...
I: 394 [DL]Device Configuration:
I: 398 [DL]  Serial Number: 11223344556677889900
I: 403 [DL]  Vendor Id: 65521 (0xFFF1)
I: 407 [DL]  Product Id: 32774 (0x8006)
I: 411 [DL]  Product Name: not-specified
I: 415 [DL]  Hardware Version: 0
I: 419 [DL]  Setup Pin Code (0 for UNKNOWN/ERROR): 20202021
I: 425 [DL]  Setup Discriminator (0xFFFF for UNKNOWN/ERROR): 3840 (0xF00)
I: 432 [DL]  Manufacturing Date: 2022-01-01
I: 437 [DL]  Device Type: 65535 (0xFFFF)
I: 442 [SVR]SetupQRCode: [MT:8IXS142C00KA0648G00]
I: 447 [SVR]Copy/paste the below URL in a browser to see the QR Code:
I: 454 [SVR]https://project-chip.github.io/connectedhomeip/qrcode.html?data=MT%3A8IXS142C00KA0648G00
I: 465 [SVR]Manual pairing code: [34970112332]
I: 474 [DL]CHIP task running
I: 477 [DIS]Updating services using commissioning mode 0
E: 482 [DIS]Failed to remove advertised services: 3
D: 489 [DL]Using Thread extended MAC for hostname.
I: 494 [DIS]Advertise commission parameter vendorID=65521 productID=32774 discriminator=3840/15 cm=0
E: 503 [DIS]Failed to advertise extended commissionable node: 3
E: 510 [DIS]Failed to finalize service update: 3
I: FW Ver: 0.3.0+0; version: 00030000
I: Device has NOT gone through provisioning
I: network state 0
E: Sending UART cmd st 0
I: BLE Device ID: 2f29
I: Current OTA Stage = 10
I: dfu_header_data.image_count: 2
E: Sending UART cmd st 0
I: BLE Name set: HU:2F29 errCode: 0
I: 15701 [SWU]SMP BLE advertising started
I: 15705 [DL]DFU over SMP started
I: IMG Integrity Verified Successfully: 0
I: IMG Integrity Verified Successfully: 1
I: Current OTA Stage = 16
I: OTA device_id = 5 : DISCOVERY_REQ
I: SECURE_STM : DISCOVERY_REQ
I: OTA device_id = 5 : FW_VERSION_REQ
I: Secure STM Firmware Version: 2 0 1 2
I: OTA device_id = 5 : FW_UPDATE_START_REQ
I: SECURE_STM : IB_FW_UPDATE_START_REQUEST
I: STM OTA Progress = 10
I: STM OTA Progress = 20
I: STM OTA Progress = 30
I: STM OTA Progress = 40
I: STM OTA Progress = 50
I: STM OTA Progress = 60
I: STM OTA Progress = 70
I: STM OTA Progress = 80
I: STM OTA Progress = 90
I: STM OTA Progress = 100
I: OTA device_id = 5 : FW_UPDATE_REBOOT_REQ
I: SECURE_STM : REBOOT_COMMAND
I: STM Rebooted, MCUBoot Verifying Image
I: OTA device_id = 5 : FW_VERSION_REQ
I: Secure STM Firmware Version: 2 0 1 1
I: OTA device_id = 5 : FW_UPDATE_COMPLETE_REQ
I: SECURE_STM : IB_FW_UPDATE_COMPLETE_REQUEST
I: OTA device_id = 5 : FW_UPDATE_REBOOT_REQ
I: SECURE_STM : REBOOT_COMMAND
I: STM Rebooted, MCUBoot Confirming Image
I: OTA device_id = 5 : FW_VERSION_REQ
I: Secure STM Firmware Version: 2 0 1 1
I: STM Secure OTA Successful
I: Clear STM OTA Meta Data
I: Current OTA Stage = 17
I: Redpine OTA started
I: Current OTA Stage = 18
I: OTA device_id = 4 : DISCOVERY_REQ
I: STM_QSPI : IB_DEVICE_DISCOVERY_REQUEST
I: OTA device_id = 4 : FW_VERSION_REQ
I: STM_QSPI : IB_FW_VERSION_REQUEST
I: Redpine Firmware Version: 2.1.255.191
I: OTA device_id = 4 : FW_UPDATE_START_REQ
I: STM_QSPI : IB_FW_UPDATE_START_REQUEST
I: Redpine Image Stored into STM QSPI, Progress = 10
I: Redpine Image Stored into STM QSPI, Progress = 20
I: Redpine Image Stored into STM QSPI, Progress = 30
I: Redpine Image Stored into STM QSPI, Progress = 40
I: Redpine Image Stored into STM QSPI, Progress = 50
I: Redpine Image Stored into STM QSPI, Progress = 60
I: Redpine Image Stored into STM QSPI, Progress = 70
I: Redpine Image Stored into STM QSPI, Progress = 80
I: Redpine Image Stored into STM QSPI, Progress = 90
I: Redpine Image Stored into STM QSPI, Progress = 100
I: OTA device_id = 4 : FW_UPDATE_COMPLETE_REQ
I: STM_QSPI : IB_FW_UPDATE_COMPLETE_REQUEST
I: STM_QSPI : STM QSPI to Redpine SPI Image Transfer Ongoing (0)
I: STM_QSPI : STM QSPI to Redpine SPI Image Transfer Ongoing (10)
I: STM_QSPI : STM QSPI to Redpine SPI Image Transfer Ongoing (20)
I: STM_QSPI : STM QSPI to Redpine SPI Image Transfer Ongoing (30)
I: STM_QSPI : STM QSPI to Redpine SPI Image Transfer Ongoing (40)
I: STM_QSPI : STM QSPI to Redpine SPI Image Transfer Ongoing (50)
I: STM_QSPI : STM QSPI to Redpine SPI Image Transfer Ongoing (60)
I: STM_QSPI : STM QSPI to Redpine SPI Image Transfer Ongoing (70)
I: STM_QSPI : STM QSPI to Redpine SPI Image Transfer Ongoing (80)
I: STM_QSPI : STM QSPI to Redpine SPI Image Transfer Ongoing (90)
I: STM_QSPI : STM QSPI to Redpine SPI Image Transfer Ongoing (100)
I: STM_QSPI : IB_FW_UPDATE_REBOOT_REQUEST
I: Clear Redpine OTA Meta Data
I: Current OTA Stage = 24
I: Start to Erase OTA Bundle Image from External Flash
I: Erasing bundle from nRF Ext. Flash
I: Bundle Image Erased from nRF Ext. Flash: 0
I: Current OTA Stage = 25
I: FW Ver: 0.3.0+0; version: 00030000
I: 598600 [DL]DFU-BLE-Connected
I: BLE Connected
Swap type: none
I: 598882 [DL]DFU-BLE-Disconnected : 19
E: Sending UART cmd st 0
I: BLE Name set: HU:2F29 errCode: 0
I: 598895 [SWU]SMP BLE advertising started
I: 598899 [DL]DFU over SMP started
I: BLE Disconnected: 13
I: 617051 [DL]DFU-BLE-Connected
I: BLE Connected
I: 617345 [DL]DFU Image upload started
I: Current OTA Stage = 11
I: 630507 [DL]Image 0 download completed successfully
I: 630536 [DL]DFU-BLE-Disconnected : 19
E: Sending UART cmd st 0
I: BLE Name set: HU:2F29 errCode: 0
I: 630548 [SWU]SMP BLE advertising started
I: 630552 [DL]DFU over SMP started
I: BLE Disconnected: 13
I: 679773 [DL]DFU-BLE-Connected
I: BLE Connected
Swap type: none
I: 680069 [DL]DFU Image upload started
I: Current OTA Stage = 12
I: 769409 [DL]Image 1 download completed successfully
I: 769434 [DL]DFU-BLE-Disconnected : 19
E: Sending UART cmd st 0
I: BLE Name set: HU:2F29 errCode: 0
I: 769447 [SWU]SMP BLE advertising started
I: 769450 [DL]DFU over SMP started
I: BLE Disconnected: 13
I: 803653 [DL]DFU-BLE-Connected
I: BLE Connected
I: 822495 [DL]DFU Image upload started
D: 900362 [DIS]Extended discovery timed out
I: 900368 [DIS]Updating services using commissioning mode 0
E: 900375 [DIS]Failed to remove advertised services: 3
E: 900381 [DIS]Failed to finalize service update: 3
I: Current OTA Stage = 13
I: 1062097 [DL]Image 2 download completed successfully
I: Current OTA Stage = 14
I: 1062129 [DL]DFU-BLE-Disconnected : 19
E: Sending UART cmd st 0
I: BLE Name set: HU:2F29 errCode: 0
I: 1062142 [SWU]SMP BLE advertising started
I: 1062146 [DL]DFU over SMP started
I: BLE Disconnected: 13
I: 1081793 [DL]DFU-BLE-Connected
I: BLE Connected
Swap type: none
Swap type: none
Swap type: none
I: 1082086 [DL]DFU-BLE-Disconnected : 19
E: Sending UART cmd st 0
I: BLE Name set: HU:2F29 errCode: 0
I: 1082099 [SWU]SMP BLE advertising started
I: 1082103 [DL]DFU over SMP started
I: BLE Disconnected: 13
I: 1099187 [DL]DFU-BLE-Connected
I: BLE Connected
E: img_mgmt_find_by_hash Return i=1
E: cb cb
E: 96 96
E: 29 29
E: f f
E: d9 d9
E: a a
E: b7 b7
E: b b
E: 3e 3e
E: a1 a1
E: 45 45
E: aa aa
E: 46 46
E: 56 56
E: 19 19
E: 5d 5d
E: be be
E: 6e 6e
E: 4b 4b
E: eb eb
E: 7c 7c
E: e0 e0
E: bf bf
E: f0 f0
E: f4 f4
E: b8 b8
E: 18 18
E: e8 e8
E: 92 92
E: 53 53
E: 2 2
E: 82 82
E: img_mgmt_find_by_hash slot = 1, confirm = 1
E: area_id = 2, active = 0
E: Success 1
E: Success 2
writing magic; fa_id=2 off=0xeeff0 (0xeeff0)
writing image_ok; fa_id=2 off=0xeefe8 (0xeefe8)
writing swap_info; fa_id=2 off=0xeefd8 (0xeefd8), swap_type=0x3 image_num=0x0
E: Success 3
E: *** rc = 0 ***
E: img_mgmt_set_boot_next rc = 0
Swap type: perm
Swap type: perm
Swap type: none
E: img_mgmt_state_read rc = 0
I: 1099546 [DL]DFU-BLE-Disconnected : 19
E: Sending UART cmd st 0
I: BLE Name set: HU:2F29 errCode: 0
I: 1099558 [SWU]SMP BLE advertising started
I: 1099562 [DL]DFU over SMP started
I: BLE Disconnected: 13
I: 1137103 [DL]DFU-BLE-Connected
I: BLE Connected
E: img_mgmt_find_by_hash Continue
E: img_mgmt_find_by_hash Return i=3
E: 19 19
E: 64 64
E: b b
E: b1 b1
E: 5e 5e
E: dc dc
E: e6 e6
E: 77 77
E: 8c 8c
E: ef ef
E: 69 69
E: 20 20
E: 5f 5f
E: ae ae
E: 54 54
E: 61 61
E: a3 a3
E: 99 99
E: ff ff
E: 7c 7c
E: 4d 4d
E: 65 65
E: f3 f3
E: 4c 4c
E: 53 53
E: 6c 6c
E: 37 37
E: 88 88
E: 2f 2f
E: e1 e1
E: 39 39
E: 7e 7e
E: img_mgmt_find_by_hash slot = 3, confirm = 1
E: area_id = 8, active = 0
E: Success 1
E: Success 2
writing magic; fa_id=8 off=0x3fff0 (0x12eff0)
writing image_ok; fa_id=8 off=0x3ffe8 (0x12efe8)
writing swap_info; fa_id=8 off=0x3ffd8 (0x12efd8), swap_type=0x3 image_num=0x0
E: Success 3
E: *** rc = 0 ***
E: img_mgmt_set_boot_next rc = 0
Swap type: perm
Swap type: perm
Swap type: perm
E: img_mgmt_state_read rc = 0
I: 1137480 [DL]DFU-BLE-Disconnected : 19
E: Sending UART cmd st 0
I: BLE Name set: HU:2F29 errCode: 0
I: 1137493 [SWU]SMP BLE advertising started
I: 1137497 [DL]DFU over SMP started
I: BLE Disconnected: 13
I: 1170387 [DL]DFU-BLE-Connected
I: BLE Connected
in os_mgmt_reset
in os_mgmt_reset, Timer Register
I: 1170652 [DL]DFU-BLE-Disconnected : 19
E: Sending UART cmd st 0
I: BLE Name set: HU:2F29 errCode: 0
I: 1170665 [SWU]SMP BLE advertising started
I: 1170669 [DL]DFU over SMP started
I: BLE Disconnected: 13
in os_mgmt_reset_cb
os_mgmt_reset_work_handler: System Rebooted
*** Booting Zephyr OS build v3.3.99-ncs1-1 ***
Starting bootloader
Swap type: perm
Swap type: perm
writing magic; fa_id=4 off=0xeeff0 (0xf6ff0)
writing magic; fa_id=1 off=0x3fff0 (0x3fff0)
Bootloader chainload address offset: 0x8000
Jumping to the first image slot
Start Do_Boot


uart:~$ *** Booting Zephyr OS build v3.3.99-ncs1-1 ***
I: KWIKSET HALO 3 VERSION: 00.03.01.00
I: Init CHIP stack
I: 159 [DL]BLE address: FB:7E:AC:B0:87:60
I: Board config kwiksetmdb_nrf5340_cpuapp
I: IMAGE_VERSION 0.3.1+0
I: build time: Nov 30 2023 17:44:53
E: ====    Matter FW Ver: 0.3.1    ====
I: 198 [DL]OpenThread SED interval is 1000ms
I: 205 [DL]OpenThread started: OK
I: 209 [DL]Setting OpenThread device type to SLEEPY END DEVICE
I: 216 [SWU]DFU_BLEAdvertising_Init 
Swap type: none
I: 223 [SVR]Subscription persistence not supported
I: 227 [SVR]Server initializing...
I: 232 [TS]Last Known Good Time: 2023-11-30T17:43:12
I: 238 [DMG]AccessControl: initializing
I: 242 [DMG]Examples::AccessControlDelegate::Init
I: 247 [DMG]AccessControl: setting
I: 250 [DMG]DefaultAclStorage: initializing
I: 255 [DMG]DefaultAclStorage: 0 entries loaded
D: 260 [IN]UDP::Init bind&amp;amp;listen port=5540
E: 265 [IN]SO_REUSEPORT failed: 109
D: 269 [IN]UDP::Init bound to port=5540
D: 273 [IN]BLEBase::Init - setting/overriding transport
D: 278 [IN]TransportMgr initialized
D: 285 [DL]Using Thread extended MAC for hostname.
I: 292 [ZCL]Using ZAP configuration...
I: 298 [DMG]AccessControlCluster: initializing
D: 303 [DL]Boot reason: 6
I: 306 [ZCL]Initiating Admin Commissioning cluster.
I: 311 [ZCL]Door Lock server initialized
I: 316 [ZCL]Door Lock cluster initialized at endpoint #1
I: 322 [DIS]Updating services using commissioning mode 0
E: 328 [DIS]Failed to remove advertised services: 3
D: 334 [DL]Using Thread extended MAC for hostname.
I: 339 [DIS]Advertise commission parameter vendorID=65521 productID=32774 discriminator=3840/15 cm=0
E: 348 [DIS]Failed to advertise extended commissionable node: 3
D: 355 [DIS]Scheduling extended discovery timeout in 900s
E: 362 [DIS]Failed to finalize service update: 3
I: 366 [DIS]Delaying proxy of operational discovery: missing delegate
I: 373 [IN]CASE Server enabling CASE session setups
D: 380 [IN]SecureSession[0x200049f0]: Allocated Type:2 LSID:29686
I: 386 [SVR]Joining Multicast groups
I: 391 [SVR]Server Listening...
I: 394 [DL]Device Configuration:
I: 397 [DL]  Serial Number: 11223344556677889900
I: 402 [DL]  Vendor Id: 65521 (0xFFF1)
I: 406 [DL]  Product Id: 32774 (0x8006)
I: 410 [DL]  Product Name: not-specified
I: 415 [DL]  Hardware Version: 0
I: 418 [DL]  Setup Pin Code (0 for UNKNOWN/ERROR): 20202021
I: 424 [DL]  Setup Discriminator (0xFFFF for UNKNOWN/ERROR): 3840 (0xF00)
I: 431 [DL]  Manufacturing Date: 2022-01-01
I: 437 [DL]  Device Type: 65535 (0xFFFF)
I: 441 [SVR]SetupQRCode: [MT:8IXS142C00KA0648G00]
I: 447 [SVR]Copy/paste the below URL in a browser to see the QR Code:
I: 453 [SVR]https://project-chip.github.io/connectedhomeip/qrcode.html?data=MT%3A8IXS142C00KA0648G00
I: 464 [SVR]Manual pairing code: [34970112332]
I: 474 [DL]CHIP task running
I: 477 [DIS]Updating services using commissioning mode 0
E: 482 [DIS]Failed to remove advertised services: 3
D: 488 [DL]Using Thread extended MAC for hostname.
I: 494 [DIS]Advertise commission parameter vendorID=65521 productID=32774 discriminator=3840/15 cm=0
E: 504 [DIS]Failed to advertise extended commissionable node: 3
E: 510 [DIS]Failed to finalize service update: 3
I: FW Ver: 0.3.1+0; version: 00030100
I: Device has NOT gone through provisioning
I: network state 0
E: Sending UART cmd st 0
I: BLE Device ID: 2f29
I: Current OTA Stage = 10
I: dfu_header_data.image_count: 2
E: Sending UART cmd st 0
I: BLE Name set: HU:2F29 errCode: 0
I: 15696 [SWU]SMP BLE advertising started
I: 15700 [DL]DFU over SMP started
I: IMG Integrity Verified Successfully: 0
I: IMG Integrity Verified Successfully: 1
I: Current OTA Stage = 16
I: OTA device_id = 5 : DISCOVERY_REQ
I: SECURE_STM : DISCOVERY_REQ
I: OTA device_id = 5 : FW_VERSION_REQ
I: Secure STM Firmware Version: 2 0 1 1
I: OTA device_id = 5 : FW_UPDATE_START_REQ
I: SECURE_STM : IB_FW_UPDATE_START_REQUEST
I: STM OTA Progress = 10
I: STM OTA Progress = 20
I: STM OTA Progress = 30
I: STM OTA Progress = 40
I: STM OTA Progress = 50
I: STM OTA Progress = 60
I: STM OTA Progress = 70
I: STM OTA Progress = 80
I: STM OTA Progress = 90
I: STM OTA Progress = 100
I: OTA device_id = 5 : FW_UPDATE_REBOOT_REQ
I: SECURE_STM : REBOOT_COMMAND
I: STM Rebooted, MCUBoot Verifying Image
I: OTA device_id = 5 : FW_VERSION_REQ
I: Secure STM Firmware Version: 2 0 1 2
I: OTA device_id = 5 : FW_UPDATE_COMPLETE_REQ
I: SECURE_STM : IB_FW_UPDATE_COMPLETE_REQUEST
I: OTA device_id = 5 : FW_UPDATE_REBOOT_REQ
I: SECURE_STM : REBOOT_COMMAND
I: STM Rebooted, MCUBoot Confirming Image
I: OTA device_id = 5 : FW_VERSION_REQ
I: Secure STM Firmware Version: 2 0 1 2
I: STM Secure OTA Successful
I: Clear STM OTA Meta Data
I: Current OTA Stage = 17
I: Redpine OTA started
I: Current OTA Stage = 18
I: OTA device_id = 4 : DISCOVERY_REQ
I: STM_QSPI : IB_DEVICE_DISCOVERY_REQUEST
I: OTA device_id = 4 : FW_VERSION_REQ
I: STM_QSPI : IB_FW_VERSION_REQUEST
I: Redpine Firmware Version: 2.1.255.191
I: OTA device_id = 4 : FW_UPDATE_START_REQ
I: STM_QSPI : IB_FW_UPDATE_START_REQUEST
I: Redpine Image Stored into STM QSPI, Progress = 10
I: Redpine Image Stored into STM QSPI, Progress = 20
I: Redpine Image Stored into STM QSPI, Progress = 30
I: Redpine Image Stored into STM QSPI, Progress = 40
I: Redpine Image Stored into STM QSPI, Progress = 50
I: Redpine Image Stored into STM QSPI, Progress = 60
I: Redpine Image Stored into STM QSPI, Progress = 70
I: Redpine Image Stored into STM QSPI, Progress = 80
I: Redpine Image Stored into STM QSPI, Progress = 90
I: Redpine Image Stored into STM QSPI, Progress = 100
I: OTA device_id = 4 : FW_UPDATE_COMPLETE_REQ
I: STM_QSPI : IB_FW_UPDATE_COMPLETE_REQUEST
I: STM_QSPI : STM QSPI to Redpine SPI Image Transfer Ongoing (0)
I: STM_QSPI : STM QSPI to Redpine SPI Image Transfer Ongoing (10)
I: STM_QSPI : STM QSPI to Redpine SPI Image Transfer Ongoing (20)
I: STM_QSPI : STM QSPI to Redpine SPI Image Transfer Ongoing (30)
I: STM_QSPI : STM QSPI to Redpine SPI Image Transfer Ongoing (40)
I: STM_QSPI : STM QSPI to Redpine SPI Image Transfer Ongoing (50)
I: STM_QSPI : STM QSPI to Redpine SPI Image Transfer Ongoing (60)
I: STM_QSPI : STM QSPI to Redpine SPI Image Transfer Ongoing (70)
I: STM_QSPI : STM QSPI to Redpine SPI Image Transfer Ongoing (80)
I: STM_QSPI : STM QSPI to Redpine SPI Image Transfer Ongoing (90)
I: STM_QSPI : STM QSPI to Redpine SPI Image Transfer Ongoing (100)
I: STM_QSPI : IB_FW_UPDATE_REBOOT_REQUEST
I: Clear Redpine OTA Meta Data
I: Current OTA Stage = 24
I: Start to Erase OTA Bundle Image from External Flash
I: Erasing bundle from nRF Ext. Flash
I: Bundle Image Erased from nRF Ext. Flash: 0
I: Current OTA Stage = 25
I: FW Ver: 0.3.1+0; version: 00030100
I: 598774 [DL]DFU-BLE-Connected
I: BLE Connected
Swap type: none
I: 599035 [DL]DFU-BLE-Disconnected : 19
E: Sending UART cmd st 0
I: BLE Name set: HU:2F29 errCode: 0
I: 599047 [SWU]SMP BLE advertising started
I: 599051 [DL]DFU over SMP started
I: BLE Disconnected: 13
I: 615913 [DL]DFU-BLE-Connected
I: BLE Connected
I: 616200 [DL]DFU Image upload started
I: Current OTA Stage = 11
I: 629474 [DL]Image 0 download completed successfully
I: 629503 [DL]DFU-BLE-Disconnected : 19
E: Sending UART cmd st 0
I: BLE Name set: HU:2F29 errCode: 0
I: 629516 [SWU]SMP BLE advertising started
I: 629520 [DL]DFU over SMP started
I: BLE Disconnected: 13
I: 679481 [DL]DFU-BLE-Connected
I: BLE Connected
Swap type: none
I: 679787 [DL]DFU Image upload started
I: Current OTA Stage = 12
I: 769884 [DL]Image 1 download completed successfully
I: 769909 [DL]DFU-BLE-Disconnected : 19
E: Sending UART cmd st 0
I: BLE Name set: HU:2F29 errCode: 0
I: 769922 [SWU]SMP BLE advertising started
I: 769925 [DL]DFU over SMP started
I: BLE Disconnected: 13
I: 804136 [DL]DFU-BLE-Connected
I: BLE Connected
I: 822945 [DL]DFU Image upload started
D: 900362 [DIS]Extended discovery timed out
I: 900368 [DIS]Updating services using commissioning mode 0
E: 900376 [DIS]Failed to remove advertised services: 3
E: 900382 [DIS]Failed to finalize service update: 3
I: Current OTA Stage = 13
I: 1061537 [DL]Image 2 download completed successfully
I: Current OTA Stage = 14
I: 1061569 [DL]DFU-BLE-Disconnected : 19
E: Sending UART cmd st 0
I: BLE Name set: HU:2F29 errCode: 0
I: 1061582 [SWU]SMP BLE advertising started
I: 1061586 [DL]DFU over SMP started
I: BLE Disconnected: 13
I: 1080490 [DL]DFU-BLE-Connected
I: BLE Connected
Swap type: none
Swap type: none
Swap type: none
I: 1080768 [DL]DFU-BLE-Disconnected : 19
E: Sending UART cmd st 0
I: BLE Name set: HU:2F29 errCode: 0
I: 1080781 [SWU]SMP BLE advertising started
I: 1080785 [DL]DFU over SMP started
I: BLE Disconnected: 13
I: 1098169 [DL]DFU-BLE-Connected
I: BLE Connected
E: img_mgmt_find_by_hash Return i=1
E: a4 a4
E: 1d 1d
E: 1e 1e
E: a8 a8
E: b8 b8
E: 1d 1d
E: 72 72
E: 1b 1b
E: c0 c0
E: 13 13
E: cc cc
E: 3e 3e
E: d6 d6
E: e7 e7
E: 2f 2f
E: d4 d4
E: 4c 4c
E: 9 9
E: 25 25
E: 26 26
E: d1 d1
E: df df
E: b3 b3
E: 7b 7b
E: 1d 1d
E: f3 f3
E: b1 b1
E: db db
E: 4b 4b
E: 7c 7c
E: c3 c3
E: b4 b4
E: img_mgmt_find_by_hash slot = 1, confirm = 1
E: area_id = 2, active = 0
E: Success 1
E: Success 2
writing magic; fa_id=2 off=0xeeff0 (0xeeff0)
writing image_ok; fa_id=2 off=0xeefe8 (0xeefe8)
writing swap_info; fa_id=2 off=0xeefd8 (0xeefd8), swap_type=0x3 image_num=0x0
E: Success 3
E: *** rc = 0 ***
E: img_mgmt_set_boot_next rc = 0
Swap type: perm
Swap type: perm
Swap type: none
E: img_mgmt_state_read rc = 0
I: 1098536 [DL]DFU-BLE-Disconnected : 19
E: Sending UART cmd st 0
I: BLE Name set: HU:2F29 errCode: 0
I: 1098549 [SWU]SMP BLE advertising started
I: 1098553 [DL]DFU over SMP started
I: BLE Disconnected: 13
I: 1135569 [DL]DFU-BLE-Connected
I: BLE Connected
E: img_mgmt_find_by_hash Continue
E: img_mgmt_find_by_hash Return i=3
E: 9 9
E: 4 4
E: ba ba
E: 45 45
E: 18 18
E: a a
E: c3 c3
E: 6d 6d
E: 87 87
E: da da
E: c3 c3
E: ec ec
E: f2 f2
E: d d
E: 73 73
E: b1 b1
E: 9b 9b
E: f4 f4
E: 52 52
E: 8b 8b
E: 67 67
E: 23 23
E: 29 29
E: 47 47
E: 9 9
E: 40 40
E: 93 93
E: 98 98
E: d7 d7
E: 3b 3b
E: 9c 9c
E: 12 12
E: img_mgmt_find_by_hash slot = 3, confirm = 1
E: area_id = 8, active = 0
E: Success 1
E: Success 2
writing magic; fa_id=8 off=0x3fff0 (0x12eff0)
writing image_ok; fa_id=8 off=0x3ffe8 (0x12efe8)
writing swap_info; fa_id=8 off=0x3ffd8 (0x12efd8), swap_type=0x3 image_num=0x0
E: Success 3
E: *** rc = 0 ***
E: img_mgmt_set_boot_next rc = 0
Swap type: perm
Swap type: perm
Swap type: perm
E: img_mgmt_state_read rc = 0
I: 1135945 [DL]DFU-BLE-Disconnected : 19
E: Sending UART cmd st 0
I: BLE Name set: HU:2F29 errCode: 0
I: 1135958 [SWU]SMP BLE advertising started
I: 1135962 [DL]DFU over SMP started
I: BLE Disconnected: 13
I: 1167833 [DL]DFU-BLE-Connected
I: BLE Connected
in os_mgmt_reset
in os_mgmt_reset, Timer Register
I: 1168105 [DL]DFU-BLE-Disconnected : 19
E: Sending UART cmd st 0
I: BLE Name set: HU:2F29 errCode: 0
I: 1168117 [SWU]SMP BLE advertising started
I: 1168121 [DL]DFU over SMP started
I: BLE Disconnected: 13
in os_mgmt_reset_cb
os_mgmt_reset_work_handler: System Rebooted
*** Booting Zephyr OS build v3.3.99-ncs1-1 ***
Starting bootloader
Swap type: perm
Swap type: perm
writing magic; fa_id=4 off=0xeeff0 (0xf6ff0)
writing magic; fa_id=1 off=0x3fff0 (0x3fff0)
Bootloader chainload address offset: 0x8000
Jumping to the first image slot
Start Do_Boot


uart:~$ *** Booting Zephyr OS build v3.3.99-ncs1-1 ***
I: KWIKSET HALO 3 VERSION: 00.03.00.00
I: Init CHIP stack
I: 159 [DL]BLE address: DF:87:3A:AD:2F:28
I: Board config kwiksetmdb_nrf5340_cpuapp
I: IMAGE_VERSION 0.3.0+0
I: build time: Nov 30 2023 11:09:14
E: ====    Matter FW Ver: 0.3.0    ====
I: 198 [DL]OpenThread SED interval is 1000ms
I: 205 [DL]OpenThread started: OK
I: 208 [DL]Setting OpenThread device type to SLEEPY END DEVICE
I: 216 [SWU]DFU_BLEAdvertising_Init 
Swap type: none
I: 223 [SVR]Subscription persistence not supported
I: 227 [SVR]Server initializing...
I: 232 [TS]Last Known Good Time: 2023-11-30T17:43:12
I: 238 [DMG]AccessControl: initializing
I: 242 [DMG]Examples::AccessControlDelegate::Init
I: 247 [DMG]AccessControl: setting
I: 251 [DMG]DefaultAclStorage: initializing
I: 255 [DMG]DefaultAclStorage: 0 entries loaded
D: 260 [IN]UDP::Init bind&amp;amp;listen port=5540
E: 265 [IN]SO_REUSEPORT failed: 109
D: 269 [IN]UDP::Init bound to port=5540
D: 273 [IN]BLEBase::Init - setting/overriding transport
D: 278 [IN]TransportMgr initialized
D: 285 [DL]Using Thread extended MAC for hostname.
I: 292 [ZCL]Using ZAP configuration...
I: 298 [DMG]AccessControlCluster: initializing
D: 303 [DL]Boot reason: 6
I: 306 [ZCL]Initiating Admin Commissioning cluster.
I: 311 [ZCL]Door Lock server initialized
I: 316 [ZCL]Door Lock cluster initialized at endpoint #1
I: 322 [DIS]Updating services using commissioning mode 0
E: 328 [DIS]Failed to remove advertised services: 3
D: 334 [DL]Using Thread extended MAC for hostname.
I: 339 [DIS]Advertise commission parameter vendorID=65521 productID=32774 discriminator=3840/15 cm=0
E: 348 [DIS]Failed to advertise extended commissionable node: 3
D: 355 [DIS]Scheduling extended discovery timeout in 900s
E: 362 [DIS]Failed to finalize service update: 3
I: 366 [DIS]Delaying proxy of operational discovery: missing delegate
I: 373 [IN]CASE Server enabling CASE session setups
D: 380 [IN]SecureSession[0x200049f0]: Allocated Type:2 LSID:60347
I: 386 [SVR]Joining Multicast groups
I: 391 [SVR]Server Listening...
I: 394 [DL]Device Configuration:
I: 397 [DL]  Serial Number: 11223344556677889900
I: 402 [DL]  Vendor Id: 65521 (0xFFF1)
I: 406 [DL]  Product Id: 32774 (0x8006)
I: 411 [DL]  Product Name: not-specified
I: 415 [DL]  Hardware Version: 0
I: 418 [DL]  Setup Pin Code (0 for UNKNOWN/ERROR): 20202021
I: 425 [DL]  Setup Discriminator (0xFFFF for UNKNOWN/ERROR): 3840 (0xF00)
I: 433 [DL]  Manufacturing Date: 2022-01-01
I: 437 [DL]  Device Type: 65535 (0xFFFF)
I: 442 [SVR]SetupQRCode: [MT:8IXS142C00KA0648G00]
I: 447 [SVR]Copy/paste the below URL in a browser to see the QR Code:
I: 453 [SVR]https://project-chip.github.io/connectedhomeip/qrcode.html?data=MT%3A8IXS142C00KA0648G00
I: 465 [SVR]Manual pairing code: [34970112332]
I: 474 [DL]CHIP task running
I: 477 [DIS]Updating services using commissioning mode 0
E: 482 [DIS]Failed to remove advertised services: 3
D: 488 [DL]Using Thread extended MAC for hostname.
I: 494 [DIS]Advertise commission parameter vendorID=65521 productID=32774 discriminator=3840/15 cm=0
E: 503 [DIS]Failed to advertise extended commissionable node: 3
E: 510 [DIS]Failed to finalize service update: 3
I: FW Ver: 0.3.0+0; version: 00030000
I: Device has NOT gone through provisioning
I: network state 0
E: Sending UART cmd st 0
I: BLE Device ID: 2f29
I: Current OTA Stage = 10
I: dfu_header_data.image_count: 2
E: Sending UART cmd st 0
I: BLE Name set: HU:2F29 errCode: 0
I: 15701 [SWU]SMP BLE advertising started
I: 15705 [DL]DFU over SMP started
I: IMG Integrity Verified Successfully: 0
I: IMG Integrity Verified Successfully: 1
I: Current OTA Stage = 16
I: OTA device_id = 5 : DISCOVERY_REQ
I: SECURE_STM : DISCOVERY_REQ
I: OTA device_id = 5 : FW_VERSION_REQ
I: Secure STM Firmware Version: 2 0 1 2
I: OTA device_id = 5 : FW_UPDATE_START_REQ
I: SECURE_STM : IB_FW_UPDATE_START_REQUEST
I: STM OTA Progress = 10
I: STM OTA Progress = 20
I: STM OTA Progress = 30
I: STM OTA Progress = 40
I: STM OTA Progress = 50
I: STM OTA Progress = 60
I: STM OTA Progress = 70
I: STM OTA Progress = 80
I: STM OTA Progress = 90
I: STM OTA Progress = 100
I: OTA device_id = 5 : FW_UPDATE_REBOOT_REQ
I: SECURE_STM : REBOOT_COMMAND
I: STM Rebooted, MCUBoot Verifying Image
I: OTA device_id = 5 : FW_VERSION_REQ
I: Secure STM Firmware Version: 2 0 1 1
I: OTA device_id = 5 : FW_UPDATE_COMPLETE_REQ
I: SECURE_STM : IB_FW_UPDATE_COMPLETE_REQUEST
I: OTA device_id = 5 : FW_UPDATE_REBOOT_REQ
I: SECURE_STM : REBOOT_COMMAND
I: STM Rebooted, MCUBoot Confirming Image
I: OTA device_id = 5 : FW_VERSION_REQ
I: Secure STM Firmware Version: 2 0 1 1
I: STM Secure OTA Successful
I: Clear STM OTA Meta Data
I: Current OTA Stage = 17
I: Redpine OTA started
I: Current OTA Stage = 18
I: OTA device_id = 4 : DISCOVERY_REQ
I: STM_QSPI : IB_DEVICE_DISCOVERY_REQUEST
I: OTA device_id = 4 : FW_VERSION_REQ
I: STM_QSPI : IB_FW_VERSION_REQUEST
I: Redpine Firmware Version: 2.1.255.191
I: OTA device_id = 4 : FW_UPDATE_START_REQ
I: STM_QSPI : IB_FW_UPDATE_START_REQUEST
I: Redpine Image Stored into STM QSPI, Progress = 10
I: Redpine Image Stored into STM QSPI, Progress = 20
I: Redpine Image Stored into STM QSPI, Progress = 30
I: Redpine Image Stored into STM QSPI, Progress = 40
I: Redpine Image Stored into STM QSPI, Progress = 50
I: Redpine Image Stored into STM QSPI, Progress = 60
I: Redpine Image Stored into STM QSPI, Progress = 70
I: Redpine Image Stored into STM QSPI, Progress = 80
I: Redpine Image Stored into STM QSPI, Progress = 90
I: Redpine Image Stored into STM QSPI, Progress = 100
I: OTA device_id = 4 : FW_UPDATE_COMPLETE_REQ
I: STM_QSPI : IB_FW_UPDATE_COMPLETE_REQUEST
I: STM_QSPI : STM QSPI to Redpine SPI Image Transfer Ongoing (0)
I: STM_QSPI : STM QSPI to Redpine SPI Image Transfer Ongoing (10)
I: STM_QSPI : STM QSPI to Redpine SPI Image Transfer Ongoing (20)
I: STM_QSPI : STM QSPI to Redpine SPI Image Transfer Ongoing (30)
I: STM_QSPI : STM QSPI to Redpine SPI Image Transfer Ongoing (40)
I: STM_QSPI : STM QSPI to Redpine SPI Image Transfer Ongoing (50)
I: STM_QSPI : STM QSPI to Redpine SPI Image Transfer Ongoing (60)
I: STM_QSPI : STM QSPI to Redpine SPI Image Transfer Ongoing (70)
I: STM_QSPI : STM QSPI to Redpine SPI Image Transfer Ongoing (80)
I: STM_QSPI : STM QSPI to Redpine SPI Image Transfer Ongoing (90)
I: STM_QSPI : STM QSPI to Redpine SPI Image Transfer Ongoing (100)
I: STM_QSPI : IB_FW_UPDATE_REBOOT_REQUEST
I: Clear Redpine OTA Meta Data
I: Current OTA Stage = 24
I: Start to Erase OTA Bundle Image from External Flash
I: Erasing bundle from nRF Ext. Flash
I: Bundle Image Erased from nRF Ext. Flash: 0
I: Current OTA Stage = 25
I: FW Ver: 0.3.0+0; version: 00030000
I: 598184 [DL]DFU-BLE-Connected
I: BLE Connected
Swap type: none
I: 598476 [DL]DFU-BLE-Disconnected : 19
E: Sending UART cmd st 0
I: BLE Name set: HU:2F29 errCode: 0
I: 598489 [SWU]SMP BLE advertising started
I: 598493 [DL]DFU over SMP started
I: BLE Disconnected: 13
I: 615576 [DL]DFU-BLE-Connected
I: BLE Connected
I: 615867 [DL]DFU Image upload started
I: Current OTA Stage = 11
I: 629081 [DL]Image 0 download completed successfully
I: 629110 [DL]DFU-BLE-Disconnected : 19
E: Sending UART cmd st 0
I: BLE Name set: HU:2F29 errCode: 0
I: 629122 [SWU]SMP BLE advertising started
I: 629126 [DL]DFU over SMP started
I: BLE Disconnected: 13
I: 678161 [DL]DFU-BLE-Connected
I: BLE Connected
Swap type: none
I: 678463 [DL]DFU Image upload started
I: Current OTA Stage = 12
I: 767589 [DL]Image 1 download completed successfully
I: 767614 [DL]DFU-BLE-Disconnected : 19
E: Sending UART cmd st 0
I: BLE Name set: HU:2F29 errCode: 0
I: 767627 [SWU]SMP BLE advertising started
I: 767631 [DL]DFU over SMP started
I: BLE Disconnected: 13
I: 803580 [DL]DFU-BLE-Connected
I: BLE Connected
I: 822408 [DL]DFU Image upload started
D: 900361 [DIS]Extended discovery timed out
I: 900365 [DIS]Updating services using commissioning mode 0
E: 900374 [DIS]Failed to remove advertised services: 3
E: 900381 [DIS]Failed to finalize service update: 3
I: Current OTA Stage = 13
I: 1061672 [DL]Image 2 download completed successfully
I: Current OTA Stage = 14
I: 1061704 [DL]DFU-BLE-Disconnected : 19
E: Sending UART cmd st 0
I: BLE Name set: HU:2F29 errCode: 0
I: 1061717 [SWU]SMP BLE advertising started
I: 1061721 [DL]DFU over SMP started
I: BLE Disconnected: 13
I: 1081145 [DL]DFU-BLE-Connected
I: BLE Connected
Swap type: none
Swap type: none
Swap type: none
I: 1081425 [DL]DFU-BLE-Disconnected : 19
E: Sending UART cmd st 0
I: BLE Name set: HU:2F29 errCode: 0
I: 1081438 [SWU]SMP BLE advertising started
I: 1081442 [DL]DFU over SMP started
I: BLE Disconnected: 13
I: 1097506 [DL]DFU-BLE-Connected
I: BLE Connected
E: img_mgmt_find_by_hash Return i=1
E: cb cb
E: 96 96
E: 29 29
E: f f
E: d9 d9
E: a a
E: b7 b7
E: b b
E: 3e 3e
E: a1 a1
E: 45 45
E: aa aa
E: 46 46
E: 56 56
E: 19 19
E: 5d 5d
E: be be
E: 6e 6e
E: 4b 4b
E: eb eb
E: 7c 7c
E: e0 e0
E: bf bf
E: f0 f0
E: f4 f4
E: b8 b8
E: 18 18
E: e8 e8
E: 92 92
E: 53 53
E: 2 2
E: 82 82
E: img_mgmt_find_by_hash slot = 1, confirm = 1
E: area_id = 2, active = 0
E: Success 1
E: Success 2
writing magic; fa_id=2 off=0xeeff0 (0xeeff0)
writing image_ok; fa_id=2 off=0xeefe8 (0xeefe8)
writing swap_info; fa_id=2 off=0xeefd8 (0xeefd8), swap_type=0x3 image_num=0x0
E: Success 3
E: *** rc = 0 ***
E: img_mgmt_set_boot_next rc = 0
Swap type: perm
Swap type: perm
Swap type: none
E: img_mgmt_state_read rc = 0
I: 1097880 [DL]DFU-BLE-Disconnected : 19
E: Sending UART cmd st 0
I: BLE Name set: HU:2F29 errCode: 0
I: 1097893 [SWU]SMP BLE advertising started
I: 1097897 [DL]DFU over SMP started
I: BLE Disconnected: 13
I: 1138194 [DL]DFU-BLE-Connected
I: BLE Connected
E: img_mgmt_find_by_hash Continue
E: img_mgmt_find_by_hash Return i=3
E: 19 19
E: 64 64
E: b b
E: b1 b1
E: 5e 5e
E: dc dc
E: e6 e6
E: 77 77
E: 8c 8c
E: ef ef
E: 69 69
E: 20 20
E: 5f 5f
E: ae ae
E: 54 54
E: 61 61
E: a3 a3
E: 99 99
E: ff ff
E: 7c 7c
E: 4d 4d
E: 65 65
E: f3 f3
E: 4c 4c
E: 53 53
E: 6c 6c
E: 37 37
E: 88 88
E: 2f 2f
E: e1 e1
E: 39 39
E: 7e 7e
E: img_mgmt_find_by_hash slot = 3, confirm = 1
E: area_id = 8, active = 0
E: Success 1
E: Success 2
writing magic; fa_id=8 off=0x3fff0 (0x12eff0)
writing image_ok; fa_id=8 off=0x3ffe8 (0x12efe8)
writing swap_info; fa_id=8 off=0x3ffd8 (0x12efd8), swap_type=0x3 image_num=0x0
E: Success 3
E: *** rc = 0 ***
E: img_mgmt_set_boot_next rc = 0
Swap type: perm
Swap type: perm
Swap type: perm
E: img_mgmt_state_read rc = 0
I: 1138582 [DL]DFU-BLE-Disconnected : 19
E: Sending UART cmd st 0
I: BLE Name set: HU:2F29 errCode: 0
I: 1138595 [SWU]SMP BLE advertising started
I: 1138598 [DL]DFU over SMP started
I: BLE Disconnected: 13
I: 1171224 [DL]DFU-BLE-Connected
I: BLE Connected
in os_mgmt_reset
in os_mgmt_reset, Timer Register
I: 1171514 [DL]DFU-BLE-Disconnected : 19
E: Sending UART cmd st 0
I: BLE Name set: HU:2F29 errCode: 0
I: 1171527 [SWU]SMP BLE advertising started
I: 1171531 [DL]DFU over SMP started
I: BLE Disconnected: 13
in os_mgmt_reset_cb
os_mgmt_reset_work_handler: System Rebooted
*** Booting Zephyr OS build v3.3.99-ncs1-1 ***
Starting bootloader
Swap type: perm
Swap type: perm
writing magic; fa_id=4 off=0xeeff0 (0xf6ff0)
writing magic; fa_id=1 off=0x3fff0 (0x3fff0)
Bootloader chainload address offset: 0x8000
Jumping to the first image slot
Start Do_Boot


uart:~$ *** Booting Zephyr OS build v3.3.99-ncs1-1 ***
I: KWIKSET HALO 3 VERSION: 00.03.01.00
I: Init CHIP stack
I: 159 [DL]BLE address: CB:A0:E7:E4:DB:94
I: Board config kwiksetmdb_nrf5340_cpuapp
I: IMAGE_VERSION 0.3.1+0
I: build time: Nov 30 2023 17:44:53
E: ====    Matter FW Ver: 0.3.1    ====
I: 198 [DL]OpenThread SED interval is 1000ms
I: 205 [DL]OpenThread started: OK
I: 208 [DL]Setting OpenThread device type to SLEEPY END DEVICE
I: 216 [SWU]DFU_BLEAdvertising_Init 
Swap type: none
I: 223 [SVR]Subscription persistence not supported
I: 227 [SVR]Server initializing...
I: 232 [TS]Last Known Good Time: 2023-11-30T17:43:12
I: 238 [DMG]AccessControl: initializing
I: 242 [DMG]Examples::AccessControlDelegate::Init
I: 247 [DMG]AccessControl: setting
I: 251 [DMG]DefaultAclStorage: initializing
I: 255 [DMG]DefaultAclStorage: 0 entries loaded
D: 260 [IN]UDP::Init bind&amp;amp;listen port=5540
E: 265 [IN]SO_REUSEPORT failed: 109
D: 269 [IN]UDP::Init bound to port=5540
D: 273 [IN]BLEBase::Init - setting/overriding transport
D: 278 [IN]TransportMgr initialized
D: 285 [DL]Using Thread extended MAC for hostname.
I: 292 [ZCL]Using ZAP configuration...
I: 298 [DMG]AccessControlCluster: initializing
D: 303 [DL]Boot reason: 6
I: 306 [ZCL]Initiating Admin Commissioning cluster.
I: 311 [ZCL]Door Lock server initialized
I: 316 [ZCL]Door Lock cluster initialized at endpoint #1
I: 322 [DIS]Updating services using commissioning mode 0
E: 327 [DIS]Failed to remove advertised services: 3
D: 333 [DL]Using Thread extended MAC for hostname.
I: 339 [DIS]Advertise commission parameter vendorID=65521 productID=32774 discriminator=3840/15 cm=0
E: 348 [DIS]Failed to advertise extended commissionable node: 3
D: 355 [DIS]Scheduling extended discovery timeout in 900s
E: 361 [DIS]Failed to finalize service update: 3
I: 366 [DIS]Delaying proxy of operational discovery: missing delegate
I: 373 [IN]CASE Server enabling CASE session setups
D: 380 [IN]SecureSession[0x200049f0]: Allocated Type:2 LSID:36188
I: 386 [SVR]Joining Multicast groups
I: 391 [SVR]Server Listening...
I: 394 [DL]Device Configuration:
I: 397 [DL]  Serial Number: 11223344556677889900
I: 403 [DL]  Vendor Id: 65521 (0xFFF1)
I: 406 [DL]  Product Id: 32774 (0x8006)
I: 410 [DL]  Product Name: not-specified
I: 415 [DL]  Hardware Version: 0
I: 418 [DL]  Setup Pin Code (0 for UNKNOWN/ERROR): 20202021
I: 425 [DL]  Setup Discriminator (0xFFFF for UNKNOWN/ERROR): 3840 (0xF00)
I: 432 [DL]  Manufacturing Date: 2022-01-01
I: 437 [DL]  Device Type: 65535 (0xFFFF)
I: 442 [SVR]SetupQRCode: [MT:8IXS142C00KA0648G00]
I: 447 [SVR]Copy/paste the below URL in a browser to see the QR Code:
I: 454 [SVR]https://project-chip.github.io/connectedhomeip/qrcode.html?data=MT%3A8IXS142C00KA0648G00
I: 465 [SVR]Manual pairing code: [34970112332]
I: 474 [DL]CHIP task running
I: 477 [DIS]Updating services using commissioning mode 0
E: 482 [DIS]Failed to remove advertised services: 3
D: 488 [DL]Using Thread extended MAC for hostname.
I: 494 [DIS]Advertise commission parameter vendorID=65521 productID=32774 discriminator=3840/15 cm=0
E: 503 [DIS]Failed to advertise extended commissionable node: 3
E: 510 [DIS]Failed to finalize service update: 3
I: FW Ver: 0.3.1+0; version: 00030100
I: Device has NOT gone through provisioning
I: network state 0
E: Sending UART cmd st 0
I: BLE Device ID: 2f29
I: Current OTA Stage = 10
I: dfu_header_data.image_count: 2
E: Sending UART cmd st 0
I: BLE Name set: HU:2F29 errCode: 0
I: 15701 [SWU]SMP BLE advertising started
I: 15705 [DL]DFU over SMP started
I: IMG Integrity Verified Successfully: 0
I: IMG Integrity Verified Successfully: 1
I: Current OTA Stage = 16
I: OTA device_id = 5 : DISCOVERY_REQ
I: SECURE_STM : DISCOVERY_REQ
I: OTA device_id = 5 : FW_VERSION_REQ
I: Secure STM Firmware Version: 2 0 1 1
I: OTA device_id = 5 : FW_UPDATE_START_REQ
I: SECURE_STM : IB_FW_UPDATE_START_REQUEST
I: STM OTA Progress = 10
I: STM OTA Progress = 20
I: STM OTA Progress = 30
I: STM OTA Progress = 40
I: STM OTA Progress = 50
I: STM OTA Progress = 60
I: STM OTA Progress = 70
I: STM OTA Progress = 80
I: STM OTA Progress = 90
I: STM OTA Progress = 100
I: OTA device_id = 5 : FW_UPDATE_REBOOT_REQ
I: SECURE_STM : REBOOT_COMMAND
I: STM Rebooted, MCUBoot Verifying Image
I: OTA device_id = 5 : FW_VERSION_REQ
I: Secure STM Firmware Version: 2 0 1 2
I: OTA device_id = 5 : FW_UPDATE_COMPLETE_REQ
I: SECURE_STM : IB_FW_UPDATE_COMPLETE_REQUEST
I: OTA device_id = 5 : FW_UPDATE_REBOOT_REQ
I: SECURE_STM : REBOOT_COMMAND
I: STM Rebooted, MCUBoot Confirming Image
I: OTA device_id = 5 : FW_VERSION_REQ
I: Secure STM Firmware Version: 2 0 1 2
I: STM Secure OTA Successful
I: Clear STM OTA Meta Data
I: Current OTA Stage = 17
I: Redpine OTA started
I: Current OTA Stage = 18
I: OTA device_id = 4 : DISCOVERY_REQ
I: STM_QSPI : IB_DEVICE_DISCOVERY_REQUEST
I: OTA device_id = 4 : FW_VERSION_REQ
I: STM_QSPI : IB_FW_VERSION_REQUEST
I: Redpine Firmware Version: 2.1.255.191
I: OTA device_id = 4 : FW_UPDATE_START_REQ
I: STM_QSPI : IB_FW_UPDATE_START_REQUEST
I: Redpine Image Stored into STM QSPI, Progress = 10
I: Redpine Image Stored into STM QSPI, Progress = 20
I: Redpine Image Stored into STM QSPI, Progress = 30
I: Redpine Image Stored into STM QSPI, Progress = 40
I: Redpine Image Stored into STM QSPI, Progress = 50
I: Redpine Image Stored into STM QSPI, Progress = 60
I: Redpine Image Stored into STM QSPI, Progress = 70
I: Redpine Image Stored into STM QSPI, Progress = 80
I: Redpine Image Stored into STM QSPI, Progress = 90
I: Redpine Image Stored into STM QSPI, Progress = 100
I: OTA device_id = 4 : FW_UPDATE_COMPLETE_REQ
I: STM_QSPI : IB_FW_UPDATE_COMPLETE_REQUEST
I: STM_QSPI : STM QSPI to Redpine SPI Image Transfer Ongoing (0)
I: STM_QSPI : STM QSPI to Redpine SPI Image Transfer Ongoing (10)
I: STM_QSPI : STM QSPI to Redpine SPI Image Transfer Ongoing (20)
I: STM_QSPI : STM QSPI to Redpine SPI Image Transfer Ongoing (30)
I: STM_QSPI : STM QSPI to Redpine SPI Image Transfer Ongoing (40)
I: STM_QSPI : STM QSPI to Redpine SPI Image Transfer Ongoing (50)
I: STM_QSPI : STM QSPI to Redpine SPI Image Transfer Ongoing (60)
I: STM_QSPI : STM QSPI to Redpine SPI Image Transfer Ongoing (70)
I: STM_QSPI : STM QSPI to Redpine SPI Image Transfer Ongoing (80)
I: STM_QSPI : STM QSPI to Redpine SPI Image Transfer Ongoing (90)
I: STM_QSPI : STM QSPI to Redpine SPI Image Transfer Ongoing (100)
I: STM_QSPI : IB_FW_UPDATE_REBOOT_REQUEST
I: Clear Redpine OTA Meta Data
I: Current OTA Stage = 24
I: Start to Erase OTA Bundle Image from External Flash
I: Erasing bundle from nRF Ext. Flash
I: Bundle Image Erased from nRF Ext. Flash: 0
I: Current OTA Stage = 25
I: FW Ver: 0.3.1+0; version: 00030100
I: 598341 [DL]DFU-BLE-Connected
I: BLE Connected
Swap type: none
I: 598622 [DL]DFU-BLE-Disconnected : 19
E: Sending UART cmd st 0
I: BLE Name set: HU:2F29 errCode: 0
I: 598635 [SWU]SMP BLE advertising started
I: 598639 [DL]DFU over SMP started
I: BLE Disconnected: 13
I: 615493 [DL]DFU-BLE-Connected
I: BLE Connected
I: 615788 [DL]DFU Image upload started
I: Current OTA Stage = 11
I: 629013 [DL]Image 0 download completed successfully
I: 629042 [DL]DFU-BLE-Disconnected : 19
E: Sending UART cmd st 0
I: BLE Name set: HU:2F29 errCode: 0
I: 629055 [SWU]SMP BLE advertising started
I: 629059 [DL]DFU over SMP started
I: BLE Disconnected: 13
I: 678188 [DL]DFU-BLE-Connected
I: BLE Connected
Swap type: none
I: 678482 [DL]DFU Image upload started
I: Current OTA Stage = 12
I: 767949 [DL]Image 1 download completed successfully
I: 767974 [DL]DFU-BLE-Disconnected : 19
E: Sending UART cmd st 0
I: BLE Name set: HU:2F29 errCode: 0
I: 767987 [SWU]SMP BLE advertising started
I: 767991 [DL]DFU over SMP started
I: BLE Disconnected: 13
I: 802424 [DL]DFU-BLE-Connected
I: BLE Connected
I: 821255 [DL]DFU Image upload started
D: 900361 [DIS]Extended discovery timed out
I: 900365 [DIS]Updating services using commissioning mode 0
E: 900371 [DIS]Failed to remove advertised services: 3
E: 900377 [DIS]Failed to finalize service update: 3
I: Current OTA Stage = 13
I: 1059546 [DL]Image 2 download completed successfully
I: Current OTA Stage = 14
I: 1059589 [DL]DFU-BLE-Disconnected : 19
E: Sending UART cmd st 0
I: BLE Name set: HU:2F29 errCode: 0
I: 1059602 [SWU]SMP BLE advertising started
I: 1059606 [DL]DFU over SMP started
I: BLE Disconnected: 13
I: 1079529 [DL]DFU-BLE-Connected
I: BLE Connected
Swap type: none
Swap type: none
Swap type: none
I: 1079809 [DL]DFU-BLE-Disconnected : 19
E: Sending UART cmd st 0
I: BLE Name set: HU:2F29 errCode: 0
I: 1079821 [SWU]SMP BLE advertising started
I: 1079825 [DL]DFU over SMP started
I: BLE Disconnected: 13
I: 1096172 [DL]DFU-BLE-Connected
I: BLE Connected
E: img_mgmt_find_by_hash Return i=1
E: a4 a4
E: 1d 1d
E: 1e 1e
E: a8 a8
E: b8 b8
E: 1d 1d
E: 72 72
E: 1b 1b
E: c0 c0
E: 13 13
E: cc cc
E: 3e 3e
E: d6 d6
E: e7 e7
E: 2f 2f
E: d4 d4
E: 4c 4c
E: 9 9
E: 25 25
E: 26 26
E: d1 d1
E: df df
E: b3 b3
E: 7b 7b
E: 1d 1d
E: f3 f3
E: b1 b1
E: db db
E: 4b 4b
E: 7c 7c
E: c3 c3
E: b4 b4
E: img_mgmt_find_by_hash slot = 1, confirm = 1
E: area_id = 2, active = 0
E: Success 1
E: Success 2
writing magic; fa_id=2 off=0xeeff0 (0xeeff0)
writing image_ok; fa_id=2 off=0xeefe8 (0xeefe8)
writing swap_info; fa_id=2 off=0xeefd8 (0xeefd8), swap_type=0x3 image_num=0x0
E: Success 3
E: *** rc = 0 ***
E: img_mgmt_set_boot_next rc = 0
Swap type: perm
Swap type: perm
Swap type: none
E: img_mgmt_state_read rc = 0
I: 1096533 [DL]DFU-BLE-Disconnected : 19
E: Sending UART cmd st 0
I: BLE Name set: HU:2F29 errCode: 0
I: 1096546 [SWU]SMP BLE advertising started
I: 1096550 [DL]DFU over SMP started
I: BLE Disconnected: 13
I: 1136050 [DL]DFU-BLE-Connected
I: BLE Connected
E: img_mgmt_find_by_hash Continue
E: img_mgmt_find_by_hash Return i=3
E: 9 9
E: 4 4
E: ba ba
E: 45 45
E: 18 18
E: a a
E: c3 c3
E: 6d 6d
E: 87 87
E: da da
E: c3 c3
E: ec ec
E: f2 f2
E: d d
E: 73 73
E: b1 b1
E: 9b 9b
E: f4 f4
E: 52 52
E: 8b 8b
E: 67 67
E: 23 23
E: 29 29
E: 47 47
E: 9 9
E: 40 40
E: 93 93
E: 98 98
E: d7 d7
E: 3b 3b
E: 9c 9c
E: 12 12
E: img_mgmt_find_by_hash slot = 3, confirm = 1
E: area_id = 8, active = 0
E: Success 1
E: Success 2
writing magic; fa_id=8 off=0x3fff0 (0x12eff0)
writing image_ok; fa_id=8 off=0x3ffe8 (0x12efe8)
writing swap_info; fa_id=8 off=0x3ffd8 (0x12efd8), swap_type=0x3 image_num=0x0
E: Success 3
E: *** rc = 0 ***
E: img_mgmt_set_boot_next rc = 0
Swap type: perm
Swap type: perm
Swap type: perm
E: img_mgmt_state_read rc = 0
I: 1136440 [DL]DFU-BLE-Disconnected : 19
E: Sending UART cmd st 0
I: BLE Name set: HU:2F29 errCode: 0
I: 1136453 [SWU]SMP BLE advertising started
I: 1136457 [DL]DFU over SMP started
I: BLE Disconnected: 13
I: 1171461 [DL]DFU-BLE-Connected
I: BLE Connected
in os_mgmt_reset
in os_mgmt_reset, Timer Register
I: 1171750 [DL]DFU-BLE-Disconnected : 19
E: Sending UART cmd st 0
I: BLE Name set: HU:2F29 errCode: 0
I: 1171763 [SWU]SMP BLE advertising started
I: 1171767 [DL]DFU over SMP started
I: BLE Disconnected: 13
in os_mgmt_reset_cb
os_mgmt_reset_work_handler: System Rebooted
*** Booting Zephyr OS build v3.3.99-ncs1-1 ***
Starting bootloader
Swap type: perm
Swap type: perm
writing magic; fa_id=4 off=0xeeff0 (0xf6ff0)
writing magic; fa_id=1 off=0x3fff0 (0x3fff0)
Bootloader chainload address offset: 0x8000
Jumping to the first image slot
Start Do_Boot


uart:~$ *** Booting Zephyr OS build v3.3.99-ncs1-1 ***
I: KWIKSET HALO 3 VERSION: 00.03.00.00
I: Init CHIP stack
I: 159 [DL]BLE address: EB:51:37:C6:A6:64
I: Board config kwiksetmdb_nrf5340_cpuapp
I: IMAGE_VERSION 0.3.0+0
I: build time: Nov 30 2023 11:09:14
E: ====    Matter FW Ver: 0.3.0    ====
I: 198 [DL]OpenThread SED interval is 1000ms
I: 205 [DL]OpenThread started: OK
I: 208 [DL]Setting OpenThread device type to SLEEPY END DEVICE
I: 216 [SWU]DFU_BLEAdvertising_Init 
Swap type: none
I: 223 [SVR]Subscription persistence not supported
I: 227 [SVR]Server initializing...
I: 232 [TS]Last Known Good Time: 2023-11-30T17:43:12
I: 238 [DMG]AccessControl: initializing
I: 242 [DMG]Examples::AccessControlDelegate::Init
I: 248 [DMG]AccessControl: setting
I: 251 [DMG]DefaultAclStorage: initializing
I: 255 [DMG]DefaultAclStorage: 0 entries loaded
D: 260 [IN]UDP::Init bind&amp;amp;listen port=5540
E: 265 [IN]SO_REUSEPORT failed: 109
D: 269 [IN]UDP::Init bound to port=5540
D: 273 [IN]BLEBase::Init - setting/overriding transport
D: 279 [IN]TransportMgr initialized
D: 286 [DL]Using Thread extended MAC for hostname.
I: 292 [ZCL]Using ZAP configuration...
I: 298 [DMG]AccessControlCluster: initializing
D: 303 [DL]Boot reason: 6
I: 306 [ZCL]Initiating Admin Commissioning cluster.
I: 311 [ZCL]Door Lock server initialized
I: 316 [ZCL]Door Lock cluster initialized at endpoint #1
I: 323 [DIS]Updating services using commissioning mode 0
E: 328 [DIS]Failed to remove advertised services: 3
D: 334 [DL]Using Thread extended MAC for hostname.
I: 339 [DIS]Advertise commission parameter vendorID=65521 productID=32774 discriminator=3840/15 cm=0
E: 348 [DIS]Failed to advertise extended commissionable node: 3
D: 355 [DIS]Scheduling extended discovery timeout in 900s
E: 362 [DIS]Failed to finalize service update: 3
I: 367 [DIS]Delaying proxy of operational discovery: missing delegate
I: 373 [IN]CASE Server enabling CASE session setups
D: 381 [IN]SecureSession[0x200049f0]: Allocated Type:2 LSID:15801
I: 386 [SVR]Joining Multicast groups
I: 391 [SVR]Server Listening...
I: 394 [DL]Device Configuration:
I: 398 [DL]  Serial Number: 11223344556677889900
I: 402 [DL]  Vendor Id: 65521 (0xFFF1)
I: 407 [DL]  Product Id: 32774 (0x8006)
I: 411 [DL]  Product Name: not-specified
I: 415 [DL]  Hardware Version: 0
I: 419 [DL]  Setup Pin Code (0 for UNKNOWN/ERROR): 20202021
I: 425 [DL]  Setup Discriminator (0xFFFF for UNKNOWN/ERROR): 3840 (0xF00)
I: 433 [DL]  Manufacturing Date: 2022-01-01
I: 437 [DL]  Device Type: 65535 (0xFFFF)
I: 442 [SVR]SetupQRCode: [MT:8IXS142C00KA0648G00]
I: 447 [SVR]Copy/paste the below URL in a browser to see the QR Code:
I: 453 [SVR]https://project-chip.github.io/connectedhomeip/qrcode.html?data=MT%3A8IXS142C00KA0648G00
I: 465 [SVR]Manual pairing code: [34970112332]
I: 474 [DL]CHIP task running
I: 477 [DIS]Updating services using commissioning mode 0
E: 482 [DIS]Failed to remove advertised services: 3
D: 489 [DL]Using Thread extended MAC for hostname.
I: 494 [DIS]Advertise commission parameter vendorID=65521 productID=32774 discriminator=3840/15 cm=0
E: 503 [DIS]Failed to advertise extended commissionable node: 3
E: 510 [DIS]Failed to finalize service update: 3
I: FW Ver: 0.3.0+0; version: 00030000
I: Device has NOT gone through provisioning
I: network state 0
E: Sending UART cmd st 0
I: BLE Device ID: 2f29
I: Current OTA Stage = 10
I: dfu_header_data.image_count: 2
E: Sending UART cmd st 0
I: BLE Name set: HU:2F29 errCode: 0
I: 15696 [SWU]SMP BLE advertising started
I: 15700 [DL]DFU over SMP started
I: IMG Integrity Verified Successfully: 0
I: IMG Integrity Verified Successfully: 1
I: Current OTA Stage = 16
I: OTA device_id = 5 : DISCOVERY_REQ
I: SECURE_STM : DISCOVERY_REQ
I: OTA device_id = 5 : FW_VERSION_REQ
I: Secure STM Firmware Version: 2 0 1 2
I: OTA device_id = 5 : FW_UPDATE_START_REQ
I: SECURE_STM : IB_FW_UPDATE_START_REQUEST
I: STM OTA Progress = 10
I: STM OTA Progress = 20
I: STM OTA Progress = 30
I: STM OTA Progress = 40
I: STM OTA Progress = 50
I: STM OTA Progress = 60
I: STM OTA Progress = 70
I: STM OTA Progress = 80
I: STM OTA Progress = 90
I: STM OTA Progress = 100
I: OTA device_id = 5 : FW_UPDATE_REBOOT_REQ
I: SECURE_STM : REBOOT_COMMAND
I: STM Rebooted, MCUBoot Verifying Image
I: OTA device_id = 5 : FW_VERSION_REQ
I: Secure STM Firmware Version: 2 0 1 1
I: OTA device_id = 5 : FW_UPDATE_COMPLETE_REQ
I: SECURE_STM : IB_FW_UPDATE_COMPLETE_REQUEST
I: OTA device_id = 5 : FW_UPDATE_REBOOT_REQ
I: SECURE_STM : REBOOT_COMMAND
I: STM Rebooted, MCUBoot Confirming Image
I: OTA device_id = 5 : FW_VERSION_REQ
I: Secure STM Firmware Version: 2 0 1 1
I: STM Secure OTA Successful
I: Clear STM OTA Meta Data
I: Current OTA Stage = 17
I: Redpine OTA started
I: Current OTA Stage = 18
I: OTA device_id = 4 : DISCOVERY_REQ
I: STM_QSPI : IB_DEVICE_DISCOVERY_REQUEST
I: OTA device_id = 4 : FW_VERSION_REQ
I: STM_QSPI : IB_FW_VERSION_REQUEST
I: Redpine Firmware Version: 2.1.255.191
I: OTA device_id = 4 : FW_UPDATE_START_REQ
I: STM_QSPI : IB_FW_UPDATE_START_REQUEST
I: Redpine Image Stored into STM QSPI, Progress = 10
I: Redpine Image Stored into STM QSPI, Progress = 20
I: Redpine Image Stored into STM QSPI, Progress = 30
I: Redpine Image Stored into STM QSPI, Progress = 40
I: Redpine Image Stored into STM QSPI, Progress = 50
I: Redpine Image Stored into STM QSPI, Progress = 60
I: Redpine Image Stored into STM QSPI, Progress = 70
I: Redpine Image Stored into STM QSPI, Progress = 80
I: Redpine Image Stored into STM QSPI, Progress = 90
I: Redpine Image Stored into STM QSPI, Progress = 100
I: OTA device_id = 4 : FW_UPDATE_COMPLETE_REQ
I: STM_QSPI : IB_FW_UPDATE_COMPLETE_REQUEST
I: STM_QSPI : STM QSPI to Redpine SPI Image Transfer Ongoing (0)
I: STM_QSPI : STM QSPI to Redpine SPI Image Transfer Ongoing (10)
I: STM_QSPI : STM QSPI to Redpine SPI Image Transfer Ongoing (20)
I: STM_QSPI : STM QSPI to Redpine SPI Image Transfer Ongoing (30)
I: STM_QSPI : STM QSPI to Redpine SPI Image Transfer Ongoing (40)
I: STM_QSPI : STM QSPI to Redpine SPI Image Transfer Ongoing (50)
I: STM_QSPI : STM QSPI to Redpine SPI Image Transfer Ongoing (60)
I: STM_QSPI : STM QSPI to Redpine SPI Image Transfer Ongoing (70)
I: STM_QSPI : STM QSPI to Redpine SPI Image Transfer Ongoing (80)
I: STM_QSPI : STM QSPI to Redpine SPI Image Transfer Ongoing (90)
I: STM_QSPI : STM QSPI to Redpine SPI Image Transfer Ongoing (100)
I: STM_QSPI : IB_FW_UPDATE_REBOOT_REQUEST
I: Clear Redpine OTA Meta Data
I: Current OTA Stage = 24
I: Start to Erase OTA Bundle Image from External Flash
I: Erasing bundle from nRF Ext. Flash
I: Bundle Image Erased from nRF Ext. Flash: 0
I: Current OTA Stage = 25
I: FW Ver: 0.3.0+0; version: 00030000
I: 598836 [DL]DFU-BLE-Connected
I: BLE Connected
Swap type: none
I: 599107 [DL]DFU-BLE-Disconnected : 19
E: Sending UART cmd st 0
I: BLE Name set: HU:2F29 errCode: 0
I: 599120 [SWU]SMP BLE advertising started
I: 599124 [DL]DFU over SMP started
I: BLE Disconnected: 13
I: 616244 [DL]DFU-BLE-Connected
I: BLE Connected
I: 616550 [DL]DFU Image upload started
I: Current OTA Stage = 11
I: 629678 [DL]Image 0 download completed successfully
I: 629707 [DL]DFU-BLE-Disconnected : 19
E: Sending UART cmd st 0
I: BLE Name set: HU:2F29 errCode: 0
I: 629720 [SWU]SMP BLE advertising started
I: 629724 [DL]DFU over SMP started
I: BLE Disconnected: 13
I: 679157 [DL]DFU-BLE-Connected
I: BLE Connected
Swap type: none
I: 679462 [DL]DFU Image upload started
I: Current OTA Stage = 12
I: 768682 [DL]Image 1 download completed successfully
I: 768707 [DL]DFU-BLE-Disconnected : 19
E: Sending UART cmd st 0
I: BLE Name set: HU:2F29 errCode: 0
I: 768719 [SWU]SMP BLE advertising started
I: 768723 [DL]DFU over SMP started
I: BLE Disconnected: 13
I: 804162 [DL]DFU-BLE-Connected
I: BLE Connected
I: 823046 [DL]DFU Image upload started
D: 900361 [DIS]Extended discovery timed out
I: 900365 [DIS]Updating services using commissioning mode 0
E: 900373 [DIS]Failed to remove advertised services: 3
E: 900380 [DIS]Failed to finalize service update: 3
I: Current OTA Stage = 13
I: 1061673 [DL]Image 2 download completed successfully
I: Current OTA Stage = 14
I: 1061705 [DL]DFU-BLE-Disconnected : 19
E: Sending UART cmd st 0
I: BLE Name set: HU:2F29 errCode: 0
I: 1061718 [SWU]SMP BLE advertising started
I: 1061722 [DL]DFU over SMP started
I: BLE Disconnected: 13
I: 1080824 [DL]DFU-BLE-Connected
I: BLE Connected
Swap type: none
Swap type: none
Swap type: none
I: 1081111 [DL]DFU-BLE-Disconnected : 19
E: Sending UART cmd st 0
I: BLE Name set: HU:2F29 errCode: 0
I: 1081124 [SWU]SMP BLE advertising started
I: 1081128 [DL]DFU over SMP started
I: BLE Disconnected: 13
I: 1097731 [DL]DFU-BLE-Connected
I: BLE Connected
E: img_mgmt_find_by_hash Return i=1
E: cb cb
E: 96 96
E: 29 29
E: f f
E: d9 d9
E: a a
E: b7 b7
E: b b
E: 3e 3e
E: a1 a1
E: 45 45
E: aa aa
E: 46 46
E: 56 56
E: 19 19
E: 5d 5d
E: be be
E: 6e 6e
E: 4b 4b
E: eb eb
E: 7c 7c
E: e0 e0
E: bf bf
E: f0 f0
E: f4 f4
E: b8 b8
E: 18 18
E: e8 e8
E: 92 92
E: 53 53
E: 2 2
E: 82 82
E: img_mgmt_find_by_hash slot = 1, confirm = 1
E: area_id = 2, active = 0
E: Success 1
E: Success 2
writing magic; fa_id=2 off=0xeeff0 (0xeeff0)
writing image_ok; fa_id=2 off=0xeefe8 (0xeefe8)
writing swap_info; fa_id=2 off=0xeefd8 (0xeefd8), swap_type=0x3 image_num=0x0
E: Success 3
E: *** rc = 0 ***
E: img_mgmt_set_boot_next rc = 0
Swap type: perm
Swap type: perm
Swap type: none
E: img_mgmt_state_read rc = 0
I: 1098091 [DL]DFU-BLE-Disconnected : 19
E: Sending UART cmd st 0
I: BLE Name set: HU:2F29 errCode: 0
I: 1098104 [SWU]SMP BLE advertising started
I: 1098108 [DL]DFU over SMP started
I: BLE Disconnected: 13
I: 1135052 [DL]DFU-BLE-Connected
I: BLE Connected
E: img_mgmt_find_by_hash Continue
E: img_mgmt_find_by_hash Return i=3
E: 19 19
E: 64 64
E: b b
E: b1 b1
E: 5e 5e
E: dc dc
E: e6 e6
E: 77 77
E: 8c 8c
E: ef ef
E: 69 69
E: 20 20
E: 5f 5f
E: ae ae
E: 54 54
E: 61 61
E: a3 a3
E: 99 99
E: ff ff
E: 7c 7c
E: 4d 4d
E: 65 65
E: f3 f3
E: 4c 4c
E: 53 53
E: 6c 6c
E: 37 37
E: 88 88
E: 2f 2f
E: e1 e1
E: 39 39
E: 7e 7e
E: img_mgmt_find_by_hash slot = 3, confirm = 1
E: area_id = 8, active = 0
E: Success 1
E: Success 2
writing magic; fa_id=8 off=0x3fff0 (0x12eff0)
writing image_ok; fa_id=8 off=0x3ffe8 (0x12efe8)
writing swap_info; fa_id=8 off=0x3ffd8 (0x12efd8), swap_type=0x3 image_num=0x0
E: Success 3
E: *** rc = 0 ***
E: img_mgmt_set_boot_next rc = 0
Swap type: perm
Swap type: perm
Swap type: perm
E: img_mgmt_state_read rc = 0
I: 1135448 [DL]DFU-BLE-Disconnected : 19
E: Sending UART cmd st 0
I: BLE Name set: HU:2F29 errCode: 0
I: 1135461 [SWU]SMP BLE advertising started
I: 1135465 [DL]DFU over SMP started
I: BLE Disconnected: 13
I: 1168383 [DL]DFU-BLE-Connected
I: BLE Connected
in os_mgmt_reset
in os_mgmt_reset, Timer Register
I: 1168658 [DL]DFU-BLE-Disconnected : 19
E: Sending UART cmd st 0
I: BLE Name set: HU:2F29 errCode: 0
I: 1168671 [SWU]SMP BLE advertising started
I: 1168675 [DL]DFU over SMP started
I: BLE Disconnected: 13
in os_mgmt_reset_cb
os_mgmt_reset_work_handler: System Rebooted
*** Booting Zephyr OS build v3.3.99-ncs1-1 ***
Starting bootloader
Swap type: perm
Swap type: perm
writing magic; fa_id=4 off=0xeeff0 (0xf6ff0)
writing magic; fa_id=1 off=0x3fff0 (0x3fff0)
Bootloader chainload address offset: 0x8000
Jumping to the first image slot
Start Do_Boot


uart:~$ *** Booting Zephyr OS build v3.3.99-ncs1-1 ***
I: KWIKSET HALO 3 VERSION: 00.03.01.00
I: Init CHIP stack
I: 159 [DL]BLE address: DA:79:D7:29:2E:07
I: Board config kwiksetmdb_nrf5340_cpuapp
I: IMAGE_VERSION 0.3.1+0
I: build time: Nov 30 2023 17:44:53
E: ====    Matter FW Ver: 0.3.1    ====
I: 198 [DL]OpenThread SED interval is 1000ms
I: 205 [DL]OpenThread started: OK
I: 208 [DL]Setting OpenThread device type to SLEEPY END DEVICE
I: 216 [SWU]DFU_BLEAdvertising_Init 
Swap type: none
I: 223 [SVR]Subscription persistence not supported
I: 228 [SVR]Server initializing...
I: 232 [TS]Last Known Good Time: 2023-11-30T17:43:12
I: 238 [DMG]AccessControl: initializing
I: 242 [DMG]Examples::AccessControlDelegate::Init
I: 247 [DMG]AccessControl: setting
I: 250 [DMG]DefaultAclStorage: initializing
I: 255 [DMG]DefaultAclStorage: 0 entries loaded
D: 260 [IN]UDP::Init bind&amp;amp;listen port=5540
E: 265 [IN]SO_REUSEPORT failed: 109
D: 269 [IN]UDP::Init bound to port=5540
D: 273 [IN]BLEBase::Init - setting/overriding transport
D: 278 [IN]TransportMgr initialized
D: 285 [DL]Using Thread extended MAC for hostname.
I: 292 [ZCL]Using ZAP configuration...
I: 298 [DMG]AccessControlCluster: initializing
D: 303 [DL]Boot reason: 6
I: 306 [ZCL]Initiating Admin Commissioning cluster.
I: 311 [ZCL]Door Lock server initialized
I: 316 [ZCL]Door Lock cluster initialized at endpoint #1
I: 322 [DIS]Updating services using commissioning mode 0
E: 328 [DIS]Failed to remove advertised services: 3
D: 334 [DL]Using Thread extended MAC for hostname.
I: 339 [DIS]Advertise commission parameter vendorID=65521 productID=32774 discriminator=3840/15 cm=0
E: 348 [DIS]Failed to advertise extended commissionable node: 3
D: 355 [DIS]Scheduling extended discovery timeout in 900s
E: 362 [DIS]Failed to finalize service update: 3
I: 367 [DIS]Delaying proxy of operational discovery: missing delegate
I: 373 [IN]CASE Server enabling CASE session setups
D: 380 [IN]SecureSession[0x200049f0]: Allocated Type:2 LSID:31860
I: 386 [SVR]Joining Multicast groups
I: 391 [SVR]Server Listening...
I: 394 [DL]Device Configuration:
I: 397 [DL]  Serial Number: 11223344556677889900
I: 402 [DL]  Vendor Id: 65521 (0xFFF1)
I: 406 [DL]  Product Id: 32774 (0x8006)
I: 411 [DL]  Product Name: not-specified
I: 415 [DL]  Hardware Version: 0
I: 418 [DL]  Setup Pin Code (0 for UNKNOWN/ERROR): 20202021
I: 425 [DL]  Setup Discriminator (0xFFFF for UNKNOWN/ERROR): 3840 (0xF00)
I: 433 [DL]  Manufacturing Date: 2022-01-01
I: 437 [DL]  Device Type: 65535 (0xFFFF)
I: 442 [SVR]SetupQRCode: [MT:8IXS142C00KA0648G00]
I: 447 [SVR]Copy/paste the below URL in a browser to see the QR Code:
I: 453 [SVR]https://project-chip.github.io/connectedhomeip/qrcode.html?data=MT%3A8IXS142C00KA0648G00
I: 465 [SVR]Manual pairing code: [34970112332]
I: 474 [DL]CHIP task running
I: 477 [DIS]Updating services using commissioning mode 0
E: 482 [DIS]Failed to remove advertised services: 3
D: 488 [DL]Using Thread extended MAC for hostname.
I: 494 [DIS]Advertise commission parameter vendorID=65521 productID=32774 discriminator=3840/15 cm=0
E: 503 [DIS]Failed to advertise extended commissionable node: 3
E: 510 [DIS]Failed to finalize service update: 3
I: FW Ver: 0.3.1+0; version: 00030100
I: Device has NOT gone through provisioning
I: network state 0
E: Sending UART cmd st 0
I: BLE Device ID: 2f29
I: Current OTA Stage = 10
I: dfu_header_data.image_count: 2
E: Sending UART cmd st 0
I: BLE Name set: HU:2F29 errCode: 0
I: 15696 [SWU]SMP BLE advertising started
I: 15700 [DL]DFU over SMP started
I: IMG Integrity Verified Successfully: 0
I: IMG Integrity Verified Successfully: 1
I: Current OTA Stage = 16
I: OTA device_id = 5 : DISCOVERY_REQ
I: SECURE_STM : DISCOVERY_REQ
I: OTA device_id = 5 : FW_VERSION_REQ
I: Secure STM Firmware Version: 2 0 1 1
I: OTA device_id = 5 : FW_UPDATE_START_REQ
I: SECURE_STM : IB_FW_UPDATE_START_REQUEST
I: STM OTA Progress = 10
I: STM OTA Progress = 20
I: STM OTA Progress = 30
I: STM OTA Progress = 40
I: STM OTA Progress = 50
I: STM OTA Progress = 60
I: STM OTA Progress = 70
I: STM OTA Progress = 80
I: STM OTA Progress = 90
I: STM OTA Progress = 100
I: OTA device_id = 5 : FW_UPDATE_REBOOT_REQ
I: SECURE_STM : REBOOT_COMMAND
I: STM Rebooted, MCUBoot Verifying Image
I: OTA device_id = 5 : FW_VERSION_REQ
I: Secure STM Firmware Version: 2 0 1 2
I: OTA device_id = 5 : FW_UPDATE_COMPLETE_REQ
I: SECURE_STM : IB_FW_UPDATE_COMPLETE_REQUEST
I: OTA device_id = 5 : FW_UPDATE_REBOOT_REQ
I: SECURE_STM : REBOOT_COMMAND
I: STM Rebooted, MCUBoot Confirming Image
I: OTA device_id = 5 : FW_VERSION_REQ
I: Secure STM Firmware Version: 2 0 1 2
I: STM Secure OTA Successful
I: Clear STM OTA Meta Data
I: Current OTA Stage = 17
I: Redpine OTA started
I: Current OTA Stage = 18
I: OTA device_id = 4 : DISCOVERY_REQ
I: STM_QSPI : IB_DEVICE_DISCOVERY_REQUEST
I: OTA device_id = 4 : FW_VERSION_REQ
I: STM_QSPI : IB_FW_VERSION_REQUEST
I: Redpine Firmware Version: 2.1.255.191
I: OTA device_id = 4 : FW_UPDATE_START_REQ
I: STM_QSPI : IB_FW_UPDATE_START_REQUEST
I: Redpine Image Stored into STM QSPI, Progress = 10
I: Redpine Image Stored into STM QSPI, Progress = 20
I: Redpine Image Stored into STM QSPI, Progress = 30
I: Redpine Image Stored into STM QSPI, Progress = 40
I: Redpine Image Stored into STM QSPI, Progress = 50
I: Redpine Image Stored into STM QSPI, Progress = 60
I: Redpine Image Stored into STM QSPI, Progress = 70
I: Redpine Image Stored into STM QSPI, Progress = 80
I: Redpine Image Stored into STM QSPI, Progress = 90
I: Redpine Image Stored into STM QSPI, Progress = 100
I: OTA device_id = 4 : FW_UPDATE_COMPLETE_REQ
I: STM_QSPI : IB_FW_UPDATE_COMPLETE_REQUEST
I: STM_QSPI : STM QSPI to Redpine SPI Image Transfer Ongoing (0)
I: STM_QSPI : STM QSPI to Redpine SPI Image Transfer Ongoing (10)
I: STM_QSPI : STM QSPI to Redpine SPI Image Transfer Ongoing (20)
I: STM_QSPI : STM QSPI to Redpine SPI Image Transfer Ongoing (30)
I: STM_QSPI : STM QSPI to Redpine SPI Image Transfer Ongoing (40)
I: STM_QSPI : STM QSPI to Redpine SPI Image Transfer Ongoing (50)
I: STM_QSPI : STM QSPI to Redpine SPI Image Transfer Ongoing (60)
I: STM_QSPI : STM QSPI to Redpine SPI Image Transfer Ongoing (70)
I: STM_QSPI : STM QSPI to Redpine SPI Image Transfer Ongoing (80)
I: STM_QSPI : STM QSPI to Redpine SPI Image Transfer Ongoing (90)
I: STM_QSPI : STM QSPI to Redpine SPI Image Transfer Ongoing (100)
I: STM_QSPI : IB_FW_UPDATE_REBOOT_REQUEST
I: Clear Redpine OTA Meta Data
I: Current OTA Stage = 24
I: Start to Erase OTA Bundle Image from External Flash
I: Erasing bundle from nRF Ext. Flash
I: Bundle Image Erased from nRF Ext. Flash: 0
I: Current OTA Stage = 25
I: FW Ver: 0.3.1+0; version: 00030100
I: 598553 [DL]DFU-BLE-Connected
I: BLE Connected
Swap type: none
I: 598853 [DL]DFU-BLE-Disconnected : 19
E: Sending UART cmd st 0
I: BLE Name set: HU:2F29 errCode: 0
I: 598866 [SWU]SMP BLE advertising started
I: 598870 [DL]DFU over SMP started
I: BLE Disconnected: 13
I: 616006 [DL]DFU-BLE-Connected
I: BLE Connected
I: 616311 [DL]DFU Image upload started
I: Current OTA Stage = 11
I: 629582 [DL]Image 0 download completed successfully
I: 629610 [DL]DFU-BLE-Disconnected : 19
E: Sending UART cmd st 0
I: BLE Name set: HU:2F29 errCode: 0
I: 629623 [SWU]SMP BLE advertising started
I: 629627 [DL]DFU over SMP started
I: BLE Disconnected: 13
I: 680867 [DL]DFU-BLE-Connected
I: BLE Connected
Swap type: none
I: 681169 [DL]DFU Image upload started
I: Current OTA Stage = 12
I: 771746 [DL]Image 1 download completed successfully
I: 771782 [DL]DFU-BLE-Disconnected : 19
E: Sending UART cmd st 0
I: BLE Name set: HU:2F29 errCode: 0
I: 771795 [SWU]SMP BLE advertising started
I: 771799 [DL]DFU over SMP started
I: BLE Disconnected: 13
I: 806770 [DL]DFU-BLE-Connected
I: BLE Connected
I: 825604 [DL]DFU Image upload started
D: 900361 [DIS]Extended discovery timed out
I: 900365 [DIS]Updating services using commissioning mode 0
E: 900371 [DIS]Failed to remove advertised services: 3
E: 900379 [DIS]Failed to finalize service update: 3
I: Current OTA Stage = 13
I: 1064411 [DL]Image 2 download completed successfully
I: Current OTA Stage = 14
I: 1064444 [DL]DFU-BLE-Disconnected : 19
E: Sending UART cmd st 0
I: BLE Name set: HU:2F29 errCode: 0
I: 1064456 [SWU]SMP BLE advertising started
I: 1064460 [DL]DFU over SMP started
I: BLE Disconnected: 13
I: 1083866 [DL]DFU-BLE-Connected
I: BLE Connected
Swap type: none
Swap type: none
Swap type: none
I: 1084187 [DL]DFU-BLE-Disconnected : 19
E: Sending UART cmd st 0
I: BLE Name set: HU:2F29 errCode: 0
I: 1084200 [SWU]SMP BLE advertising started
I: 1084204 [DL]DFU over SMP started
I: BLE Disconnected: 13
I: 1100041 [DL]DFU-BLE-Connected
I: BLE Connected
E: img_mgmt_find_by_hash Return i=1
E: a4 a4
E: 1d 1d
E: 1e 1e
E: a8 a8
E: b8 b8
E: 1d 1d
E: 72 72
E: 1b 1b
E: c0 c0
E: 13 13
E: cc cc
E: 3e 3e
E: d6 d6
E: e7 e7
E: 2f 2f
E: d4 d4
E: 4c 4c
E: 9 9
E: 25 25
E: 26 26
E: d1 d1
E: df df
E: b3 b3
E: 7b 7b
E: 1d 1d
E: f3 f3
E: b1 b1
E: db db
E: 4b 4b
E: 7c 7c
E: c3 c3
E: b4 b4
E: img_mgmt_find_by_hash slot = 1, confirm = 1
E: area_id = 2, active = 0
E: Success 1
E: Success 2
writing magic; fa_id=2 off=0xeeff0 (0xeeff0)
writing image_ok; fa_id=2 off=0xeefe8 (0xeefe8)
writing swap_info; fa_id=2 off=0xeefd8 (0xeefd8), swap_type=0x3 image_num=0x0
E: Success 3
E: *** rc = 0 ***
E: img_mgmt_set_boot_next rc = 0
Swap type: perm
Swap type: perm
Swap type: none
E: img_mgmt_state_read rc = 0
I: 1100409 [DL]DFU-BLE-Disconnected : 19
E: Sending UART cmd st 0
I: BLE Name set: HU:2F29 errCode: 0
I: 1100422 [SWU]SMP BLE advertising started
I: 1100426 [DL]DFU over SMP started
I: BLE Disconnected: 13
I: 1138675 [DL]DFU-BLE-Connected
I: BLE Connected
E: img_mgmt_find_by_hash Continue
E: img_mgmt_find_by_hash Return i=3
E: 9 9
E: 4 4
E: ba ba
E: 45 45
E: 18 18
E: a a
E: c3 c3
E: 6d 6d
E: 87 87
E: da da
E: c3 c3
E: ec ec
E: f2 f2
E: d d
E: 73 73
E: b1 b1
E: 9b 9b
E: f4 f4
E: 52 52
E: 8b 8b
E: 67 67
E: 23 23
E: 29 29
E: 47 47
E: 9 9
E: 40 40
E: 93 93
E: 98 98
E: d7 d7
E: 3b 3b
E: 9c 9c
E: 12 12
E: img_mgmt_find_by_hash slot = 3, confirm = 1
E: area_id = 8, active = 0
E: Success 1
E: Success 2
writing magic; fa_id=8 off=0x3fff0 (0x12eff0)
writing image_ok; fa_id=8 off=0x3ffe8 (0x12efe8)
writing swap_info; fa_id=8 off=0x3ffd8 (0x12efd8), swap_type=0x3 image_num=0x0
E: Success 3
E: *** rc = 0 ***
E: img_mgmt_set_boot_next rc = 0
Swap type: perm
Swap type: perm
Swap type: perm
E: img_mgmt_state_read rc = 0
I: 1139064 [DL]DFU-BLE-Disconnected : 19
E: Sending UART cmd st 0
I: BLE Name set: HU:2F29 errCode: 0
I: 1139076 [SWU]SMP BLE advertising started
I: 1139080 [DL]DFU over SMP started
I: BLE Disconnected: 13
I: 1170946 [DL]DFU-BLE-Connected
I: BLE Connected
in os_mgmt_reset
in os_mgmt_reset, Timer Register
I: 1171223 [DL]DFU-BLE-Disconnected : 19
E: Sending UART cmd st 0
I: BLE Name set: HU:2F29 errCode: 0
I: 1171236 [SWU]SMP BLE advertising started
I: 1171240 [DL]DFU over SMP started
I: BLE Disconnected: 13
in os_mgmt_reset_cb
os_mgmt_reset_work_handler: System Rebooted
*** Booting Zephyr OS build v3.3.99-ncs1-1 ***
Starting bootloader
Swap type: perm
Swap type: perm
writing magic; fa_id=4 off=0xeeff0 (0xf6ff0)
writing magic; fa_id=1 off=0x3fff0 (0x3fff0)
Bootloader chainload address offset: 0x8000
Jumping to the first image slot
Start Do_Boot


uart:~$ *** Booting Zephyr OS build v3.3.99-ncs1-1 ***
I: KWIKSET HALO 3 VERSION: 00.03.00.00
I: Init CHIP stack
I: 159 [DL]BLE address: DE:C9:D2:C7:8C:B7
I: Board config kwiksetmdb_nrf5340_cpuapp
I: IMAGE_VERSION 0.3.0+0
I: build time: Nov 30 2023 11:09:14
E: ====    Matter FW Ver: 0.3.0    ====
I: 198 [DL]OpenThread SED interval is 1000ms
I: 205 [DL]OpenThread started: OK
I: 208 [DL]Setting OpenThread device type to SLEEPY END DEVICE
I: 216 [SWU]DFU_BLEAdvertising_Init 
Swap type: none
I: 223 [SVR]Subscription persistence not supported
I: 227 [SVR]Server initializing...
I: 232 [TS]Last Known Good Time: 2023-11-30T17:43:12
I: 238 [DMG]AccessControl: initializing
I: 242 [DMG]Examples::AccessControlDelegate::Init
I: 247 [DMG]AccessControl: setting
I: 250 [DMG]DefaultAclStorage: initializing
I: 255 [DMG]DefaultAclStorage: 0 entries loaded
D: 260 [IN]UDP::Init bind&amp;amp;listen port=5540
E: 265 [IN]SO_REUSEPORT failed: 109
D: 269 [IN]UDP::Init bound to port=5540
D: 272 [IN]BLEBase::Init - setting/overriding transport
D: 278 [IN]TransportMgr initialized
D: 285 [DL]Using Thread extended MAC for hostname.
I: 292 [ZCL]Using ZAP configuration...
I: 298 [DMG]AccessControlCluster: initializing
D: 303 [DL]Boot reason: 6
I: 306 [ZCL]Initiating Admin Commissioning cluster.
I: 311 [ZCL]Door Lock server initialized
I: 316 [ZCL]Door Lock cluster initialized at endpoint #1
I: 322 [DIS]Updating services using commissioning mode 0
E: 327 [DIS]Failed to remove advertised services: 3
D: 334 [DL]Using Thread extended MAC for hostname.
I: 339 [DIS]Advertise commission parameter vendorID=65521 productID=32774 discriminator=3840/15 cm=0
E: 348 [DIS]Failed to advertise extended commissionable node: 3
D: 355 [DIS]Scheduling extended discovery timeout in 900s
E: 362 [DIS]Failed to finalize service update: 3
I: 366 [DIS]Delaying proxy of operational discovery: missing delegate
I: 374 [IN]CASE Server enabling CASE session setups
D: 380 [IN]SecureSession[0x200049f0]: Allocated Type:2 LSID:44171
I: 386 [SVR]Joining Multicast groups
I: 391 [SVR]Server Listening...
I: 394 [DL]Device Configuration:
I: 397 [DL]  Serial Number: 11223344556677889900
I: 402 [DL]  Vendor Id: 65521 (0xFFF1)
I: 407 [DL]  Product Id: 32774 (0x8006)
I: 411 [DL]  Product Name: not-specified
I: 415 [DL]  Hardware Version: 0
I: 418 [DL]  Setup Pin Code (0 for UNKNOWN/ERROR): 20202021
I: 424 [DL]  Setup Discriminator (0xFFFF for UNKNOWN/ERROR): 3840 (0xF00)
I: 433 [DL]  Manufacturing Date: 2022-01-01
I: 437 [DL]  Device Type: 65535 (0xFFFF)
I: 441 [SVR]SetupQRCode: [MT:8IXS142C00KA0648G00]
I: 447 [SVR]Copy/paste the below URL in a browser to see the QR Code:
I: 453 [SVR]https://project-chip.github.io/connectedhomeip/qrcode.html?data=MT%3A8IXS142C00KA0648G00
I: 465 [SVR]Manual pairing code: [34970112332]
I: 474 [DL]CHIP task running
I: 477 [DIS]Updating services using commissioning mode 0
E: 482 [DIS]Failed to remove advertised services: 3
D: 488 [DL]Using Thread extended MAC for hostname.
I: 494 [DIS]Advertise commission parameter vendorID=65521 productID=32774 discriminator=3840/15 cm=0
E: 503 [DIS]Failed to advertise extended commissionable node: 3
E: 511 [DIS]Failed to finalize service update: 3
I: FW Ver: 0.3.0+0; version: 00030000
I: Device has NOT gone through provisioning
I: network state 0
E: Sending UART cmd st 0
I: BLE Device ID: 2f29
I: Current OTA Stage = 10
I: dfu_header_data.image_count: 2
E: Sending UART cmd st 0
I: BLE Name set: HU:2F29 errCode: 0
I: 15701 [SWU]SMP BLE advertising started
I: 15705 [DL]DFU over SMP started
I: IMG Integrity Verified Successfully: 0
I: IMG Integrity Verified Successfully: 1
I: Current OTA Stage = 16
I: OTA device_id = 5 : DISCOVERY_REQ
I: SECURE_STM : DISCOVERY_REQ
I: OTA device_id = 5 : FW_VERSION_REQ
I: Secure STM Firmware Version: 2 0 1 2
I: OTA device_id = 5 : FW_UPDATE_START_REQ
I: SECURE_STM : IB_FW_UPDATE_START_REQUEST
I: STM OTA Progress = 10
I: STM OTA Progress = 20
I: STM OTA Progress = 30
I: STM OTA Progress = 40
I: STM OTA Progress = 50
I: STM OTA Progress = 60
I: STM OTA Progress = 70
I: STM OTA Progress = 80
I: STM OTA Progress = 90
I: STM OTA Progress = 100
I: OTA device_id = 5 : FW_UPDATE_REBOOT_REQ
I: SECURE_STM : REBOOT_COMMAND
I: STM Rebooted, MCUBoot Verifying Image
I: OTA device_id = 5 : FW_VERSION_REQ
I: Secure STM Firmware Version: 2 0 1 1
I: OTA device_id = 5 : FW_UPDATE_COMPLETE_REQ
I: SECURE_STM : IB_FW_UPDATE_COMPLETE_REQUEST
I: OTA device_id = 5 : FW_UPDATE_REBOOT_REQ
I: SECURE_STM : REBOOT_COMMAND
I: STM Rebooted, MCUBoot Confirming Image
I: OTA device_id = 5 : FW_VERSION_REQ
I: Secure STM Firmware Version: 2 0 1 1
I: STM Secure OTA Successful
I: Clear STM OTA Meta Data
I: Current OTA Stage = 17
I: Redpine OTA started
I: Current OTA Stage = 18
I: OTA device_id = 4 : DISCOVERY_REQ
I: STM_QSPI : IB_DEVICE_DISCOVERY_REQUEST
I: OTA device_id = 4 : FW_VERSION_REQ
I: STM_QSPI : IB_FW_VERSION_REQUEST
I: Redpine Firmware Version: 2.1.255.191
I: OTA device_id = 4 : FW_UPDATE_START_REQ
I: STM_QSPI : IB_FW_UPDATE_START_REQUEST
I: Redpine Image Stored into STM QSPI, Progress = 10
I: Redpine Image Stored into STM QSPI, Progress = 20
I: Redpine Image Stored into STM QSPI, Progress = 30
I: Redpine Image Stored into STM QSPI, Progress = 40
I: Redpine Image Stored into STM QSPI, Progress = 50
I: Redpine Image Stored into STM QSPI, Progress = 60
I: Redpine Image Stored into STM QSPI, Progress = 70
I: Redpine Image Stored into STM QSPI, Progress = 80
I: Redpine Image Stored into STM QSPI, Progress = 90
I: Redpine Image Stored into STM QSPI, Progress = 100
I: OTA device_id = 4 : FW_UPDATE_COMPLETE_REQ
I: STM_QSPI : IB_FW_UPDATE_COMPLETE_REQUEST
I: STM_QSPI : STM QSPI to Redpine SPI Image Transfer Ongoing (0)
I: STM_QSPI : STM QSPI to Redpine SPI Image Transfer Ongoing (10)
I: STM_QSPI : STM QSPI to Redpine SPI Image Transfer Ongoing (20)
I: STM_QSPI : STM QSPI to Redpine SPI Image Transfer Ongoing (30)
I: STM_QSPI : STM QSPI to Redpine SPI Image Transfer Ongoing (40)
I: STM_QSPI : STM QSPI to Redpine SPI Image Transfer Ongoing (50)
I: STM_QSPI : STM QSPI to Redpine SPI Image Transfer Ongoing (60)
I: STM_QSPI : STM QSPI to Redpine SPI Image Transfer Ongoing (70)
I: STM_QSPI : STM QSPI to Redpine SPI Image Transfer Ongoing (80)
I: STM_QSPI : STM QSPI to Redpine SPI Image Transfer Ongoing (90)
I: STM_QSPI : STM QSPI to Redpine SPI Image Transfer Ongoing (100)
I: STM_QSPI : IB_FW_UPDATE_REBOOT_REQUEST
I: Clear Redpine OTA Meta Data
I: Current OTA Stage = 24
I: Start to Erase OTA Bundle Image from External Flash
I: Erasing bundle from nRF Ext. Flash
I: Bundle Image Erased from nRF Ext. Flash: 0
I: Current OTA Stage = 25
I: FW Ver: 0.3.0+0; version: 00030000
I: 600141 [DL]DFU-BLE-Connected
I: BLE Connected
Swap type: none
I: 600426 [DL]DFU-BLE-Disconnected : 19
E: Sending UART cmd st 0
I: BLE Name set: HU:2F29 errCode: 0
I: 600439 [SWU]SMP BLE advertising started
I: 600443 [DL]DFU over SMP started
I: BLE Disconnected: 13
I: STOP BLE Advertisment
I: STOP BLE Advertisment After Post OTA
E: Sending UART cmd st 0
E: Sending UART cmd st 0
I: 618590 [DL]DFU-BLE-Connected
I: BLE Connected
I: 618905 [DL]DFU Image upload started
I: Current OTA Stage = 11
I: 632118 [DL]Image 0 download completed successfully
I: 632147 [DL]DFU-BLE-Disconnected : 19
E: Sending UART cmd st 0
I: BLE Name set: HU:2F29 errCode: 0
I: 632160 [SWU]SMP BLE advertising started
I: 632164 [DL]DFU over SMP started
I: BLE Disconnected: 13
I: 682158 [DL]DFU-BLE-Connected
I: BLE Connected
Swap type: none
I: 682446 [DL]DFU Image upload started
I: Current OTA Stage = 12
I: 771763 [DL]Image 1 download completed successfully
I: 771788 [DL]DFU-BLE-Disconnected : 19
E: Sending UART cmd st 0
I: BLE Name set: HU:2F29 errCode: 0
I: 771800 [SWU]SMP BLE advertising started
I: 771804 [DL]DFU over SMP started
I: BLE Disconnected: 13
I: 805805 [DL]DFU-BLE-Connected
I: BLE Connected
I: 824662 [DL]DFU Image upload started
D: 900361 [DIS]Extended discovery timed out
I: 900365 [DIS]Updating services using commissioning mode 0
E: 900374 [DIS]Failed to remove advertised services: 3
E: 900381 [DIS]Failed to finalize service update: 3
I: Current OTA Stage = 13
I: 1062999 [DL]Image 2 download completed successfully
I: Current OTA Stage = 14
I: 1063032 [DL]DFU-BLE-Disconnected : 19
E: Sending UART cmd st 0
I: BLE Name set: HU:2F29 errCode: 0
I: 1063044 [SWU]SMP BLE advertising started
I: 1063048 [DL]DFU over SMP started
I: BLE Disconnected: 13
I: 1083979 [DL]DFU-BLE-Connected
I: BLE Connected
Swap type: none
Swap type: none
Swap type: none
I: 1084267 [DL]DFU-BLE-Disconnected : 19
E: Sending UART cmd st 0
I: BLE Name set: HU:2F29 errCode: 0
I: 1084280 [SWU]SMP BLE advertising started
I: 1084284 [DL]DFU over SMP started
I: BLE Disconnected: 13
I: 1100126 [DL]DFU-BLE-Connected
I: BLE Connected
E: img_mgmt_find_by_hash Return i=1
E: cb cb
E: 96 96
E: 29 29
E: f f
E: d9 d9
E: a a
E: b7 b7
E: b b
E: 3e 3e
E: a1 a1
E: 45 45
E: aa aa
E: 46 46
E: 56 56
E: 19 19
E: 5d 5d
E: be be
E: 6e 6e
E: 4b 4b
E: eb eb
E: 7c 7c
E: e0 e0
E: bf bf
E: f0 f0
E: f4 f4
E: b8 b8
E: 18 18
E: e8 e8
E: 92 92
E: 53 53
E: 2 2
E: 82 82
E: img_mgmt_find_by_hash slot = 1, confirm = 1
E: area_id = 2, active = 0
E: Success 1
E: Success 2
writing magic; fa_id=2 off=0xeeff0 (0xeeff0)
writing image_ok; fa_id=2 off=0xeefe8 (0xeefe8)
writing swap_info; fa_id=2 off=0xeefd8 (0xeefd8), swap_type=0x3 image_num=0x0
E: Success 3
E: *** rc = 0 ***
E: img_mgmt_set_boot_next rc = 0
Swap type: perm
Swap type: perm
Swap type: none
E: img_mgmt_state_read rc = 0
I: 1100505 [DL]DFU-BLE-Disconnected : 19
E: Sending UART cmd st 0
I: BLE Name set: HU:2F29 errCode: 0
I: 1100517 [SWU]SMP BLE advertising started
I: 1100521 [DL]DFU over SMP started
I: BLE Disconnected: 13
I: 1137477 [DL]DFU-BLE-Connected
I: BLE Connected
E: img_mgmt_find_by_hash Continue
E: img_mgmt_find_by_hash Return i=3
E: 19 19
E: 64 64
E: b b
E: b1 b1
E: 5e 5e
E: dc dc
E: e6 e6
E: 77 77
E: 8c 8c
E: ef ef
E: 69 69
E: 20 20
E: 5f 5f
E: ae ae
E: 54 54
E: 61 61
E: a3 a3
E: 99 99
E: ff ff
E: 7c 7c
E: 4d 4d
E: 65 65
E: f3 f3
E: 4c 4c
E: 53 53
E: 6c 6c
E: 37 37
E: 88 88
E: 2f 2f
E: e1 e1
E: 39 39
E: 7e 7e
E: img_mgmt_find_by_hash slot = 3, confirm = 1
E: area_id = 8, active = 0
E: Success 1
E: Success 2
writing magic; fa_id=8 off=0x3fff0 (0x12eff0)
writing image_ok; fa_id=8 off=0x3ffe8 (0x12efe8)
writing swap_info; fa_id=8 off=0x3ffd8 (0x12efd8), swap_type=0x3 image_num=0x0
E: Success 3
E: *** rc = 0 ***
E: img_mgmt_set_boot_next rc = 0
Swap type: perm
Swap type: perm
Swap type: perm
E: img_mgmt_state_read rc = 0
I: 1137847 [DL]DFU-BLE-Disconnected : 19
E: Sending UART cmd st 0
I: BLE Name set: HU:2F29 errCode: 0
I: 1137860 [SWU]SMP BLE advertising started
I: 1137863 [DL]DFU over SMP started
I: BLE Disconnected: 13
I: 1169776 [DL]DFU-BLE-Connected
I: BLE Connected
in os_mgmt_reset
in os_mgmt_reset, Timer Register
I: 1170066 [DL]DFU-BLE-Disconnected : 19
E: Sending UART cmd st 0
I: BLE Name set: HU:2F29 errCode: 0
I: 1170079 [SWU]SMP BLE advertising started
I: 1170083 [DL]DFU over SMP started
I: BLE Disconnected: 13
in os_mgmt_reset_cb
os_mgmt_reset_work_handler: System Rebooted
*** Booting Zephyr OS build v3.3.99-ncs1-1 ***
Starting bootloader
Swap type: perm
Swap type: perm
writing magic; fa_id=4 off=0xeeff0 (0xf6ff0)
writing magic; fa_id=1 off=0x3fff0 (0x3fff0)
Bootloader chainload address offset: 0x8000
Jumping to the first image slot
Start Do_Boot


uart:~$ *** Booting Zephyr OS build v3.3.99-ncs1-1 ***
I: KWIKSET HALO 3 VERSION: 00.03.01.00
I: Init CHIP stack
I: 159 [DL]BLE address: D9:FF:F8:16:6D:8B
I: Board config kwiksetmdb_nrf5340_cpuapp
I: IMAGE_VERSION 0.3.1+0
I: build time: Nov 30 2023 17:44:53
E: ====    Matter FW Ver: 0.3.1    ====
I: 198 [DL]OpenThread SED interval is 1000ms
I: 205 [DL]OpenThread started: OK
I: 208 [DL]Setting OpenThread device type to SLEEPY END DEVICE
I: 216 [SWU]DFU_BLEAdvertising_Init 
Swap type: none
I: 222 [SVR]Subscription persistence not supported
I: 227 [SVR]Server initializing...
I: 232 [TS]Last Known Good Time: 2023-11-30T17:43:12
I: 238 [DMG]AccessControl: initializing
I: 242 [DMG]Examples::AccessControlDelegate::Init
I: 247 [DMG]AccessControl: setting
I: 250 [DMG]DefaultAclStorage: initializing
I: 255 [DMG]DefaultAclStorage: 0 entries loaded
D: 260 [IN]UDP::Init bind&amp;amp;listen port=5540
E: 265 [IN]SO_REUSEPORT failed: 109
D: 269 [IN]UDP::Init bound to port=5540
D: 272 [IN]BLEBase::Init - setting/overriding transport
D: 278 [IN]TransportMgr initialized
D: 285 [DL]Using Thread extended MAC for hostname.
I: 292 [ZCL]Using ZAP configuration...
I: 298 [DMG]AccessControlCluster: initializing
D: 303 [DL]Boot reason: 6
I: 306 [ZCL]Initiating Admin Commissioning cluster.
I: 311 [ZCL]Door Lock server initialized
I: 315 [ZCL]Door Lock cluster initialized at endpoint #1
I: 322 [DIS]Updating services using commissioning mode 0
E: 328 [DIS]Failed to remove advertised services: 3
D: 333 [DL]Using Thread extended MAC for hostname.
I: 339 [DIS]Advertise commission parameter vendorID=65521 productID=32774 discriminator=3840/15 cm=0
E: 348 [DIS]Failed to advertise extended commissionable node: 3
D: 355 [DIS]Scheduling extended discovery timeout in 900s
E: 361 [DIS]Failed to finalize service update: 3
I: 366 [DIS]Delaying proxy of operational discovery: missing delegate
I: 373 [IN]CASE Server enabling CASE session setups
D: 380 [IN]SecureSession[0x200049f0]: Allocated Type:2 LSID:9073
I: 386 [SVR]Joining Multicast groups
I: 391 [SVR]Server Listening...
I: 394 [DL]Device Configuration:
I: 397 [DL]  Serial Number: 11223344556677889900
I: 402 [DL]  Vendor Id: 65521 (0xFFF1)
I: 406 [DL]  Product Id: 32774 (0x8006)
I: 410 [DL]  Product Name: not-specified
I: 414 [DL]  Hardware Version: 0
I: 418 [DL]  Setup Pin Code (0 for UNKNOWN/ERROR): 20202021
I: 424 [DL]  Setup Discriminator (0xFFFF for UNKNOWN/ERROR): 3840 (0xF00)
I: 432 [DL]  Manufacturing Date: 2022-01-01
I: 437 [DL]  Device Type: 65535 (0xFFFF)
I: 441 [SVR]SetupQRCode: [MT:8IXS142C00KA0648G00]
I: 446 [SVR]Copy/paste the below URL in a browser to see the QR Code:
I: 453 [SVR]https://project-chip.github.io/connectedhomeip/qrcode.html?data=MT%3A8IXS142C00KA0648G00
I: 464 [SVR]Manual pairing code: [34970112332]
I: 474 [DL]CHIP task running
I: 477 [DIS]Updating services using commissioning mode 0
E: 482 [DIS]Failed to remove advertised services: 3
D: 488 [DL]Using Thread extended MAC for hostname.
I: 494 [DIS]Advertise commission parameter vendorID=65521 productID=32774 discriminator=3840/15 cm=0
E: 502 [DIS]Failed to advertise extended commissionable node: 3
E: 509 [DIS]Failed to finalize service update: 3
I: FW Ver: 0.3.1+0; version: 00030100
I: Device has NOT gone through provisioning
I: network state 0
E: Sending UART cmd st 0
I: BLE Device ID: 2f29
I: Current OTA Stage = 10
I: dfu_header_data.image_count: 2
E: Sending UART cmd st 0
I: BLE Name set: HU:2F29 errCode: 0
I: 15701 [SWU]SMP BLE advertising started
I: 15704 [DL]DFU over SMP started
I: IMG Integrity Verified Successfully: 0
I: IMG Integrity Verified Successfully: 1
I: Current OTA Stage = 16
I: OTA device_id = 5 : DISCOVERY_REQ
I: SECURE_STM : DISCOVERY_REQ
I: OTA device_id = 5 : FW_VERSION_REQ
I: Secure STM Firmware Version: 2 0 1 1
I: OTA device_id = 5 : FW_UPDATE_START_REQ
I: SECURE_STM : IB_FW_UPDATE_START_REQUEST
I: STM OTA Progress = 10
I: STM OTA Progress = 20
I: STM OTA Progress = 30
I: STM OTA Progress = 40
I: STM OTA Progress = 50
I: STM OTA Progress = 60
I: STM OTA Progress = 70
I: STM OTA Progress = 80
I: STM OTA Progress = 90
I: STM OTA Progress = 100
I: OTA device_id = 5 : FW_UPDATE_REBOOT_REQ
I: SECURE_STM : REBOOT_COMMAND
I: STM Rebooted, MCUBoot Verifying Image
I: OTA device_id = 5 : FW_VERSION_REQ
I: Secure STM Firmware Version: 2 0 1 2
I: OTA device_id = 5 : FW_UPDATE_COMPLETE_REQ
I: SECURE_STM : IB_FW_UPDATE_COMPLETE_REQUEST
I: OTA device_id = 5 : FW_UPDATE_REBOOT_REQ
I: SECURE_STM : REBOOT_COMMAND
I: STM Rebooted, MCUBoot Confirming Image
I: OTA device_id = 5 : FW_VERSION_REQ
I: Secure STM Firmware Version: 2 0 1 2
I: STM Secure OTA Successful
I: Clear STM OTA Meta Data
I: Current OTA Stage = 17
I: Redpine OTA started
I: Current OTA Stage = 18
I: OTA device_id = 4 : DISCOVERY_REQ
I: STM_QSPI : IB_DEVICE_DISCOVERY_REQUEST
I: OTA device_id = 4 : FW_VERSION_REQ
I: STM_QSPI : IB_FW_VERSION_REQUEST
I: Redpine Firmware Version: 2.1.255.191
I: OTA device_id = 4 : FW_UPDATE_START_REQ
I: STM_QSPI : IB_FW_UPDATE_START_REQUEST
I: Redpine Image Stored into STM QSPI, Progress = 10
I: Redpine Image Stored into STM QSPI, Progress = 20
I: Redpine Image Stored into STM QSPI, Progress = 30
I: Redpine Image Stored into STM QSPI, Progress = 40
I: Redpine Image Stored into STM QSPI, Progress = 50
I: Redpine Image Stored into STM QSPI, Progress = 60
I: Redpine Image Stored into STM QSPI, Progress = 70
I: Redpine Image Stored into STM QSPI, Progress = 80
I: Redpine Image Stored into STM QSPI, Progress = 90
I: Redpine Image Stored into STM QSPI, Progress = 100
I: OTA device_id = 4 : FW_UPDATE_COMPLETE_REQ
I: STM_QSPI : IB_FW_UPDATE_COMPLETE_REQUEST
I: STM_QSPI : STM QSPI to Redpine SPI Image Transfer Ongoing (0)
I: STM_QSPI : STM QSPI to Redpine SPI Image Transfer Ongoing (10)
I: STM_QSPI : STM QSPI to Redpine SPI Image Transfer Ongoing (20)
I: STM_QSPI : STM QSPI to Redpine SPI Image Transfer Ongoing (30)
I: STM_QSPI : STM QSPI to Redpine SPI Image Transfer Ongoing (40)
I: STM_QSPI : STM QSPI to Redpine SPI Image Transfer Ongoing (50)
I: STM_QSPI : STM QSPI to Redpine SPI Image Transfer Ongoing (60)
I: STM_QSPI : STM QSPI to Redpine SPI Image Transfer Ongoing (70)
I: STM_QSPI : STM QSPI to Redpine SPI Image Transfer Ongoing (80)
I: STM_QSPI : STM QSPI to Redpine SPI Image Transfer Ongoing (90)
I: STM_QSPI : STM QSPI to Redpine SPI Image Transfer Ongoing (100)
I: STM_QSPI : IB_FW_UPDATE_REBOOT_REQUEST
I: Clear Redpine OTA Meta Data
I: Current OTA Stage = 24
I: Start to Erase OTA Bundle Image from External Flash
I: Erasing bundle from nRF Ext. Flash
I: Bundle Image Erased from nRF Ext. Flash: 0
I: Current OTA Stage = 25
I: FW Ver: 0.3.1+0; version: 00030100
I: 598453 [DL]DFU-BLE-Connected
I: BLE Connected
Swap type: none
I: 598724 [DL]DFU-BLE-Disconnected : 19
E: Sending UART cmd st 0
I: BLE Name set: HU:2F29 errCode: 0
I: 598737 [SWU]SMP BLE advertising started
I: 598741 [DL]DFU over SMP started
I: BLE Disconnected: 13
I: 616061 [DL]DFU-BLE-Connected
I: BLE Connected
I: 616348 [DL]DFU Image upload started
I: Current OTA Stage = 11
I: 629576 [DL]Image 0 download completed successfully
I: 629605 [DL]DFU-BLE-Disconnected : 19
E: Sending UART cmd st 0
I: BLE Name set: HU:2F29 errCode: 0
I: 629618 [SWU]SMP BLE advertising started
I: 629622 [DL]DFU over SMP started
I: BLE Disconnected: 13
I: 678929 [DL]DFU-BLE-Connected
I: BLE Connected
Swap type: none
I: 679221 [DL]DFU Image upload started
I: Current OTA Stage = 12
I: 768906 [DL]Image 1 download completed successfully
I: 768931 [DL]DFU-BLE-Disconnected : 19
E: Sending UART cmd st 0
I: BLE Name set: HU:2F29 errCode: 0
I: 768943 [SWU]SMP BLE advertising started
I: 768947 [DL]DFU over SMP started
I: BLE Disconnected: 13
I: 803166 [DL]DFU-BLE-Connected
I: BLE Connected
I: 822029 [DL]DFU Image upload started
D: 900362 [DIS]Extended discovery timed out
I: 900366 [DIS]Updating services using commissioning mode 0
E: 900374 [DIS]Failed to remove advertised services: 3
E: 900381 [DIS]Failed to finalize service update: 3
I: Current OTA Stage = 13
I: 1061065 [DL]Image 2 download completed successfully
I: Current OTA Stage = 14
I: 1061108 [DL]DFU-BLE-Disconnected : 19
E: Sending UART cmd st 0
I: BLE Name set: HU:2F29 errCode: 0
I: 1061121 [SWU]SMP BLE advertising started
I: 1061125 [DL]DFU over SMP started
I: BLE Disconnected: 13
I: 1080497 [DL]DFU-BLE-Connected
I: BLE Connected
Swap type: none
Swap type: none
Swap type: none
I: 1080803 [DL]DFU-BLE-Disconnected : 19
E: Sending UART cmd st 0
I: BLE Name set: HU:2F29 errCode: 0
I: 1080816 [SWU]SMP BLE advertising started
I: 1080820 [DL]DFU over SMP started
I: BLE Disconnected: 13
I: 1097444 [DL]DFU-BLE-Connected
I: BLE Connected
E: img_mgmt_find_by_hash Return i=1
E: a4 a4
E: 1d 1d
E: 1e 1e
E: a8 a8
E: b8 b8
E: 1d 1d
E: 72 72
E: 1b 1b
E: c0 c0
E: 13 13
E: cc cc
E: 3e 3e
E: d6 d6
E: e7 e7
E: 2f 2f
E: d4 d4
E: 4c 4c
E: 9 9
E: 25 25
E: 26 26
E: d1 d1
E: df df
E: b3 b3
E: 7b 7b
E: 1d 1d
E: f3 f3
E: b1 b1
E: db db
E: 4b 4b
E: 7c 7c
E: c3 c3
E: b4 b4
E: img_mgmt_find_by_hash slot = 1, confirm = 1
E: area_id = 2, active = 0
E: Success 1
E: Success 2
writing magic; fa_id=2 off=0xeeff0 (0xeeff0)
writing image_ok; fa_id=2 off=0xeefe8 (0xeefe8)
writing swap_info; fa_id=2 off=0xeefd8 (0xeefd8), swap_type=0x3 image_num=0x0
E: Success 3
E: *** rc = 0 ***
E: img_mgmt_set_boot_next rc = 0
Swap type: perm
Swap type: perm
Swap type: none
E: img_mgmt_state_read rc = 0
I: 1097798 [DL]DFU-BLE-Disconnected : 19
E: Sending UART cmd st 0
I: BLE Name set: HU:2F29 errCode: 0
I: 1097810 [SWU]SMP BLE advertising started
I: 1097814 [DL]DFU over SMP started
I: BLE Disconnected: 13
I: 1134774 [DL]DFU-BLE-Connected
I: BLE Connected
E: img_mgmt_find_by_hash Continue
E: img_mgmt_find_by_hash Return i=3
E: 9 9
E: 4 4
E: ba ba
E: 45 45
E: 18 18
E: a a
E: c3 c3
E: 6d 6d
E: 87 87
E: da da
E: c3 c3
E: ec ec
E: f2 f2
E: d d
E: 73 73
E: b1 b1
E: 9b 9b
E: f4 f4
E: 52 52
E: 8b 8b
E: 67 67
E: 23 23
E: 29 29
E: 47 47
E: 9 9
E: 40 40
E: 93 93
E: 98 98
E: d7 d7
E: 3b 3b
E: 9c 9c
E: 12 12
E: img_mgmt_find_by_hash slot = 3, confirm = 1
E: area_id = 8, active = 0
E: Success 1
E: Success 2
writing magic; fa_id=8 off=0x3fff0 (0x12eff0)
writing image_ok; fa_id=8 off=0x3ffe8 (0x12efe8)
writing swap_info; fa_id=8 off=0x3ffd8 (0x12efd8), swap_type=0x3 image_num=0x0
E: Success 3
E: *** rc = 0 ***
E: img_mgmt_set_boot_next rc = 0
Swap type: perm
Swap type: perm
Swap type: perm
E: img_mgmt_state_read rc = 0
I: 1135140 [DL]DFU-BLE-Disconnected : 19
E: Sending UART cmd st 0
I: BLE Name set: HU:2F29 errCode: 0
I: 1135152 [SWU]SMP BLE advertising started
I: 1135156 [DL]DFU over SMP started
I: BLE Disconnected: 13
I: 1168055 [DL]DFU-BLE-Connected
I: BLE Connected
in os_mgmt_reset
in os_mgmt_reset, Timer Register
I: 1168334 [DL]DFU-BLE-Disconnected : 19
E: Sending UART cmd st 0
I: BLE Name set: HU:2F29 errCode: 0
I: 1168347 [SWU]SMP BLE advertising started
I: 1168351 [DL]DFU over SMP started
I: BLE Disconnected: 13
in os_mgmt_reset_cb
os_mgmt_reset_work_handler: System Rebooted
*** Booting Zephyr OS build v3.3.99-ncs1-1 ***
Starting bootloader
Swap type: perm
Swap type: perm
writing magic; fa_id=4 off=0xeeff0 (0xf6ff0)
writing magic; fa_id=1 off=0x3fff0 (0x3fff0)
Bootloader chainload address offset: 0x8000
Jumping to the first image slot
Start Do_Boot


uart:~$ *** Booting Zephyr OS build v3.3.99-ncs1-1 ***
I: KWIKSET HALO 3 VERSION: 00.03.00.00
I: Init CHIP stack
I: 159 [DL]BLE address: DE:BD:CF:CF:E5:2D
I: Board config kwiksetmdb_nrf5340_cpuapp
I: IMAGE_VERSION 0.3.0+0
I: build time: Nov 30 2023 11:09:14
E: ====    Matter FW Ver: 0.3.0    ====
I: 198 [DL]OpenThread SED interval is 1000ms
I: 205 [DL]OpenThread started: OK
I: 208 [DL]Setting OpenThread device type to SLEEPY END DEVICE
I: 216 [SWU]DFU_BLEAdvertising_Init 
Swap type: none
I: 222 [SVR]Subscription persistence not supported
I: 227 [SVR]Server initializing...
I: 232 [TS]Last Known Good Time: 2023-11-30T17:43:12
I: 238 [DMG]AccessControl: initializing
I: 241 [DMG]Examples::AccessControlDelegate::Init
I: 247 [DMG]AccessControl: setting
I: 250 [DMG]DefaultAclStorage: initializing
I: 255 [DMG]DefaultAclStorage: 0 entries loaded
D: 260 [IN]UDP::Init bind&amp;amp;listen port=5540
E: 265 [IN]SO_REUSEPORT failed: 109
D: 269 [IN]UDP::Init bound to port=5540
D: 273 [IN]BLEBase::Init - setting/overriding transport
D: 278 [IN]TransportMgr initialized
D: 285 [DL]Using Thread extended MAC for hostname.
I: 292 [ZCL]Using ZAP configuration...
I: 298 [DMG]AccessControlCluster: initializing
D: 303 [DL]Boot reason: 6
I: 306 [ZCL]Initiating Admin Commissioning cluster.
I: 311 [ZCL]Door Lock server initialized
I: 316 [ZCL]Door Lock cluster initialized at endpoint #1
I: 322 [DIS]Updating services using commissioning mode 0
E: 328 [DIS]Failed to remove advertised services: 3
D: 333 [DL]Using Thread extended MAC for hostname.
I: 339 [DIS]Advertise commission parameter vendorID=65521 productID=32774 discriminator=3840/15 cm=0
E: 348 [DIS]Failed to advertise extended commissionable node: 3
D: 355 [DIS]Scheduling extended discovery timeout in 900s
E: 362 [DIS]Failed to finalize service update: 3
I: 366 [DIS]Delaying proxy of operational discovery: missing delegate
I: 373 [IN]CASE Server enabling CASE session setups
D: 380 [IN]SecureSession[0x200049f0]: Allocated Type:2 LSID:28241
I: 386 [SVR]Joining Multicast groups
I: 391 [SVR]Server Listening...
I: 394 [DL]Device Configuration:
I: 398 [DL]  Serial Number: 11223344556677889900
I: 402 [DL]  Vendor Id: 65521 (0xFFF1)
I: 407 [DL]  Product Id: 32774 (0x8006)
I: 410 [DL]  Product Name: not-specified
I: 415 [DL]  Hardware Version: 0
I: 419 [DL]  Setup Pin Code (0 for UNKNOWN/ERROR): 20202021
I: 425 [DL]  Setup Discriminator (0xFFFF for UNKNOWN/ERROR): 3840 (0xF00)
I: 432 [DL]  Manufacturing Date: 2022-01-01
I: 437 [DL]  Device Type: 65535 (0xFFFF)
I: 442 [SVR]SetupQRCode: [MT:8IXS142C00KA0648G00]
I: 447 [SVR]Copy/paste the below URL in a browser to see the QR Code:
I: 454 [SVR]https://project-chip.github.io/connectedhomeip/qrcode.html?data=MT%3A8IXS142C00KA0648G00
I: 464 [SVR]Manual pairing code: [34970112332]
I: 474 [DL]CHIP task running
I: 477 [DIS]Updating services using commissioning mode 0
E: 483 [DIS]Failed to remove advertised services: 3
D: 488 [DL]Using Thread extended MAC for hostname.
I: 494 [DIS]Advertise commission parameter vendorID=65521 productID=32774 discriminator=3840/15 cm=0
E: 503 [DIS]Failed to advertise extended commissionable node: 3
E: 510 [DIS]Failed to finalize service update: 3
I: FW Ver: 0.3.0+0; version: 00030000
I: Device has NOT gone through provisioning
I: network state 0
E: Sending UART cmd st 0
I: BLE Device ID: 2f29
I: Current OTA Stage = 10
I: dfu_header_data.image_count: 2
E: Sending UART cmd st 0
I: BLE Name set: HU:2F29 errCode: 0
I: 15696 [SWU]SMP BLE advertising started
I: 15699 [DL]DFU over SMP started
I: IMG Integrity Verified Successfully: 0
I: IMG Integrity Verified Successfully: 1
I: Current OTA Stage = 16
I: OTA device_id = 5 : DISCOVERY_REQ
I: SECURE_STM : DISCOVERY_REQ
I: OTA device_id = 5 : FW_VERSION_REQ
I: Secure STM Firmware Version: 2 0 1 2
I: OTA device_id = 5 : FW_UPDATE_START_REQ
I: SECURE_STM : IB_FW_UPDATE_START_REQUEST
I: STM OTA Progress = 10
I: STM OTA Progress = 20
I: STM OTA Progress = 30
I: STM OTA Progress = 40
I: STM OTA Progress = 50
I: STM OTA Progress = 60
I: STM OTA Progress = 70
I: STM OTA Progress = 80
I: STM OTA Progress = 90
I: STM OTA Progress = 100
I: OTA device_id = 5 : FW_UPDATE_REBOOT_REQ
I: SECURE_STM : REBOOT_COMMAND
I: STM Rebooted, MCUBoot Verifying Image
I: OTA device_id = 5 : FW_VERSION_REQ
I: Secure STM Firmware Version: 2 0 1 1
I: OTA device_id = 5 : FW_UPDATE_COMPLETE_REQ
I: SECURE_STM : IB_FW_UPDATE_COMPLETE_REQUEST
I: OTA device_id = 5 : FW_UPDATE_REBOOT_REQ
I: SECURE_STM : REBOOT_COMMAND
I: STM Rebooted, MCUBoot Confirming Image
I: OTA device_id = 5 : FW_VERSION_REQ
I: Secure STM Firmware Version: 2 0 1 1
I: STM Secure OTA Successful
I: Clear STM OTA Meta Data
I: Current OTA Stage = 17
I: Redpine OTA started
I: Current OTA Stage = 18
I: OTA device_id = 4 : DISCOVERY_REQ
I: STM_QSPI : IB_DEVICE_DISCOVERY_REQUEST
I: OTA device_id = 4 : FW_VERSION_REQ
I: STM_QSPI : IB_FW_VERSION_REQUEST
I: Redpine Firmware Version: 2.1.255.191
I: OTA device_id = 4 : FW_UPDATE_START_REQ
I: STM_QSPI : IB_FW_UPDATE_START_REQUEST
I: Redpine Image Stored into STM QSPI, Progress = 10
I: Redpine Image Stored into STM QSPI, Progress = 20
I: Redpine Image Stored into STM QSPI, Progress = 30
I: Redpine Image Stored into STM QSPI, Progress = 40
I: Redpine Image Stored into STM QSPI, Progress = 50
I: Redpine Image Stored into STM QSPI, Progress = 60
I: Redpine Image Stored into STM QSPI, Progress = 70
I: Redpine Image Stored into STM QSPI, Progress = 80
I: Redpine Image Stored into STM QSPI, Progress = 90
I: Redpine Image Stored into STM QSPI, Progress = 100
I: OTA device_id = 4 : FW_UPDATE_COMPLETE_REQ
I: STM_QSPI : IB_FW_UPDATE_COMPLETE_REQUEST
I: STM_QSPI : STM QSPI to Redpine SPI Image Transfer Ongoing (0)
I: STM_QSPI : STM QSPI to Redpine SPI Image Transfer Ongoing (10)
I: STM_QSPI : STM QSPI to Redpine SPI Image Transfer Ongoing (20)
I: STM_QSPI : STM QSPI to Redpine SPI Image Transfer Ongoing (30)
I: STM_QSPI : STM QSPI to Redpine SPI Image Transfer Ongoing (40)
I: STM_QSPI : STM QSPI to Redpine SPI Image Transfer Ongoing (50)
I: STM_QSPI : STM QSPI to Redpine SPI Image Transfer Ongoing (60)
I: STM_QSPI : STM QSPI to Redpine SPI Image Transfer Ongoing (70)
I: STM_QSPI : STM QSPI to Redpine SPI Image Transfer Ongoing (80)
I: STM_QSPI : STM QSPI to Redpine SPI Image Transfer Ongoing (90)
I: STM_QSPI : STM QSPI to Redpine SPI Image Transfer Ongoing (100)
I: STM_QSPI : IB_FW_UPDATE_REBOOT_REQUEST
I: Clear Redpine OTA Meta Data
I: Current OTA Stage = 24
I: Start to Erase OTA Bundle Image from External Flash
I: Erasing bundle from nRF Ext. Flash
I: Bundle Image Erased from nRF Ext. Flash: 0
I: Current OTA Stage = 25
I: FW Ver: 0.3.0+0; version: 00030000
I: 599137 [DL]DFU-BLE-Connected
I: BLE Connected
Swap type: none
I: 599410 [DL]DFU-BLE-Disconnected : 19
E: Sending UART cmd st 0
I: BLE Name set: HU:2F29 errCode: 0
I: 599423 [SWU]SMP BLE advertising started
I: 599427 [DL]DFU over SMP started
I: BLE Disconnected: 13
I: 616783 [DL]DFU-BLE-Connected
I: BLE Connected
I: 617063 [DL]DFU Image upload started
I: Current OTA Stage = 11
I: 630274 [DL]Image 0 download completed successfully
I: 630302 [DL]DFU-BLE-Disconnected : 19
E: Sending UART cmd st 0
I: BLE Name set: HU:2F29 errCode: 0
I: 630315 [SWU]SMP BLE advertising started
I: 630319 [DL]DFU over SMP started
I: BLE Disconnected: 13
I: 680281 [DL]DFU-BLE-Connected
I: BLE Connected
Swap type: none
I: 680582 [DL]DFU Image upload started
I: Current OTA Stage = 12
I: 769839 [DL]Image 1 download completed successfully
I: 769864 [DL]DFU-BLE-Disconnected : 19
E: Sending UART cmd st 0
I: BLE Name set: HU:2F29 errCode: 0
I: 769877 [SWU]SMP BLE advertising started
I: 769881 [DL]DFU over SMP started
I: BLE Disconnected: 13
I: 804084 [DL]DFU-BLE-Connected
I: BLE Connected
I: 822930 [DL]DFU Image upload started
D: 900361 [DIS]Extended discovery timed out
I: 900367 [DIS]Updating services using commissioning mode 0
E: 900375 [DIS]Failed to remove advertised services: 3
E: 900381 [DIS]Failed to finalize service update: 3
I: Current OTA Stage = 13
I: 1061953 [DL]Image 2 download completed successfully
I: Current OTA Stage = 14
I: 1061997 [DL]DFU-BLE-Disconnected : 19
E: Sending UART cmd st 0
I: BLE Name set: HU:2F29 errCode: 0
I: 1062009 [SWU]SMP BLE advertising started
I: 1062014 [DL]DFU over SMP started
I: BLE Disconnected: 13
I: 1081424 [DL]DFU-BLE-Connected
I: BLE Connected
Swap type: none
Swap type: none
Swap type: none
I: 1081721 [DL]DFU-BLE-Disconnected : 19
E: Sending UART cmd st 0
I: BLE Name set: HU:2F29 errCode: 0
I: 1081734 [SWU]SMP BLE advertising started
I: 1081738 [DL]DFU over SMP started
I: BLE Disconnected: 13
I: 1097824 [DL]DFU-BLE-Connected
I: BLE Connected
E: img_mgmt_find_by_hash Return i=1
E: cb cb
E: 96 96
E: 29 29
E: f f
E: d9 d9
E: a a
E: b7 b7
E: b b
E: 3e 3e
E: a1 a1
E: 45 45
E: aa aa
E: 46 46
E: 56 56
E: 19 19
E: 5d 5d
E: be be
E: 6e 6e
E: 4b 4b
E: eb eb
E: 7c 7c
E: e0 e0
E: bf bf
E: f0 f0
E: f4 f4
E: b8 b8
E: 18 18
E: e8 e8
E: 92 92
E: 53 53
E: 2 2
E: 82 82
E: img_mgmt_find_by_hash slot = 1, confirm = 1
E: area_id = 2, active = 0
E: Success 1
E: Success 2
writing magic; fa_id=2 off=0xeeff0 (0xeeff0)
writing image_ok; fa_id=2 off=0xeefe8 (0xeefe8)
writing swap_info; fa_id=2 off=0xeefd8 (0xeefd8), swap_type=0x3 image_num=0x0
E: Success 3
E: *** rc = 0 ***
E: img_mgmt_set_boot_next rc = 0
Swap type: perm
Swap type: perm
Swap type: none
E: img_mgmt_state_read rc = 0
I: 1098199 [DL]DFU-BLE-Disconnected : 19
E: Sending UART cmd st 0
I: BLE Name set: HU:2F29 errCode: 0
I: 1098212 [SWU]SMP BLE advertising started
I: 1098216 [DL]DFU over SMP started
I: BLE Disconnected: 13
I: 1135710 [DL]DFU-BLE-Connected
I: BLE Connected
E: img_mgmt_find_by_hash Continue
E: img_mgmt_find_by_hash Return i=3
E: 19 19
E: 64 64
E: b b
E: b1 b1
E: 5e 5e
E: dc dc
E: e6 e6
E: 77 77
E: 8c 8c
E: ef ef
E: 69 69
E: 20 20
E: 5f 5f
E: ae ae
E: 54 54
E: 61 61
E: a3 a3
E: 99 99
E: ff ff
E: 7c 7c
E: 4d 4d
E: 65 65
E: f3 f3
E: 4c 4c
E: 53 53
E: 6c 6c
E: 37 37
E: 88 88
E: 2f 2f
E: e1 e1
E: 39 39
E: 7e 7e
E: img_mgmt_find_by_hash slot = 3, confirm = 1
E: area_id = 8, active = 0
E: Success 1
E: Success 2
writing magic; fa_id=8 off=0x3fff0 (0x12eff0)
writing image_ok; fa_id=8 off=0x3ffe8 (0x12efe8)
writing swap_info; fa_id=8 off=0x3ffd8 (0x12efd8), swap_type=0x3 image_num=0x0
E: Success 3
E: *** rc = 0 ***
E: img_mgmt_set_boot_next rc = 0
Swap type: perm
Swap type: perm
Swap type: perm
E: img_mgmt_state_read rc = 0
I: 1136111 [DL]DFU-BLE-Disconnected : 19
E: Sending UART cmd st 0
I: BLE Name set: HU:2F29 errCode: 0
I: 1136124 [SWU]SMP BLE advertising started
I: 1136128 [DL]DFU over SMP started
I: BLE Disconnected: 13
I: 1169575 [DL]DFU-BLE-Connected
I: BLE Connected
in os_mgmt_reset
in os_mgmt_reset, Timer Register
I: 1169875 [DL]DFU-BLE-Disconnected : 19
E: Sending UART cmd st 0
I: BLE Name set: HU:2F29 errCode: 0
I: 1169888 [SWU]SMP BLE advertising started
I: 1169892 [DL]DFU over SMP started
I: BLE Disconnected: 13
in os_mgmt_reset_cb
os_mgmt_reset_work_handler: System Rebooted
*** Booting Zephyr OS build v3.3.99-ncs1-1 ***
Starting bootloader
Swap type: perm
Swap type: perm
writing magic; fa_id=4 off=0xeeff0 (0xf6ff0)
writing magic; fa_id=1 off=0x3fff0 (0x3fff0)
Bootloader chainload address offset: 0x8000
Jumping to the first image slot
Start Do_Boot


uart:~$ *** Booting Zephyr OS build v3.3.99-ncs1-1 ***
I: KWIKSET HALO 3 VERSION: 00.03.01.00
I: Init CHIP stack
I: 159 [DL]BLE address: F9:D0:9F:6F:FA:81
I: Board config kwiksetmdb_nrf5340_cpuapp
I: IMAGE_VERSION 0.3.1+0
I: build time: Nov 30 2023 17:44:53
E: ====    Matter FW Ver: 0.3.1    ====
I: 198 [DL]OpenThread SED interval is 1000ms
I: 205 [DL]OpenThread started: OK
I: 208 [DL]Setting OpenThread device type to SLEEPY END DEVICE
I: 216 [SWU]DFU_BLEAdvertising_Init 
Swap type: none
I: 222 [SVR]Subscription persistence not supported
I: 227 [SVR]Server initializing...
I: 232 [TS]Last Known Good Time: 2023-11-30T17:43:12
I: 238 [DMG]AccessControl: initializing
I: 242 [DMG]Examples::AccessControlDelegate::Init
I: 247 [DMG]AccessControl: setting
I: 250 [DMG]DefaultAclStorage: initializing
I: 255 [DMG]DefaultAclStorage: 0 entries loaded
D: 260 [IN]UDP::Init bind&amp;amp;listen port=5540
E: 265 [IN]SO_REUSEPORT failed: 109
D: 269 [IN]UDP::Init bound to port=5540
D: 272 [IN]BLEBase::Init - setting/overriding transport
D: 278 [IN]TransportMgr initialized
D: 285 [DL]Using Thread extended MAC for hostname.
I: 292 [ZCL]Using ZAP configuration...
I: 298 [DMG]AccessControlCluster: initializing
D: 303 [DL]Boot reason: 6
I: 306 [ZCL]Initiating Admin Commissioning cluster.
I: 311 [ZCL]Door Lock server initialized
I: 316 [ZCL]Door Lock cluster initialized at endpoint #1
I: 322 [DIS]Updating services using commissioning mode 0
E: 328 [DIS]Failed to remove advertised services: 3
D: 333 [DL]Using Thread extended MAC for hostname.
I: 339 [DIS]Advertise commission parameter vendorID=65521 productID=32774 discriminator=3840/15 cm=0
E: 348 [DIS]Failed to advertise extended commissionable node: 3
D: 356 [DIS]Scheduling extended discovery timeout in 900s
E: 362 [DIS]Failed to finalize service update: 3
I: 366 [DIS]Delaying proxy of operational discovery: missing delegate
I: 373 [IN]CASE Server enabling CASE session setups
D: 380 [IN]SecureSession[0x200049f0]: Allocated Type:2 LSID:15147
I: 386 [SVR]Joining Multicast groups
I: 391 [SVR]Server Listening...
I: 394 [DL]Device Configuration:
I: 397 [DL]  Serial Number: 11223344556677889900
I: 402 [DL]  Vendor Id: 65521 (0xFFF1)
I: 406 [DL]  Product Id: 32774 (0x8006)
I: 410 [DL]  Product Name: not-specified
I: 414 [DL]  Hardware Version: 0
I: 418 [DL]  Setup Pin Code (0 for UNKNOWN/ERROR): 20202021
I: 425 [DL]  Setup Discriminator (0xFFFF for UNKNOWN/ERROR): 3840 (0xF00)
I: 432 [DL]  Manufacturing Date: 2022-01-01
I: 436 [DL]  Device Type: 65535 (0xFFFF)
I: 441 [SVR]SetupQRCode: [MT:8IXS142C00KA0648G00]
I: 446 [SVR]Copy/paste the below URL in a browser to see the QR Code:
I: 453 [SVR]https://project-chip.github.io/connectedhomeip/qrcode.html?data=MT%3A8IXS142C00KA0648G00
I: 464 [SVR]Manual pairing code: [34970112332]
I: 473 [DL]CHIP task running
I: 477 [DIS]Updating services using commissioning mode 0
E: 482 [DIS]Failed to remove advertised services: 3
D: 488 [DL]Using Thread extended MAC for hostname.
I: 493 [DIS]Advertise commission parameter vendorID=65521 productID=32774 discriminator=3840/15 cm=0
E: 502 [DIS]Failed to advertise extended commissionable node: 3
E: 509 [DIS]Failed to finalize service update: 3
I: FW Ver: 0.3.1+0; version: 00030100
I: Device has NOT gone through provisioning
I: network state 0
E: Sending UART cmd st 0
I: BLE Device ID: 2f29
I: Current OTA Stage = 10
I: dfu_header_data.image_count: 2
E: Sending UART cmd st 0
I: BLE Name set: HU:2F29 errCode: 0
I: 15701 [SWU]SMP BLE advertising started
I: 15705 [DL]DFU over SMP started
I: IMG Integrity Verified Successfully: 0
I: IMG Integrity Verified Successfully: 1
I: Current OTA Stage = 16
I: OTA device_id = 5 : DISCOVERY_REQ
I: SECURE_STM : DISCOVERY_REQ
I: OTA device_id = 5 : FW_VERSION_REQ
I: Secure STM Firmware Version: 2 0 1 1
I: OTA device_id = 5 : FW_UPDATE_START_REQ
I: SECURE_STM : IB_FW_UPDATE_START_REQUEST
I: STM OTA Progress = 10
I: STM OTA Progress = 20
I: STM OTA Progress = 30
I: STM OTA Progress = 40
I: STM OTA Progress = 50
I: STM OTA Progress = 60
I: STM OTA Progress = 70
I: STM OTA Progress = 80
I: STM OTA Progress = 90
I: STM OTA Progress = 100
I: OTA device_id = 5 : FW_UPDATE_REBOOT_REQ
I: SECURE_STM : REBOOT_COMMAND
I: STM Rebooted, MCUBoot Verifying Image
I: OTA device_id = 5 : FW_VERSION_REQ
I: Secure STM Firmware Version: 2 0 1 2
I: OTA device_id = 5 : FW_UPDATE_COMPLETE_REQ
I: SECURE_STM : IB_FW_UPDATE_COMPLETE_REQUEST
I: OTA device_id = 5 : FW_UPDATE_REBOOT_REQ
I: SECURE_STM : REBOOT_COMMAND
I: STM Rebooted, MCUBoot Confirming Image
I: OTA device_id = 5 : FW_VERSION_REQ
I: Secure STM Firmware Version: 2 0 1 2
I: STM Secure OTA Successful
I: Clear STM OTA Meta Data
I: Current OTA Stage = 17
I: Redpine OTA started
I: Current OTA Stage = 18
I: OTA device_id = 4 : DISCOVERY_REQ
I: STM_QSPI : IB_DEVICE_DISCOVERY_REQUEST
I: OTA device_id = 4 : FW_VERSION_REQ
I: STM_QSPI : IB_FW_VERSION_REQUEST
I: Redpine Firmware Version: 2.1.255.191
I: OTA device_id = 4 : FW_UPDATE_START_REQ
I: STM_QSPI : IB_FW_UPDATE_START_REQUEST
I: Redpine Image Stored into STM QSPI, Progress = 10
I: Redpine Image Stored into STM QSPI, Progress = 20
I: Redpine Image Stored into STM QSPI, Progress = 30
I: Redpine Image Stored into STM QSPI, Progress = 40
I: Redpine Image Stored into STM QSPI, Progress = 50
I: Redpine Image Stored into STM QSPI, Progress = 60
I: Redpine Image Stored into STM QSPI, Progress = 70
I: Redpine Image Stored into STM QSPI, Progress = 80
I: Redpine Image Stored into STM QSPI, Progress = 90
I: Redpine Image Stored into STM QSPI, Progress = 100
I: OTA device_id = 4 : FW_UPDATE_COMPLETE_REQ
I: STM_QSPI : IB_FW_UPDATE_COMPLETE_REQUEST
I: STM_QSPI : STM QSPI to Redpine SPI Image Transfer Ongoing (0)
I: STM_QSPI : STM QSPI to Redpine SPI Image Transfer Ongoing (10)
I: STM_QSPI : STM QSPI to Redpine SPI Image Transfer Ongoing (20)
I: STM_QSPI : STM QSPI to Redpine SPI Image Transfer Ongoing (30)
I: STM_QSPI : STM QSPI to Redpine SPI Image Transfer Ongoing (40)
I: STM_QSPI : STM QSPI to Redpine SPI Image Transfer Ongoing (50)
I: STM_QSPI : STM QSPI to Redpine SPI Image Transfer Ongoing (60)
I: STM_QSPI : STM QSPI to Redpine SPI Image Transfer Ongoing (70)
I: STM_QSPI : STM QSPI to Redpine SPI Image Transfer Ongoing (80)
I: STM_QSPI : STM QSPI to Redpine SPI Image Transfer Ongoing (90)
I: STM_QSPI : STM QSPI to Redpine SPI Image Transfer Ongoing (100)
I: STM_QSPI : IB_FW_UPDATE_REBOOT_REQUEST
I: Clear Redpine OTA Meta Data
I: Current OTA Stage = 24
I: Start to Erase OTA Bundle Image from External Flash
I: Erasing bundle from nRF Ext. Flash
I: Bundle Image Erased from nRF Ext. Flash: 0
I: Current OTA Stage = 25
I: FW Ver: 0.3.1+0; version: 00030100
I: 598073 [DL]DFU-BLE-Connected
I: BLE Connected
Swap type: none
I: 598346 [DL]DFU-BLE-Disconnected : 19
E: Sending UART cmd st 0
I: BLE Name set: HU:2F29 errCode: 0
I: 598358 [SWU]SMP BLE advertising started
I: 598362 [DL]DFU over SMP started
I: BLE Disconnected: 13
I: 615209 [DL]DFU-BLE-Connected
I: BLE Connected
I: 615481 [DL]DFU Image upload started
I: Current OTA Stage = 11
I: 628703 [DL]Image 0 download completed successfully
I: 628732 [DL]DFU-BLE-Disconnected : 19
E: Sending UART cmd st 0
I: BLE Name set: HU:2F29 errCode: 0
I: 628744 [SWU]SMP BLE advertising started
I: 628748 [DL]DFU over SMP started
I: BLE Disconnected: 13
I: 680257 [DL]DFU-BLE-Connected
I: BLE Connected
Swap type: none
I: 680556 [DL]DFU Image upload started
I: Current OTA Stage = 12
I: 771182 [DL]Image 1 download completed successfully
I: 771207 [DL]DFU-BLE-Disconnected : 19
E: Sending UART cmd st 0
I: BLE Name set: HU:2F29 errCode: 0
I: 771220 [SWU]SMP BLE advertising started
I: 771224 [DL]DFU over SMP started
I: BLE Disconnected: 13
I: 805680 [DL]DFU-BLE-Connected
I: BLE Connected
I: 824517 [DL]DFU Image upload started
D: 900362 [DIS]Extended discovery timed out
I: 900366 [DIS]Updating services using commissioning mode 0
E: 900371 [DIS]Failed to remove advertised services: 3
E: 900380 [DIS]Failed to finalize service update: 3
I: Current OTA Stage = 13
I: 1063713 [DL]Image 2 download completed successfully
I: Current OTA Stage = 14
I: 1063745 [DL]DFU-BLE-Disconnected : 19
E: Sending UART cmd st 0
I: BLE Name set: HU:2F29 errCode: 0
I: 1063758 [SWU]SMP BLE advertising started
I: 1063762 [DL]DFU over SMP started
I: BLE Disconnected: 13
I: 1084662 [DL]DFU-BLE-Connected
I: BLE Connected
Swap type: none
Swap type: none
Swap type: none
I: 1084955 [DL]DFU-BLE-Disconnected : 19
E: Sending UART cmd st 0
I: BLE Name set: HU:2F29 errCode: 0
I: 1084967 [SWU]SMP BLE advertising started
I: 1084971 [DL]DFU over SMP started
I: BLE Disconnected: 13
I: 1101278 [DL]DFU-BLE-Connected
I: BLE Connected
E: img_mgmt_find_by_hash Return i=1
E: a4 a4
E: 1d 1d
E: 1e 1e
E: a8 a8
E: b8 b8
E: 1d 1d
E: 72 72
E: 1b 1b
E: c0 c0
E: 13 13
E: cc cc
E: 3e 3e
E: d6 d6
E: e7 e7
E: 2f 2f
E: d4 d4
E: 4c 4c
E: 9 9
E: 25 25
E: 26 26
E: d1 d1
E: df df
E: b3 b3
E: 7b 7b
E: 1d 1d
E: f3 f3
E: b1 b1
E: db db
E: 4b 4b
E: 7c 7c
E: c3 c3
E: b4 b4
E: img_mgmt_find_by_hash slot = 1, confirm = 1
E: area_id = 2, active = 0
E: Success 1
E: Success 2
writing magic; fa_id=2 off=0xeeff0 (0xeeff0)
writing image_ok; fa_id=2 off=0xeefe8 (0xeefe8)
writing swap_info; fa_id=2 off=0xeefd8 (0xeefd8), swap_type=0x3 image_num=0x0
E: Success 3
E: *** rc = 0 ***
E: img_mgmt_set_boot_next rc = 0
Swap type: perm
Swap type: perm
Swap type: none
E: img_mgmt_state_read rc = 0
I: 1101642 [DL]DFU-BLE-Disconnected : 19
E: Sending UART cmd st 0
I: BLE Name set: HU:2F29 errCode: 0
I: 1101655 [SWU]SMP BLE advertising started
I: 1101659 [DL]DFU over SMP started
I: BLE Disconnected: 13
I: 1138653 [DL]DFU-BLE-Connected
I: BLE Connected
E: img_mgmt_find_by_hash Continue
E: img_mgmt_find_by_hash Return i=3
E: 9 9
E: 4 4
E: ba ba
E: 45 45
E: 18 18
E: a a
E: c3 c3
E: 6d 6d
E: 87 87
E: da da
E: c3 c3
E: ec ec
E: f2 f2
E: d d
E: 73 73
E: b1 b1
E: 9b 9b
E: f4 f4
E: 52 52
E: 8b 8b
E: 67 67
E: 23 23
E: 29 29
E: 47 47
E: 9 9
E: 40 40
E: 93 93
E: 98 98
E: d7 d7
E: 3b 3b
E: 9c 9c
E: 12 12
E: img_mgmt_find_by_hash slot = 3, confirm = 1
E: area_id = 8, active = 0
E: Success 1
E: Success 2
writing magic; fa_id=8 off=0x3fff0 (0x12eff0)
writing image_ok; fa_id=8 off=0x3ffe8 (0x12efe8)
writing swap_info; fa_id=8 off=0x3ffd8 (0x12efd8), swap_type=0x3 image_num=0x0
E: Success 3
E: *** rc = 0 ***
E: img_mgmt_set_boot_next rc = 0
Swap type: perm
Swap type: perm
Swap type: perm
E: img_mgmt_state_read rc = 0
I: 1139044 [DL]DFU-BLE-Disconnected : 19
E: Sending UART cmd st 0
I: BLE Name set: HU:2F29 errCode: 0
I: 1139057 [SWU]SMP BLE advertising started
I: 1139061 [DL]DFU over SMP started
I: BLE Disconnected: 13
I: 1170980 [DL]DFU-BLE-Connected
I: BLE Connected
in os_mgmt_reset
in os_mgmt_reset, Timer Register
I: 1171263 [DL]DFU-BLE-Disconnected : 19
E: Sending UART cmd st 0
I: BLE Name set: HU:2F29 errCode: 0
I: 1171276 [SWU]SMP BLE advertising started
I: 1171280 [DL]DFU over SMP started
I: BLE Disconnected: 13
in os_mgmt_reset_cb
os_mgmt_reset_work_handler: System Rebooted
*** Booting Zephyr OS build v3.3.99-ncs1-1 ***
Starting bootloader
Swap type: perm
Swap type: perm
writing magic; fa_id=4 off=0xeeff0 (0xf6ff0)
writing magic; fa_id=1 off=0x3fff0 (0x3fff0)
Bootloader chainload address offset: 0x8000
Jumping to the first image slot
Start Do_Boot


uart:~$ *** Booting Zephyr OS build v3.3.99-ncs1-1 ***
I: KWIKSET HALO 3 VERSION: 00.03.00.00
I: Init CHIP stack
I: 159 [DL]BLE address: C5:0E:BE:F0:37:70
I: Board config kwiksetmdb_nrf5340_cpuapp
I: IMAGE_VERSION 0.3.0+0
I: build time: Nov 30 2023 11:09:14
E: ====    Matter FW Ver: 0.3.0    ====
I: 198 [DL]OpenThread SED interval is 1000ms
I: 205 [DL]OpenThread started: OK
I: 208 [DL]Setting OpenThread device type to SLEEPY END DEVICE
I: 216 [SWU]DFU_BLEAdvertising_Init 
Swap type: none
I: 223 [SVR]Subscription persistence not supported
I: 227 [SVR]Server initializing...
I: 232 [TS]Last Known Good Time: 2023-11-30T17:43:12
I: 238 [DMG]AccessControl: initializing
I: 242 [DMG]Examples::AccessControlDelegate::Init
I: 246 [DMG]AccessControl: setting
I: 250 [DMG]DefaultAclStorage: initializing
I: 255 [DMG]DefaultAclStorage: 0 entries loaded
D: 260 [IN]UDP::Init bind&amp;amp;listen port=5540
E: 265 [IN]SO_REUSEPORT failed: 109
D: 269 [IN]UDP::Init bound to port=5540
D: 272 [IN]BLEBase::Init - setting/overriding transport
D: 278 [IN]TransportMgr initialized
D: 285 [DL]Using Thread extended MAC for hostname.
I: 292 [ZCL]Using ZAP configuration...
I: 298 [DMG]AccessControlCluster: initializing
D: 303 [DL]Boot reason: 6
I: 306 [ZCL]Initiating Admin Commissioning cluster.
I: 311 [ZCL]Door Lock server initialized
I: 316 [ZCL]Door Lock cluster initialized at endpoint #1
I: 322 [DIS]Updating services using commissioning mode 0
E: 328 [DIS]Failed to remove advertised services: 3
D: 334 [DL]Using Thread extended MAC for hostname.
I: 339 [DIS]Advertise commission parameter vendorID=65521 productID=32774 discriminator=3840/15 cm=0
E: 349 [DIS]Failed to advertise extended commissionable node: 3
D: 355 [DIS]Scheduling extended discovery timeout in 900s
E: 362 [DIS]Failed to finalize service update: 3
I: 366 [DIS]Delaying proxy of operational discovery: missing delegate
I: 373 [IN]CASE Server enabling CASE session setups
D: 380 [IN]SecureSession[0x200049f0]: Allocated Type:2 LSID:25607
I: 386 [SVR]Joining Multicast groups
I: 391 [SVR]Server Listening...
I: 395 [DL]Device Configuration:
I: 398 [DL]  Serial Number: 11223344556677889900
I: 403 [DL]  Vendor Id: 65521 (0xFFF1)
I: 407 [DL]  Product Id: 32774 (0x8006)
I: 411 [DL]  Product Name: not-specified
I: 415 [DL]  Hardware Version: 0
I: 419 [DL]  Setup Pin Code (0 for UNKNOWN/ERROR): 20202021
I: 424 [DL]  Setup Discriminator (0xFFFF for UNKNOWN/ERROR): 3840 (0xF00)
I: 433 [DL]  Manufacturing Date: 2022-01-01
I: 437 [DL]  Device Type: 65535 (0xFFFF)
I: 442 [SVR]SetupQRCode: [MT:8IXS142C00KA0648G00]
I: 447 [SVR]Copy/paste the below URL in a browser to see the QR Code:
I: 453 [SVR]https://project-chip.github.io/connectedhomeip/qrcode.html?data=MT%3A8IXS142C00KA0648G00
I: 465 [SVR]Manual pairing code: [34970112332]
I: 474 [DL]CHIP task running
I: 477 [DIS]Updating services using commissioning mode 0
E: 482 [DIS]Failed to remove advertised services: 3
D: 489 [DL]Using Thread extended MAC for hostname.
I: 494 [DIS]Advertise commission parameter vendorID=65521 productID=32774 discriminator=3840/15 cm=0
E: 503 [DIS]Failed to advertise extended commissionable node: 3
E: 510 [DIS]Failed to finalize service update: 3
I: FW Ver: 0.3.0+0; version: 00030000
I: Device has NOT gone through provisioning
I: network state 0
E: Sending UART cmd st 0
I: BLE Device ID: 2f29
I: Current OTA Stage = 10
I: dfu_header_data.image_count: 2
E: Sending UART cmd st 0
I: BLE Name set: HU:2F29 errCode: 0
I: 15696 [SWU]SMP BLE advertising started
I: 15700 [DL]DFU over SMP started
I: IMG Integrity Verified Successfully: 0
I: IMG Integrity Verified Successfully: 1
I: Current OTA Stage = 16
I: OTA device_id = 5 : DISCOVERY_REQ
I: SECURE_STM : DISCOVERY_REQ
I: OTA device_id = 5 : FW_VERSION_REQ
I: Secure STM Firmware Version: 2 0 1 2
I: OTA device_id = 5 : FW_UPDATE_START_REQ
I: SECURE_STM : IB_FW_UPDATE_START_REQUEST
I: STM OTA Progress = 10
I: STM OTA Progress = 20
I: STM OTA Progress = 30
I: STM OTA Progress = 40
I: STM OTA Progress = 50
I: STM OTA Progress = 60
I: STM OTA Progress = 70
I: STM OTA Progress = 80
I: STM OTA Progress = 90
I: STM OTA Progress = 100
I: OTA device_id = 5 : FW_UPDATE_REBOOT_REQ
I: SECURE_STM : REBOOT_COMMAND
I: STM Rebooted, MCUBoot Verifying Image
I: OTA device_id = 5 : FW_VERSION_REQ
I: Secure STM Firmware Version: 2 0 1 1
I: OTA device_id = 5 : FW_UPDATE_COMPLETE_REQ
I: SECURE_STM : IB_FW_UPDATE_COMPLETE_REQUEST
I: OTA device_id = 5 : FW_UPDATE_REBOOT_REQ
I: SECURE_STM : REBOOT_COMMAND
I: STM Rebooted, MCUBoot Confirming Image
I: OTA device_id = 5 : FW_VERSION_REQ
I: Secure STM Firmware Version: 2 0 1 1
I: STM Secure OTA Successful
I: Clear STM OTA Meta Data
I: Current OTA Stage = 17
I: Redpine OTA started
I: Current OTA Stage = 18
I: OTA device_id = 4 : DISCOVERY_REQ
I: STM_QSPI : IB_DEVICE_DISCOVERY_REQUEST
I: OTA device_id = 4 : FW_VERSION_REQ
I: STM_QSPI : IB_FW_VERSION_REQUEST
I: Redpine Firmware Version: 2.1.255.191
I: OTA device_id = 4 : FW_UPDATE_START_REQ
I: STM_QSPI : IB_FW_UPDATE_START_REQUEST
I: Redpine Image Stored into STM QSPI, Progress = 10
I: Redpine Image Stored into STM QSPI, Progress = 20
I: Redpine Image Stored into STM QSPI, Progress = 30
I: Redpine Image Stored into STM QSPI, Progress = 40
I: Redpine Image Stored into STM QSPI, Progress = 50
I: Redpine Image Stored into STM QSPI, Progress = 60
I: Redpine Image Stored into STM QSPI, Progress = 70
I: Redpine Image Stored into STM QSPI, Progress = 80
I: Redpine Image Stored into STM QSPI, Progress = 90
I: Redpine Image Stored into STM QSPI, Progress = 100
I: OTA device_id = 4 : FW_UPDATE_COMPLETE_REQ
I: STM_QSPI : IB_FW_UPDATE_COMPLETE_REQUEST
I: STM_QSPI : STM QSPI to Redpine SPI Image Transfer Ongoing (0)
I: STM_QSPI : STM QSPI to Redpine SPI Image Transfer Ongoing (10)
I: STM_QSPI : STM QSPI to Redpine SPI Image Transfer Ongoing (20)
I: STM_QSPI : STM QSPI to Redpine SPI Image Transfer Ongoing (30)
I: STM_QSPI : STM QSPI to Redpine SPI Image Transfer Ongoing (40)
I: STM_QSPI : STM QSPI to Redpine SPI Image Transfer Ongoing (50)
I: STM_QSPI : STM QSPI to Redpine SPI Image Transfer Ongoing (60)
I: STM_QSPI : STM QSPI to Redpine SPI Image Transfer Ongoing (70)
I: STM_QSPI : STM QSPI to Redpine SPI Image Transfer Ongoing (80)
I: STM_QSPI : STM QSPI to Redpine SPI Image Transfer Ongoing (90)
I: STM_QSPI : STM QSPI to Redpine SPI Image Transfer Ongoing (100)
I: STM_QSPI : IB_FW_UPDATE_REBOOT_REQUEST
I: Clear Redpine OTA Meta Data
I: Current OTA Stage = 24
I: Start to Erase OTA Bundle Image from External Flash
I: Erasing bundle from nRF Ext. Flash
I: Bundle Image Erased from nRF Ext. Flash: 0
I: Current OTA Stage = 25
I: FW Ver: 0.3.0+0; version: 00030000
I: 598091 [DL]DFU-BLE-Connected
I: BLE Connected
Swap type: none
I: 598384 [DL]DFU-BLE-Disconnected : 19
E: Sending UART cmd st 0
I: BLE Name set: HU:2F29 errCode: 0
I: 598397 [SWU]SMP BLE advertising started
I: 598400 [DL]DFU over SMP started
I: BLE Disconnected: 13
I: 615277 [DL]DFU-BLE-Connected
I: BLE Connected
I: 615564 [DL]DFU Image upload started
I: Current OTA Stage = 11
I: 628741 [DL]Image 0 download completed successfully
I: 628770 [DL]DFU-BLE-Disconnected : 19
E: Sending UART cmd st 0
I: BLE Name set: HU:2F29 errCode: 0
I: 628782 [SWU]SMP BLE advertising started
I: 628786 [DL]DFU over SMP started
I: BLE Disconnected: 13
I: 678048 [DL]DFU-BLE-Connected
I: BLE Connected
Swap type: none
I: 678356 [DL]DFU Image upload started
I: Current OTA Stage = 12
I: 767519 [DL]Image 1 download completed successfully
I: 767544 [DL]DFU-BLE-Disconnected : 19
E: Sending UART cmd st 0
I: BLE Name set: HU:2F29 errCode: 0
I: 767557 [SWU]SMP BLE advertising started
I: 767561 [DL]DFU over SMP started
I: BLE Disconnected: 13
I: 801733 [DL]DFU-BLE-Connected
I: BLE Connected
I: 820565 [DL]DFU Image upload started
D: 900361 [DIS]Extended discovery timed out
I: 900365 [DIS]Updating services using commissioning mode 0
E: 900374 [DIS]Failed to remove advertised services: 3
E: 900381 [DIS]Failed to finalize service update: 3
I: Current OTA Stage = 13
I: 1060781 [DL]Image 2 download completed successfully
I: Current OTA Stage = 14
I: 1060813 [DL]DFU-BLE-Disconnected : 19
E: Sending UART cmd st 0
I: BLE Name set: HU:2F29 errCode: 0
I: 1060826 [SWU]SMP BLE advertising started
I: 1060830 [DL]DFU over SMP started
I: BLE Disconnected: 13
I: 1081763 [DL]DFU-BLE-Connected
I: BLE Connected
Swap type: none
Swap type: none
Swap type: none
I: 1082068 [DL]DFU-BLE-Disconnected : 19
E: Sending UART cmd st 0
I: BLE Name set: HU:2F29 errCode: 0
I: 1082080 [SWU]SMP BLE advertising started
I: 1082085 [DL]DFU over SMP started
I: BLE Disconnected: 13
I: 1098388 [DL]DFU-BLE-Connected
I: BLE Connected
E: img_mgmt_find_by_hash Return i=1
E: cb cb
E: 96 96
E: 29 29
E: f f
E: d9 d9
E: a a
E: b7 b7
E: b b
E: 3e 3e
E: a1 a1
E: 45 45
E: aa aa
E: 46 46
E: 56 56
E: 19 19
E: 5d 5d
E: be be
E: 6e 6e
E: 4b 4b
E: eb eb
E: 7c 7c
E: e0 e0
E: bf bf
E: f0 f0
E: f4 f4
E: b8 b8
E: 18 18
E: e8 e8
E: 92 92
E: 53 53
E: 2 2
E: 82 82
E: img_mgmt_find_by_hash slot = 1, confirm = 1
E: area_id = 2, active = 0
E: Success 1
E: Success 2
writing magic; fa_id=2 off=0xeeff0 (0xeeff0)
writing image_ok; fa_id=2 off=0xeefe8 (0xeefe8)
writing swap_info; fa_id=2 off=0xeefd8 (0xeefd8), swap_type=0x3 image_num=0x0
E: Success 3
E: *** rc = 0 ***
E: img_mgmt_set_boot_next rc = 0
Swap type: perm
Swap type: perm
Swap type: none
E: img_mgmt_state_read rc = 0
I: 1098770 [DL]DFU-BLE-Disconnected : 19
E: Sending UART cmd st 0
I: BLE Name set: HU:2F29 errCode: 0
I: 1098783 [SWU]SMP BLE advertising started
I: 1098787 [DL]DFU over SMP started
I: BLE Disconnected: 13
I: 1138061 [DL]DFU-BLE-Connected
I: BLE Connected
E: img_mgmt_find_by_hash Continue
E: img_mgmt_find_by_hash Return i=3
E: 19 19
E: 64 64
E: b b
E: b1 b1
E: 5e 5e
E: dc dc
E: e6 e6
E: 77 77
E: 8c 8c
E: ef ef
E: 69 69
E: 20 20
E: 5f 5f
E: ae ae
E: 54 54
E: 61 61
E: a3 a3
E: 99 99
E: ff ff
E: 7c 7c
E: 4d 4d
E: 65 65
E: f3 f3
E: 4c 4c
E: 53 53
E: 6c 6c
E: 37 37
E: 88 88
E: 2f 2f
E: e1 e1
E: 39 39
E: 7e 7e
E: img_mgmt_find_by_hash slot = 3, confirm = 1
E: area_id = 8, active = 0
E: Success 1
E: Success 2
writing magic; fa_id=8 off=0x3fff0 (0x12eff0)
writing image_ok; fa_id=8 off=0x3ffe8 (0x12efe8)
writing swap_info; fa_id=8 off=0x3ffd8 (0x12efd8), swap_type=0x3 image_num=0x0
E: Success 3
E: *** rc = 0 ***
E: img_mgmt_set_boot_next rc = 0
Swap type: perm
Swap type: perm
Swap type: perm
E: img_mgmt_state_read rc = 0
I: 1138429 [DL]DFU-BLE-Disconnected : 19
E: Sending UART cmd st 0
I: BLE Name set: HU:2F29 errCode: 0
I: 1138442 [SWU]SMP BLE advertising started
I: 1138446 [DL]DFU over SMP started
I: BLE Disconnected: 13
I: 1170377 [DL]DFU-BLE-Connected
I: BLE Connected
in os_mgmt_reset
in os_mgmt_reset, Timer Register
I: 1170657 [DL]DFU-BLE-Disconnected : 19
E: Sending UART cmd st 0
I: BLE Name set: HU:2F29 errCode: 0
I: 1170669 [SWU]SMP BLE advertising started
I: 1170673 [DL]DFU over SMP started
I: BLE Disconnected: 13
in os_mgmt_reset_cb
os_mgmt_reset_work_handler: System Rebooted
*** Booting Zephyr OS build v3.3.99-ncs1-1 ***
Starting bootloader
Swap type: perm
Swap type: perm
writing magic; fa_id=4 off=0xeeff0 (0xf6ff0)
writing magic; fa_id=1 off=0x3fff0 (0x3fff0)
Bootloader chainload address offset: 0x8000
Jumping to the first image slot
Start Do_Boot


uart:~$ *** Booting Zephyr OS build v3.3.99-ncs1-1 ***
I: KWIKSET HALO 3 VERSION: 00.03.01.00
I: Init CHIP stack
I: 159 [DL]BLE address: C5:3A:11:D2:41:E5
I: Board config kwiksetmdb_nrf5340_cpuapp
I: IMAGE_VERSION 0.3.1+0
I: build time: Nov 30 2023 17:44:53
E: ====    Matter FW Ver: 0.3.1    ====
I: 198 [DL]OpenThread SED interval is 1000ms
I: 205 [DL]OpenThread started: OK
I: 209 [DL]Setting OpenThread device type to SLEEPY END DEVICE
I: 216 [SWU]DFU_BLEAdvertising_Init 
Swap type: none
I: 223 [SVR]Subscription persistence not supported
I: 227 [SVR]Server initializing...
I: 232 [TS]Last Known Good Time: 2023-11-30T17:43:12
I: 238 [DMG]AccessControl: initializing
I: 242 [DMG]Examples::AccessControlDelegate::Init
I: 247 [DMG]AccessControl: setting
I: 251 [DMG]DefaultAclStorage: initializing
I: 255 [DMG]DefaultAclStorage: 0 entries loaded
D: 260 [IN]UDP::Init bind&amp;amp;listen port=5540
E: 265 [IN]SO_REUSEPORT failed: 109
D: 269 [IN]UDP::Init bound to port=5540
D: 273 [IN]BLEBase::Init - setting/overriding transport
D: 278 [IN]TransportMgr initialized
D: 285 [DL]Using Thread extended MAC for hostname.
I: 292 [ZCL]Using ZAP configuration...
I: 298 [DMG]AccessControlCluster: initializing
D: 303 [DL]Boot reason: 6
I: 306 [ZCL]Initiating Admin Commissioning cluster.
I: 311 [ZCL]Door Lock server initialized
I: 316 [ZCL]Door Lock cluster initialized at endpoint #1
I: 322 [DIS]Updating services using commissioning mode 0
E: 328 [DIS]Failed to remove advertised services: 3
D: 334 [DL]Using Thread extended MAC for hostname.
I: 339 [DIS]Advertise commission parameter vendorID=65521 productID=32774 discriminator=3840/15 cm=0
E: 348 [DIS]Failed to advertise extended commissionable node: 3
D: 355 [DIS]Scheduling extended discovery timeout in 900s
E: 362 [DIS]Failed to finalize service update: 3
I: 367 [DIS]Delaying proxy of operational discovery: missing delegate
I: 373 [IN]CASE Server enabling CASE session setups
D: 380 [IN]SecureSession[0x200049f0]: Allocated Type:2 LSID:35630
I: 386 [SVR]Joining Multicast groups
I: 391 [SVR]Server Listening...
I: 394 [DL]Device Configuration:
I: 398 [DL]  Serial Number: 11223344556677889900
I: 403 [DL]  Vendor Id: 65521 (0xFFF1)
I: 407 [DL]  Product Id: 32774 (0x8006)
I: 411 [DL]  Product Name: not-specified
I: 416 [DL]  Hardware Version: 0
I: 419 [DL]  Setup Pin Code (0 for UNKNOWN/ERROR): 20202021
I: 425 [DL]  Setup Discriminator (0xFFFF for UNKNOWN/ERROR): 3840 (0xF00)
I: 432 [DL]  Manufacturing Date: 2022-01-01
I: 437 [DL]  Device Type: 65535 (0xFFFF)
I: 442 [SVR]SetupQRCode: [MT:8IXS142C00KA0648G00]
I: 447 [SVR]Copy/paste the below URL in a browser to see the QR Code:
I: 454 [SVR]https://project-chip.github.io/connectedhomeip/qrcode.html?data=MT%3A8IXS142C00KA0648G00
I: 465 [SVR]Manual pairing code: [34970112332]
I: 474 [DL]CHIP task running
I: 477 [DIS]Updating services using commissioning mode 0
E: 483 [DIS]Failed to remove advertised services: 3
D: 489 [DL]Using Thread extended MAC for hostname.
I: 494 [DIS]Advertise commission parameter vendorID=65521 productID=32774 discriminator=3840/15 cm=0
E: 503 [DIS]Failed to advertise extended commissionable node: 3
E: 510 [DIS]Failed to finalize service update: 3
I: FW Ver: 0.3.1+0; version: 00030100
I: Device has NOT gone through provisioning
I: network state 0
E: Sending UART cmd st 0
I: BLE Device ID: 2f29
I: Current OTA Stage = 10
I: dfu_header_data.image_count: 2
E: Sending UART cmd st 0
I: BLE Name set: HU:2F29 errCode: 0
I: 15696 [SWU]SMP BLE advertising started
I: 15700 [DL]DFU over SMP started
I: IMG Integrity Verified Successfully: 0
I: IMG Integrity Verified Successfully: 1
I: Current OTA Stage = 16
I: OTA device_id = 5 : DISCOVERY_REQ
I: SECURE_STM : DISCOVERY_REQ
I: OTA device_id = 5 : FW_VERSION_REQ
I: Secure STM Firmware Version: 2 0 1 1
I: OTA device_id = 5 : FW_UPDATE_START_REQ
I: SECURE_STM : IB_FW_UPDATE_START_REQUEST
I: STM OTA Progress = 10
I: STM OTA Progress = 20
I: STM OTA Progress = 30
I: STM OTA Progress = 40
I: STM OTA Progress = 50
I: STM OTA Progress = 60
I: STM OTA Progress = 70
I: STM OTA Progress = 80
I: STM OTA Progress = 90
I: STM OTA Progress = 100
I: OTA device_id = 5 : FW_UPDATE_REBOOT_REQ
I: SECURE_STM : REBOOT_COMMAND
I: STM Rebooted, MCUBoot Verifying Image
I: OTA device_id = 5 : FW_VERSION_REQ
I: Secure STM Firmware Version: 2 0 1 2
I: OTA device_id = 5 : FW_UPDATE_COMPLETE_REQ
I: SECURE_STM : IB_FW_UPDATE_COMPLETE_REQUEST
I: OTA device_id = 5 : FW_UPDATE_REBOOT_REQ
I: SECURE_STM : REBOOT_COMMAND
I: STM Rebooted, MCUBoot Confirming Image
I: OTA device_id = 5 : FW_VERSION_REQ
I: Secure STM Firmware Version: 2 0 1 2
I: STM Secure OTA Successful
I: Clear STM OTA Meta Data
I: Current OTA Stage = 17
I: Redpine OTA started
I: Current OTA Stage = 18
I: OTA device_id = 4 : DISCOVERY_REQ
I: STM_QSPI : IB_DEVICE_DISCOVERY_REQUEST
I: OTA device_id = 4 : FW_VERSION_REQ
I: STM_QSPI : IB_FW_VERSION_REQUEST
I: Redpine Firmware Version: 2.1.255.191
I: OTA device_id = 4 : FW_UPDATE_START_REQ
I: STM_QSPI : IB_FW_UPDATE_START_REQUEST
I: Redpine Image Stored into STM QSPI, Progress = 10
I: Redpine Image Stored into STM QSPI, Progress = 20
I: Redpine Image Stored into STM QSPI, Progress = 30
I: Redpine Image Stored into STM QSPI, Progress = 40
I: Redpine Image Stored into STM QSPI, Progress = 50
I: Redpine Image Stored into STM QSPI, Progress = 60
I: Redpine Image Stored into STM QSPI, Progress = 70
I: Redpine Image Stored into STM QSPI, Progress = 80
I: Redpine Image Stored into STM QSPI, Progress = 90
I: Redpine Image Stored into STM QSPI, Progress = 100
I: OTA device_id = 4 : FW_UPDATE_COMPLETE_REQ
I: STM_QSPI : IB_FW_UPDATE_COMPLETE_REQUEST
I: STM_QSPI : STM QSPI to Redpine SPI Image Transfer Ongoing (0)
I: STM_QSPI : STM QSPI to Redpine SPI Image Transfer Ongoing (10)
I: STM_QSPI : STM QSPI to Redpine SPI Image Transfer Ongoing (20)
I: STM_QSPI : STM QSPI to Redpine SPI Image Transfer Ongoing (30)
I: STM_QSPI : STM QSPI to Redpine SPI Image Transfer Ongoing (40)
I: STM_QSPI : STM QSPI to Redpine SPI Image Transfer Ongoing (50)
I: STM_QSPI : STM QSPI to Redpine SPI Image Transfer Ongoing (60)
I: STM_QSPI : STM QSPI to Redpine SPI Image Transfer Ongoing (70)
I: STM_QSPI : STM QSPI to Redpine SPI Image Transfer Ongoing (80)
I: STM_QSPI : STM QSPI to Redpine SPI Image Transfer Ongoing (90)
I: STM_QSPI : STM QSPI to Redpine SPI Image Transfer Ongoing (100)
I: STM_QSPI : IB_FW_UPDATE_REBOOT_REQUEST
I: Clear Redpine OTA Meta Data
I: Current OTA Stage = 24
I: Start to Erase OTA Bundle Image from External Flash
I: Erasing bundle from nRF Ext. Flash
I: Bundle Image Erased from nRF Ext. Flash: 0
I: Current OTA Stage = 25
I: FW Ver: 0.3.1+0; version: 00030100
I: 597992 [DL]DFU-BLE-Connected
I: BLE Connected
Swap type: none
I: 598266 [DL]DFU-BLE-Disconnected : 19
E: Sending UART cmd st 0
I: BLE Name set: HU:2F29 errCode: 0
I: 598279 [SWU]SMP BLE advertising started
I: 598283 [DL]DFU over SMP started
I: BLE Disconnected: 13
I: 615642 [DL]DFU-BLE-Connected
I: BLE Connected
I: 615941 [DL]DFU Image upload started
I: Current OTA Stage = 11
I: 629066 [DL]Image 0 download completed successfully
I: 629094 [DL]DFU-BLE-Disconnected : 19
E: Sending UART cmd st 0
I: BLE Name set: HU:2F29 errCode: 0
I: 629107 [SWU]SMP BLE advertising started
I: 629111 [DL]DFU over SMP started
I: BLE Disconnected: 13
I: 678628 [DL]DFU-BLE-Connected
I: BLE Connected
Swap type: none
I: 678943 [DL]DFU Image upload started
I: Current OTA Stage = 12
I: 768834 [DL]Image 1 download completed successfully
I: 768859 [DL]DFU-BLE-Disconnected : 19
E: Sending UART cmd st 0
I: BLE Name set: HU:2F29 errCode: 0
I: 768871 [SWU]SMP BLE advertising started
I: 768875 [DL]DFU over SMP started
I: BLE Disconnected: 13
I: 803057 [DL]DFU-BLE-Connected
I: BLE Connected
I: 821897 [DL]DFU Image upload started
D: 900362 [DIS]Extended discovery timed out
I: 900368 [DIS]Updating services using commissioning mode 0
E: 900375 [DIS]Failed to remove advertised services: 3
E: 900380 [DIS]Failed to finalize service update: 3
I: Current OTA Stage = 13
I: 1061600 [DL]Image 2 download completed successfully
I: Current OTA Stage = 14
I: 1061633 [DL]DFU-BLE-Disconnected : 19
E: Sending UART cmd st 0
I: BLE Name set: HU:2F29 errCode: 0
I: 1061646 [SWU]SMP BLE advertising started
I: 1061650 [DL]DFU over SMP started
I: BLE Disconnected: 13
I: 1081275 [DL]DFU-BLE-Connected
I: BLE Connected
Swap type: none
Swap type: none
Swap type: none
I: 1081575 [DL]DFU-BLE-Disconnected : 19
E: Sending UART cmd st 0
I: BLE Name set: HU:2F29 errCode: 0
I: 1081587 [SWU]SMP BLE advertising started
I: 1081591 [DL]DFU over SMP started
I: BLE Disconnected: 13
I: 1097672 [DL]DFU-BLE-Connected
I: BLE Connected
E: img_mgmt_find_by_hash Return i=1
E: a4 a4
E: 1d 1d
E: 1e 1e
E: a8 a8
E: b8 b8
E: 1d 1d
E: 72 72
E: 1b 1b
E: c0 c0
E: 13 13
E: cc cc
E: 3e 3e
E: d6 d6
E: e7 e7
E: 2f 2f
E: d4 d4
E: 4c 4c
E: 9 9
E: 25 25
E: 26 26
E: d1 d1
E: df df
E: b3 b3
E: 7b 7b
E: 1d 1d
E: f3 f3
E: b1 b1
E: db db
E: 4b 4b
E: 7c 7c
E: c3 c3
E: b4 b4
E: img_mgmt_find_by_hash slot = 1, confirm = 1
E: area_id = 2, active = 0
E: Success 1
E: Success 2
writing magic; fa_id=2 off=0xeeff0 (0xeeff0)
writing image_ok; fa_id=2 off=0xeefe8 (0xeefe8)
writing swap_info; fa_id=2 off=0xeefd8 (0xeefd8), swap_type=0x3 image_num=0x0
E: Success 3
E: *** rc = 0 ***
E: img_mgmt_set_boot_next rc = 0
Swap type: perm
Swap type: perm
Swap type: none
E: img_mgmt_state_read rc = 0
I: 1098059 [DL]DFU-BLE-Disconnected : 19
E: Sending UART cmd st 0
I: BLE Name set: HU:2F29 errCode: 0
I: 1098072 [SWU]SMP BLE advertising started
I: 1098076 [DL]DFU over SMP started
I: BLE Disconnected: 13
I: 1135353 [DL]DFU-BLE-Connected
I: BLE Connected
E: img_mgmt_find_by_hash Continue
E: img_mgmt_find_by_hash Return i=3
E: 9 9
E: 4 4
E: ba ba
E: 45 45
E: 18 18
E: a a
E: c3 c3
E: 6d 6d
E: 87 87
E: da da
E: c3 c3
E: ec ec
E: f2 f2
E: d d
E: 73 73
E: b1 b1
E: 9b 9b
E: f4 f4
E: 52 52
E: 8b 8b
E: 67 67
E: 23 23
E: 29 29
E: 47 47
E: 9 9
E: 40 40
E: 93 93
E: 98 98
E: d7 d7
E: 3b 3b
E: 9c 9c
E: 12 12
E: img_mgmt_find_by_hash slot = 3, confirm = 1
E: area_id = 8, active = 0
E: Success 1
E: Success 2
writing magic; fa_id=8 off=0x3fff0 (0x12eff0)
writing image_ok; fa_id=8 off=0x3ffe8 (0x12efe8)
writing swap_info; fa_id=8 off=0x3ffd8 (0x12efd8), swap_type=0x3 image_num=0x0
E: Success 3
E: *** rc = 0 ***
E: img_mgmt_set_boot_next rc = 0
Swap type: perm
Swap type: perm
Swap type: perm
E: img_mgmt_state_read rc = 0
I: 1135739 [DL]DFU-BLE-Disconnected : 19
E: Sending UART cmd st 0
I: BLE Name set: HU:2F29 errCode: 0
I: 1135752 [SWU]SMP BLE advertising started
I: 1135756 [DL]DFU over SMP started
I: BLE Disconnected: 13
I: 1168919 [DL]DFU-BLE-Connected
I: BLE Connected
in os_mgmt_reset
in os_mgmt_reset, Timer Register
I: 1169204 [DL]DFU-BLE-Disconnected : 19
E: Sending UART cmd st 0
I: BLE Name set: HU:2F29 errCode: 0
I: 1169216 [SWU]SMP BLE advertising started
I: 1169220 [DL]DFU over SMP started
I: BLE Disconnected: 13
in os_mgmt_reset_cb
os_mgmt_reset_work_handler: System Rebooted
*** Booting Zephyr OS build v3.3.99-ncs1-1 ***
Starting bootloader
Swap type: perm
Swap type: perm
writing magic; fa_id=4 off=0xeeff0 (0xf6ff0)
writing magic; fa_id=1 off=0x3fff0 (0x3fff0)
Bootloader chainload address offset: 0x8000
Jumping to the first image slot
Start Do_Boot


uart:~$ *** Booting Zephyr OS build v3.3.99-ncs1-1 ***
I: KWIKSET HALO 3 VERSION: 00.03.00.00
I: Init CHIP stack
I: 159 [DL]BLE address: CC:2F:72:49:9B:C2
I: Board config kwiksetmdb_nrf5340_cpuapp
I: IMAGE_VERSION 0.3.0+0
I: build time: Nov 30 2023 11:09:14
E: ====    Matter FW Ver: 0.3.0    ====
I: 198 [DL]OpenThread SED interval is 1000ms
I: 205 [DL]OpenThread started: OK
I: 208 [DL]Setting OpenThread device type to SLEEPY END DEVICE
I: 216 [SWU]DFU_BLEAdvertising_Init 
Swap type: none
I: 223 [SVR]Subscription persistence not supported
I: 227 [SVR]Server initializing...
I: 232 [TS]Last Known Good Time: 2023-11-30T17:43:12
I: 238 [DMG]AccessControl: initializing
I: 242 [DMG]Examples::AccessControlDelegate::Init
I: 247 [DMG]AccessControl: setting
I: 251 [DMG]DefaultAclStorage: initializing
I: 255 [DMG]DefaultAclStorage: 0 entries loaded
D: 260 [IN]UDP::Init bind&amp;amp;listen port=5540
E: 265 [IN]SO_REUSEPORT failed: 109
D: 269 [IN]UDP::Init bound to port=5540
D: 273 [IN]BLEBase::Init - setting/overriding transport
D: 278 [IN]TransportMgr initialized
D: 285 [DL]Using Thread extended MAC for hostname.
I: 292 [ZCL]Using ZAP configuration...
I: 298 [DMG]AccessControlCluster: initializing
D: 303 [DL]Boot reason: 6
I: 306 [ZCL]Initiating Admin Commissioning cluster.
I: 311 [ZCL]Door Lock server initialized
I: 316 [ZCL]Door Lock cluster initialized at endpoint #1
I: 322 [DIS]Updating services using commissioning mode 0
E: 328 [DIS]Failed to remove advertised services: 3
D: 334 [DL]Using Thread extended MAC for hostname.
I: 339 [DIS]Advertise commission parameter vendorID=65521 productID=32774 discriminator=3840/15 cm=0
E: 348 [DIS]Failed to advertise extended commissionable node: 3
D: 355 [DIS]Scheduling extended discovery timeout in 900s
E: 362 [DIS]Failed to finalize service update: 3
I: 367 [DIS]Delaying proxy of operational discovery: missing delegate
I: 373 [IN]CASE Server enabling CASE session setups
D: 380 [IN]SecureSession[0x200049f0]: Allocated Type:2 LSID:7706
I: 386 [SVR]Joining Multicast groups
I: 391 [SVR]Server Listening...
I: 394 [DL]Device Configuration:
I: 397 [DL]  Serial Number: 11223344556677889900
I: 402 [DL]  Vendor Id: 65521 (0xFFF1)
I: 406 [DL]  Product Id: 32774 (0x8006)
I: 411 [DL]  Product Name: not-specified
I: 415 [DL]  Hardware Version: 0
I: 419 [DL]  Setup Pin Code (0 for UNKNOWN/ERROR): 20202021
I: 424 [DL]  Setup Discriminator (0xFFFF for UNKNOWN/ERROR): 3840 (0xF00)
I: 433 [DL]  Manufacturing Date: 2022-01-01
I: 437 [DL]  Device Type: 65535 (0xFFFF)
I: 442 [SVR]SetupQRCode: [MT:8IXS142C00KA0648G00]
I: 447 [SVR]Copy/paste the below URL in a browser to see the QR Code:
I: 453 [SVR]https://project-chip.github.io/connectedhomeip/qrcode.html?data=MT%3A8IXS142C00KA0648G00
I: 465 [SVR]Manual pairing code: [34970112332]
I: 474 [DL]CHIP task running
I: 477 [DIS]Updating services using commissioning mode 0
E: 482 [DIS]Failed to remove advertised services: 3
D: 489 [DL]Using Thread extended MAC for hostname.
I: 494 [DIS]Advertise commission parameter vendorID=65521 productID=32774 discriminator=3840/15 cm=0
E: 503 [DIS]Failed to advertise extended commissionable node: 3
E: 510 [DIS]Failed to finalize service update: 3
I: FW Ver: 0.3.0+0; version: 00030000
I: Device has NOT gone through provisioning
I: network state 0
E: Sending UART cmd st 0
I: BLE Device ID: 2f29
I: Current OTA Stage = 10
I: dfu_header_data.image_count: 2
E: Sending UART cmd st 0
I: BLE Name set: HU:2F29 errCode: 0
I: 15695 [SWU]SMP BLE advertising started
I: 15699 [DL]DFU over SMP started
I: IMG Integrity Verified Successfully: 0
I: IMG Integrity Verified Successfully: 1
I: Current OTA Stage = 16
I: OTA device_id = 5 : DISCOVERY_REQ
I: SECURE_STM : DISCOVERY_REQ
I: OTA device_id = 5 : FW_VERSION_REQ
I: Secure STM Firmware Version: 2 0 1 2
I: OTA device_id = 5 : FW_UPDATE_START_REQ
I: SECURE_STM : IB_FW_UPDATE_START_REQUEST
I: STM OTA Progress = 10
I: STM OTA Progress = 20
I: STM OTA Progress = 30
I: STM OTA Progress = 40
I: STM OTA Progress = 50
I: STM OTA Progress = 60
I: STM OTA Progress = 70
I: STM OTA Progress = 80
I: STM OTA Progress = 90
I: STM OTA Progress = 100
I: OTA device_id = 5 : FW_UPDATE_REBOOT_REQ
I: SECURE_STM : REBOOT_COMMAND
I: STM Rebooted, MCUBoot Verifying Image
I: OTA device_id = 5 : FW_VERSION_REQ
I: Secure STM Firmware Version: 2 0 1 1
I: OTA device_id = 5 : FW_UPDATE_COMPLETE_REQ
I: SECURE_STM : IB_FW_UPDATE_COMPLETE_REQUEST
I: OTA device_id = 5 : FW_UPDATE_REBOOT_REQ
I: SECURE_STM : REBOOT_COMMAND
I: STM Rebooted, MCUBoot Confirming Image
I: OTA device_id = 5 : FW_VERSION_REQ
I: Secure STM Firmware Version: 2 0 1 1
I: STM Secure OTA Successful
I: Clear STM OTA Meta Data
I: Current OTA Stage = 17
I: Redpine OTA started
I: Current OTA Stage = 18
I: OTA device_id = 4 : DISCOVERY_REQ
I: STM_QSPI : IB_DEVICE_DISCOVERY_REQUEST
I: OTA device_id = 4 : FW_VERSION_REQ
I: STM_QSPI : IB_FW_VERSION_REQUEST
I: Redpine Firmware Version: 2.1.255.191
I: OTA device_id = 4 : FW_UPDATE_START_REQ
I: STM_QSPI : IB_FW_UPDATE_START_REQUEST
I: Redpine Image Stored into STM QSPI, Progress = 10
I: Redpine Image Stored into STM QSPI, Progress = 20
I: Redpine Image Stored into STM QSPI, Progress = 30
I: Redpine Image Stored into STM QSPI, Progress = 40
I: Redpine Image Stored into STM QSPI, Progress = 50
I: Redpine Image Stored into STM QSPI, Progress = 60
I: Redpine Image Stored into STM QSPI, Progress = 70
I: Redpine Image Stored into STM QSPI, Progress = 80
I: Redpine Image Stored into STM QSPI, Progress = 90
I: Redpine Image Stored into STM QSPI, Progress = 100
I: OTA device_id = 4 : FW_UPDATE_COMPLETE_REQ
I: STM_QSPI : IB_FW_UPDATE_COMPLETE_REQUEST
I: STM_QSPI : STM QSPI to Redpine SPI Image Transfer Ongoing (0)
I: STM_QSPI : STM QSPI to Redpine SPI Image Transfer Ongoing (10)
I: STM_QSPI : STM QSPI to Redpine SPI Image Transfer Ongoing (20)
I: STM_QSPI : STM QSPI to Redpine SPI Image Transfer Ongoing (30)
I: STM_QSPI : STM QSPI to Redpine SPI Image Transfer Ongoing (40)
I: STM_QSPI : STM QSPI to Redpine SPI Image Transfer Ongoing (50)
I: STM_QSPI : STM QSPI to Redpine SPI Image Transfer Ongoing (60)
I: STM_QSPI : STM QSPI to Redpine SPI Image Transfer Ongoing (70)
I: STM_QSPI : STM QSPI to Redpine SPI Image Transfer Ongoing (80)
I: STM_QSPI : STM QSPI to Redpine SPI Image Transfer Ongoing (90)
I: STM_QSPI : STM QSPI to Redpine SPI Image Transfer Ongoing (100)
I: STM_QSPI : IB_FW_UPDATE_REBOOT_REQUEST
I: Clear Redpine OTA Meta Data
I: Current OTA Stage = 24
I: Start to Erase OTA Bundle Image from External Flash
I: Erasing bundle from nRF Ext. Flash
I: Bundle Image Erased from nRF Ext. Flash: 0
I: Current OTA Stage = 25
I: FW Ver: 0.3.0+0; version: 00030000
I: 597953 [DL]DFU-BLE-Connected
I: BLE Connected
Swap type: none
I: 598226 [DL]DFU-BLE-Disconnected : 19
E: Sending UART cmd st 0
I: BLE Name set: HU:2F29 errCode: 0
I: 598239 [SWU]SMP BLE advertising started
I: 598243 [DL]DFU over SMP started
I: BLE Disconnected: 13
I: 616113 [DL]DFU-BLE-Connected
I: BLE Connected
I: 616389 [DL]DFU Image upload started
I: Current OTA Stage = 11
I: 629551 [DL]Image 0 download completed successfully
I: 629580 [DL]DFU-BLE-Disconnected : 19
E: Sending UART cmd st 0
I: BLE Name set: HU:2F29 errCode: 0
I: 629592 [SWU]SMP BLE advertising started
I: 629596 [DL]DFU over SMP started
I: BLE Disconnected: 13
I: 678862 [DL]DFU-BLE-Connected
I: BLE Connected
Swap type: none
I: 679136 [DL]DFU Image upload started
I: Current OTA Stage = 12
I: 769600 [DL]Image 1 download completed successfully
I: 769625 [DL]DFU-BLE-Disconnected : 19
E: Sending UART cmd st 0
I: BLE Name set: HU:2F29 errCode: 0
I: 769638 [SWU]SMP BLE advertising started
I: 769642 [DL]DFU over SMP started
I: BLE Disconnected: 13
I: 804069 [DL]DFU-BLE-Connected
I: BLE Connected
I: 822941 [DL]DFU Image upload started
D: 900362 [DIS]Extended discovery timed out
I: 900366 [DIS]Updating services using commissioning mode 0
E: 900374 [DIS]Failed to remove advertised services: 3
E: 900381 [DIS]Failed to finalize service update: 3
I: Current OTA Stage = 13
I: 1063076 [DL]Image 2 download completed successfully
I: Current OTA Stage = 14
I: 1063108 [DL]DFU-BLE-Disconnected : 19
E: Sending UART cmd st 0
I: BLE Name set: HU:2F29 errCode: 0
I: 1063121 [SWU]SMP BLE advertising started
I: 1063125 [DL]DFU over SMP started
I: BLE Disconnected: 13
I: 1081957 [DL]DFU-BLE-Connected
I: BLE Connected
Swap type: none
Swap type: none
Swap type: none
I: 1082262 [DL]DFU-BLE-Disconnected : 19
E: Sending UART cmd st 0
I: BLE Name set: HU:2F29 errCode: 0
I: 1082275 [SWU]SMP BLE advertising started
I: 1082279 [DL]DFU over SMP started
I: BLE Disconnected: 13
I: 1099139 [DL]DFU-BLE-Connected
I: BLE Connected
E: img_mgmt_find_by_hash Return i=1
E: cb cb
E: 96 96
E: 29 29
E: f f
E: d9 d9
E: a a
E: b7 b7
E: b b
E: 3e 3e
E: a1 a1
E: 45 45
E: aa aa
E: 46 46
E: 56 56
E: 19 19
E: 5d 5d
E: be be
E: 6e 6e
E: 4b 4b
E: eb eb
E: 7c 7c
E: e0 e0
E: bf bf
E: f0 f0
E: f4 f4
E: b8 b8
E: 18 18
E: e8 e8
E: 92 92
E: 53 53
E: 2 2
E: 82 82
E: img_mgmt_find_by_hash slot = 1, confirm = 1
E: area_id = 2, active = 0
E: Success 1
E: Success 2
writing magic; fa_id=2 off=0xeeff0 (0xeeff0)
writing image_ok; fa_id=2 off=0xeefe8 (0xeefe8)
writing swap_info; fa_id=2 off=0xeefd8 (0xeefd8), swap_type=0x3 image_num=0x0
E: Success 3
E: *** rc = 0 ***
E: img_mgmt_set_boot_next rc = 0
Swap type: perm
Swap type: perm
Swap type: none
E: img_mgmt_state_read rc = 0
I: 1099497 [DL]DFU-BLE-Disconnected : 19
E: Sending UART cmd st 0
I: BLE Name set: HU:2F29 errCode: 0
I: 1099510 [SWU]SMP BLE advertising started
I: 1099514 [DL]DFU over SMP started
I: BLE Disconnected: 13
I: 1137004 [DL]DFU-BLE-Connected
I: BLE Connected
E: img_mgmt_find_by_hash Continue
E: img_mgmt_find_by_hash Return i=3
E: 19 19
E: 64 64
E: b b
E: b1 b1
E: 5e 5e
E: dc dc
E: e6 e6
E: 77 77
E: 8c 8c
E: ef ef
E: 69 69
E: 20 20
E: 5f 5f
E: ae ae
E: 54 54
E: 61 61
E: a3 a3
E: 99 99
E: ff ff
E: 7c 7c
E: 4d 4d
E: 65 65
E: f3 f3
E: 4c 4c
E: 53 53
E: 6c 6c
E: 37 37
E: 88 88
E: 2f 2f
E: e1 e1
E: 39 39
E: 7e 7e
E: img_mgmt_find_by_hash slot = 3, confirm = 1
E: area_id = 8, active = 0
E: Success 1
E: Success 2
writing magic; fa_id=8 off=0x3fff0 (0x12eff0)
writing image_ok; fa_id=8 off=0x3ffe8 (0x12efe8)
writing swap_info; fa_id=8 off=0x3ffd8 (0x12efd8), swap_type=0x3 image_num=0x0
E: Success 3
E: *** rc = 0 ***
E: img_mgmt_set_boot_next rc = 0
Swap type: perm
Swap type: perm
Swap type: perm
E: img_mgmt_state_read rc = 0
I: 1137387 [DL]DFU-BLE-Disconnected : 19
E: Sending UART cmd st 0
I: BLE Name set: HU:2F29 errCode: 0
I: 1137400 [SWU]SMP BLE advertising started
I: 1137403 [DL]DFU over SMP started
I: BLE Disconnected: 13
I: 1170041 [DL]DFU-BLE-Connected
I: BLE Connected
in os_mgmt_reset
in os_mgmt_reset, Timer Register
I: 1170311 [DL]DFU-BLE-Disconnected : 19
E: Sending UART cmd st 0
I: BLE Name set: HU:2F29 errCode: 0
I: 1170324 [SWU]SMP BLE advertising started
I: 1170328 [DL]DFU over SMP started
I: BLE Disconnected: 13
in os_mgmt_reset_cb
os_mgmt_reset_work_handler: System Rebooted
*** Booting Zephyr OS build v3.3.99-ncs1-1 ***
Starting bootloader
Swap type: perm
Swap type: perm
writing magic; fa_id=4 off=0xeeff0 (0xf6ff0)
writing magic; fa_id=1 off=0x3fff0 (0x3fff0)
Bootloader chainload address offset: 0x8000
Jumping to the first image slot
Start Do_Boot


uart:~$ *** Booting Zephyr OS build v3.3.99-ncs1-1 ***
I: KWIKSET HALO 3 VERSION: 00.03.01.00
I: Init CHIP stack
I: 159 [DL]BLE address: C2:CB:C2:AF:31:E4
I: Board config kwiksetmdb_nrf5340_cpuapp
I: IMAGE_VERSION 0.3.1+0
I: build time: Nov 30 2023 17:44:53
E: ====    Matter FW Ver: 0.3.1    ====
I: 198 [DL]OpenThread SED interval is 1000ms
I: 205 [DL]OpenThread started: OK
I: 208 [DL]Setting OpenThread device type to SLEEPY END DEVICE
I: 216 [SWU]DFU_BLEAdvertising_Init 
Swap type: none
I: 222 [SVR]Subscription persistence not supported
I: 227 [SVR]Server initializing...
I: 232 [TS]Last Known Good Time: 2023-11-30T17:43:12
I: 238 [DMG]AccessControl: initializing
I: 241 [DMG]Examples::AccessControlDelegate::Init
I: 247 [DMG]AccessControl: setting
I: 250 [DMG]DefaultAclStorage: initializing
I: 255 [DMG]DefaultAclStorage: 0 entries loaded
D: 260 [IN]UDP::Init bind&amp;amp;listen port=5540
E: 265 [IN]SO_REUSEPORT failed: 109
D: 269 [IN]UDP::Init bound to port=5540
D: 272 [IN]BLEBase::Init - setting/overriding transport
D: 278 [IN]TransportMgr initialized
D: 285 [DL]Using Thread extended MAC for hostname.
I: 292 [ZCL]Using ZAP configuration...
I: 298 [DMG]AccessControlCluster: initializing
D: 303 [DL]Boot reason: 6
I: 306 [ZCL]Initiating Admin Commissioning cluster.
I: 311 [ZCL]Door Lock server initialized
I: 316 [ZCL]Door Lock cluster initialized at endpoint #1
I: 322 [DIS]Updating services using commissioning mode 0
E: 327 [DIS]Failed to remove advertised services: 3
D: 333 [DL]Using Thread extended MAC for hostname.
I: 339 [DIS]Advertise commission parameter vendorID=65521 productID=32774 discriminator=3840/15 cm=0
E: 348 [DIS]Failed to advertise extended commissionable node: 3
D: 355 [DIS]Scheduling extended discovery timeout in 900s
E: 361 [DIS]Failed to finalize service update: 3
I: 366 [DIS]Delaying proxy of operational discovery: missing delegate
I: 373 [IN]CASE Server enabling CASE session setups
D: 380 [IN]SecureSession[0x200049f0]: Allocated Type:2 LSID:59829
I: 386 [SVR]Joining Multicast groups
I: 391 [SVR]Server Listening...
I: 394 [DL]Device Configuration:
I: 397 [DL]  Serial Number: 11223344556677889900
I: 403 [DL]  Vendor Id: 65521 (0xFFF1)
I: 407 [DL]  Product Id: 32774 (0x8006)
I: 410 [DL]  Product Name: not-specified
I: 415 [DL]  Hardware Version: 0
I: 418 [DL]  Setup Pin Code (0 for UNKNOWN/ERROR): 20202021
I: 425 [DL]  Setup Discriminator (0xFFFF for UNKNOWN/ERROR): 3840 (0xF00)
I: 432 [DL]  Manufacturing Date: 2022-01-01
I: 437 [DL]  Device Type: 65535 (0xFFFF)
I: 441 [SVR]SetupQRCode: [MT:8IXS142C00KA0648G00]
I: 447 [SVR]Copy/paste the below URL in a browser to see the QR Code:
I: 454 [SVR]https://project-chip.github.io/connectedhomeip/qrcode.html?data=MT%3A8IXS142C00KA0648G00
I: 464 [SVR]Manual pairing code: [34970112332]
I: 474 [DL]CHIP task running
I: 477 [DIS]Updating services using commissioning mode 0
E: 482 [DIS]Failed to remove advertised services: 3
D: 488 [DL]Using Thread extended MAC for hostname.
I: 494 [DIS]Advertise commission parameter vendorID=65521 productID=32774 discriminator=3840/15 cm=0
E: 503 [DIS]Failed to advertise extended commissionable node: 3
E: 509 [DIS]Failed to finalize service update: 3
I: FW Ver: 0.3.1+0; version: 00030100
I: Device has NOT gone through provisioning
I: network state 0
E: Sending UART cmd st 0
I: BLE Device ID: 2f29
I: Current OTA Stage = 10
I: dfu_header_data.image_count: 2
E: Sending UART cmd st 0
I: BLE Name set: HU:2F29 errCode: 0
I: 15695 [SWU]SMP BLE advertising started
I: 15699 [DL]DFU over SMP started
I: IMG Integrity Verified Successfully: 0
I: IMG Integrity Verified Successfully: 1
I: Current OTA Stage = 16
I: OTA device_id = 5 : DISCOVERY_REQ
I: SECURE_STM : DISCOVERY_REQ
I: OTA device_id = 5 : FW_VERSION_REQ
I: Secure STM Firmware Version: 2 0 1 1
I: OTA device_id = 5 : FW_UPDATE_START_REQ
I: SECURE_STM : IB_FW_UPDATE_START_REQUEST
I: STM OTA Progress = 10
I: STM OTA Progress = 20
I: STM OTA Progress = 30
I: STM OTA Progress = 40
I: STM OTA Progress = 50
I: STM OTA Progress = 60
I: STM OTA Progress = 70
I: STM OTA Progress = 80
I: STM OTA Progress = 90
I: STM OTA Progress = 100
I: OTA device_id = 5 : FW_UPDATE_REBOOT_REQ
I: SECURE_STM : REBOOT_COMMAND
I: STM Rebooted, MCUBoot Verifying Image
I: OTA device_id = 5 : FW_VERSION_REQ
I: Secure STM Firmware Version: 2 0 1 2
I: OTA device_id = 5 : FW_UPDATE_COMPLETE_REQ
I: SECURE_STM : IB_FW_UPDATE_COMPLETE_REQUEST
I: OTA device_id = 5 : FW_UPDATE_REBOOT_REQ
I: SECURE_STM : REBOOT_COMMAND
I: STM Rebooted, MCUBoot Confirming Image
I: OTA device_id = 5 : FW_VERSION_REQ
I: Secure STM Firmware Version: 2 0 1 2
I: STM Secure OTA Successful
I: Clear STM OTA Meta Data
I: Current OTA Stage = 17
I: Redpine OTA started
I: Current OTA Stage = 18
I: OTA device_id = 4 : DISCOVERY_REQ
I: STM_QSPI : IB_DEVICE_DISCOVERY_REQUEST
I: OTA device_id = 4 : FW_VERSION_REQ
I: STM_QSPI : IB_FW_VERSION_REQUEST
I: Redpine Firmware Version: 2.1.255.191
I: OTA device_id = 4 : FW_UPDATE_START_REQ
I: STM_QSPI : IB_FW_UPDATE_START_REQUEST
I: Redpine Image Stored into STM QSPI, Progress = 10
I: Redpine Image Stored into STM QSPI, Progress = 20
I: Redpine Image Stored into STM QSPI, Progress = 30
I: Redpine Image Stored into STM QSPI, Progress = 40
I: Redpine Image Stored into STM QSPI, Progress = 50
I: Redpine Image Stored into STM QSPI, Progress = 60
I: Redpine Image Stored into STM QSPI, Progress = 70
I: Redpine Image Stored into STM QSPI, Progress = 80
I: Redpine Image Stored into STM QSPI, Progress = 90
I: Redpine Image Stored into STM QSPI, Progress = 100
I: OTA device_id = 4 : FW_UPDATE_COMPLETE_REQ
I: STM_QSPI : IB_FW_UPDATE_COMPLETE_REQUEST
I: STM_QSPI : STM QSPI to Redpine SPI Image Transfer Ongoing (0)
I: STM_QSPI : STM QSPI to Redpine SPI Image Transfer Ongoing (10)
I: STM_QSPI : STM QSPI to Redpine SPI Image Transfer Ongoing (20)
I: STM_QSPI : STM QSPI to Redpine SPI Image Transfer Ongoing (30)
I: STM_QSPI : STM QSPI to Redpine SPI Image Transfer Ongoing (40)
I: STM_QSPI : STM QSPI to Redpine SPI Image Transfer Ongoing (50)
I: STM_QSPI : STM QSPI to Redpine SPI Image Transfer Ongoing (60)
I: STM_QSPI : STM QSPI to Redpine SPI Image Transfer Ongoing (70)
I: STM_QSPI : STM QSPI to Redpine SPI Image Transfer Ongoing (80)
I: STM_QSPI : STM QSPI to Redpine SPI Image Transfer Ongoing (90)
I: STM_QSPI : STM QSPI to Redpine SPI Image Transfer Ongoing (100)
I: STM_QSPI : IB_FW_UPDATE_REBOOT_REQUEST
I: Clear Redpine OTA Meta Data
I: Current OTA Stage = 24
I: Start to Erase OTA Bundle Image from External Flash
I: Erasing bundle from nRF Ext. Flash
I: Bundle Image Erased from nRF Ext. Flash: 0
I: Current OTA Stage = 25
I: FW Ver: 0.3.1+0; version: 00030100
I: 598365 [DL]DFU-BLE-Connected
I: BLE Connected
Swap type: none
I: 598641 [DL]DFU-BLE-Disconnected : 19
E: Sending UART cmd st 0
I: BLE Name set: HU:2F29 errCode: 0
I: 598654 [SWU]SMP BLE advertising started
I: 598657 [DL]DFU over SMP started
I: BLE Disconnected: 13
I: 616230 [DL]DFU-BLE-Connected
I: BLE Connected
I: 616519 [DL]DFU Image upload started
I: Current OTA Stage = 11
I: 629662 [DL]Image 0 download completed successfully
I: 629691 [DL]DFU-BLE-Disconnected : 19
E: Sending UART cmd st 0
I: BLE Name set: HU:2F29 errCode: 0
I: 629703 [SWU]SMP BLE advertising started
I: 629707 [DL]DFU over SMP started
I: BLE Disconnected: 13
I: 680713 [DL]DFU-BLE-Connected
I: BLE Connected
Swap type: none
I: 681005 [DL]DFU Image upload started
I: Current OTA Stage = 12
I: 771342 [DL]Image 1 download completed successfully
I: 771367 [DL]DFU-BLE-Disconnected : 19
E: Sending UART cmd st 0
I: BLE Name set: HU:2F29 errCode: 0
I: 771380 [SWU]SMP BLE advertising started
I: 771384 [DL]DFU over SMP started
I: BLE Disconnected: 13
I: 805564 [DL]DFU-BLE-Connected
I: BLE Connected
I: 824385 [DL]DFU Image upload started
D: 900361 [DIS]Extended discovery timed out
I: 900366 [DIS]Updating services using commissioning mode 0
E: 900371 [DIS]Failed to remove advertised services: 3
E: 900377 [DIS]Failed to finalize service update: 3
I: Current OTA Stage = 13
I: 1064806 [DL]Image 2 download completed successfully
I: Current OTA Stage = 14
I: 1064839 [DL]DFU-BLE-Disconnected : 19
E: Sending UART cmd st 0
I: BLE Name set: HU:2F29 errCode: 0
I: 1064851 [SWU]SMP BLE advertising started
I: 1064855 [DL]DFU over SMP started
I: BLE Disconnected: 13
I: 1083741 [DL]DFU-BLE-Connected
I: BLE Connected
Swap type: none
Swap type: none
Swap type: none
I: 1084034 [DL]DFU-BLE-Disconnected : 19
E: Sending UART cmd st 0
I: BLE Name set: HU:2F29 errCode: 0
I: 1084047 [SWU]SMP BLE advertising started
I: 1084051 [DL]DFU over SMP started
I: BLE Disconnected: 13
I: 1100657 [DL]DFU-BLE-Connected
I: BLE Connected
E: img_mgmt_find_by_hash Return i=1
E: a4 a4
E: 1d 1d
E: 1e 1e
E: a8 a8
E: b8 b8
E: 1d 1d
E: 72 72
E: 1b 1b
E: c0 c0
E: 13 13
E: cc cc
E: 3e 3e
E: d6 d6
E: e7 e7
E: 2f 2f
E: d4 d4
E: 4c 4c
E: 9 9
E: 25 25
E: 26 26
E: d1 d1
E: df df
E: b3 b3
E: 7b 7b
E: 1d 1d
E: f3 f3
E: b1 b1
E: db db
E: 4b 4b
E: 7c 7c
E: c3 c3
E: b4 b4
E: img_mgmt_find_by_hash slot = 1, confirm = 1
E: area_id = 2, active = 0
E: Success 1
E: Success 2
writing magic; fa_id=2 off=0xeeff0 (0xeeff0)
writing image_ok; fa_id=2 off=0xeefe8 (0xeefe8)
writing swap_info; fa_id=2 off=0xeefd8 (0xeefd8), swap_type=0x3 image_num=0x0
E: Success 3
E: *** rc = 0 ***
E: img_mgmt_set_boot_next rc = 0
Swap type: perm
Swap type: perm
Swap type: none
E: img_mgmt_state_read rc = 0
I: 1101044 [DL]DFU-BLE-Disconnected : 19
E: Sending UART cmd st 0
I: BLE Name set: HU:2F29 errCode: 0
I: 1101057 [SWU]SMP BLE advertising started
I: 1101061 [DL]DFU over SMP started
I: BLE Disconnected: 13
I: 1138042 [DL]DFU-BLE-Connected
I: BLE Connected
E: img_mgmt_find_by_hash Continue
E: img_mgmt_find_by_hash Return i=3
E: 9 9
E: 4 4
E: ba ba
E: 45 45
E: 18 18
E: a a
E: c3 c3
E: 6d 6d
E: 87 87
E: da da
E: c3 c3
E: ec ec
E: f2 f2
E: d d
E: 73 73
E: b1 b1
E: 9b 9b
E: f4 f4
E: 52 52
E: 8b 8b
E: 67 67
E: 23 23
E: 29 29
E: 47 47
E: 9 9
E: 40 40
E: 93 93
E: 98 98
E: d7 d7
E: 3b 3b
E: 9c 9c
E: 12 12
E: img_mgmt_find_by_hash slot = 3, confirm = 1
E: area_id = 8, active = 0
E: Success 1
E: Success 2
writing magic; fa_id=8 off=0x3fff0 (0x12eff0)
writing image_ok; fa_id=8 off=0x3ffe8 (0x12efe8)
writing swap_info; fa_id=8 off=0x3ffd8 (0x12efd8), swap_type=0x3 image_num=0x0
E: Success 3
E: *** rc = 0 ***
E: img_mgmt_set_boot_next rc = 0
Swap type: perm
Swap type: perm
Swap type: perm
E: img_mgmt_state_read rc = 0
I: 1138431 [DL]DFU-BLE-Disconnected : 19
E: Sending UART cmd st 0
I: BLE Name set: HU:2F29 errCode: 0
I: 1138444 [SWU]SMP BLE advertising started
I: 1138448 [DL]DFU over SMP started
I: BLE Disconnected: 13
I: 1170581 [DL]DFU-BLE-Connected
I: BLE Connected
in os_mgmt_reset
in os_mgmt_reset, Timer Register
I: 1170846 [DL]DFU-BLE-Disconnected : 19
E: Sending UART cmd st 0
I: BLE Name set: HU:2F29 errCode: 0
I: 1170859 [SWU]SMP BLE advertising started
I: 1170863 [DL]DFU over SMP started
I: BLE Disconnected: 13
in os_mgmt_reset_cb
os_mgmt_reset_work_handler: System Rebooted
*** Booting Zephyr OS build v3.3.99-ncs1-1 ***
Starting bootloader
Swap type: perm
Swap type: perm
writing magic; fa_id=4 off=0xeeff0 (0xf6ff0)
writing magic; fa_id=1 off=0x3fff0 (0x3fff0)
Bootloader chainload address offset: 0x8000
Jumping to the first image slot
Start Do_Boot


uart:~$ *** Booting Zephyr OS build v3.3.99-ncs1-1 ***
I: KWIKSET HALO 3 VERSION: 00.03.00.00
I: Init CHIP stack
I: 159 [DL]BLE address: F9:27:98:DE:D0:9F
I: Board config kwiksetmdb_nrf5340_cpuapp
I: IMAGE_VERSION 0.3.0+0
I: build time: Nov 30 2023 11:09:14
E: ====    Matter FW Ver: 0.3.0    ====
I: 198 [DL]OpenThread SED interval is 1000ms
I: 205 [DL]OpenThread started: OK
I: 208 [DL]Setting OpenThread device type to SLEEPY END DEVICE
I: 216 [SWU]DFU_BLEAdvertising_Init 
Swap type: none
I: 222 [SVR]Subscription persistence not supported
I: 228 [SVR]Server initializing...
I: 232 [TS]Last Known Good Time: 2023-11-30T17:43:12
I: 238 [DMG]AccessControl: initializing
I: 241 [DMG]Examples::AccessControlDelegate::Init
I: 247 [DMG]AccessControl: setting
I: 250 [DMG]DefaultAclStorage: initializing
I: 255 [DMG]DefaultAclStorage: 0 entries loaded
D: 260 [IN]UDP::Init bind&amp;amp;listen port=5540
E: 265 [IN]SO_REUSEPORT failed: 109
D: 269 [IN]UDP::Init bound to port=5540
D: 272 [IN]BLEBase::Init - setting/overriding transport
D: 278 [IN]TransportMgr initialized
D: 285 [DL]Using Thread extended MAC for hostname.
I: 292 [ZCL]Using ZAP configuration...
I: 298 [DMG]AccessControlCluster: initializing
D: 303 [DL]Boot reason: 6
I: 306 [ZCL]Initiating Admin Commissioning cluster.
I: 311 [ZCL]Door Lock server initialized
I: 316 [ZCL]Door Lock cluster initialized at endpoint #1
I: 322 [DIS]Updating services using commissioning mode 0
E: 327 [DIS]Failed to remove advertised services: 3
D: 333 [DL]Using Thread extended MAC for hostname.
I: 339 [DIS]Advertise commission parameter vendorID=65521 productID=32774 discriminator=3840/15 cm=0
E: 348 [DIS]Failed to advertise extended commissionable node: 3
D: 355 [DIS]Scheduling extended discovery timeout in 900s
E: 361 [DIS]Failed to finalize service update: 3
I: 366 [DIS]Delaying proxy of operational discovery: missing delegate
I: 373 [IN]CASE Server enabling CASE session setups
D: 380 [IN]SecureSession[0x200049f0]: Allocated Type:2 LSID:39829
I: 386 [SVR]Joining Multicast groups
I: 391 [SVR]Server Listening...
I: 394 [DL]Device Configuration:
I: 397 [DL]  Serial Number: 11223344556677889900
I: 402 [DL]  Vendor Id: 65521 (0xFFF1)
I: 407 [DL]  Product Id: 32774 (0x8006)
I: 410 [DL]  Product Name: not-specified
I: 415 [DL]  Hardware Version: 0
I: 418 [DL]  Setup Pin Code (0 for UNKNOWN/ERROR): 20202021
I: 425 [DL]  Setup Discriminator (0xFFFF for UNKNOWN/ERROR): 3840 (0xF00)
I: 432 [DL]  Manufacturing Date: 2022-01-01
I: 436 [DL]  Device Type: 65535 (0xFFFF)
I: 441 [SVR]SetupQRCode: [MT:8IXS142C00KA0648G00]
I: 447 [SVR]Copy/paste the below URL in a browser to see the QR Code:
I: 454 [SVR]https://project-chip.github.io/connectedhomeip/qrcode.html?data=MT%3A8IXS142C00KA0648G00
I: 464 [SVR]Manual pairing code: [34970112332]
I: 474 [DL]CHIP task running
I: 477 [DIS]Updating services using commissioning mode 0
E: 482 [DIS]Failed to remove advertised services: 3
D: 488 [DL]Using Thread extended MAC for hostname.
I: 494 [DIS]Advertise commission parameter vendorID=65521 productID=32774 discriminator=3840/15 cm=0
E: 504 [DIS]Failed to advertise extended commissionable node: 3
E: 510 [DIS]Failed to finalize service update: 3
I: FW Ver: 0.3.0+0; version: 00030000
I: Device has NOT gone through provisioning
I: network state 0
E: Sending UART cmd st 0
I: BLE Device ID: 2f29
I: Current OTA Stage = 10
I: dfu_header_data.image_count: 2
E: Sending UART cmd st 0
I: BLE Name set: HU:2F29 errCode: 0
I: 15695 [SWU]SMP BLE advertising started
I: 15699 [DL]DFU over SMP started
I: IMG Integrity Verified Successfully: 0
I: IMG Integrity Verified Successfully: 1
I: Current OTA Stage = 16
I: OTA device_id = 5 : DISCOVERY_REQ
I: SECURE_STM : DISCOVERY_REQ
I: OTA device_id = 5 : FW_VERSION_REQ
I: Secure STM Firmware Version: 2 0 1 2
I: OTA device_id = 5 : FW_UPDATE_START_REQ
I: SECURE_STM : IB_FW_UPDATE_START_REQUEST
I: STM OTA Progress = 10
I: STM OTA Progress = 20
I: STM OTA Progress = 30
I: STM OTA Progress = 40
I: STM OTA Progress = 50
I: STM OTA Progress = 60
I: STM OTA Progress = 70
I: STM OTA Progress = 80
I: STM OTA Progress = 90
I: STM OTA Progress = 100
I: OTA device_id = 5 : FW_UPDATE_REBOOT_REQ
I: SECURE_STM : REBOOT_COMMAND
I: STM Rebooted, MCUBoot Verifying Image
I: OTA device_id = 5 : FW_VERSION_REQ
I: Secure STM Firmware Version: 2 0 1 1
I: OTA device_id = 5 : FW_UPDATE_COMPLETE_REQ
I: SECURE_STM : IB_FW_UPDATE_COMPLETE_REQUEST
I: OTA device_id = 5 : FW_UPDATE_REBOOT_REQ
I: SECURE_STM : REBOOT_COMMAND
I: STM Rebooted, MCUBoot Confirming Image
I: OTA device_id = 5 : FW_VERSION_REQ
I: Secure STM Firmware Version: 2 0 1 1
I: STM Secure OTA Successful
I: Clear STM OTA Meta Data
I: Current OTA Stage = 17
I: Redpine OTA started
I: Current OTA Stage = 18
I: OTA device_id = 4 : DISCOVERY_REQ
I: STM_QSPI : IB_DEVICE_DISCOVERY_REQUEST
I: OTA device_id = 4 : FW_VERSION_REQ
I: STM_QSPI : IB_FW_VERSION_REQUEST
I: Redpine Firmware Version: 2.1.255.191
I: OTA device_id = 4 : FW_UPDATE_START_REQ
I: STM_QSPI : IB_FW_UPDATE_START_REQUEST
I: Redpine Image Stored into STM QSPI, Progress = 10
I: Redpine Image Stored into STM QSPI, Progress = 20
I: Redpine Image Stored into STM QSPI, Progress = 30
I: Redpine Image Stored into STM QSPI, Progress = 40
I: Redpine Image Stored into STM QSPI, Progress = 50
I: Redpine Image Stored into STM QSPI, Progress = 60
I: Redpine Image Stored into STM QSPI, Progress = 70
I: Redpine Image Stored into STM QSPI, Progress = 80
I: Redpine Image Stored into STM QSPI, Progress = 90
I: Redpine Image Stored into STM QSPI, Progress = 100
I: OTA device_id = 4 : FW_UPDATE_COMPLETE_REQ
I: STM_QSPI : IB_FW_UPDATE_COMPLETE_REQUEST
I: STM_QSPI : STM QSPI to Redpine SPI Image Transfer Ongoing (0)
I: STM_QSPI : STM QSPI to Redpine SPI Image Transfer Ongoing (10)
I: STM_QSPI : STM QSPI to Redpine SPI Image Transfer Ongoing (20)
I: STM_QSPI : STM QSPI to Redpine SPI Image Transfer Ongoing (30)
I: STM_QSPI : STM QSPI to Redpine SPI Image Transfer Ongoing (40)
I: STM_QSPI : STM QSPI to Redpine SPI Image Transfer Ongoing (50)
I: STM_QSPI : STM QSPI to Redpine SPI Image Transfer Ongoing (60)
I: STM_QSPI : STM QSPI to Redpine SPI Image Transfer Ongoing (70)
I: STM_QSPI : STM QSPI to Redpine SPI Image Transfer Ongoing (80)
I: STM_QSPI : STM QSPI to Redpine SPI Image Transfer Ongoing (90)
I: STM_QSPI : STM QSPI to Redpine SPI Image Transfer Ongoing (100)
I: STM_QSPI : IB_FW_UPDATE_REBOOT_REQUEST
I: Clear Redpine OTA Meta Data
I: Current OTA Stage = 24
I: Start to Erase OTA Bundle Image from External Flash
I: Erasing bundle from nRF Ext. Flash
I: Bundle Image Erased from nRF Ext. Flash: 0
I: Current OTA Stage = 25
I: FW Ver: 0.3.0+0; version: 00030000
I: 598368 [DL]DFU-BLE-Connected
I: BLE Connected
Swap type: none
I: 598649 [DL]DFU-BLE-Disconnected : 19
E: Sending UART cmd st 0
I: BLE Name set: HU:2F29 errCode: 0
I: 598662 [SWU]SMP BLE advertising started
I: 598666 [DL]DFU over SMP started
I: BLE Disconnected: 13
I: 615512 [DL]DFU-BLE-Connected
I: BLE Connected
I: 615807 [DL]DFU Image upload started
I: Current OTA Stage = 11
I: 629029 [DL]Image 0 download completed successfully
I: 629058 [DL]DFU-BLE-Disconnected : 19
E: Sending UART cmd st 0
I: BLE Name set: HU:2F29 errCode: 0
I: 629070 [SWU]SMP BLE advertising started
I: 629075 [DL]DFU over SMP started
I: BLE Disconnected: 13
I: 681888 [DL]DFU-BLE-Connected
I: BLE Connected
Swap type: none
I: 682156 [DL]DFU Image upload started
I: Current OTA Stage = 12
I: 773372 [DL]Image 1 download completed successfully
I: 773401 [DL]DFU-BLE-Disconnected : 19
E: Sending UART cmd st 0
I: BLE Name set: HU:2F29 errCode: 0
I: 773414 [SWU]SMP BLE advertising started
I: 773417 [DL]DFU over SMP started
I: BLE Disconnected: 13
I: 809390 [DL]DFU-BLE-Connected
I: BLE Connected
I: 828259 [DL]DFU Image upload started
D: 900362 [DIS]Extended discovery timed out
I: 900366 [DIS]Updating services using commissioning mode 0
E: 900372 [DIS]Failed to remove advertised services: 3
E: 900380 [DIS]Failed to finalize service update: 3
I: Current OTA Stage = 13
I: 1069315 [DL]Image 2 download completed successfully
I: Current OTA Stage = 14
I: 1069347 [DL]DFU-BLE-Disconnected : 19
E: Sending UART cmd st 0
I: BLE Name set: HU:2F29 errCode: 0
I: 1069360 [SWU]SMP BLE advertising started
I: 1069364 [DL]DFU over SMP started
I: BLE Disconnected: 13
I: 1088742 [DL]DFU-BLE-Connected
I: BLE Connected
Swap type: none
Swap type: none
Swap type: none
I: 1089038 [DL]DFU-BLE-Disconnected : 19
E: Sending UART cmd st 0
I: BLE Name set: HU:2F29 errCode: 0
I: 1089051 [SWU]SMP BLE advertising started
I: 1089055 [DL]DFU over SMP started
I: BLE Disconnected: 13
I: 1104851 [DL]DFU-BLE-Connected
I: BLE Connected
E: img_mgmt_find_by_hash Return i=1
E: cb cb
E: 96 96
E: 29 29
E: f f
E: d9 d9
E: a a
E: b7 b7
E: b b
E: 3e 3e
E: a1 a1
E: 45 45
E: aa aa
E: 46 46
E: 56 56
E: 19 19
E: 5d 5d
E: be be
E: 6e 6e
E: 4b 4b
E: eb eb
E: 7c 7c
E: e0 e0
E: bf bf
E: f0 f0
E: f4 f4
E: b8 b8
E: 18 18
E: e8 e8
E: 92 92
E: 53 53
E: 2 2
E: 82 82
E: img_mgmt_find_by_hash slot = 1, confirm = 1
E: area_id = 2, active = 0
E: Success 1
E: Success 2
writing magic; fa_id=2 off=0xeeff0 (0xeeff0)
writing image_ok; fa_id=2 off=0xeefe8 (0xeefe8)
writing swap_info; fa_id=2 off=0xeefd8 (0xeefd8), swap_type=0x3 image_num=0x0
E: Success 3
E: *** rc = 0 ***
E: img_mgmt_set_boot_next rc = 0
Swap type: perm
Swap type: perm
Swap type: none
E: img_mgmt_state_read rc = 0
I: 1105223 [DL]DFU-BLE-Disconnected : 19
E: Sending UART cmd st 0
I: BLE Name set: HU:2F29 errCode: 0
I: 1105236 [SWU]SMP BLE advertising started
I: 1105240 [DL]DFU over SMP started
I: BLE Disconnected: 13
I: 1142489 [DL]DFU-BLE-Connected
I: BLE Connected
E: img_mgmt_find_by_hash Continue
E: img_mgmt_find_by_hash Return i=3
E: 19 19
E: 64 64
E: b b
E: b1 b1
E: 5e 5e
E: dc dc
E: e6 e6
E: 77 77
E: 8c 8c
E: ef ef
E: 69 69
E: 20 20
E: 5f 5f
E: ae ae
E: 54 54
E: 61 61
E: a3 a3
E: 99 99
E: ff ff
E: 7c 7c
E: 4d 4d
E: 65 65
E: f3 f3
E: 4c 4c
E: 53 53
E: 6c 6c
E: 37 37
E: 88 88
E: 2f 2f
E: e1 e1
E: 39 39
E: 7e 7e
E: img_mgmt_find_by_hash slot = 3, confirm = 1
E: area_id = 8, active = 0
E: Success 1
E: Success 2
writing magic; fa_id=8 off=0x3fff0 (0x12eff0)
writing image_ok; fa_id=8 off=0x3ffe8 (0x12efe8)
writing swap_info; fa_id=8 off=0x3ffd8 (0x12efd8), swap_type=0x3 image_num=0x0
E: Success 3
E: *** rc = 0 ***
E: img_mgmt_set_boot_next rc = 0
Swap type: perm
Swap type: perm
Swap type: perm
E: img_mgmt_state_read rc = 0
I: 1142887 [DL]DFU-BLE-Disconnected : 19
E: Sending UART cmd st 0
I: BLE Name set: HU:2F29 errCode: 0
I: 1142900 [SWU]SMP BLE advertising started
I: 1142904 [DL]DFU over SMP started
I: BLE Disconnected: 13
I: 1174817 [DL]DFU-BLE-Connected
I: BLE Connected
in os_mgmt_reset
in os_mgmt_reset, Timer Register
I: 1175099 [DL]DFU-BLE-Disconnected : 19
E: Sending UART cmd st 0
I: BLE Name set: HU:2F29 errCode: 0
I: 1175112 [SWU]SMP BLE advertising started
I: 1175116 [DL]DFU over SMP started
I: BLE Disconnected: 13
in os_mgmt_reset_cb
os_mgmt_reset_work_handler: System Rebooted
*** Booting Zephyr OS build v3.3.99-ncs1-1 ***
Starting bootloader
Swap type: perm
Swap type: perm
writing magic; fa_id=4 off=0xeeff0 (0xf6ff0)
writing magic; fa_id=1 off=0x3fff0 (0x3fff0)
Bootloader chainload address offset: 0x8000
Jumping to the first image slot
Start Do_Boot


uart:~$ *** Booting Zephyr OS build v3.3.99-ncs1-1 ***
I: KWIKSET HALO 3 VERSION: 00.03.01.00
I: Init CHIP stack
I: 159 [DL]BLE address: E0:9C:25:63:2B:D4
I: Board config kwiksetmdb_nrf5340_cpuapp
I: IMAGE_VERSION 0.3.1+0
I: build time: Nov 30 2023 17:44:53
E: ====    Matter FW Ver: 0.3.1    ====
I: 198 [DL]OpenThread SED interval is 1000ms
I: 205 [DL]OpenThread started: OK
I: 208 [DL]Setting OpenThread device type to SLEEPY END DEVICE
I: 216 [SWU]DFU_BLEAdvertising_Init 
Swap type: none
I: 222 [SVR]Subscription persistence not supported
I: 227 [SVR]Server initializing...
I: 232 [TS]Last Known Good Time: 2023-11-30T17:43:12
I: 238 [DMG]AccessControl: initializing
I: 242 [DMG]Examples::AccessControlDelegate::Init
I: 247 [DMG]AccessControl: setting
I: 250 [DMG]DefaultAclStorage: initializing
I: 255 [DMG]DefaultAclStorage: 0 entries loaded
D: 260 [IN]UDP::Init bind&amp;amp;listen port=5540
E: 265 [IN]SO_REUSEPORT failed: 109
D: 269 [IN]UDP::Init bound to port=5540
D: 272 [IN]BLEBase::Init - setting/overriding transport
D: 278 [IN]TransportMgr initialized
D: 388 [DL]Using Thread extended MAC for hostname.
I: 395 [ZCL]Using ZAP configuration...
I: 401 [DMG]AccessControlCluster: initializing
D: 406 [DL]Boot reason: 6
I: 409 [ZCL]Initiating Admin Commissioning cluster.
I: 414 [ZCL]Door Lock server initialized
I: 419 [ZCL]Door Lock cluster initialized at endpoint #1
I: 425 [DIS]Updating services using commissioning mode 0
E: 431 [DIS]Failed to remove advertised services: 3
D: 437 [DL]Using Thread extended MAC for hostname.
I: 442 [DIS]Advertise commission parameter vendorID=65521 productID=32774 discriminator=3840/15 cm=0
E: 451 [DIS]Failed to advertise extended commissionable node: 3
D: 458 [DIS]Scheduling extended discovery timeout in 900s
E: 465 [DIS]Failed to finalize service update: 3
I: 470 [DIS]Delaying proxy of operational discovery: missing delegate
I: 476 [IN]CASE Server enabling CASE session setups
D: 483 [IN]SecureSession[0x200049f0]: Allocated Type:2 LSID:59490
I: 489 [SVR]Joining Multicast groups
I: 494 [SVR]Server Listening...
I: 497 [DL]Device Configuration:
I: 501 [DL]  Serial Number: 11223344556677889900
I: 506 [DL]  Vendor Id: 65521 (0xFFF1)
I: 510 [DL]  Product Id: 32774 (0x8006)
I: 514 [DL]  Product Name: not-specified
I: 518 [DL]  Hardware Version: 0
I: 522 [DL]  Setup Pin Code (0 for UNKNOWN/ERROR): 20202021
I: 528 [DL]  Setup Discriminator (0xFFFF for UNKNOWN/ERROR): 3840 (0xF00)
I: 536 [DL]  Manufacturing Date: 2022-01-01
I: 540 [DL]  Device Type: 65535 (0xFFFF)
I: 544 [SVR]SetupQRCode: [MT:8IXS142C00KA0648G00]
I: 550 [SVR]Copy/paste the below URL in a browser to see the QR Code:
I: 556 [SVR]https://project-chip.github.io/connectedhomeip/qrcode.html?data=MT%3A8IXS142C00KA0648G00
I: 568 [SVR]Manual pairing code: [34970112332]
I: 577 [DL]CHIP task running
I: 580 [DIS]Updating services using commissioning mode 0
E: 586 [DIS]Failed to remove advertised services: 3
D: 592 [DL]Using Thread extended MAC for hostname.
I: 597 [DIS]Advertise commission parameter vendorID=65521 productID=32774 discriminator=3840/15 cm=0
E: 607 [DIS]Failed to advertise extended commissionable node: 3
E: 613 [DIS]Failed to finalize service update: 3
I: FW Ver: 0.3.1+0; version: 00030100
I: Device has NOT gone through provisioning
I: network state 0
E: Sending UART cmd st 0
I: BLE Device ID: 2f29
I: Current OTA Stage = 10
I: dfu_header_data.image_count: 2
E: Sending UART cmd st 0
I: BLE Name set: HU:2F29 errCode: 0
I: 15695 [SWU]SMP BLE advertising started
I: 15699 [DL]DFU over SMP started
I: IMG Integrity Verified Successfully: 0
I: IMG Integrity Verified Successfully: 1
I: Current OTA Stage = 16
I: OTA device_id = 5 : DISCOVERY_REQ
I: SECURE_STM : DISCOVERY_REQ
I: OTA device_id = 5 : FW_VERSION_REQ
I: Secure STM Firmware Version: 2 0 1 1
I: OTA device_id = 5 : FW_UPDATE_START_REQ
I: SECURE_STM : IB_FW_UPDATE_START_REQUEST
I: STM OTA Progress = 10
I: STM OTA Progress = 20
I: STM OTA Progress = 30
I: STM OTA Progress = 40
I: STM OTA Progress = 50
I: STM OTA Progress = 60
I: STM OTA Progress = 70
I: STM OTA Progress = 80
I: STM OTA Progress = 90
I: STM OTA Progress = 100
I: OTA device_id = 5 : FW_UPDATE_REBOOT_REQ
I: SECURE_STM : REBOOT_COMMAND
I: STM Rebooted, MCUBoot Verifying Image
I: OTA device_id = 5 : FW_VERSION_REQ
I: Secure STM Firmware Version: 2 0 1 2
I: OTA device_id = 5 : FW_UPDATE_COMPLETE_REQ
I: SECURE_STM : IB_FW_UPDATE_COMPLETE_REQUEST
I: OTA device_id = 5 : FW_UPDATE_REBOOT_REQ
I: SECURE_STM : REBOOT_COMMAND
I: STM Rebooted, MCUBoot Confirming Image
I: OTA device_id = 5 : FW_VERSION_REQ
I: Secure STM Firmware Version: 2 0 1 2
I: STM Secure OTA Successful
I: Clear STM OTA Meta Data
I: Current OTA Stage = 17
I: Redpine OTA started
I: Current OTA Stage = 18
I: OTA device_id = 4 : DISCOVERY_REQ
I: STM_QSPI : IB_DEVICE_DISCOVERY_REQUEST
I: OTA device_id = 4 : FW_VERSION_REQ
I: STM_QSPI : IB_FW_VERSION_REQUEST
I: Redpine Firmware Version: 2.1.255.191
I: OTA device_id = 4 : FW_UPDATE_START_REQ
I: STM_QSPI : IB_FW_UPDATE_START_REQUEST
I: Redpine Image Stored into STM QSPI, Progress = 10
I: Redpine Image Stored into STM QSPI, Progress = 20
I: Redpine Image Stored into STM QSPI, Progress = 30
I: Redpine Image Stored into STM QSPI, Progress = 40
I: Redpine Image Stored into STM QSPI, Progress = 50
I: Redpine Image Stored into STM QSPI, Progress = 60
I: Redpine Image Stored into STM QSPI, Progress = 70
I: Redpine Image Stored into STM QSPI, Progress = 80
I: Redpine Image Stored into STM QSPI, Progress = 90
I: Redpine Image Stored into STM QSPI, Progress = 100
I: OTA device_id = 4 : FW_UPDATE_COMPLETE_REQ
I: STM_QSPI : IB_FW_UPDATE_COMPLETE_REQUEST
I: STM_QSPI : STM QSPI to Redpine SPI Image Transfer Ongoing (0)
I: STM_QSPI : STM QSPI to Redpine SPI Image Transfer Ongoing (10)
I: STM_QSPI : STM QSPI to Redpine SPI Image Transfer Ongoing (20)
I: STM_QSPI : STM QSPI to Redpine SPI Image Transfer Ongoing (30)
I: STM_QSPI : STM QSPI to Redpine SPI Image Transfer Ongoing (40)
I: STM_QSPI : STM QSPI to Redpine SPI Image Transfer Ongoing (50)
I: STM_QSPI : STM QSPI to Redpine SPI Image Transfer Ongoing (60)
I: STM_QSPI : STM QSPI to Redpine SPI Image Transfer Ongoing (70)
I: STM_QSPI : STM QSPI to Redpine SPI Image Transfer Ongoing (80)
I: STM_QSPI : STM QSPI to Redpine SPI Image Transfer Ongoing (90)
I: STM_QSPI : STM QSPI to Redpine SPI Image Transfer Ongoing (100)
I: STM_QSPI : IB_FW_UPDATE_REBOOT_REQUEST
I: Clear Redpine OTA Meta Data
I: Current OTA Stage = 24
I: Start to Erase OTA Bundle Image from External Flash
I: Erasing bundle from nRF Ext. Flash
I: Bundle Image Erased from nRF Ext. Flash: 0
I: Current OTA Stage = 25
I: FW Ver: 0.3.1+0; version: 00030100
I: 598496 [DL]DFU-BLE-Connected
I: BLE Connected
Swap type: none
I: 598812 [DL]DFU-BLE-Disconnected : 19
E: Sending UART cmd st 0
I: BLE Name set: HU:2F29 errCode: 0
I: 598824 [SWU]SMP BLE advertising started
I: 598828 [DL]DFU over SMP started
I: BLE Disconnected: 13
I: 615673 [DL]DFU-BLE-Connected
I: BLE Connected
I: 615970 [DL]DFU Image upload started
I: Current OTA Stage = 11
I: 629176 [DL]Image 0 download completed successfully
I: 629205 [DL]DFU-BLE-Disconnected : 19
E: Sending UART cmd st 0
I: BLE Name set: HU:2F29 errCode: 0
I: 629218 [SWU]SMP BLE advertising started
I: 629222 [DL]DFU over SMP started
I: BLE Disconnected: 13
I: 678228 [DL]DFU-BLE-Connected
I: BLE Connected
Swap type: none
I: 678536 [DL]DFU Image upload started
I: Current OTA Stage = 12
I: 768438 [DL]Image 1 download completed successfully
I: 768475 [DL]DFU-BLE-Disconnected : 19
E: Sending UART cmd st 0
I: BLE Name set: HU:2F29 errCode: 0
I: 768487 [SWU]SMP BLE advertising started
I: 768491 [DL]DFU over SMP started
I: BLE Disconnected: 13
I: 803387 [DL]DFU-BLE-Connected
I: BLE Connected
I: 822256 [DL]DFU Image upload started
D: 900464 [DIS]Extended discovery timed out
I: 900468 [DIS]Updating services using commissioning mode 0
E: 900474 [DIS]Failed to remove advertised services: 3
E: 900480 [DIS]Failed to finalize service update: 3
I: Current OTA Stage = 13
I: 1062847 [DL]Image 2 download completed successfully
I: Current OTA Stage = 14
I: 1062880 [DL]DFU-BLE-Disconnected : 19
E: Sending UART cmd st 0
I: BLE Name set: HU:2F29 errCode: 0
I: 1062892 [SWU]SMP BLE advertising started
I: 1062896 [DL]DFU over SMP started
I: BLE Disconnected: 13
I: 1082530 [DL]DFU-BLE-Connected
I: BLE Connected
Swap type: none
Swap type: none
Swap type: none
I: 1082818 [DL]DFU-BLE-Disconnected : 19
E: Sending UART cmd st 0
I: BLE Name set: HU:2F29 errCode: 0
I: 1082831 [SWU]SMP BLE advertising started
I: 1082835 [DL]DFU over SMP started
I: BLE Disconnected: 13
I: 1098893 [DL]DFU-BLE-Connected
I: BLE Connected
E: img_mgmt_find_by_hash Return i=1
E: a4 a4
E: 1d 1d
E: 1e 1e
E: a8 a8
E: b8 b8
E: 1d 1d
E: 72 72
E: 1b 1b
E: c0 c0
E: 13 13
E: cc cc
E: 3e 3e
E: d6 d6
E: e7 e7
E: 2f 2f
E: d4 d4
E: 4c 4c
E: 9 9
E: 25 25
E: 26 26
E: d1 d1
E: df df
E: b3 b3
E: 7b 7b
E: 1d 1d
E: f3 f3
E: b1 b1
E: db db
E: 4b 4b
E: 7c 7c
E: c3 c3
E: b4 b4
E: img_mgmt_find_by_hash slot = 1, confirm = 1
E: area_id = 2, active = 0
E: Success 1
E: Success 2
writing magic; fa_id=2 off=0xeeff0 (0xeeff0)
writing image_ok; fa_id=2 off=0xeefe8 (0xeefe8)
writing swap_info; fa_id=2 off=0xeefd8 (0xeefd8), swap_type=0x3 image_num=0x0
E: Success 3
E: *** rc = 0 ***
E: img_mgmt_set_boot_next rc = 0
Swap type: perm
Swap type: perm
Swap type: none
E: img_mgmt_state_read rc = 0
I: 1099273 [DL]DFU-BLE-Disconnected : 19
E: Sending UART cmd st 0
I: BLE Name set: HU:2F29 errCode: 0
I: 1099285 [SWU]SMP BLE advertising started
I: 1099289 [DL]DFU over SMP started
I: BLE Disconnected: 13
I: 1136808 [DL]DFU-BLE-Connected
I: BLE Connected
E: img_mgmt_find_by_hash Continue
E: img_mgmt_find_by_hash Return i=3
E: 9 9
E: 4 4
E: ba ba
E: 45 45
E: 18 18
E: a a
E: c3 c3
E: 6d 6d
E: 87 87
E: da da
E: c3 c3
E: ec ec
E: f2 f2
E: d d
E: 73 73
E: b1 b1
E: 9b 9b
E: f4 f4
E: 52 52
E: 8b 8b
E: 67 67
E: 23 23
E: 29 29
E: 47 47
E: 9 9
E: 40 40
E: 93 93
E: 98 98
E: d7 d7
E: 3b 3b
E: 9c 9c
E: 12 12
E: img_mgmt_find_by_hash slot = 3, confirm = 1
E: area_id = 8, active = 0
E: Success 1
E: Success 2
writing magic; fa_id=8 off=0x3fff0 (0x12eff0)
writing image_ok; fa_id=8 off=0x3ffe8 (0x12efe8)
writing swap_info; fa_id=8 off=0x3ffd8 (0x12efd8), swap_type=0x3 image_num=0x0
E: Success 3
E: *** rc = 0 ***
E: img_mgmt_set_boot_next rc = 0
Swap type: perm
Swap type: perm
Swap type: perm
E: img_mgmt_state_read rc = 0
I: 1137177 [DL]DFU-BLE-Disconnected : 19
E: Sending UART cmd st 0
I: BLE Name set: HU:2F29 errCode: 0
I: 1137190 [SWU]SMP BLE advertising started
I: 1137194 [DL]DFU over SMP started
I: BLE Disconnected: 13
I: 1169305 [DL]DFU-BLE-Connected
I: BLE Connected
in os_mgmt_reset
in os_mgmt_reset, Timer Register
I: 1169584 [DL]DFU-BLE-Disconnected : 19
E: Sending UART cmd st 0
I: BLE Name set: HU:2F29 errCode: 0
I: 1169597 [SWU]SMP BLE advertising started
I: 1169601 [DL]DFU over SMP started
I: BLE Disconnected: 13
in os_mgmt_reset_cb
os_mgmt_reset_work_handler: System Rebooted
*** Booting Zephyr OS build v3.3.99-ncs1-1 ***
Starting bootloader
Swap type: perm
Swap type: perm
writing magic; fa_id=4 off=0xeeff0 (0xf6ff0)
writing magic; fa_id=1 off=0x3fff0 (0x3fff0)
Bootloader chainload address offset: 0x8000
Jumping to the first image slot
Start Do_Boot


uart:~$ *** Booting Zephyr OS build v3.3.99-ncs1-1 ***
I: KWIKSET HALO 3 VERSION: 00.03.00.00
I: Init CHIP stack
I: 161 [DL]BLE address: F2:D2:47:BA:8F:C2
I: Board config kwiksetmdb_nrf5340_cpuapp
I: IMAGE_VERSION 0.3.0+0
I: build time: Nov 30 2023 11:09:14
E: ====    Matter FW Ver: 0.3.0    ====
I: 200 [DL]OpenThread SED interval is 1000ms
I: 207 [DL]OpenThread started: OK
I: 210 [DL]Setting OpenThread device type to SLEEPY END DEVICE
I: 218 [SWU]DFU_BLEAdvertising_Init 
Swap type: none
I: 225 [SVR]Subscription persistence not supported
I: 229 [SVR]Server initializing...
I: 234 [TS]Last Known Good Time: 2023-11-30T17:43:12
I: 240 [DMG]AccessControl: initializing
I: 244 [DMG]Examples::AccessControlDelegate::Init
I: 250 [DMG]AccessControl: setting
I: 253 [DMG]DefaultAclStorage: initializing
I: 257 [DMG]DefaultAclStorage: 0 entries loaded
D: 262 [IN]UDP::Init bind&amp;amp;listen port=5540
E: 267 [IN]SO_REUSEPORT failed: 109
D: 271 [IN]UDP::Init bound to port=5540
D: 275 [IN]BLEBase::Init - setting/overriding transport
D: 280 [IN]TransportMgr initialized
D: 288 [DL]Using Thread extended MAC for hostname.
I: 294 [ZCL]Using ZAP configuration...
I: 300 [DMG]AccessControlCluster: initializing
D: 305 [DL]Boot reason: 6
I: 308 [ZCL]Initiating Admin Commissioning cluster.
I: 313 [ZCL]Door Lock server initialized
I: 318 [ZCL]Door Lock cluster initialized at endpoint #1
I: 325 [DIS]Updating services using commissioning mode 0
E: 330 [DIS]Failed to remove advertised services: 3
D: 336 [DL]Using Thread extended MAC for hostname.
I: 341 [DIS]Advertise commission parameter vendorID=65521 productID=32774 discriminator=3840/15 cm=0
E: 350 [DIS]Failed to advertise extended commissionable node: 3
D: 357 [DIS]Scheduling extended discovery timeout in 900s
E: 364 [DIS]Failed to finalize service update: 3
I: 369 [DIS]Delaying proxy of operational discovery: missing delegate
I: 376 [IN]CASE Server enabling CASE session setups
D: 383 [IN]SecureSession[0x200049f0]: Allocated Type:2 LSID:59292
I: 388 [SVR]Joining Multicast groups
I: 393 [SVR]Server Listening...
I: 396 [DL]Device Configuration:
I: 400 [DL]  Serial Number: 11223344556677889900
I: 405 [DL]  Vendor Id: 65521 (0xFFF1)
I: 409 [DL]  Product Id: 32774 (0x8006)
I: 413 [DL]  Product Name: not-specified
I: 417 [DL]  Hardware Version: 0
I: 421 [DL]  Setup Pin Code (0 for UNKNOWN/ERROR): 20202021
I: 427 [DL]  Setup Discriminator (0xFFFF for UNKNOWN/ERROR): 3840 (0xF00)
I: 435 [DL]  Manufacturing Date: 2022-01-01
I: 439 [DL]  Device Type: 65535 (0xFFFF)
I: 444 [SVR]SetupQRCode: [MT:8IXS142C00KA0648G00]
I: 449 [SVR]Copy/paste the below URL in a browser to see the QR Code:
I: 455 [SVR]https://project-chip.github.io/connectedhomeip/qrcode.html?data=MT%3A8IXS142C00KA0648G00
I: 467 [SVR]Manual pairing code: [34970112332]
I: 476 [DL]CHIP task running
I: 479 [DIS]Updating services using commissioning mode 0
E: 484 [DIS]Failed to remove advertised services: 3
D: 491 [DL]Using Thread extended MAC for hostname.
I: 496 [DIS]Advertise commission parameter vendorID=65521 productID=32774 discriminator=3840/15 cm=0
E: 505 [DIS]Failed to advertise extended commissionable node: 3
E: 512 [DIS]Failed to finalize service update: 3
I: FW Ver: 0.3.0+0; version: 00030000
I: Device has NOT gone through provisioning
I: network state 0
E: Sending UART cmd st 0
I: BLE Device ID: 2f29
I: Current OTA Stage = 10
I: dfu_header_data.image_count: 2
E: Sending UART cmd st 0
I: BLE Name set: HU:2F29 errCode: 0
I: 15698 [SWU]SMP BLE advertising started
I: 15702 [DL]DFU over SMP started
I: IMG Integrity Verified Successfully: 0
I: IMG Integrity Verified Successfully: 1
I: Current OTA Stage = 16
I: OTA device_id = 5 : DISCOVERY_REQ
I: SECURE_STM : DISCOVERY_REQ
I: OTA device_id = 5 : FW_VERSION_REQ
I: Secure STM Firmware Version: 2 0 1 2
I: OTA device_id = 5 : FW_UPDATE_START_REQ
I: SECURE_STM : IB_FW_UPDATE_START_REQUEST
I: STM OTA Progress = 10
I: STM OTA Progress = 20
I: STM OTA Progress = 30
I: STM OTA Progress = 40
I: STM OTA Progress = 50
I: STM OTA Progress = 60
I: STM OTA Progress = 70
I: STM OTA Progress = 80
I: STM OTA Progress = 90
I: STM OTA Progress = 100
I: OTA device_id = 5 : FW_UPDATE_REBOOT_REQ
I: SECURE_STM : REBOOT_COMMAND
I: STM Rebooted, MCUBoot Verifying Image
I: OTA device_id = 5 : FW_VERSION_REQ
I: Secure STM Firmware Version: 2 0 1 1
I: OTA device_id = 5 : FW_UPDATE_COMPLETE_REQ
I: SECURE_STM : IB_FW_UPDATE_COMPLETE_REQUEST
I: OTA device_id = 5 : FW_UPDATE_REBOOT_REQ
I: SECURE_STM : REBOOT_COMMAND
I: STM Rebooted, MCUBoot Confirming Image
I: OTA device_id = 5 : FW_VERSION_REQ
I: Secure STM Firmware Version: 2 0 1 1
I: STM Secure OTA Successful
I: Clear STM OTA Meta Data
I: Current OTA Stage = 17
I: Redpine OTA started
I: Current OTA Stage = 18
I: OTA device_id = 4 : DISCOVERY_REQ
I: STM_QSPI : IB_DEVICE_DISCOVERY_REQUEST
I: OTA device_id = 4 : FW_VERSION_REQ
I: STM_QSPI : IB_FW_VERSION_REQUEST
I: Redpine Firmware Version: 2.1.255.191
I: OTA device_id = 4 : FW_UPDATE_START_REQ
I: STM_QSPI : IB_FW_UPDATE_START_REQUEST
I: Redpine Image Stored into STM QSPI, Progress = 10
I: Redpine Image Stored into STM QSPI, Progress = 20
I: Redpine Image Stored into STM QSPI, Progress = 30
I: Redpine Image Stored into STM QSPI, Progress = 40
I: Redpine Image Stored into STM QSPI, Progress = 50
I: Redpine Image Stored into STM QSPI, Progress = 60
I: Redpine Image Stored into STM QSPI, Progress = 70
I: Redpine Image Stored into STM QSPI, Progress = 80
I: Redpine Image Stored into STM QSPI, Progress = 90
I: Redpine Image Stored into STM QSPI, Progress = 100
I: OTA device_id = 4 : FW_UPDATE_COMPLETE_REQ
I: STM_QSPI : IB_FW_UPDATE_COMPLETE_REQUEST
I: STM_QSPI : STM QSPI to Redpine SPI Image Transfer Ongoing (0)
I: STM_QSPI : STM QSPI to Redpine SPI Image Transfer Ongoing (10)
I: STM_QSPI : STM QSPI to Redpine SPI Image Transfer Ongoing (20)
I: STM_QSPI : STM QSPI to Redpine SPI Image Transfer Ongoing (30)
I: STM_QSPI : STM QSPI to Redpine SPI Image Transfer Ongoing (40)
I: STM_QSPI : STM QSPI to Redpine SPI Image Transfer Ongoing (50)
I: STM_QSPI : STM QSPI to Redpine SPI Image Transfer Ongoing (60)
I: STM_QSPI : STM QSPI to Redpine SPI Image Transfer Ongoing (70)
I: STM_QSPI : STM QSPI to Redpine SPI Image Transfer Ongoing (80)
I: STM_QSPI : STM QSPI to Redpine SPI Image Transfer Ongoing (90)
I: STM_QSPI : STM QSPI to Redpine SPI Image Transfer Ongoing (100)
I: STM_QSPI : IB_FW_UPDATE_REBOOT_REQUEST
I: Clear Redpine OTA Meta Data
I: Current OTA Stage = 24
I: Start to Erase OTA Bundle Image from External Flash
I: Erasing bundle from nRF Ext. Flash
I: Bundle Image Erased from nRF Ext. Flash: 0
I: Current OTA Stage = 25
I: FW Ver: 0.3.0+0; version: 00030000
I: 598256 [DL]DFU-BLE-Connected
I: BLE Connected
Swap type: none
I: 598527 [DL]DFU-BLE-Disconnected : 19
E: Sending UART cmd st 0
I: BLE Name set: HU:2F29 errCode: 0
I: 598540 [SWU]SMP BLE advertising started
I: 598544 [DL]DFU over SMP started
I: BLE Disconnected: 13
I: 615628 [DL]DFU-BLE-Connected
I: BLE Connected
I: 615925 [DL]DFU Image upload started
I: Current OTA Stage = 11
I: 629200 [DL]Image 0 download completed successfully
I: 629229 [DL]DFU-BLE-Disconnected : 19
E: Sending UART cmd st 0
I: BLE Name set: HU:2F29 errCode: 0
I: 629241 [SWU]SMP BLE advertising started
I: 629245 [DL]DFU over SMP started
I: BLE Disconnected: 13
I: 678209 [DL]DFU-BLE-Connected
I: BLE Connected
Swap type: none
I: 678515 [DL]DFU Image upload started
I: Current OTA Stage = 12
I: 768597 [DL]Image 1 download completed successfully
I: 768622 [DL]DFU-BLE-Disconnected : 19
E: Sending UART cmd st 0
I: BLE Name set: HU:2F29 errCode: 0
I: 768635 [SWU]SMP BLE advertising started
I: 768638 [DL]DFU over SMP started
I: BLE Disconnected: 13
I: 803389 [DL]DFU-BLE-Connected
I: BLE Connected
I: 822224 [DL]DFU Image upload started
D: 900363 [DIS]Extended discovery timed out
I: 900367 [DIS]Updating services using commissioning mode 0
E: 900373 [DIS]Failed to remove advertised services: 3
E: 900379 [DIS]Failed to finalize service update: 3
I: Current OTA Stage = 13
I: 1062320 [DL]Image 2 download completed successfully
I: Current OTA Stage = 14
I: 1062352 [DL]DFU-BLE-Disconnected : 19
E: Sending UART cmd st 0
I: BLE Name set: HU:2F29 errCode: 0
I: 1062365 [SWU]SMP BLE advertising started
I: 1062368 [DL]DFU over SMP started
I: BLE Disconnected: 13
I: 1084576 [DL]DFU-BLE-Connected
I: BLE Connected
Swap type: none
Swap type: none
Swap type: none
I: 1084874 [DL]DFU-BLE-Disconnected : 19
E: Sending UART cmd st 0
I: BLE Name set: HU:2F29 errCode: 0
I: 1084887 [SWU]SMP BLE advertising started
I: 1084891 [DL]DFU over SMP started
I: BLE Disconnected: 13
I: 1101485 [DL]DFU-BLE-Connected
I: BLE Connected
E: img_mgmt_find_by_hash Return i=1
E: cb cb
E: 96 96
E: 29 29
E: f f
E: d9 d9
E: a a
E: b7 b7
E: b b
E: 3e 3e
E: a1 a1
E: 45 45
E: aa aa
E: 46 46
E: 56 56
E: 19 19
E: 5d 5d
E: be be
E: 6e 6e
E: 4b 4b
E: eb eb
E: 7c 7c
E: e0 e0
E: bf bf
E: f0 f0
E: f4 f4
E: b8 b8
E: 18 18
E: e8 e8
E: 92 92
E: 53 53
E: 2 2
E: 82 82
E: img_mgmt_find_by_hash slot = 1, confirm = 1
E: area_id = 2, active = 0
E: Success 1
E: Success 2
writing magic; fa_id=2 off=0xeeff0 (0xeeff0)
writing image_ok; fa_id=2 off=0xeefe8 (0xeefe8)
writing swap_info; fa_id=2 off=0xeefd8 (0xeefd8), swap_type=0x3 image_num=0x0
E: Success 3
E: *** rc = 0 ***
E: img_mgmt_set_boot_next rc = 0
Swap type: perm
Swap type: perm
Swap type: none
E: img_mgmt_state_read rc = 0
I: 1101869 [DL]DFU-BLE-Disconnected : 19
E: Sending UART cmd st 0
I: BLE Name set: HU:2F29 errCode: 0
I: 1101881 [SWU]SMP BLE advertising started
I: 1101885 [DL]DFU over SMP started
I: BLE Disconnected: 13
I: 1139376 [DL]DFU-BLE-Connected
I: BLE Connected
E: img_mgmt_find_by_hash Continue
E: img_mgmt_find_by_hash Return i=3
E: 19 19
E: 64 64
E: b b
E: b1 b1
E: 5e 5e
E: dc dc
E: e6 e6
E: 77 77
E: 8c 8c
E: ef ef
E: 69 69
E: 20 20
E: 5f 5f
E: ae ae
E: 54 54
E: 61 61
E: a3 a3
E: 99 99
E: ff ff
E: 7c 7c
E: 4d 4d
E: 65 65
E: f3 f3
E: 4c 4c
E: 53 53
E: 6c 6c
E: 37 37
E: 88 88
E: 2f 2f
E: e1 e1
E: 39 39
E: 7e 7e
E: img_mgmt_find_by_hash slot = 3, confirm = 1
E: area_id = 8, active = 0
E: Success 1
E: Success 2
writing magic; fa_id=8 off=0x3fff0 (0x12eff0)
writing image_ok; fa_id=8 off=0x3ffe8 (0x12efe8)
writing swap_info; fa_id=8 off=0x3ffd8 (0x12efd8), swap_type=0x3 image_num=0x0
E: Success 3
E: *** rc = 0 ***
E: img_mgmt_set_boot_next rc = 0
Swap type: perm
Swap type: perm
Swap type: perm
E: img_mgmt_state_read rc = 0
I: 1139743 [DL]DFU-BLE-Disconnected : 19
E: Sending UART cmd st 0
I: BLE Name set: HU:2F29 errCode: 0
I: 1139756 [SWU]SMP BLE advertising started
I: 1139760 [DL]DFU over SMP started
I: BLE Disconnected: 13
I: 1172387 [DL]DFU-BLE-Connected
I: BLE Connected
in os_mgmt_reset
in os_mgmt_reset, Timer Register
I: 1172660 [DL]DFU-BLE-Disconnected : 19
E: Sending UART cmd st 0
I: BLE Name set: HU:2F29 errCode: 0
I: 1172673 [SWU]SMP BLE advertising started
I: 1172677 [DL]DFU over SMP started
I: BLE Disconnected: 13
in os_mgmt_reset_cb
os_mgmt_reset_work_handler: System Rebooted
*** Booting Zephyr OS build v3.3.99-ncs1-1 ***
Starting bootloader
Swap type: perm
Swap type: perm
writing magic; fa_id=4 off=0xeeff0 (0xf6ff0)
writing magic; fa_id=1 off=0x3fff0 (0x3fff0)
Bootloader chainload address offset: 0x8000
Jumping to the first image slot
Start Do_Boot


uart:~$ *** Booting Zephyr OS build v3.3.99-ncs1-1 ***
I: KWIKSET HALO 3 VERSION: 00.03.01.00
I: Init CHIP stack
I: 161 [DL]BLE address: D2:4A:71:B4:C5:70
I: Board config kwiksetmdb_nrf5340_cpuapp
I: IMAGE_VERSION 0.3.1+0
I: build time: Nov 30 2023 17:44:53
E: ====    Matter FW Ver: 0.3.1    ====
I: 200 [DL]OpenThread SED interval is 1000ms
I: 207 [DL]OpenThread started: OK
I: 210 [DL]Setting OpenThread device type to SLEEPY END DEVICE
I: 218 [SWU]DFU_BLEAdvertising_Init 
Swap type: none
I: 225 [SVR]Subscription persistence not supported
I: 229 [SVR]Server initializing...
I: 234 [TS]Last Known Good Time: 2023-11-30T17:43:12
I: 240 [DMG]AccessControl: initializing
I: 244 [DMG]Examples::AccessControlDelegate::Init
I: 250 [DMG]AccessControl: setting
I: 253 [DMG]DefaultAclStorage: initializing
I: 257 [DMG]DefaultAclStorage: 0 entries loaded
D: 262 [IN]UDP::Init bind&amp;amp;listen port=5540
E: 267 [IN]SO_REUSEPORT failed: 109
D: 271 [IN]UDP::Init bound to port=5540
D: 275 [IN]BLEBase::Init - setting/overriding transport
D: 280 [IN]TransportMgr initialized
D: 287 [DL]Using Thread extended MAC for hostname.
I: 294 [ZCL]Using ZAP configuration...
I: 300 [DMG]AccessControlCluster: initializing
D: 305 [DL]Boot reason: 6
I: 308 [ZCL]Initiating Admin Commissioning cluster.
I: 314 [ZCL]Door Lock server initialized
I: 318 [ZCL]Door Lock cluster initialized at endpoint #1
I: 325 [DIS]Updating services using commissioning mode 0
E: 330 [DIS]Failed to remove advertised services: 3
D: 336 [DL]Using Thread extended MAC for hostname.
I: 341 [DIS]Advertise commission parameter vendorID=65521 productID=32774 discriminator=3840/15 cm=0
E: 350 [DIS]Failed to advertise extended commissionable node: 3
D: 357 [DIS]Scheduling extended discovery timeout in 900s
E: 364 [DIS]Failed to finalize service update: 3
I: 369 [DIS]Delaying proxy of operational discovery: missing delegate
I: 375 [IN]CASE Server enabling CASE session setups
D: 382 [IN]SecureSession[0x200049f0]: Allocated Type:2 LSID:29614
I: 388 [SVR]Joining Multicast groups
I: 393 [SVR]Server Listening...
I: 396 [DL]Device Configuration:
I: 400 [DL]  Serial Number: 11223344556677889900
I: 404 [DL]  Vendor Id: 65521 (0xFFF1)
I: 409 [DL]  Product Id: 32774 (0x8006)
I: 413 [DL]  Product Name: not-specified
I: 418 [DL]  Hardware Version: 0
I: 421 [DL]  Setup Pin Code (0 for UNKNOWN/ERROR): 20202021
I: 427 [DL]  Setup Discriminator (0xFFFF for UNKNOWN/ERROR): 3840 (0xF00)
I: 435 [DL]  Manufacturing Date: 2022-01-01
I: 439 [DL]  Device Type: 65535 (0xFFFF)
I: 444 [SVR]SetupQRCode: [MT:8IXS142C00KA0648G00]
I: 449 [SVR]Copy/paste the below URL in a browser to see the QR Code:
I: 456 [SVR]https://project-chip.github.io/connectedhomeip/qrcode.html?data=MT%3A8IXS142C00KA0648G00
I: 467 [SVR]Manual pairing code: [34970112332]
I: 476 [DL]CHIP task running
I: 480 [DIS]Updating services using commissioning mode 0
E: 485 [DIS]Failed to remove advertised services: 3
D: 491 [DL]Using Thread extended MAC for hostname.
I: 496 [DIS]Advertise commission parameter vendorID=65521 productID=32774 discriminator=3840/15 cm=0
E: 506 [DIS]Failed to advertise extended commissionable node: 3
E: 512 [DIS]Failed to finalize service update: 3
I: FW Ver: 0.3.1+0; version: 00030100
I: Device has NOT gone through provisioning
I: network state 0
E: Sending UART cmd st 0
I: BLE Device ID: 2f29
I: Current OTA Stage = 10
I: dfu_header_data.image_count: 2
E: Sending UART cmd st 0
I: BLE Name set: HU:2F29 errCode: 0
I: 15698 [SWU]SMP BLE advertising started
I: 15701 [DL]DFU over SMP started
I: IMG Integrity Verified Successfully: 0
I: IMG Integrity Verified Successfully: 1
I: Current OTA Stage = 16
I: OTA device_id = 5 : DISCOVERY_REQ
I: SECURE_STM : DISCOVERY_REQ
I: OTA device_id = 5 : FW_VERSION_REQ
I: Secure STM Firmware Version: 2 0 1 1
I: OTA device_id = 5 : FW_UPDATE_START_REQ
I: SECURE_STM : IB_FW_UPDATE_START_REQUEST
I: STM OTA Progress = 10
I: STM OTA Progress = 20
I: STM OTA Progress = 30
I: STM OTA Progress = 40
I: STM OTA Progress = 50
I: STM OTA Progress = 60
I: STM OTA Progress = 70
I: STM OTA Progress = 80
I: STM OTA Progress = 90
I: STM OTA Progress = 100
I: OTA device_id = 5 : FW_UPDATE_REBOOT_REQ
I: SECURE_STM : REBOOT_COMMAND
I: STM Rebooted, MCUBoot Verifying Image
I: OTA device_id = 5 : FW_VERSION_REQ
I: Secure STM Firmware Version: 2 0 1 2
I: OTA device_id = 5 : FW_UPDATE_COMPLETE_REQ
I: SECURE_STM : IB_FW_UPDATE_COMPLETE_REQUEST
I: OTA device_id = 5 : FW_UPDATE_REBOOT_REQ
I: SECURE_STM : REBOOT_COMMAND
I: STM Rebooted, MCUBoot Confirming Image
I: OTA device_id = 5 : FW_VERSION_REQ
I: Secure STM Firmware Version: 2 0 1 2
I: STM Secure OTA Successful
I: Clear STM OTA Meta Data
I: Current OTA Stage = 17
I: Redpine OTA started
I: Current OTA Stage = 18
I: OTA device_id = 4 : DISCOVERY_REQ
I: STM_QSPI : IB_DEVICE_DISCOVERY_REQUEST
I: OTA device_id = 4 : FW_VERSION_REQ
I: STM_QSPI : IB_FW_VERSION_REQUEST
I: Redpine Firmware Version: 2.1.255.191
I: OTA device_id = 4 : FW_UPDATE_START_REQ
I: STM_QSPI : IB_FW_UPDATE_START_REQUEST
I: Redpine Image Stored into STM QSPI, Progress = 10
I: Redpine Image Stored into STM QSPI, Progress = 20
I: Redpine Image Stored into STM QSPI, Progress = 30
I: Redpine Image Stored into STM QSPI, Progress = 40
I: Redpine Image Stored into STM QSPI, Progress = 50
I: Redpine Image Stored into STM QSPI, Progress = 60
I: Redpine Image Stored into STM QSPI, Progress = 70
I: Redpine Image Stored into STM QSPI, Progress = 80
I: Redpine Image Stored into STM QSPI, Progress = 90
I: Redpine Image Stored into STM QSPI, Progress = 100
I: OTA device_id = 4 : FW_UPDATE_COMPLETE_REQ
I: STM_QSPI : IB_FW_UPDATE_COMPLETE_REQUEST
I: STM_QSPI : STM QSPI to Redpine SPI Image Transfer Ongoing (0)
I: STM_QSPI : STM QSPI to Redpine SPI Image Transfer Ongoing (10)
I: STM_QSPI : STM QSPI to Redpine SPI Image Transfer Ongoing (20)
I: STM_QSPI : STM QSPI to Redpine SPI Image Transfer Ongoing (30)
I: STM_QSPI : STM QSPI to Redpine SPI Image Transfer Ongoing (40)
I: STM_QSPI : STM QSPI to Redpine SPI Image Transfer Ongoing (50)
I: STM_QSPI : STM QSPI to Redpine SPI Image Transfer Ongoing (60)
I: STM_QSPI : STM QSPI to Redpine SPI Image Transfer Ongoing (70)
I: STM_QSPI : STM QSPI to Redpine SPI Image Transfer Ongoing (80)
I: STM_QSPI : STM QSPI to Redpine SPI Image Transfer Ongoing (90)
I: STM_QSPI : STM QSPI to Redpine SPI Image Transfer Ongoing (100)
I: STM_QSPI : IB_FW_UPDATE_REBOOT_REQUEST
I: Clear Redpine OTA Meta Data
I: Current OTA Stage = 24
I: Start to Erase OTA Bundle Image from External Flash
I: Erasing bundle from nRF Ext. Flash
I: Bundle Image Erased from nRF Ext. Flash: 0
I: Current OTA Stage = 25
I: FW Ver: 0.3.1+0; version: 00030100
I: 599694 [DL]DFU-BLE-Connected
I: BLE Connected
Swap type: none
I: 599981 [DL]DFU-BLE-Disconnected : 19
E: Sending UART cmd st 0
I: BLE Name set: HU:2F29 errCode: 0
I: 599994 [SWU]SMP BLE advertising started
I: 599998 [DL]DFU over SMP started
I: BLE Disconnected: 13
I: 616863 [DL]DFU-BLE-Connected
I: BLE Connected
I: 617154 [DL]DFU Image upload started
I: Current OTA Stage = 11
I: 630308 [DL]Image 0 download completed successfully
I: 630337 [DL]DFU-BLE-Disconnected : 19
E: Sending UART cmd st 0
I: BLE Name set: HU:2F29 errCode: 0
I: 630350 [SWU]SMP BLE advertising started
I: 630353 [DL]DFU over SMP started
I: BLE Disconnected: 13
I: 679567 [DL]DFU-BLE-Connected
I: BLE Connected
Swap type: none
I: 679878 [DL]DFU Image upload started
I: Current OTA Stage = 12
I: 769975 [DL]Image 1 download completed successfully
I: 770000 [DL]DFU-BLE-Disconnected : 19
E: Sending UART cmd st 0
I: BLE Name set: HU:2F29 errCode: 0
I: 770013 [SWU]SMP BLE advertising started
I: 770017 [DL]DFU over SMP started
I: BLE Disconnected: 13
I: 804952 [DL]DFU-BLE-Connected
I: BLE Connected
I: 823803 [DL]DFU Image upload started
D: 900364 [DIS]Extended discovery timed out
I: 900369 [DIS]Updating services using commissioning mode 0
E: 900374 [DIS]Failed to remove advertised services: 3
E: 900380 [DIS]Failed to finalize service update: 3
I: Current OTA Stage = 13
I: 1063991 [DL]Image 2 download completed successfully
I: Current OTA Stage = 14
I: 1064023 [DL]DFU-BLE-Disconnected : 19
E: Sending UART cmd st 0
I: BLE Name set: HU:2F29 errCode: 0
I: 1064036 [SWU]SMP BLE advertising started
I: 1064040 [DL]DFU over SMP started
I: BLE Disconnected: 13
I: 1082931 [DL]DFU-BLE-Connected
I: BLE Connected
Swap type: none
Swap type: none
Swap type: none
I: 1083230 [DL]DFU-BLE-Disconnected : 19
E: Sending UART cmd st 0
I: BLE Name set: HU:2F29 errCode: 0
I: 1083243 [SWU]SMP BLE advertising started
I: 1083246 [DL]DFU over SMP started
I: BLE Disconnected: 13
I: 1100370 [DL]DFU-BLE-Connected
I: BLE Connected
E: img_mgmt_find_by_hash Return i=1
E: a4 a4
E: 1d 1d
E: 1e 1e
E: a8 a8
E: b8 b8
E: 1d 1d
E: 72 72
E: 1b 1b
E: c0 c0
E: 13 13
E: cc cc
E: 3e 3e
E: d6 d6
E: e7 e7
E: 2f 2f
E: d4 d4
E: 4c 4c
E: 9 9
E: 25 25
E: 26 26
E: d1 d1
E: df df
E: b3 b3
E: 7b 7b
E: 1d 1d
E: f3 f3
E: b1 b1
E: db db
E: 4b 4b
E: 7c 7c
E: c3 c3
E: b4 b4
E: img_mgmt_find_by_hash slot = 1, confirm = 1
E: area_id = 2, active = 0
E: Success 1
E: Success 2
writing magic; fa_id=2 off=0xeeff0 (0xeeff0)
writing image_ok; fa_id=2 off=0xeefe8 (0xeefe8)
writing swap_info; fa_id=2 off=0xeefd8 (0xeefd8), swap_type=0x3 image_num=0x0
E: Success 3
E: *** rc = 0 ***
E: img_mgmt_set_boot_next rc = 0
Swap type: perm
Swap type: perm
Swap type: none
E: img_mgmt_state_read rc = 0
I: 1100735 [DL]DFU-BLE-Disconnected : 19
E: Sending UART cmd st 0
I: BLE Name set: HU:2F29 errCode: 0
I: 1100747 [SWU]SMP BLE advertising started
I: 1100751 [DL]DFU over SMP started
I: BLE Disconnected: 13
I: 1139281 [DL]DFU-BLE-Connected
I: BLE Connected
E: img_mgmt_find_by_hash Continue
E: img_mgmt_find_by_hash Return i=3
E: 9 9
E: 4 4
E: ba ba
E: 45 45
E: 18 18
E: a a
E: c3 c3
E: 6d 6d
E: 87 87
E: da da
E: c3 c3
E: ec ec
E: f2 f2
E: d d
E: 73 73
E: b1 b1
E: 9b 9b
E: f4 f4
E: 52 52
E: 8b 8b
E: 67 67
E: 23 23
E: 29 29
E: 47 47
E: 9 9
E: 40 40
E: 93 93
E: 98 98
E: d7 d7
E: 3b 3b
E: 9c 9c
E: 12 12
E: img_mgmt_find_by_hash slot = 3, confirm = 1
E: area_id = 8, active = 0
E: Success 1
E: Success 2
writing magic; fa_id=8 off=0x3fff0 (0x12eff0)
writing image_ok; fa_id=8 off=0x3ffe8 (0x12efe8)
writing swap_info; fa_id=8 off=0x3ffd8 (0x12efd8), swap_type=0x3 image_num=0x0
E: Success 3
E: *** rc = 0 ***
E: img_mgmt_set_boot_next rc = 0
Swap type: perm
Swap type: perm
Swap type: perm
E: img_mgmt_state_read rc = 0
I: 1139644 [DL]DFU-BLE-Disconnected : 19
E: Sending UART cmd st 0
I: BLE Name set: HU:2F29 errCode: 0
I: 1139657 [SWU]SMP BLE advertising started
I: 1139661 [DL]DFU over SMP started
I: BLE Disconnected: 13
I: 1171842 [DL]DFU-BLE-Connected
I: BLE Connected
in os_mgmt_reset
in os_mgmt_reset, Timer Register
I: 1172119 [DL]DFU-BLE-Disconnected : 19
E: Sending UART cmd st 0
I: BLE Name set: HU:2F29 errCode: 0
I: 1172131 [SWU]SMP BLE advertising started
I: 1172135 [DL]DFU over SMP started
I: BLE Disconnected: 13
in os_mgmt_reset_cb
os_mgmt_reset_work_handler: System Rebooted
*** Booting Zephyr OS build v3.3.99-ncs1-1 ***
Starting bootloader
Swap type: perm
Swap type: perm
writing magic; fa_id=4 off=0xeeff0 (0xf6ff0)
writing magic; fa_id=1 off=0x3fff0 (0x3fff0)
Bootloader chainload address offset: 0x8000
Jumping to the first image slot
Start Do_Boot


uart:~$ *** Booting Zephyr OS build v3.3.99-ncs1-1 ***
I: KWIKSET HALO 3 VERSION: 00.03.00.00
I: Init CHIP stack
I: 161 [DL]BLE address: E0:E1:3C:F0:3C:88
I: Board config kwiksetmdb_nrf5340_cpuapp
I: IMAGE_VERSION 0.3.0+0
I: build time: Nov 30 2023 11:09:14
E: ====    Matter FW Ver: 0.3.0    ====
I: 200 [DL]OpenThread SED interval is 1000ms
I: 207 [DL]OpenThread started: OK
I: 210 [DL]Setting OpenThread device type to SLEEPY END DEVICE
I: 218 [SWU]DFU_BLEAdvertising_Init 
Swap type: none
I: 225 [SVR]Subscription persistence not supported
I: 230 [SVR]Server initializing...
I: 234 [TS]Last Known Good Time: 2023-11-30T17:43:12
I: 240 [DMG]AccessControl: initializing
I: 244 [DMG]Examples::AccessControlDelegate::Init
I: 250 [DMG]AccessControl: setting
I: 253 [DMG]DefaultAclStorage: initializing
I: 257 [DMG]DefaultAclStorage: 0 entries loaded
D: 262 [IN]UDP::Init bind&amp;amp;listen port=5540
E: 267 [IN]SO_REUSEPORT failed: 109
D: 271 [IN]UDP::Init bound to port=5540
D: 275 [IN]BLEBase::Init - setting/overriding transport
D: 280 [IN]TransportMgr initialized
D: 288 [DL]Using Thread extended MAC for hostname.
I: 294 [ZCL]Using ZAP configuration...
I: 300 [DMG]AccessControlCluster: initializing
D: 305 [DL]Boot reason: 6
I: 308 [ZCL]Initiating Admin Commissioning cluster.
I: 313 [ZCL]Door Lock server initialized
I: 318 [ZCL]Door Lock cluster initialized at endpoint #1
I: 325 [DIS]Updating services using commissioning mode 0
E: 330 [DIS]Failed to remove advertised services: 3
D: 336 [DL]Using Thread extended MAC for hostname.
I: 341 [DIS]Advertise commission parameter vendorID=65521 productID=32774 discriminator=3840/15 cm=0
E: 352 [DIS]Failed to advertise extended commissionable node: 3
D: 357 [DIS]Scheduling extended discovery timeout in 900s
E: 364 [DIS]Failed to finalize service update: 3
I: 369 [DIS]Delaying proxy of operational discovery: missing delegate
I: 375 [IN]CASE Server enabling CASE session setups
D: 383 [IN]SecureSession[0x200049f0]: Allocated Type:2 LSID:61983
I: 388 [SVR]Joining Multicast groups
I: 393 [SVR]Server Listening...
I: 396 [DL]Device Configuration:
I: 400 [DL]  Serial Number: 11223344556677889900
I: 405 [DL]  Vendor Id: 65521 (0xFFF1)
I: 409 [DL]  Product Id: 32774 (0x8006)
I: 413 [DL]  Product Name: not-specified
I: 417 [DL]  Hardware Version: 0
I: 421 [DL]  Setup Pin Code (0 for UNKNOWN/ERROR): 20202021
I: 426 [DL]  Setup Discriminator (0xFFFF for UNKNOWN/ERROR): 3840 (0xF00)
I: 435 [DL]  Manufacturing Date: 2022-01-01
I: 440 [DL]  Device Type: 65535 (0xFFFF)
I: 444 [SVR]SetupQRCode: [MT:8IXS142C00KA0648G00]
I: 449 [SVR]Copy/paste the below URL in a browser to see the QR Code:
I: 455 [SVR]https://project-chip.github.io/connectedhomeip/qrcode.html?data=MT%3A8IXS142C00KA0648G00
I: 467 [SVR]Manual pairing code: [34970112332]
I: 476 [DL]CHIP task running
I: 479 [DIS]Updating services using commissioning mode 0
E: 485 [DIS]Failed to remove advertised services: 3
D: 491 [DL]Using Thread extended MAC for hostname.
I: 496 [DIS]Advertise commission parameter vendorID=65521 productID=32774 discriminator=3840/15 cm=0
E: 505 [DIS]Failed to advertise extended commissionable node: 3
E: 512 [DIS]Failed to finalize service update: 3
I: FW Ver: 0.3.0+0; version: 00030000
I: Device has NOT gone through provisioning
I: network state 0
E: Sending UART cmd st 0
I: BLE Device ID: 2f29
I: Current OTA Stage = 10
I: dfu_header_data.image_count: 2
E: Sending UART cmd st 0
I: BLE Name set: HU:2F29 errCode: 0
I: 15698 [SWU]SMP BLE advertising started
I: 15701 [DL]DFU over SMP started
I: IMG Integrity Verified Successfully: 0
I: IMG Integrity Verified Successfully: 1
I: Current OTA Stage = 16
I: OTA device_id = 5 : DISCOVERY_REQ
I: SECURE_STM : DISCOVERY_REQ
I: OTA device_id = 5 : FW_VERSION_REQ
I: Secure STM Firmware Version: 2 0 1 2
I: OTA device_id = 5 : FW_UPDATE_START_REQ
I: SECURE_STM : IB_FW_UPDATE_START_REQUEST
I: STM OTA Progress = 10
I: STM OTA Progress = 20
I: STM OTA Progress = 30
I: STM OTA Progress = 40
I: STM OTA Progress = 50
I: STM OTA Progress = 60
I: STM OTA Progress = 70
I: STM OTA Progress = 80
I: STM OTA Progress = 90
I: STM OTA Progress = 100
I: OTA device_id = 5 : FW_UPDATE_REBOOT_REQ
I: SECURE_STM : REBOOT_COMMAND
I: STM Rebooted, MCUBoot Verifying Image
I: OTA device_id = 5 : FW_VERSION_REQ
I: Secure STM Firmware Version: 2 0 1 1
I: OTA device_id = 5 : FW_UPDATE_COMPLETE_REQ
I: SECURE_STM : IB_FW_UPDATE_COMPLETE_REQUEST
I: OTA device_id = 5 : FW_UPDATE_REBOOT_REQ
I: SECURE_STM : REBOOT_COMMAND
I: STM Rebooted, MCUBoot Confirming Image
I: OTA device_id = 5 : FW_VERSION_REQ
I: Secure STM Firmware Version: 2 0 1 1
I: STM Secure OTA Successful
I: Clear STM OTA Meta Data
I: Current OTA Stage = 17
I: Redpine OTA started
I: Current OTA Stage = 18
I: OTA device_id = 4 : DISCOVERY_REQ
I: STM_QSPI : IB_DEVICE_DISCOVERY_REQUEST
I: OTA device_id = 4 : FW_VERSION_REQ
I: STM_QSPI : IB_FW_VERSION_REQUEST
I: Redpine Firmware Version: 2.1.255.191
I: OTA device_id = 4 : FW_UPDATE_START_REQ
I: STM_QSPI : IB_FW_UPDATE_START_REQUEST
I: Redpine Image Stored into STM QSPI, Progress = 10
I: Redpine Image Stored into STM QSPI, Progress = 20
I: Redpine Image Stored into STM QSPI, Progress = 30
I: Redpine Image Stored into STM QSPI, Progress = 40
I: Redpine Image Stored into STM QSPI, Progress = 50
I: Redpine Image Stored into STM QSPI, Progress = 60
I: Redpine Image Stored into STM QSPI, Progress = 70
I: Redpine Image Stored into STM QSPI, Progress = 80
I: Redpine Image Stored into STM QSPI, Progress = 90
I: Redpine Image Stored into STM QSPI, Progress = 100
I: OTA device_id = 4 : FW_UPDATE_COMPLETE_REQ
I: STM_QSPI : IB_FW_UPDATE_COMPLETE_REQUEST
I: STM_QSPI : STM QSPI to Redpine SPI Image Transfer Ongoing (0)
I: STM_QSPI : STM QSPI to Redpine SPI Image Transfer Ongoing (10)
I: STM_QSPI : STM QSPI to Redpine SPI Image Transfer Ongoing (20)
I: STM_QSPI : STM QSPI to Redpine SPI Image Transfer Ongoing (30)
I: STM_QSPI : STM QSPI to Redpine SPI Image Transfer Ongoing (40)
I: STM_QSPI : STM QSPI to Redpine SPI Image Transfer Ongoing (50)
I: STM_QSPI : STM QSPI to Redpine SPI Image Transfer Ongoing (60)
I: STM_QSPI : STM QSPI to Redpine SPI Image Transfer Ongoing (70)
I: STM_QSPI : STM QSPI to Redpine SPI Image Transfer Ongoing (80)
I: STM_QSPI : STM QSPI to Redpine SPI Image Transfer Ongoing (90)
I: STM_QSPI : STM QSPI to Redpine SPI Image Transfer Ongoing (100)
I: STM_QSPI : IB_FW_UPDATE_REBOOT_REQUEST
I: Clear Redpine OTA Meta Data
I: Current OTA Stage = 24
I: Start to Erase OTA Bundle Image from External Flash
I: Erasing bundle from nRF Ext. Flash
I: Bundle Image Erased from nRF Ext. Flash: 0
I: Current OTA Stage = 25
I: FW Ver: 0.3.0+0; version: 00030000
I: 598501 [DL]DFU-BLE-Connected
I: BLE Connected
Swap type: none
I: 598779 [DL]DFU-BLE-Disconnected : 19
E: Sending UART cmd st 0
I: BLE Name set: HU:2F29 errCode: 0
I: 598791 [SWU]SMP BLE advertising started
I: 598795 [DL]DFU over SMP started
I: BLE Disconnected: 13
I: 615635 [DL]DFU-BLE-Connected
I: BLE Connected
I: 615922 [DL]DFU Image upload started
I: Current OTA Stage = 11
I: 629147 [DL]Image 0 download completed successfully
I: 629187 [DL]DFU-BLE-Disconnected : 19
E: Sending UART cmd st 0
I: BLE Name set: HU:2F29 errCode: 0
I: 629200 [SWU]SMP BLE advertising started
I: 629204 [DL]DFU over SMP started
I: BLE Disconnected: 13
I: 678226 [DL]DFU-BLE-Connected
I: BLE Connected
Swap type: none
I: 678526 [DL]DFU Image upload started
I: Current OTA Stage = 12
I: 768578 [DL]Image 1 download completed successfully
I: 768603 [DL]DFU-BLE-Disconnected : 19
E: Sending UART cmd st 0
I: BLE Name set: HU:2F29 errCode: 0
I: 768616 [SWU]SMP BLE advertising started
I: 768619 [DL]DFU over SMP started
I: BLE Disconnected: 13
I: 806179 [DL]DFU-BLE-Connected
I: BLE Connected
I: 825036 [DL]DFU Image upload started
D: 900363 [DIS]Extended discovery timed out
I: 900369 [DIS]Updating services using commissioning mode 0
E: 900377 [DIS]Failed to remove advertised services: 3
E: 900382 [DIS]Failed to finalize service update: 3
I: Current OTA Stage = 13
I: 1066822 [DL]Image 2 download completed successfully
I: Current OTA Stage = 14
I: 1066866 [DL]DFU-BLE-Disconnected : 19
E: Sending UART cmd st 0
I: BLE Name set: HU:2F29 errCode: 0
I: 1066879 [SWU]SMP BLE advertising started
I: 1066883 [DL]DFU over SMP started
I: BLE Disconnected: 13
I: 1086245 [DL]DFU-BLE-Connected
I: BLE Connected
Swap type: none
Swap type: none
Swap type: none
I: 1086527 [DL]DFU-BLE-Disconnected : 19
E: Sending UART cmd st 0
I: BLE Name set: HU:2F29 errCode: 0
I: 1086540 [SWU]SMP BLE advertising started
I: 1086545 [DL]DFU over SMP started
I: BLE Disconnected: 13
I: 1103644 [DL]DFU-BLE-Connected
I: BLE Connected
E: img_mgmt_find_by_hash Return i=1
E: cb cb
E: 96 96
E: 29 29
E: f f
E: d9 d9
E: a a
E: b7 b7
E: b b
E: 3e 3e
E: a1 a1
E: 45 45
E: aa aa
E: 46 46
E: 56 56
E: 19 19
E: 5d 5d
E: be be
E: 6e 6e
E: 4b 4b
E: eb eb
E: 7c 7c
E: e0 e0
E: bf bf
E: f0 f0
E: f4 f4
E: b8 b8
E: 18 18
E: e8 e8
E: 92 92
E: 53 53
E: 2 2
E: 82 82
E: img_mgmt_find_by_hash slot = 1, confirm = 1
E: area_id = 2, active = 0
E: Success 1
E: Success 2
writing magic; fa_id=2 off=0xeeff0 (0xeeff0)
writing image_ok; fa_id=2 off=0xeefe8 (0xeefe8)
writing swap_info; fa_id=2 off=0xeefd8 (0xeefd8), swap_type=0x3 image_num=0x0
E: Success 3
E: *** rc = 0 ***
E: img_mgmt_set_boot_next rc = 0
Swap type: perm
Swap type: perm
Swap type: none
E: img_mgmt_state_read rc = 0
I: 1104002 [DL]DFU-BLE-Disconnected : 19
E: Sending UART cmd st 0
I: BLE Name set: HU:2F29 errCode: 0
I: 1104015 [SWU]SMP BLE advertising started
I: 1104019 [DL]DFU over SMP started
I: BLE Disconnected: 13
I: 1141513 [DL]DFU-BLE-Connected
I: BLE Connected
E: img_mgmt_find_by_hash Continue
E: img_mgmt_find_by_hash Return i=3
E: 19 19
E: 64 64
E: b b
E: b1 b1
E: 5e 5e
E: dc dc
E: e6 e6
E: 77 77
E: 8c 8c
E: ef ef
E: 69 69
E: 20 20
E: 5f 5f
E: ae ae
E: 54 54
E: 61 61
E: a3 a3
E: 99 99
E: ff ff
E: 7c 7c
E: 4d 4d
E: 65 65
E: f3 f3
E: 4c 4c
E: 53 53
E: 6c 6c
E: 37 37
E: 88 88
E: 2f 2f
E: e1 e1
E: 39 39
E: 7e 7e
E: img_mgmt_find_by_hash slot = 3, confirm = 1
E: area_id = 8, active = 0
E: Success 1
E: Success 2
writing magic; fa_id=8 off=0x3fff0 (0x12eff0)
writing image_ok; fa_id=8 off=0x3ffe8 (0x12efe8)
writing swap_info; fa_id=8 off=0x3ffd8 (0x12efd8), swap_type=0x3 image_num=0x0
E: Success 3
E: *** rc = 0 ***
E: img_mgmt_set_boot_next rc = 0
Swap type: perm
Swap type: perm
Swap type: perm
E: img_mgmt_state_read rc = 0
I: 1141892 [DL]DFU-BLE-Disconnected : 19
E: Sending UART cmd st 0
I: BLE Name set: HU:2F29 errCode: 0
I: 1141904 [SWU]SMP BLE advertising started
I: 1141908 [DL]DFU over SMP started
I: BLE Disconnected: 13
I: 1173861 [DL]DFU-BLE-Connected
I: BLE Connected
in os_mgmt_reset
in os_mgmt_reset, Timer Register
I: 1174134 [DL]DFU-BLE-Disconnected : 19
E: Sending UART cmd st 0
I: BLE Name set: HU:2F29 errCode: 0
I: 1174147 [SWU]SMP BLE advertising started
I: 1174151 [DL]DFU over SMP started
I: BLE Disconnected: 13
in os_mgmt_reset_cb
os_mgmt_reset_work_handler: System Rebooted
*** Booting Zephyr OS build v3.3.99-ncs1-1 ***
Starting bootloader
Swap type: perm
Swap type: perm
writing magic; fa_id=4 off=0xeeff0 (0xf6ff0)
writing magic; fa_id=1 off=0x3fff0 (0x3fff0)
Bootloader chainload address offset: 0x8000
Jumping to the first image slot
Start Do_Boot


uart:~$ *** Booting Zephyr OS build v3.3.99-ncs1-1 ***
I: KWIKSET HALO 3 VERSION: 00.03.01.00
I: Init CHIP stack
I: 161 [DL]BLE address: DB:2E:74:CB:95:D4
I: Board config kwiksetmdb_nrf5340_cpuapp
I: IMAGE_VERSION 0.3.1+0
I: build time: Nov 30 2023 17:44:53
E: ====    Matter FW Ver: 0.3.1    ====
I: 200 [DL]OpenThread SED interval is 1000ms
I: 207 [DL]OpenThread started: OK
I: 211 [DL]Setting OpenThread device type to SLEEPY END DEVICE
I: 218 [SWU]DFU_BLEAdvertising_Init 
Swap type: none
I: 225 [SVR]Subscription persistence not supported
I: 229 [SVR]Server initializing...
I: 234 [TS]Last Known Good Time: 2023-11-30T17:43:12
I: 240 [DMG]AccessControl: initializing
I: 244 [DMG]Examples::AccessControlDelegate::Init
I: 250 [DMG]AccessControl: setting
I: 253 [DMG]DefaultAclStorage: initializing
I: 257 [DMG]DefaultAclStorage: 0 entries loaded
D: 262 [IN]UDP::Init bind&amp;amp;listen port=5540
E: 267 [IN]SO_REUSEPORT failed: 109
D: 271 [IN]UDP::Init bound to port=5540
D: 275 [IN]BLEBase::Init - setting/overriding transport
D: 280 [IN]TransportMgr initialized
D: 288 [DL]Using Thread extended MAC for hostname.
I: 294 [ZCL]Using ZAP configuration...
I: 300 [DMG]AccessControlCluster: initializing
D: 305 [DL]Boot reason: 6
I: 308 [ZCL]Initiating Admin Commissioning cluster.
I: 314 [ZCL]Door Lock server initialized
I: 318 [ZCL]Door Lock cluster initialized at endpoint #1
I: 325 [DIS]Updating services using commissioning mode 0
E: 330 [DIS]Failed to remove advertised services: 3
D: 336 [DL]Using Thread extended MAC for hostname.
I: 341 [DIS]Advertise commission parameter vendorID=65521 productID=32774 discriminator=3840/15 cm=0
E: 350 [DIS]Failed to advertise extended commissionable node: 3
D: 357 [DIS]Scheduling extended discovery timeout in 900s
E: 364 [DIS]Failed to finalize service update: 3
I: 369 [DIS]Delaying proxy of operational discovery: missing delegate
I: 375 [IN]CASE Server enabling CASE session setups
D: 382 [IN]SecureSession[0x200049f0]: Allocated Type:2 LSID:37197
I: 388 [SVR]Joining Multicast groups
I: 393 [SVR]Server Listening...
I: 396 [DL]Device Configuration:
I: 400 [DL]  Serial Number: 11223344556677889900
I: 405 [DL]  Vendor Id: 65521 (0xFFF1)
I: 409 [DL]  Product Id: 32774 (0x8006)
I: 413 [DL]  Product Name: not-specified
I: 417 [DL]  Hardware Version: 0
I: 420 [DL]  Setup Pin Code (0 for UNKNOWN/ERROR): 20202021
I: 426 [DL]  Setup Discriminator (0xFFFF for UNKNOWN/ERROR): 3840 (0xF00)
I: 435 [DL]  Manufacturing Date: 2022-01-01
I: 439 [DL]  Device Type: 65535 (0xFFFF)
I: 444 [SVR]SetupQRCode: [MT:8IXS142C00KA0648G00]
I: 449 [SVR]Copy/paste the below URL in a browser to see the QR Code:
I: 455 [SVR]https://project-chip.github.io/connectedhomeip/qrcode.html?data=MT%3A8IXS142C00KA0648G00
I: 467 [SVR]Manual pairing code: [34970112332]
I: 476 [DL]CHIP task running
I: 479 [DIS]Updating services using commissioning mode 0
E: 484 [DIS]Failed to remove advertised services: 3
D: 490 [DL]Using Thread extended MAC for hostname.
I: 496 [DIS]Advertise commission parameter vendorID=65521 productID=32774 discriminator=3840/15 cm=0
E: 505 [DIS]Failed to advertise extended commissionable node: 3
E: 512 [DIS]Failed to finalize service update: 3
I: FW Ver: 0.3.1+0; version: 00030100
I: Device has NOT gone through provisioning
I: network state 0
E: Sending UART cmd st 0
I: BLE Device ID: 2f29
I: Current OTA Stage = 10
I: dfu_header_data.image_count: 2
E: Sending UART cmd st 0
I: BLE Name set: HU:2F29 errCode: 0
I: 15698 [SWU]SMP BLE advertising started
I: 15702 [DL]DFU over SMP started
I: IMG Integrity Verified Successfully: 0
I: IMG Integrity Verified Successfully: 1
I: Current OTA Stage = 16
I: OTA device_id = 5 : DISCOVERY_REQ
I: SECURE_STM : DISCOVERY_REQ
I: OTA device_id = 5 : FW_VERSION_REQ
I: Secure STM Firmware Version: 2 0 1 1
I: OTA device_id = 5 : FW_UPDATE_START_REQ
I: SECURE_STM : IB_FW_UPDATE_START_REQUEST
I: STM OTA Progress = 10
I: STM OTA Progress = 20
I: STM OTA Progress = 30
I: STM OTA Progress = 40
I: STM OTA Progress = 50
I: STM OTA Progress = 60
I: STM OTA Progress = 70
I: STM OTA Progress = 80
I: STM OTA Progress = 90
I: STM OTA Progress = 100
I: OTA device_id = 5 : FW_UPDATE_REBOOT_REQ
I: SECURE_STM : REBOOT_COMMAND
I: STM Rebooted, MCUBoot Verifying Image
I: OTA device_id = 5 : FW_VERSION_REQ
I: Secure STM Firmware Version: 2 0 1 2
I: OTA device_id = 5 : FW_UPDATE_COMPLETE_REQ
I: SECURE_STM : IB_FW_UPDATE_COMPLETE_REQUEST
I: OTA device_id = 5 : FW_UPDATE_REBOOT_REQ
I: SECURE_STM : REBOOT_COMMAND
I: STM Rebooted, MCUBoot Confirming Image
I: OTA device_id = 5 : FW_VERSION_REQ
I: Secure STM Firmware Version: 2 0 1 2
I: STM Secure OTA Successful
I: Clear STM OTA Meta Data
I: Current OTA Stage = 17
I: Redpine OTA started
I: Current OTA Stage = 18
I: OTA device_id = 4 : DISCOVERY_REQ
I: STM_QSPI : IB_DEVICE_DISCOVERY_REQUEST
I: OTA device_id = 4 : FW_VERSION_REQ
I: STM_QSPI : IB_FW_VERSION_REQUEST
I: Redpine Firmware Version: 2.1.255.191
I: OTA device_id = 4 : FW_UPDATE_START_REQ
I: STM_QSPI : IB_FW_UPDATE_START_REQUEST
I: Redpine Image Stored into STM QSPI, Progress = 10
I: Redpine Image Stored into STM QSPI, Progress = 20
I: Redpine Image Stored into STM QSPI, Progress = 30
I: Redpine Image Stored into STM QSPI, Progress = 40
I: Redpine Image Stored into STM QSPI, Progress = 50
I: Redpine Image Stored into STM QSPI, Progress = 60
I: Redpine Image Stored into STM QSPI, Progress = 70
I: Redpine Image Stored into STM QSPI, Progress = 80
I: Redpine Image Stored into STM QSPI, Progress = 90
I: Redpine Image Stored into STM QSPI, Progress = 100
I: OTA device_id = 4 : FW_UPDATE_COMPLETE_REQ
I: STM_QSPI : IB_FW_UPDATE_COMPLETE_REQUEST
I: STM_QSPI : STM QSPI to Redpine SPI Image Transfer Ongoing (0)
I: STM_QSPI : STM QSPI to Redpine SPI Image Transfer Ongoing (10)
I: STM_QSPI : STM QSPI to Redpine SPI Image Transfer Ongoing (20)
I: STM_QSPI : STM QSPI to Redpine SPI Image Transfer Ongoing (30)
I: STM_QSPI : STM QSPI to Redpine SPI Image Transfer Ongoing (40)
I: STM_QSPI : STM QSPI to Redpine SPI Image Transfer Ongoing (50)
I: STM_QSPI : STM QSPI to Redpine SPI Image Transfer Ongoing (60)
I: STM_QSPI : STM QSPI to Redpine SPI Image Transfer Ongoing (70)
I: STM_QSPI : STM QSPI to Redpine SPI Image Transfer Ongoing (80)
I: STM_QSPI : STM QSPI to Redpine SPI Image Transfer Ongoing (90)
I: STM_QSPI : STM QSPI to Redpine SPI Image Transfer Ongoing (100)
I: STM_QSPI : IB_FW_UPDATE_REBOOT_REQUEST
I: Clear Redpine OTA Meta Data
I: Current OTA Stage = 24
I: Start to Erase OTA Bundle Image from External Flash
I: Erasing bundle from nRF Ext. Flash
I: Bundle Image Erased from nRF Ext. Flash: 0
I: Current OTA Stage = 25
I: FW Ver: 0.3.1+0; version: 00030100
I: 598452 [DL]DFU-BLE-Connected
I: BLE Connected
Swap type: none
I: 598725 [DL]DFU-BLE-Disconnected : 19
E: Sending UART cmd st 0
I: BLE Name set: HU:2F29 errCode: 0
I: 598738 [SWU]SMP BLE advertising started
I: 598741 [DL]DFU over SMP started
I: BLE Disconnected: 13
I: 615853 [DL]DFU-BLE-Connected
I: BLE Connected
I: 616115 [DL]DFU Image upload started
I: Current OTA Stage = 11
I: 629341 [DL]Image 0 download completed successfully
I: 629381 [DL]DFU-BLE-Disconnected : 19
E: Sending UART cmd st 0
I: BLE Name set: HU:2F29 errCode: 0
I: 629393 [SWU]SMP BLE advertising started
I: 629397 [DL]DFU over SMP started
I: BLE Disconnected: 13
I: 680146 [DL]DFU-BLE-Connected
I: BLE Connected
Swap type: none
I: 680437 [DL]DFU Image upload started
I: Current OTA Stage = 12
I: 770133 [DL]Image 1 download completed successfully
I: 770169 [DL]DFU-BLE-Disconnected : 19
E: Sending UART cmd st 0
I: BLE Name set: HU:2F29 errCode: 0
I: 770182 [SWU]SMP BLE advertising started
I: 770186 [DL]DFU over SMP started
I: BLE Disconnected: 13
I: 806395 [DL]DFU-BLE-Connected
I: BLE Connected
I: 825222 [DL]DFU Image upload started
D: 900364 [DIS]Extended discovery timed out
I: 900370 [DIS]Updating services using commissioning mode 0
E: 900377 [DIS]Failed to remove advertised services: 3
E: 900384 [DIS]Failed to finalize service update: 3
I: Current OTA Stage = 13
I: 1066061 [DL]Image 2 download completed successfully
I: Current OTA Stage = 14
I: 1066093 [DL]DFU-BLE-Disconnected : 19
E: Sending UART cmd st 0
I: BLE Name set: HU:2F29 errCode: 0
I: 1066106 [SWU]SMP BLE advertising started
I: 1066110 [DL]DFU over SMP started
I: BLE Disconnected: 13
I: 1084984 [DL]DFU-BLE-Connected
I: BLE Connected
Swap type: none
Swap type: none
Swap type: none
I: 1085296 [DL]DFU-BLE-Disconnected : 19
E: Sending UART cmd st 0
I: BLE Name set: HU:2F29 errCode: 0
I: 1085309 [SWU]SMP BLE advertising started
I: 1085313 [DL]DFU over SMP started
I: BLE Disconnected: 13
I: 1104988 [DL]DFU-BLE-Connected
I: BLE Connected
Swap type: none
Swap type: none
Swap type: none
I: 1105306 [DL]DFU-BLE-Disconnected : 19
E: Sending UART cmd st 0
I: BLE Name set: HU:2F29 errCode: 0
I: 1105319 [SWU]SMP BLE advertising started
I: 1105323 [DL]DFU over SMP started
I: BLE Disconnected: 13
I: 1107898 [DL]DFU-BLE-Connected
I: BLE Connected
Swap type: none
Swap type: none
Swap type: none
I: 1108171 [DL]DFU-BLE-Disconnected : 19
E: Sending UART cmd st 0
I: BLE Name set: HU:2F29 errCode: 0
I: 1108184 [SWU]SMP BLE advertising started
I: 1108188 [DL]DFU over SMP started
I: BLE Disconnected: 13
I: 1127807 [DL]DFU-BLE-Connected
I: BLE Connected
I: 1128082 [DL]DFU Image upload started
I: Current OTA Stage = 11
I: 1141442 [DL]Image 0 download completed successfully
I: 1141471 [DL]DFU-BLE-Disconnected : 19
E: Sending UART cmd st 0
I: BLE Name set: HU:2F29 errCode: 0
I: 1141483 [SWU]SMP BLE advertising started
I: 1141487 [DL]DFU over SMP started
I: BLE Disconnected: 13
I: 1192414 [DL]DFU-BLE-Connected
I: BLE Connected
Swap type: none
I: 1192688 [DL]DFU Image upload started
I: Current OTA Stage = 12
I: 1282582 [DL]Image 1 download completed successfully
I: 1282608 [DL]DFU-BLE-Disconnected : 19
E: Sending UART cmd st 0
I: BLE Name set: HU:2F29 errCode: 0
I: 1282620 [SWU]SMP BLE advertising started
I: 1282624 [DL]DFU over SMP started
I: BLE Disconnected: 13
I: 1317353 [DL]DFU-BLE-Connected
I: BLE Connected
I: 1317649 [DL]DFU Image upload started
I: Current OTA Stage = 13
I: 1580288 [DL]Image 2 download completed successfully
I: Current OTA Stage = 14
I: 1580331 [DL]DFU-BLE-Disconnected : 19
E: Sending UART cmd st 0
I: BLE Name set: HU:2F29 errCode: 0
I: 1580344 [SWU]SMP BLE advertising started
I: 1580348 [DL]DFU over SMP started
I: BLE Disconnected: 13
I: 1599228 [DL]DFU-BLE-Connected
I: BLE Connected
Swap type: none
Swap type: none
Swap type: none
I: 1599527 [DL]DFU-BLE-Disconnected : 19
E: Sending UART cmd st 0
I: BLE Name set: HU:2F29 errCode: 0
I: 1599540 [SWU]SMP BLE advertising started
I: 1599544 [DL]DFU over SMP started
I: BLE Disconnected: 13
I: 1616442 [DL]DFU-BLE-Connected
I: BLE Connected
E: img_mgmt_find_by_hash Return i=1
E: a4 a4
E: 1d 1d
E: 1e 1e
E: a8 a8
E: b8 b8
E: 1d 1d
E: 72 72
E: 1b 1b
E: c0 c0
E: 13 13
E: cc cc
E: 3e 3e
E: d6 d6
E: e7 e7
E: 2f 2f
E: d4 d4
E: 4c 4c
E: 9 9
E: 25 25
E: 26 26
E: d1 d1
E: df df
E: b3 b3
E: 7b 7b
E: 1d 1d
E: f3 f3
E: b1 b1
E: db db
E: 4b 4b
E: 7c 7c
E: c3 c3
E: b4 b4
E: img_mgmt_find_by_hash slot = 1, confirm = 1
E: area_id = 2, active = 0
E: Success 1
E: Success 2
writing magic; fa_id=2 off=0xeeff0 (0xeeff0)
writing image_ok; fa_id=2 off=0xeefe8 (0xeefe8)
writing swap_info; fa_id=2 off=0xeefd8 (0xeefd8), swap_type=0x3 image_num=0x0
E: Success 3
E: *** rc = 0 ***
E: img_mgmt_set_boot_next rc = 0
Swap type: perm
Swap type: perm
Swap type: none
E: img_mgmt_state_read rc = 0
I: 1616822 [DL]DFU-BLE-Disconnected : 19
E: Sending UART cmd st 0
I: BLE Name set: HU:2F29 errCode: 0
I: 1616835 [SWU]SMP BLE advertising started
I: 1616839 [DL]DFU over SMP started
I: BLE Disconnected: 13
I: 1653783 [DL]DFU-BLE-Connected
I: BLE Connected
E: img_mgmt_find_by_hash Continue
E: img_mgmt_find_by_hash Return i=3
E: 9 9
E: 4 4
E: ba ba
E: 45 45
E: 18 18
E: a a
E: c3 c3
E: 6d 6d
E: 87 87
E: da da
E: c3 c3
E: ec ec
E: f2 f2
E: d d
E: 73 73
E: b1 b1
E: 9b 9b
E: f4 f4
E: 52 52
E: 8b 8b
E: 67 67
E: 23 23
E: 29 29
E: 47 47
E: 9 9
E: 40 40
E: 93 93
E: 98 98
E: d7 d7
E: 3b 3b
E: 9c 9c
E: 12 12
E: img_mgmt_find_by_hash slot = 3, confirm = 1
E: area_id = 8, active = 0
E: Success 1
E: Success 2
writing magic; fa_id=8 off=0x3fff0 (0x12eff0)
writing image_ok; fa_id=8 off=0x3ffe8 (0x12efe8)
writing swap_info; fa_id=8 off=0x3ffd8 (0x12efd8), swap_type=0x3 image_num=0x0
E: Success 3
E: *** rc = 0 ***
E: img_mgmt_set_boot_next rc = 0
Swap type: perm
Swap type: perm
Swap type: perm
E: img_mgmt_state_read rc = 0
I: 1654179 [DL]DFU-BLE-Disconnected : 19
E: Sending UART cmd st 0
I: BLE Name set: HU:2F29 errCode: 0
I: 1654192 [SWU]SMP BLE advertising started
I: 1654196 [DL]DFU over SMP started
I: BLE Disconnected: 13
I: 1687330 [DL]DFU-BLE-Connected
I: BLE Connected
in os_mgmt_reset
in os_mgmt_reset, Timer Register
I: 1687636 [DL]DFU-BLE-Disconnected : 19
E: Sending UART cmd st 0
I: BLE Name set: HU:2F29 errCode: 0
I: 1687649 [SWU]SMP BLE advertising started
I: 1687653 [DL]DFU over SMP started
I: BLE Disconnected: 13
in os_mgmt_reset_cb
os_mgmt_reset_work_handler: System Rebooted
*** Booting Zephyr OS build v3.3.99-ncs1-1 ***
Starting bootloader
Swap type: perm
Swap type: perm
writing magic; fa_id=4 off=0xeeff0 (0xf6ff0)
writing magic; fa_id=1 off=0x3fff0 (0x3fff0)
Bootloader chainload address offset: 0x8000
Jumping to the first image slot
Start Do_Boot


uart:~$ *** Booting Zephyr OS build v3.3.99-ncs1-1 ***
I: KWIKSET HALO 3 VERSION: 00.03.00.00
I: Init CHIP stack
I: 161 [DL]BLE address: E3:C8:4F:48:FE:BA
I: Board config kwiksetmdb_nrf5340_cpuapp
I: IMAGE_VERSION 0.3.0+0
I: build time: Nov 30 2023 11:09:14
E: ====    Matter FW Ver: 0.3.0    ====
I: 200 [DL]OpenThread SED interval is 1000ms
I: 207 [DL]OpenThread started: OK
I: 210 [DL]Setting OpenThread device type to SLEEPY END DEVICE
I: 218 [SWU]DFU_BLEAdvertising_Init 
Swap type: none
I: 225 [SVR]Subscription persistence not supported
I: 229 [SVR]Server initializing...
I: 234 [TS]Last Known Good Time: 2023-11-30T17:43:12
I: 240 [DMG]AccessControl: initializing
I: 244 [DMG]Examples::AccessControlDelegate::Init
I: 250 [DMG]AccessControl: setting
I: 253 [DMG]DefaultAclStorage: initializing
I: 258 [DMG]DefaultAclStorage: 0 entries loaded
D: 262 [IN]UDP::Init bind&amp;amp;listen port=5540
E: 267 [IN]SO_REUSEPORT failed: 109
D: 271 [IN]UDP::Init bound to port=5540
D: 275 [IN]BLEBase::Init - setting/overriding transport
D: 280 [IN]TransportMgr initialized
D: 288 [DL]Using Thread extended MAC for hostname.
I: 294 [ZCL]Using ZAP configuration...
I: 300 [DMG]AccessControlCluster: initializing
D: 305 [DL]Boot reason: 6
I: 308 [ZCL]Initiating Admin Commissioning cluster.
I: 314 [ZCL]Door Lock server initialized
I: 318 [ZCL]Door Lock cluster initialized at endpoint #1
I: 325 [DIS]Updating services using commissioning mode 0
E: 330 [DIS]Failed to remove advertised services: 3
D: 336 [DL]Using Thread extended MAC for hostname.
I: 341 [DIS]Advertise commission parameter vendorID=65521 productID=32774 discriminator=3840/15 cm=0
E: 350 [DIS]Failed to advertise extended commissionable node: 3
D: 357 [DIS]Scheduling extended discovery timeout in 900s
E: 364 [DIS]Failed to finalize service update: 3
I: 369 [DIS]Delaying proxy of operational discovery: missing delegate
I: 375 [IN]CASE Server enabling CASE session setups
D: 383 [IN]SecureSession[0x200049f0]: Allocated Type:2 LSID:15951
I: 388 [SVR]Joining Multicast groups
I: 393 [SVR]Server Listening...
I: 396 [DL]Device Configuration:
I: 400 [DL]  Serial Number: 11223344556677889900
I: 405 [DL]  Vendor Id: 65521 (0xFFF1)
I: 409 [DL]  Product Id: 32774 (0x8006)
I: 413 [DL]  Product Name: not-specified
I: 417 [DL]  Hardware Version: 0
I: 421 [DL]  Setup Pin Code (0 for UNKNOWN/ERROR): 20202021
I: 427 [DL]  Setup Discriminator (0xFFFF for UNKNOWN/ERROR): 3840 (0xF00)
I: 435 [DL]  Manufacturing Date: 2022-01-01
I: 440 [DL]  Device Type: 65535 (0xFFFF)
I: 443 [SVR]SetupQRCode: [MT:8IXS142C00KA0648G00]
I: 449 [SVR]Copy/paste the below URL in a browser to see the QR Code:
I: 456 [SVR]https://project-chip.github.io/connectedhomeip/qrcode.html?data=MT%3A8IXS142C00KA0648G00
I: 467 [SVR]Manual pairing code: [34970112332]
I: 476 [DL]CHIP task running
I: 480 [DIS]Updating services using commissioning mode 0
E: 485 [DIS]Failed to remove advertised services: 3
D: 491 [DL]Using Thread extended MAC for hostname.
I: 496 [DIS]Advertise commission parameter vendorID=65521 productID=32774 discriminator=3840/15 cm=0
E: 505 [DIS]Failed to advertise extended commissionable node: 3
E: 512 [DIS]Failed to finalize service update: 3
I: FW Ver: 0.3.0+0; version: 00030000
I: Device has NOT gone through provisioning
I: network state 0
E: Sending UART cmd st 0
I: BLE Device ID: 2f29
I: Current OTA Stage = 10
I: dfu_header_data.image_count: 2
E: Sending UART cmd st 0
I: BLE Name set: HU:2F29 errCode: 0
I: 15698 [SWU]SMP BLE advertising started
I: 15702 [DL]DFU over SMP started
I: IMG Integrity Verified Successfully: 0
I: IMG Integrity Verified Successfully: 1
I: Current OTA Stage = 16
I: OTA device_id = 5 : DISCOVERY_REQ
I: SECURE_STM : DISCOVERY_REQ
I: OTA device_id = 5 : FW_VERSION_REQ
I: Secure STM Firmware Version: 2 0 1 2
I: OTA device_id = 5 : FW_UPDATE_START_REQ
I: SECURE_STM : IB_FW_UPDATE_START_REQUEST
I: STM OTA Progress = 10
I: STM OTA Progress = 20
I: STM OTA Progress = 30
I: STM OTA Progress = 40
I: STM OTA Progress = 50
I: STM OTA Progress = 60
I: STM OTA Progress = 70
I: STM OTA Progress = 80
I: STM OTA Progress = 90
I: STM OTA Progress = 100
I: OTA device_id = 5 : FW_UPDATE_REBOOT_REQ
I: SECURE_STM : REBOOT_COMMAND
I: STM Rebooted, MCUBoot Verifying Image
I: OTA device_id = 5 : FW_VERSION_REQ
I: Secure STM Firmware Version: 2 0 1 1
I: OTA device_id = 5 : FW_UPDATE_COMPLETE_REQ
I: SECURE_STM : IB_FW_UPDATE_COMPLETE_REQUEST
I: OTA device_id = 5 : FW_UPDATE_REBOOT_REQ
I: SECURE_STM : REBOOT_COMMAND
I: STM Rebooted, MCUBoot Confirming Image
I: OTA device_id = 5 : FW_VERSION_REQ
I: Secure STM Firmware Version: 2 0 1 1
I: STM Secure OTA Successful
I: Clear STM OTA Meta Data
I: Current OTA Stage = 17
I: Redpine OTA started
I: Current OTA Stage = 18
I: OTA device_id = 4 : DISCOVERY_REQ
I: STM_QSPI : IB_DEVICE_DISCOVERY_REQUEST
I: OTA device_id = 4 : FW_VERSION_REQ
I: STM_QSPI : IB_FW_VERSION_REQUEST
I: Redpine Firmware Version: 2.1.255.191
I: OTA device_id = 4 : FW_UPDATE_START_REQ
I: STM_QSPI : IB_FW_UPDATE_START_REQUEST
I: Redpine Image Stored into STM QSPI, Progress = 10
I: Redpine Image Stored into STM QSPI, Progress = 20
I: Redpine Image Stored into STM QSPI, Progress = 30
I: Redpine Image Stored into STM QSPI, Progress = 40
I: Redpine Image Stored into STM QSPI, Progress = 50
I: Redpine Image Stored into STM QSPI, Progress = 60
I: Redpine Image Stored into STM QSPI, Progress = 70
I: Redpine Image Stored into STM QSPI, Progress = 80
I: Redpine Image Stored into STM QSPI, Progress = 90
I: Redpine Image Stored into STM QSPI, Progress = 100
I: OTA device_id = 4 : FW_UPDATE_COMPLETE_REQ
I: STM_QSPI : IB_FW_UPDATE_COMPLETE_REQUEST
I: STM_QSPI : STM QSPI to Redpine SPI Image Transfer Ongoing (0)
I: STM_QSPI : STM QSPI to Redpine SPI Image Transfer Ongoing (10)
I: STM_QSPI : STM QSPI to Redpine SPI Image Transfer Ongoing (20)
I: STM_QSPI : STM QSPI to Redpine SPI Image Transfer Ongoing (30)
I: STM_QSPI : STM QSPI to Redpine SPI Image Transfer Ongoing (40)
I: STM_QSPI : STM QSPI to Redpine SPI Image Transfer Ongoing (50)
I: STM_QSPI : STM QSPI to Redpine SPI Image Transfer Ongoing (60)
I: STM_QSPI : STM QSPI to Redpine SPI Image Transfer Ongoing (70)
I: STM_QSPI : STM QSPI to Redpine SPI Image Transfer Ongoing (80)
I: STM_QSPI : STM QSPI to Redpine SPI Image Transfer Ongoing (90)
I: STM_QSPI : STM QSPI to Redpine SPI Image Transfer Ongoing (100)
I: STM_QSPI : IB_FW_UPDATE_REBOOT_REQUEST
I: Clear Redpine OTA Meta Data
I: Current OTA Stage = 24
I: Start to Erase OTA Bundle Image from External Flash
I: Erasing bundle from nRF Ext. Flash
I: Bundle Image Erased from nRF Ext. Flash: 0
I: Current OTA Stage = 25
I: FW Ver: 0.3.0+0; version: 00030000
I: 597997 [DL]DFU-BLE-Connected
I: BLE Connected
Swap type: none
I: 598282 [DL]DFU-BLE-Disconnected : 19
E: Sending UART cmd st 0
I: BLE Name set: HU:2F29 errCode: 0
I: 598295 [SWU]SMP BLE advertising started
I: 598299 [DL]DFU over SMP started
I: BLE Disconnected: 13
I: 615415 [DL]DFU-BLE-Connected
I: BLE Connected
I: 615710 [DL]DFU Image upload started
I: Current OTA Stage = 11
I: 628853 [DL]Image 0 download completed successfully
I: 628882 [DL]DFU-BLE-Disconnected : 19
E: Sending UART cmd st 0
I: BLE Name set: HU:2F29 errCode: 0
I: 628895 [SWU]SMP BLE advertising started
I: 628899 [DL]DFU over SMP started
I: BLE Disconnected: 13
I: 679125 [DL]DFU-BLE-Connected
I: BLE Connected
Swap type: none
I: 679432 [DL]DFU Image upload started
I: Current OTA Stage = 12
I: 769184 [DL]Image 1 download completed successfully
I: 769209 [DL]DFU-BLE-Disconnected : 19
E: Sending UART cmd st 0
I: BLE Name set: HU:2F29 errCode: 0
I: 769222 [SWU]SMP BLE advertising started
I: 769226 [DL]DFU over SMP started
I: BLE Disconnected: 13
I: 803590 [DL]DFU-BLE-Connected
I: BLE Connected
I: 822430 [DL]DFU Image upload started
D: 900364 [DIS]Extended discovery timed out
I: 900370 [DIS]Updating services using commissioning mode 0
E: 900377 [DIS]Failed to remove advertised services: 3
E: 900384 [DIS]Failed to finalize service update: 3
I: Current OTA Stage = 13
I: 1064605 [DL]Image 2 download completed successfully
I: Current OTA Stage = 14
I: 1064638 [DL]DFU-BLE-Disconnected : 19
E: Sending UART cmd st 0
I: BLE Name set: HU:2F29 errCode: 0
I: 1064651 [SWU]SMP BLE advertising started
I: 1064654 [DL]DFU over SMP started
I: BLE Disconnected: 13
I: 1085095 [DL]DFU-BLE-Connected
I: BLE Connected
Swap type: none
Swap type: none
Swap type: none
I: 1085393 [DL]DFU-BLE-Disconnected : 19
E: Sending UART cmd st 0
I: BLE Name set: HU:2F29 errCode: 0
I: 1085406 [SWU]SMP BLE advertising started
I: 1085410 [DL]DFU over SMP started
I: BLE Disconnected: 13
I: 1101215 [DL]DFU-BLE-Connected
I: BLE Connected
E: img_mgmt_find_by_hash Return i=1
E: cb cb
E: 96 96
E: 29 29
E: f f
E: d9 d9
E: a a
E: b7 b7
E: b b
E: 3e 3e
E: a1 a1
E: 45 45
E: aa aa
E: 46 46
E: 56 56
E: 19 19
E: 5d 5d
E: be be
E: 6e 6e
E: 4b 4b
E: eb eb
E: 7c 7c
E: e0 e0
E: bf bf
E: f0 f0
E: f4 f4
E: b8 b8
E: 18 18
E: e8 e8
E: 92 92
E: 53 53
E: 2 2
E: 82 82
E: img_mgmt_find_by_hash slot = 1, confirm = 1
E: area_id = 2, active = 0
E: Success 1
E: Success 2
writing magic; fa_id=2 off=0xeeff0 (0xeeff0)
writing image_ok; fa_id=2 off=0xeefe8 (0xeefe8)
writing swap_info; fa_id=2 off=0xeefd8 (0xeefd8), swap_type=0x3 image_num=0x0
E: Success 3
E: *** rc = 0 ***
E: img_mgmt_set_boot_next rc = 0
Swap type: perm
Swap type: perm
Swap type: none
E: img_mgmt_state_read rc = 0
I: 1101571 [DL]DFU-BLE-Disconnected : 19
E: Sending UART cmd st 0
I: BLE Name set: HU:2F29 errCode: 0
I: 1101584 [SWU]SMP BLE advertising started
I: 1101587 [DL]DFU over SMP started
I: BLE Disconnected: 13
I: 1139343 [DL]DFU-BLE-Connected
I: BLE Connected
E: img_mgmt_find_by_hash Continue
E: img_mgmt_find_by_hash Return i=3
E: 19 19
E: 64 64
E: b b
E: b1 b1
E: 5e 5e
E: dc dc
E: e6 e6
E: 77 77
E: 8c 8c
E: ef ef
E: 69 69
E: 20 20
E: 5f 5f
E: ae ae
E: 54 54
E: 61 61
E: a3 a3
E: 99 99
E: ff ff
E: 7c 7c
E: 4d 4d
E: 65 65
E: f3 f3
E: 4c 4c
E: 53 53
E: 6c 6c
E: 37 37
E: 88 88
E: 2f 2f
E: e1 e1
E: 39 39
E: 7e 7e
E: img_mgmt_find_by_hash slot = 3, confirm = 1
E: area_id = 8, active = 0
E: Success 1
E: Success 2
writing magic; fa_id=8 off=0x3fff0 (0x12eff0)
writing image_ok; fa_id=8 off=0x3ffe8 (0x12efe8)
writing swap_info; fa_id=8 off=0x3ffd8 (0x12efd8), swap_type=0x3 image_num=0x0
E: Success 3
E: *** rc = 0 ***
E: img_mgmt_set_boot_next rc = 0
Swap type: perm
Swap type: perm
Swap type: perm
E: img_mgmt_state_read rc = 0
I: 1139730 [DL]DFU-BLE-Disconnected : 19
E: Sending UART cmd st 0
I: BLE Name set: HU:2F29 errCode: 0
I: 1139743 [SWU]SMP BLE advertising started
I: 1139748 [DL]DFU over SMP started
I: BLE Disconnected: 13
I: 1172395 [DL]DFU-BLE-Connected
I: BLE Connected
in os_mgmt_reset
in os_mgmt_reset, Timer Register
I: 1172670 [DL]DFU-BLE-Disconnected : 19
E: Sending UART cmd st 0
I: BLE Name set: HU:2F29 errCode: 0
I: 1172683 [SWU]SMP BLE advertising started
I: 1172687 [DL]DFU over SMP started
I: BLE Disconnected: 13
in os_mgmt_reset_cb
os_mgmt_reset_work_handler: System Rebooted
*** Booting Zephyr OS build v3.3.99-ncs1-1 ***
Starting bootloader
Swap type: perm
Swap type: perm
writing magic; fa_id=4 off=0xeeff0 (0xf6ff0)
writing magic; fa_id=1 off=0x3fff0 (0x3fff0)
Bootloader chainload address offset: 0x8000
Jumping to the first image slot
Start Do_Boot


uart:~$ *** Booting Zephyr OS build v3.3.99-ncs1-1 ***
I: KWIKSET HALO 3 VERSION: 00.03.01.00
I: Init CHIP stack
I: 161 [DL]BLE address: CC:0B:B1:39:C1:08
I: Board config kwiksetmdb_nrf5340_cpuapp
I: IMAGE_VERSION 0.3.1+0
I: build time: Nov 30 2023 17:44:53
E: ====    Matter FW Ver: 0.3.1    ====
I: 200 [DL]OpenThread SED interval is 1000ms
I: 207 [DL]OpenThread started: OK
I: 210 [DL]Setting OpenThread device type to SLEEPY END DEVICE
I: 218 [SWU]DFU_BLEAdvertising_Init 
Swap type: none
I: 225 [SVR]Subscription persistence not supported
I: 229 [SVR]Server initializing...
I: 234 [TS]Last Known Good Time: 2023-11-30T17:43:12
I: 240 [DMG]AccessControl: initializing
I: 244 [DMG]Examples::AccessControlDelegate::Init
I: 249 [DMG]AccessControl: setting
I: 253 [DMG]DefaultAclStorage: initializing
I: 257 [DMG]DefaultAclStorage: 0 entries loaded
D: 262 [IN]UDP::Init bind&amp;amp;listen port=5540
E: 267 [IN]SO_REUSEPORT failed: 109
D: 271 [IN]UDP::Init bound to port=5540
D: 275 [IN]BLEBase::Init - setting/overriding transport
D: 280 [IN]TransportMgr initialized
D: 288 [DL]Using Thread extended MAC for hostname.
I: 294 [ZCL]Using ZAP configuration...
I: 300 [DMG]AccessControlCluster: initializing
D: 305 [DL]Boot reason: 6
I: 308 [ZCL]Initiating Admin Commissioning cluster.
I: 313 [ZCL]Door Lock server initialized
I: 318 [ZCL]Door Lock cluster initialized at endpoint #1
I: 325 [DIS]Updating services using commissioning mode 0
E: 330 [DIS]Failed to remove advertised services: 3
D: 336 [DL]Using Thread extended MAC for hostname.
I: 341 [DIS]Advertise commission parameter vendorID=65521 productID=32774 discriminator=3840/15 cm=0
E: 350 [DIS]Failed to advertise extended commissionable node: 3
D: 357 [DIS]Scheduling extended discovery timeout in 900s
E: 364 [DIS]Failed to finalize service update: 3
I: 369 [DIS]Delaying proxy of operational discovery: missing delegate
I: 376 [IN]CASE Server enabling CASE session setups
D: 383 [IN]SecureSession[0x200049f0]: Allocated Type:2 LSID:56795
I: 388 [SVR]Joining Multicast groups
I: 393 [SVR]Server Listening...
I: 396 [DL]Device Configuration:
I: 400 [DL]  Serial Number: 11223344556677889900
I: 405 [DL]  Vendor Id: 65521 (0xFFF1)
I: 409 [DL]  Product Id: 32774 (0x8006)
I: 413 [DL]  Product Name: not-specified
I: 417 [DL]  Hardware Version: 0
I: 421 [DL]  Setup Pin Code (0 for UNKNOWN/ERROR): 20202021
I: 427 [DL]  Setup Discriminator (0xFFFF for UNKNOWN/ERROR): 3840 (0xF00)
I: 435 [DL]  Manufacturing Date: 2022-01-01
I: 439 [DL]  Device Type: 65535 (0xFFFF)
I: 444 [SVR]SetupQRCode: [MT:8IXS142C00KA0648G00]
I: 449 [SVR]Copy/paste the below URL in a browser to see the QR Code:
I: 455 [SVR]https://project-chip.github.io/connectedhomeip/qrcode.html?data=MT%3A8IXS142C00KA0648G00
I: 467 [SVR]Manual pairing code: [34970112332]
I: 476 [DL]CHIP task running
I: 480 [DIS]Updating services using commissioning mode 0
E: 485 [DIS]Failed to remove advertised services: 3
D: 491 [DL]Using Thread extended MAC for hostname.
I: 496 [DIS]Advertise commission parameter vendorID=65521 productID=32774 discriminator=3840/15 cm=0
E: 506 [DIS]Failed to advertise extended commissionable node: 3
E: 512 [DIS]Failed to finalize service update: 3
I: FW Ver: 0.3.1+0; version: 00030100
I: Device has NOT gone through provisioning
I: network state 0
E: Sending UART cmd st 0
I: BLE Device ID: 2f29
I: Current OTA Stage = 10
I: dfu_header_data.image_count: 2
E: Sending UART cmd st 0
I: BLE Name set: HU:2F29 errCode: 0
I: 15698 [SWU]SMP BLE advertising started
I: 15701 [DL]DFU over SMP started
I: IMG Integrity Verified Successfully: 0
I: IMG Integrity Verified Successfully: 1
I: Current OTA Stage = 16
I: OTA device_id = 5 : DISCOVERY_REQ
I: SECURE_STM : DISCOVERY_REQ
I: OTA device_id = 5 : FW_VERSION_REQ
I: Secure STM Firmware Version: 2 0 1 1
I: OTA device_id = 5 : FW_UPDATE_START_REQ
I: SECURE_STM : IB_FW_UPDATE_START_REQUEST
I: STM OTA Progress = 10
I: STM OTA Progress = 20
I: STM OTA Progress = 30
I: STM OTA Progress = 40
I: STM OTA Progress = 50
I: STM OTA Progress = 60
I: STM OTA Progress = 70
I: STM OTA Progress = 80
I: STM OTA Progress = 90
I: STM OTA Progress = 100
I: OTA device_id = 5 : FW_UPDATE_REBOOT_REQ
I: SECURE_STM : REBOOT_COMMAND
I: STM Rebooted, MCUBoot Verifying Image
I: OTA device_id = 5 : FW_VERSION_REQ
I: Secure STM Firmware Version: 2 0 1 2
I: OTA device_id = 5 : FW_UPDATE_COMPLETE_REQ
I: SECURE_STM : IB_FW_UPDATE_COMPLETE_REQUEST
I: OTA device_id = 5 : FW_UPDATE_REBOOT_REQ
I: SECURE_STM : REBOOT_COMMAND
I: STM Rebooted, MCUBoot Confirming Image
I: OTA device_id = 5 : FW_VERSION_REQ
I: Secure STM Firmware Version: 2 0 1 2
I: STM Secure OTA Successful
I: Clear STM OTA Meta Data
I: Current OTA Stage = 17
I: Redpine OTA started
I: Current OTA Stage = 18
I: OTA device_id = 4 : DISCOVERY_REQ
I: STM_QSPI : IB_DEVICE_DISCOVERY_REQUEST
I: OTA device_id = 4 : FW_VERSION_REQ
I: STM_QSPI : IB_FW_VERSION_REQUEST
I: Redpine Firmware Version: 2.1.255.191
I: OTA device_id = 4 : FW_UPDATE_START_REQ
I: STM_QSPI : IB_FW_UPDATE_START_REQUEST
I: Redpine Image Stored into STM QSPI, Progress = 10
I: Redpine Image Stored into STM QSPI, Progress = 20
I: Redpine Image Stored into STM QSPI, Progress = 30
I: Redpine Image Stored into STM QSPI, Progress = 40
I: Redpine Image Stored into STM QSPI, Progress = 50
I: Redpine Image Stored into STM QSPI, Progress = 60
I: Redpine Image Stored into STM QSPI, Progress = 70
I: Redpine Image Stored into STM QSPI, Progress = 80
I: Redpine Image Stored into STM QSPI, Progress = 90
I: Redpine Image Stored into STM QSPI, Progress = 100
I: OTA device_id = 4 : FW_UPDATE_COMPLETE_REQ
I: STM_QSPI : IB_FW_UPDATE_COMPLETE_REQUEST
I: STM_QSPI : STM QSPI to Redpine SPI Image Transfer Ongoing (0)
I: STM_QSPI : STM QSPI to Redpine SPI Image Transfer Ongoing (10)
I: STM_QSPI : STM QSPI to Redpine SPI Image Transfer Ongoing (20)
I: STM_QSPI : STM QSPI to Redpine SPI Image Transfer Ongoing (30)
I: STM_QSPI : STM QSPI to Redpine SPI Image Transfer Ongoing (40)
I: STM_QSPI : STM QSPI to Redpine SPI Image Transfer Ongoing (50)
I: STM_QSPI : STM QSPI to Redpine SPI Image Transfer Ongoing (60)
I: STM_QSPI : STM QSPI to Redpine SPI Image Transfer Ongoing (70)
I: STM_QSPI : STM QSPI to Redpine SPI Image Transfer Ongoing (80)
I: STM_QSPI : STM QSPI to Redpine SPI Image Transfer Ongoing (90)
I: STM_QSPI : STM QSPI to Redpine SPI Image Transfer Ongoing (100)
I: STM_QSPI : IB_FW_UPDATE_REBOOT_REQUEST
I: Clear Redpine OTA Meta Data
I: Current OTA Stage = 24
I: Start to Erase OTA Bundle Image from External Flash
I: Erasing bundle from nRF Ext. Flash
I: Bundle Image Erased from nRF Ext. Flash: 0
I: Current OTA Stage = 25
I: FW Ver: 0.3.1+0; version: 00030100
I: 598505 [DL]DFU-BLE-Connected
I: BLE Connected
Swap type: none
I: 598781 [DL]DFU-BLE-Disconnected : 19
E: Sending UART cmd st 0
I: BLE Name set: HU:2F29 errCode: 0
I: 598793 [SWU]SMP BLE advertising started
I: 598797 [DL]DFU over SMP started
I: BLE Disconnected: 13
I: 616404 [DL]DFU-BLE-Connected
I: BLE Connected
I: 616681 [DL]DFU Image upload started
I: Current OTA Stage = 11
I: 629877 [DL]Image 0 download completed successfully
I: 629905 [DL]DFU-BLE-Disconnected : 19
E: Sending UART cmd st 0
I: BLE Name set: HU:2F29 errCode: 0
I: 629918 [SWU]SMP BLE advertising started
I: 629922 [DL]DFU over SMP started
I: BLE Disconnected: 13
I: 679699 [DL]DFU-BLE-Connected
I: BLE Connected
Swap type: none
I: 679998 [DL]DFU Image upload started
I: Current OTA Stage = 12
I: 769577 [DL]Image 1 download completed successfully
I: 769602 [DL]DFU-BLE-Disconnected : 19
E: Sending UART cmd st 0
I: BLE Name set: HU:2F29 errCode: 0
I: 769615 [SWU]SMP BLE advertising started
I: 769619 [DL]DFU over SMP started
I: BLE Disconnected: 13
I: 803825 [DL]DFU-BLE-Connected
I: BLE Connected
I: 822686 [DL]DFU Image upload started
D: 900363 [DIS]Extended discovery timed out
I: 900370 [DIS]Updating services using commissioning mode 0
E: 900377 [DIS]Failed to remove advertised services: 3
E: 900384 [DIS]Failed to finalize service update: 3
I: Current OTA Stage = 13
I: 1065066 [DL]Image 2 download completed successfully
I: Current OTA Stage = 14
I: 1065099 [DL]DFU-BLE-Disconnected : 19
E: Sending UART cmd st 0
I: BLE Name set: HU:2F29 errCode: 0
I: 1065111 [SWU]SMP BLE advertising started
I: 1065115 [DL]DFU over SMP started
I: BLE Disconnected: 13
I: 1085825 [DL]DFU-BLE-Connected
I: BLE Connected
Swap type: none
Swap type: none
Swap type: none
I: 1086139 [DL]DFU-BLE-Disconnected : 19
E: Sending UART cmd st 0
I: BLE Name set: HU:2F29 errCode: 0
I: 1086152 [SWU]SMP BLE advertising started
I: 1086156 [DL]DFU over SMP started
I: BLE Disconnected: 13
I: 1101973 [DL]DFU-BLE-Connected
I: BLE Connected
E: img_mgmt_find_by_hash Return i=1
E: a4 a4
E: 1d 1d
E: 1e 1e
E: a8 a8
E: b8 b8
E: 1d 1d
E: 72 72
E: 1b 1b
E: c0 c0
E: 13 13
E: cc cc
E: 3e 3e
E: d6 d6
E: e7 e7
E: 2f 2f
E: d4 d4
E: 4c 4c
E: 9 9
E: 25 25
E: 26 26
E: d1 d1
E: df df
E: b3 b3
E: 7b 7b
E: 1d 1d
E: f3 f3
E: b1 b1
E: db db
E: 4b 4b
E: 7c 7c
E: c3 c3
E: b4 b4
E: img_mgmt_find_by_hash slot = 1, confirm = 1
E: area_id = 2, active = 0
E: Success 1
E: Success 2
writing magic; fa_id=2 off=0xeeff0 (0xeeff0)
writing image_ok; fa_id=2 off=0xeefe8 (0xeefe8)
writing swap_info; fa_id=2 off=0xeefd8 (0xeefd8), swap_type=0x3 image_num=0x0
E: Success 3
E: *** rc = 0 ***
E: img_mgmt_set_boot_next rc = 0
Swap type: perm
Swap type: perm
Swap type: none
E: img_mgmt_state_read rc = 0
I: 1102339 [DL]DFU-BLE-Disconnected : 19
E: Sending UART cmd st 0
I: BLE Name set: HU:2F29 errCode: 0
I: 1102352 [SWU]SMP BLE advertising started
I: 1102356 [DL]DFU over SMP started
I: BLE Disconnected: 13
I: 1140353 [DL]DFU-BLE-Connected
I: BLE Connected
E: img_mgmt_find_by_hash Continue
E: img_mgmt_find_by_hash Return i=3
E: 9 9
E: 4 4
E: ba ba
E: 45 45
E: 18 18
E: a a
E: c3 c3
E: 6d 6d
E: 87 87
E: da da
E: c3 c3
E: ec ec
E: f2 f2
E: d d
E: 73 73
E: b1 b1
E: 9b 9b
E: f4 f4
E: 52 52
E: 8b 8b
E: 67 67
E: 23 23
E: 29 29
E: 47 47
E: 9 9
E: 40 40
E: 93 93
E: 98 98
E: d7 d7
E: 3b 3b
E: 9c 9c
E: 12 12
E: img_mgmt_find_by_hash slot = 3, confirm = 1
E: area_id = 8, active = 0
E: Success 1
E: Success 2
writing magic; fa_id=8 off=0x3fff0 (0x12eff0)
writing image_ok; fa_id=8 off=0x3ffe8 (0x12efe8)
writing swap_info; fa_id=8 off=0x3ffd8 (0x12efd8), swap_type=0x3 image_num=0x0
E: Success 3
E: *** rc = 0 ***
E: img_mgmt_set_boot_next rc = 0
Swap type: perm
Swap type: perm
Swap type: perm
E: img_mgmt_state_read rc = 0
I: 1140716 [DL]DFU-BLE-Disconnected : 19
E: Sending UART cmd st 0
I: BLE Name set: HU:2F29 errCode: 0
I: 1140729 [SWU]SMP BLE advertising started
I: 1140734 [DL]DFU over SMP started
I: BLE Disconnected: 13
I: 1173608 [DL]DFU-BLE-Connected
I: BLE Connected
in os_mgmt_reset
in os_mgmt_reset, Timer Register
I: 1173896 [DL]DFU-BLE-Disconnected : 19
E: Sending UART cmd st 0
I: BLE Name set: HU:2F29 errCode: 0
I: 1173909 [SWU]SMP BLE advertising started
I: 1173913 [DL]DFU over SMP started
I: BLE Disconnected: 13
in os_mgmt_reset_cb
os_mgmt_reset_work_handler: System Rebooted
*** Booting Zephyr OS build v3.3.99-ncs1-1 ***
Starting bootloader
Swap type: perm
Swap type: perm
writing magic; fa_id=4 off=0xeeff0 (0xf6ff0)
writing magic; fa_id=1 off=0x3fff0 (0x3fff0)
Bootloader chainload address offset: 0x8000
Jumping to the first image slot
Start Do_Boot


uart:~$ *** Booting Zephyr OS build v3.3.99-ncs1-1 ***
I: KWIKSET HALO 3 VERSION: 00.03.00.00
I: Init CHIP stack
I: 161 [DL]BLE address: D0:8D:55:A3:52:B3
I: Board config kwiksetmdb_nrf5340_cpuapp
I: IMAGE_VERSION 0.3.0+0
I: build time: Nov 30 2023 11:09:14
E: ====    Matter FW Ver: 0.3.0    ====
I: 200 [DL]OpenThread SED interval is 1000ms
I: 207 [DL]OpenThread started: OK
I: 210 [DL]Setting OpenThread device type to SLEEPY END DEVICE
I: 218 [SWU]DFU_BLEAdvertising_Init 
Swap type: none
I: 225 [SVR]Subscription persistence not supported
I: 229 [SVR]Server initializing...
I: 234 [TS]Last Known Good Time: 2023-11-30T17:43:12
I: 240 [DMG]AccessControl: initializing
I: 244 [DMG]Examples::AccessControlDelegate::Init
I: 250 [DMG]AccessControl: setting
I: 253 [DMG]DefaultAclStorage: initializing
I: 257 [DMG]DefaultAclStorage: 0 entries loaded
D: 262 [IN]UDP::Init bind&amp;amp;listen port=5540
E: 267 [IN]SO_REUSEPORT failed: 109
D: 271 [IN]UDP::Init bound to port=5540
D: 275 [IN]BLEBase::Init - setting/overriding transport
D: 280 [IN]TransportMgr initialized
D: 288 [DL]Using Thread extended MAC for hostname.
I: 294 [ZCL]Using ZAP configuration...
I: 300 [DMG]AccessControlCluster: initializing
D: 305 [DL]Boot reason: 6
I: 308 [ZCL]Initiating Admin Commissioning cluster.
I: 313 [ZCL]Door Lock server initialized
I: 318 [ZCL]Door Lock cluster initialized at endpoint #1
I: 325 [DIS]Updating services using commissioning mode 0
E: 330 [DIS]Failed to remove advertised services: 3
D: 336 [DL]Using Thread extended MAC for hostname.
I: 341 [DIS]Advertise commission parameter vendorID=65521 productID=32774 discriminator=3840/15 cm=0
E: 350 [DIS]Failed to advertise extended commissionable node: 3
D: 358 [DIS]Scheduling extended discovery timeout in 900s
E: 364 [DIS]Failed to finalize service update: 3
I: 369 [DIS]Delaying proxy of operational discovery: missing delegate
I: 376 [IN]CASE Server enabling CASE session setups
D: 383 [IN]SecureSession[0x200049f0]: Allocated Type:2 LSID:56766
I: 389 [SVR]Joining Multicast groups
I: 394 [SVR]Server Listening...
I: 396 [DL]Device Configuration:
I: 400 [DL]  Serial Number: 11223344556677889900
I: 405 [DL]  Vendor Id: 65521 (0xFFF1)
I: 409 [DL]  Product Id: 32774 (0x8006)
I: 413 [DL]  Product Name: not-specified
I: 417 [DL]  Hardware Version: 0
I: 421 [DL]  Setup Pin Code (0 for UNKNOWN/ERROR): 20202021
I: 427 [DL]  Setup Discriminator (0xFFFF for UNKNOWN/ERROR): 3840 (0xF00)
I: 435 [DL]  Manufacturing Date: 2022-01-01
I: 440 [DL]  Device Type: 65535 (0xFFFF)
I: 444 [SVR]SetupQRCode: [MT:8IXS142C00KA0648G00]
I: 449 [SVR]Copy/paste the below URL in a browser to see the QR Code:
I: 457 [SVR]https://project-chip.github.io/connectedhomeip/qrcode.html?data=MT%3A8IXS142C00KA0648G00
I: 467 [SVR]Manual pairing code: [34970112332]
I: 476 [DL]CHIP task running
I: 480 [DIS]Updating services using commissioning mode 0
E: 485 [DIS]Failed to remove advertised services: 3
D: 491 [DL]Using Thread extended MAC for hostname.
I: 496 [DIS]Advertise commission parameter vendorID=65521 productID=32774 discriminator=3840/15 cm=0
E: 507 [DIS]Failed to advertise extended commissionable node: 3
E: 513 [DIS]Failed to finalize service update: 3
I: FW Ver: 0.3.0+0; version: 00030000
I: Device has NOT gone through provisioning
I: network state 0
E: Sending UART cmd st 0
I: BLE Device ID: 2f29
I: Current OTA Stage = 10
I: dfu_header_data.image_count: 2
E: Sending UART cmd st 0
I: BLE Name set: HU:2F29 errCode: 0
I: 15697 [SWU]SMP BLE advertising started
I: 15701 [DL]DFU over SMP started
I: IMG Integrity Verified Successfully: 0
I: IMG Integrity Verified Successfully: 1
I: Current OTA Stage = 16
I: OTA device_id = 5 : DISCOVERY_REQ
I: SECURE_STM : DISCOVERY_REQ
I: OTA device_id = 5 : FW_VERSION_REQ
I: Secure STM Firmware Version: 2 0 1 2
I: OTA device_id = 5 : FW_UPDATE_START_REQ
I: SECURE_STM : IB_FW_UPDATE_START_REQUEST
I: STM OTA Progress = 10
I: STM OTA Progress = 20
I: STM OTA Progress = 30
I: STM OTA Progress = 40
I: STM OTA Progress = 50
I: STM OTA Progress = 60
I: STM OTA Progress = 70
I: STM OTA Progress = 80
I: STM OTA Progress = 90
I: STM OTA Progress = 100
I: OTA device_id = 5 : FW_UPDATE_REBOOT_REQ
I: SECURE_STM : REBOOT_COMMAND
I: STM Rebooted, MCUBoot Verifying Image
I: OTA device_id = 5 : FW_VERSION_REQ
I: Secure STM Firmware Version: 2 0 1 1
I: OTA device_id = 5 : FW_UPDATE_COMPLETE_REQ
I: SECURE_STM : IB_FW_UPDATE_COMPLETE_REQUEST
I: OTA device_id = 5 : FW_UPDATE_REBOOT_REQ
I: SECURE_STM : REBOOT_COMMAND
I: STM Rebooted, MCUBoot Confirming Image
I: OTA device_id = 5 : FW_VERSION_REQ
I: Secure STM Firmware Version: 2 0 1 1
I: STM Secure OTA Successful
I: Clear STM OTA Meta Data
I: Current OTA Stage = 17
I: Redpine OTA started
I: Current OTA Stage = 18
I: OTA device_id = 4 : DISCOVERY_REQ
I: STM_QSPI : IB_DEVICE_DISCOVERY_REQUEST
I: OTA device_id = 4 : FW_VERSION_REQ
I: STM_QSPI : IB_FW_VERSION_REQUEST
I: Redpine Firmware Version: 2.1.255.191
I: OTA device_id = 4 : FW_UPDATE_START_REQ
I: STM_QSPI : IB_FW_UPDATE_START_REQUEST
I: Redpine Image Stored into STM QSPI, Progress = 10
I: Redpine Image Stored into STM QSPI, Progress = 20
I: Redpine Image Stored into STM QSPI, Progress = 30
I: Redpine Image Stored into STM QSPI, Progress = 40
I: Redpine Image Stored into STM QSPI, Progress = 50
I: Redpine Image Stored into STM QSPI, Progress = 60
I: Redpine Image Stored into STM QSPI, Progress = 70
I: Redpine Image Stored into STM QSPI, Progress = 80
I: Redpine Image Stored into STM QSPI, Progress = 90
I: Redpine Image Stored into STM QSPI, Progress = 100
I: OTA device_id = 4 : FW_UPDATE_COMPLETE_REQ
I: STM_QSPI : IB_FW_UPDATE_COMPLETE_REQUEST
I: STM_QSPI : STM QSPI to Redpine SPI Image Transfer Ongoing (0)
I: STM_QSPI : STM QSPI to Redpine SPI Image Transfer Ongoing (10)
I: STM_QSPI : STM QSPI to Redpine SPI Image Transfer Ongoing (20)
I: STM_QSPI : STM QSPI to Redpine SPI Image Transfer Ongoing (30)
I: STM_QSPI : STM QSPI to Redpine SPI Image Transfer Ongoing (40)
I: STM_QSPI : STM QSPI to Redpine SPI Image Transfer Ongoing (50)
I: STM_QSPI : STM QSPI to Redpine SPI Image Transfer Ongoing (60)
I: STM_QSPI : STM QSPI to Redpine SPI Image Transfer Ongoing (70)
I: STM_QSPI : STM QSPI to Redpine SPI Image Transfer Ongoing (80)
I: STM_QSPI : STM QSPI to Redpine SPI Image Transfer Ongoing (90)
I: STM_QSPI : STM QSPI to Redpine SPI Image Transfer Ongoing (100)
I: STM_QSPI : IB_FW_UPDATE_REBOOT_REQUEST
I: Clear Redpine OTA Meta Data
I: Current OTA Stage = 24
I: Start to Erase OTA Bundle Image from External Flash
I: Erasing bundle from nRF Ext. Flash
I: Bundle Image Erased from nRF Ext. Flash: 0
I: Current OTA Stage = 25
I: FW Ver: 0.3.0+0; version: 00030000
I: 599272 [DL]DFU-BLE-Connected
I: BLE Connected
Swap type: none
I: 599578 [DL]DFU-BLE-Disconnected : 19
E: Sending UART cmd st 0
I: BLE Name set: HU:2F29 errCode: 0
I: 599591 [SWU]SMP BLE advertising started
I: 599595 [DL]DFU over SMP started
I: BLE Disconnected: 13
I: 616491 [DL]DFU-BLE-Connected
I: BLE Connected
I: 616789 [DL]DFU Image upload started
I: Current OTA Stage = 11
I: 629988 [DL]Image 0 download completed successfully
I: 630017 [DL]DFU-BLE-Disconnected : 19
E: Sending UART cmd st 0
I: BLE Name set: HU:2F29 errCode: 0
I: 630030 [SWU]SMP BLE advertising started
I: 630033 [DL]DFU over SMP started
I: BLE Disconnected: 13
I: 679327 [DL]DFU-BLE-Connected
I: BLE Connected
Swap type: none
I: 679618 [DL]DFU Image upload started
I: Current OTA Stage = 12
I: 768834 [DL]Image 1 download completed successfully
I: 768870 [DL]DFU-BLE-Disconnected : 19
E: Sending UART cmd st 0
I: BLE Name set: HU:2F29 errCode: 0
I: 768883 [SWU]SMP BLE advertising started
I: 768886 [DL]DFU over SMP started
I: BLE Disconnected: 13
I: 804886 [DL]DFU-BLE-Connected
I: BLE Connected
I: 823750 [DL]DFU Image upload started
D: 900364 [DIS]Extended discovery timed out
I: 900370 [DIS]Updating services using commissioning mode 0
E: 900378 [DIS]Failed to remove advertised services: 3
E: 900384 [DIS]Failed to finalize service update: 3
I: Current OTA Stage = 13
I: 1063186 [DL]Image 2 download completed successfully
I: Current OTA Stage = 14
I: 1063219 [DL]DFU-BLE-Disconnected : 19
E: Sending UART cmd st 0
I: BLE Name set: HU:2F29 errCode: 0
I: 1063232 [SWU]SMP BLE advertising started
I: 1063236 [DL]DFU over SMP started
I: BLE Disconnected: 13
I: 1082095 [DL]DFU-BLE-Connected
I: BLE Connected
Swap type: none
Swap type: none
Swap type: none
I: 1082400 [DL]DFU-BLE-Disconnected : 19
E: Sending UART cmd st 0
I: BLE Name set: HU:2F29 errCode: 0
I: 1082412 [SWU]SMP BLE advertising started
I: 1082416 [DL]DFU over SMP started
I: BLE Disconnected: 13
I: 1099006 [DL]DFU-BLE-Connected
I: BLE Connected
E: img_mgmt_find_by_hash Return i=1
E: cb cb
E: 96 96
E: 29 29
E: f f
E: d9 d9
E: a a
E: b7 b7
E: b b
E: 3e 3e
E: a1 a1
E: 45 45
E: aa aa
E: 46 46
E: 56 56
E: 19 19
E: 5d 5d
E: be be
E: 6e 6e
E: 4b 4b
E: eb eb
E: 7c 7c
E: e0 e0
E: bf bf
E: f0 f0
E: f4 f4
E: b8 b8
E: 18 18
E: e8 e8
E: 92 92
E: 53 53
E: 2 2
E: 82 82
E: img_mgmt_find_by_hash slot = 1, confirm = 1
E: area_id = 2, active = 0
E: Success 1
E: Success 2
writing magic; fa_id=2 off=0xeeff0 (0xeeff0)
writing image_ok; fa_id=2 off=0xeefe8 (0xeefe8)
writing swap_info; fa_id=2 off=0xeefd8 (0xeefd8), swap_type=0x3 image_num=0x0
E: Success 3
E: *** rc = 0 ***
E: img_mgmt_set_boot_next rc = 0
Swap type: perm
Swap type: perm
Swap type: none
E: img_mgmt_state_read rc = 0
I: 1099379 [DL]DFU-BLE-Disconnected : 19
E: Sending UART cmd st 0
I: BLE Name set: HU:2F29 errCode: 0
I: 1099392 [SWU]SMP BLE advertising started
I: 1099396 [DL]DFU over SMP started
I: BLE Disconnected: 13
I: 1136637 [DL]DFU-BLE-Connected
I: BLE Connected
E: img_mgmt_find_by_hash Continue
E: img_mgmt_find_by_hash Return i=3
E: 19 19
E: 64 64
E: b b
E: b1 b1
E: 5e 5e
E: dc dc
E: e6 e6
E: 77 77
E: 8c 8c
E: ef ef
E: 69 69
E: 20 20
E: 5f 5f
E: ae ae
E: 54 54
E: 61 61
E: a3 a3
E: 99 99
E: ff ff
E: 7c 7c
E: 4d 4d
E: 65 65
E: f3 f3
E: 4c 4c
E: 53 53
E: 6c 6c
E: 37 37
E: 88 88
E: 2f 2f
E: e1 e1
E: 39 39
E: 7e 7e
E: img_mgmt_find_by_hash slot = 3, confirm = 1
E: area_id = 8, active = 0
E: Success 1
E: Success 2
writing magic; fa_id=8 off=0x3fff0 (0x12eff0)
writing image_ok; fa_id=8 off=0x3ffe8 (0x12efe8)
writing swap_info; fa_id=8 off=0x3ffd8 (0x12efd8), swap_type=0x3 image_num=0x0
E: Success 3
E: *** rc = 0 ***
E: img_mgmt_set_boot_next rc = 0
Swap type: perm
Swap type: perm
Swap type: perm
E: img_mgmt_state_read rc = 0
I: 1137006 [DL]DFU-BLE-Disconnected : 19
E: Sending UART cmd st 0
I: BLE Name set: HU:2F29 errCode: 0
I: 1137019 [SWU]SMP BLE advertising started
I: 1137023 [DL]DFU over SMP started
I: BLE Disconnected: 13
I: 1169910 [DL]DFU-BLE-Connected
I: BLE Connected
in os_mgmt_reset
in os_mgmt_reset, Timer Register
I: 1170194 [DL]DFU-BLE-Disconnected : 19
E: Sending UART cmd st 0
I: BLE Name set: HU:2F29 errCode: 0
I: 1170206 [SWU]SMP BLE advertising started
I: 1170210 [DL]DFU over SMP started
I: BLE Disconnected: 13
in os_mgmt_reset_cb
os_mgmt_reset_work_handler: System Rebooted
*** Booting Zephyr OS build v3.3.99-ncs1-1 ***
Starting bootloader
Swap type: perm
Swap type: perm
writing magic; fa_id=4 off=0xeeff0 (0xf6ff0)
writing magic; fa_id=1 off=0x3fff0 (0x3fff0)
Bootloader chainload address offset: 0x8000
Jumping to the first image slot
Start Do_Boot


uart:~$ *** Booting Zephyr OS build v3.3.99-ncs1-1 ***
I: KWIKSET HALO 3 VERSION: 00.03.01.00
I: Init CHIP stack
I: 161 [DL]BLE address: D6:EA:0F:BD:02:AB
I: Board config kwiksetmdb_nrf5340_cpuapp
I: IMAGE_VERSION 0.3.1+0
I: build time: Nov 30 2023 17:44:53
E: ====    Matter FW Ver: 0.3.1    ====
I: 200 [DL]OpenThread SED interval is 1000ms
I: 207 [DL]OpenThread started: OK
I: 210 [DL]Setting OpenThread device type to SLEEPY END DEVICE
I: 218 [SWU]DFU_BLEAdvertising_Init 
Swap type: none
I: 225 [SVR]Subscription persistence not supported
I: 229 [SVR]Server initializing...
I: 234 [TS]Last Known Good Time: 2023-11-30T17:43:12
I: 240 [DMG]AccessControl: initializing
I: 244 [DMG]Examples::AccessControlDelegate::Init
I: 250 [DMG]AccessControl: setting
I: 253 [DMG]DefaultAclStorage: initializing
I: 257 [DMG]DefaultAclStorage: 0 entries loaded
D: 262 [IN]UDP::Init bind&amp;amp;listen port=5540
E: 267 [IN]SO_REUSEPORT failed: 109
D: 271 [IN]UDP::Init bound to port=5540
D: 275 [IN]BLEBase::Init - setting/overriding transport
D: 280 [IN]TransportMgr initialized
D: 288 [DL]Using Thread extended MAC for hostname.
I: 294 [ZCL]Using ZAP configuration...
I: 300 [DMG]AccessControlCluster: initializing
D: 305 [DL]Boot reason: 6
I: 308 [ZCL]Initiating Admin Commissioning cluster.
I: 313 [ZCL]Door Lock server initialized
I: 318 [ZCL]Door Lock cluster initialized at endpoint #1
I: 325 [DIS]Updating services using commissioning mode 0
E: 330 [DIS]Failed to remove advertised services: 3
D: 336 [DL]Using Thread extended MAC for hostname.
I: 341 [DIS]Advertise commission parameter vendorID=65521 productID=32774 discriminator=3840/15 cm=0
E: 350 [DIS]Failed to advertise extended commissionable node: 3
D: 357 [DIS]Scheduling extended discovery timeout in 900s
E: 364 [DIS]Failed to finalize service update: 3
I: 369 [DIS]Delaying proxy of operational discovery: missing delegate
I: 375 [IN]CASE Server enabling CASE session setups
D: 383 [IN]SecureSession[0x200049f0]: Allocated Type:2 LSID:10772
I: 388 [SVR]Joining Multicast groups
I: 393 [SVR]Server Listening...
I: 396 [DL]Device Configuration:
I: 400 [DL]  Serial Number: 11223344556677889900
I: 405 [DL]  Vendor Id: 65521 (0xFFF1)
I: 409 [DL]  Product Id: 32774 (0x8006)
I: 413 [DL]  Product Name: not-specified
I: 417 [DL]  Hardware Version: 0
I: 421 [DL]  Setup Pin Code (0 for UNKNOWN/ERROR): 20202021
I: 427 [DL]  Setup Discriminator (0xFFFF for UNKNOWN/ERROR): 3840 (0xF00)
I: 435 [DL]  Manufacturing Date: 2022-01-01
I: 439 [DL]  Device Type: 65535 (0xFFFF)
I: 444 [SVR]SetupQRCode: [MT:8IXS142C00KA0648G00]
I: 449 [SVR]Copy/paste the below URL in a browser to see the QR Code:
I: 456 [SVR]https://project-chip.github.io/connectedhomeip/qrcode.html?data=MT%3A8IXS142C00KA0648G00
I: 467 [SVR]Manual pairing code: [34970112332]
I: 476 [DL]CHIP task running
I: 480 [DIS]Updating services using commissioning mode 0
E: 485 [DIS]Failed to remove advertised services: 3
D: 491 [DL]Using Thread extended MAC for hostname.
I: 496 [DIS]Advertise commission parameter vendorID=65521 productID=32774 discriminator=3840/15 cm=0
E: 505 [DIS]Failed to advertise extended commissionable node: 3
E: 512 [DIS]Failed to finalize service update: 3
I: FW Ver: 0.3.1+0; version: 00030100
I: Device has NOT gone through provisioning
I: network state 0
E: Sending UART cmd st 0
I: BLE Device ID: 2f29
I: Current OTA Stage = 10
I: dfu_header_data.image_count: 2
E: Sending UART cmd st 0
I: BLE Name set: HU:2F29 errCode: 0
I: 15703 [SWU]SMP BLE advertising started
I: 15707 [DL]DFU over SMP started
I: IMG Integrity Verified Successfully: 0
I: IMG Integrity Verified Successfully: 1
I: Current OTA Stage = 16
I: OTA device_id = 5 : DISCOVERY_REQ
I: SECURE_STM : DISCOVERY_REQ
I: OTA device_id = 5 : FW_VERSION_REQ
I: Secure STM Firmware Version: 2 0 1 1
I: OTA device_id = 5 : FW_UPDATE_START_REQ
I: SECURE_STM : IB_FW_UPDATE_START_REQUEST
I: STM OTA Progress = 10
I: STM OTA Progress = 20
I: STM OTA Progress = 30
I: STM OTA Progress = 40
I: STM OTA Progress = 50
I: STM OTA Progress = 60
I: STM OTA Progress = 70
I: STM OTA Progress = 80
I: STM OTA Progress = 90
I: STM OTA Progress = 100
I: OTA device_id = 5 : FW_UPDATE_REBOOT_REQ
I: SECURE_STM : REBOOT_COMMAND
I: STM Rebooted, MCUBoot Verifying Image
I: OTA device_id = 5 : FW_VERSION_REQ
I: Secure STM Firmware Version: 2 0 1 2
I: OTA device_id = 5 : FW_UPDATE_COMPLETE_REQ
I: SECURE_STM : IB_FW_UPDATE_COMPLETE_REQUEST
I: OTA device_id = 5 : FW_UPDATE_REBOOT_REQ
I: SECURE_STM : REBOOT_COMMAND
I: STM Rebooted, MCUBoot Confirming Image
I: OTA device_id = 5 : FW_VERSION_REQ
I: Secure STM Firmware Version: 2 0 1 2
I: STM Secure OTA Successful
I: Clear STM OTA Meta Data
I: Current OTA Stage = 17
I: Redpine OTA started
I: Current OTA Stage = 18
I: OTA device_id = 4 : DISCOVERY_REQ
I: STM_QSPI : IB_DEVICE_DISCOVERY_REQUEST
I: OTA device_id = 4 : FW_VERSION_REQ
I: STM_QSPI : IB_FW_VERSION_REQUEST
I: Redpine Firmware Version: 2.1.255.191
I: OTA device_id = 4 : FW_UPDATE_START_REQ
I: STM_QSPI : IB_FW_UPDATE_START_REQUEST
I: Redpine Image Stored into STM QSPI, Progress = 10
I: Redpine Image Stored into STM QSPI, Progress = 20
I: Redpine Image Stored into STM QSPI, Progress = 30
I: Redpine Image Stored into STM QSPI, Progress = 40
I: Redpine Image Stored into STM QSPI, Progress = 50
I: Redpine Image Stored into STM QSPI, Progress = 60
I: Redpine Image Stored into STM QSPI, Progress = 70
I: Redpine Image Stored into STM QSPI, Progress = 80
I: Redpine Image Stored into STM QSPI, Progress = 90
I: Redpine Image Stored into STM QSPI, Progress = 100
I: OTA device_id = 4 : FW_UPDATE_COMPLETE_REQ
I: STM_QSPI : IB_FW_UPDATE_COMPLETE_REQUEST
I: STM_QSPI : STM QSPI to Redpine SPI Image Transfer Ongoing (0)
I: STM_QSPI : STM QSPI to Redpine SPI Image Transfer Ongoing (10)
I: STM_QSPI : STM QSPI to Redpine SPI Image Transfer Ongoing (20)
I: STM_QSPI : STM QSPI to Redpine SPI Image Transfer Ongoing (30)
I: STM_QSPI : STM QSPI to Redpine SPI Image Transfer Ongoing (40)
I: STM_QSPI : STM QSPI to Redpine SPI Image Transfer Ongoing (50)
I: STM_QSPI : STM QSPI to Redpine SPI Image Transfer Ongoing (60)
I: STM_QSPI : STM QSPI to Redpine SPI Image Transfer Ongoing (70)
I: STM_QSPI : STM QSPI to Redpine SPI Image Transfer Ongoing (80)
I: STM_QSPI : STM QSPI to Redpine SPI Image Transfer Ongoing (90)
I: STM_QSPI : STM QSPI to Redpine SPI Image Transfer Ongoing (100)
I: STM_QSPI : IB_FW_UPDATE_REBOOT_REQUEST
I: Clear Redpine OTA Meta Data
I: Current OTA Stage = 24
I: Start to Erase OTA Bundle Image from External Flash
I: Erasing bundle from nRF Ext. Flash
I: Bundle Image Erased from nRF Ext. Flash: 0
I: Current OTA Stage = 25
I: FW Ver: 0.3.1+0; version: 00030100
I: 598558 [DL]DFU-BLE-Connected
I: BLE Connected
Swap type: none
I: 598851 [DL]DFU-BLE-Disconnected : 19
E: Sending UART cmd st 0
I: BLE Name set: HU:2F29 errCode: 0
I: 598863 [SWU]SMP BLE advertising started
I: 598867 [DL]DFU over SMP started
I: BLE Disconnected: 13
I: 616482 [DL]DFU-BLE-Connected
I: BLE Connected
I: 616759 [DL]DFU Image upload started
I: Current OTA Stage = 11
I: 629932 [DL]Image 0 download completed successfully
I: 629960 [DL]DFU-BLE-Disconnected : 19
E: Sending UART cmd st 0
I: BLE Name set: HU:2F29 errCode: 0
I: 629973 [SWU]SMP BLE advertising started
I: 629978 [DL]DFU over SMP started
I: BLE Disconnected: 13
I: 679449 [DL]DFU-BLE-Connected
I: BLE Connected
Swap type: none
I: 679745 [DL]DFU Image upload started
I: Current OTA Stage = 12
I: 769171 [DL]Image 1 download completed successfully
I: 769196 [DL]DFU-BLE-Disconnected : 19
E: Sending UART cmd st 0
I: BLE Name set: HU:2F29 errCode: 0
I: 769209 [SWU]SMP BLE advertising started
I: 769213 [DL]DFU over SMP started
I: BLE Disconnected: 13
I: 803187 [DL]DFU-BLE-Connected
I: BLE Connected
I: 822033 [DL]DFU Image upload started
D: 900365 [DIS]Extended discovery timed out
I: 900369 [DIS]Updating services using commissioning mode 0
E: 900375 [DIS]Failed to remove advertised services: 3
E: 900380 [DIS]Failed to finalize service update: 3
I: Current OTA Stage = 13
I: 1062624 [DL]Image 2 download completed successfully
I: Current OTA Stage = 14
I: 1062656 [DL]DFU-BLE-Disconnected : 19
E: Sending UART cmd st 0
I: BLE Name set: HU:2F29 errCode: 0
I: 1062669 [SWU]SMP BLE advertising started
I: 1062673 [DL]DFU over SMP started
I: BLE Disconnected: 13
I: 1082610 [DL]DFU-BLE-Connected
I: BLE Connected
Swap type: none
Swap type: none
Swap type: none
I: 1082910 [DL]DFU-BLE-Disconnected : 19
E: Sending UART cmd st 0
I: BLE Name set: HU:2F29 errCode: 0
I: 1082922 [SWU]SMP BLE advertising started
I: 1082926 [DL]DFU over SMP started
I: BLE Disconnected: 13
I: 1098778 [DL]DFU-BLE-Connected
I: BLE Connected
E: img_mgmt_find_by_hash Return i=1
E: a4 a4
E: 1d 1d
E: 1e 1e
E: a8 a8
E: b8 b8
E: 1d 1d
E: 72 72
E: 1b 1b
E: c0 c0
E: 13 13
E: cc cc
E: 3e 3e
E: d6 d6
E: e7 e7
E: 2f 2f
E: d4 d4
E: 4c 4c
E: 9 9
E: 25 25
E: 26 26
E: d1 d1
E: df df
E: b3 b3
E: 7b 7b
E: 1d 1d
E: f3 f3
E: b1 b1
E: db db
E: 4b 4b
E: 7c 7c
E: c3 c3
E: b4 b4
E: img_mgmt_find_by_hash slot = 1, confirm = 1
E: area_id = 2, active = 0
E: Success 1
E: Success 2
writing magic; fa_id=2 off=0xeeff0 (0xeeff0)
writing image_ok; fa_id=2 off=0xeefe8 (0xeefe8)
writing swap_info; fa_id=2 off=0xeefd8 (0xeefd8), swap_type=0x3 image_num=0x0
E: Success 3
E: *** rc = 0 ***
E: img_mgmt_set_boot_next rc = 0
Swap type: perm
Swap type: perm
Swap type: none
E: img_mgmt_state_read rc = 0
I: 1099139 [DL]DFU-BLE-Disconnected : 19
E: Sending UART cmd st 0
I: BLE Name set: HU:2F29 errCode: 0
I: 1099152 [SWU]SMP BLE advertising started
I: 1099156 [DL]DFU over SMP started
I: BLE Disconnected: 13
I: 1136650 [DL]DFU-BLE-Connected
I: BLE Connected
E: img_mgmt_find_by_hash Continue
E: img_mgmt_find_by_hash Return i=3
E: 9 9
E: 4 4
E: ba ba
E: 45 45
E: 18 18
E: a a
E: c3 c3
E: 6d 6d
E: 87 87
E: da da
E: c3 c3
E: ec ec
E: f2 f2
E: d d
E: 73 73
E: b1 b1
E: 9b 9b
E: f4 f4
E: 52 52
E: 8b 8b
E: 67 67
E: 23 23
E: 29 29
E: 47 47
E: 9 9
E: 40 40
E: 93 93
E: 98 98
E: d7 d7
E: 3b 3b
E: 9c 9c
E: 12 12
E: img_mgmt_find_by_hash slot = 3, confirm = 1
E: area_id = 8, active = 0
E: Success 1
E: Success 2
writing magic; fa_id=8 off=0x3fff0 (0x12eff0)
writing image_ok; fa_id=8 off=0x3ffe8 (0x12efe8)
writing swap_info; fa_id=8 off=0x3ffd8 (0x12efd8), swap_type=0x3 image_num=0x0
E: Success 3
E: *** rc = 0 ***
E: img_mgmt_set_boot_next rc = 0
Swap type: perm
Swap type: perm
Swap type: perm
E: img_mgmt_state_read rc = 0
I: 1137036 [DL]DFU-BLE-Disconnected : 19
E: Sending UART cmd st 0
I: BLE Name set: HU:2F29 errCode: 0
I: 1137049 [SWU]SMP BLE advertising started
I: 1137053 [DL]DFU over SMP started
I: BLE Disconnected: 13
I: 1169699 [DL]DFU-BLE-Connected
I: BLE Connected
in os_mgmt_reset
in os_mgmt_reset, Timer Register
I: 1169976 [DL]DFU-BLE-Disconnected : 19
E: Sending UART cmd st 0
I: BLE Name set: HU:2F29 errCode: 0
I: 1169989 [SWU]SMP BLE advertising started
I: 1169993 [DL]DFU over SMP started
I: BLE Disconnected: 13
in os_mgmt_reset_cb
os_mgmt_reset_work_handler: System Rebooted
*** Booting Zephyr OS build v3.3.99-ncs1-1 ***
Starting bootloader
Swap type: perm
Swap type: perm
writing magic; fa_id=4 off=0xeeff0 (0xf6ff0)
writing magic; fa_id=1 off=0x3fff0 (0x3fff0)
Bootloader chainload address offset: 0x8000
Jumping to the first image slot
Start Do_Boot


uart:~$ *** Booting Zephyr OS build v3.3.99-ncs1-1 ***
I: KWIKSET HALO 3 VERSION: 00.03.00.00
I: Init CHIP stack
I: 161 [DL]BLE address: C9:7B:47:3D:35:FF
I: Board config kwiksetmdb_nrf5340_cpuapp
I: IMAGE_VERSION 0.3.0+0
I: build time: Nov 30 2023 11:09:14
E: ====    Matter FW Ver: 0.3.0    ====
I: 200 [DL]OpenThread SED interval is 1000ms
I: 207 [DL]OpenThread started: OK
I: 210 [DL]Setting OpenThread device type to SLEEPY END DEVICE
I: 218 [SWU]DFU_BLEAdvertising_Init 
Swap type: none
I: 225 [SVR]Subscription persistence not supported
I: 229 [SVR]Server initializing...
I: 234 [TS]Last Known Good Time: 2023-11-30T17:43:12
I: 240 [DMG]AccessControl: initializing
I: 244 [DMG]Examples::AccessControlDelegate::Init
I: 249 [DMG]AccessControl: setting
I: 253 [DMG]DefaultAclStorage: initializing
I: 257 [DMG]DefaultAclStorage: 0 entries loaded
D: 262 [IN]UDP::Init bind&amp;amp;listen port=5540
E: 267 [IN]SO_REUSEPORT failed: 109
D: 271 [IN]UDP::Init bound to port=5540
D: 275 [IN]BLEBase::Init - setting/overriding transport
D: 280 [IN]TransportMgr initialized
D: 287 [DL]Using Thread extended MAC for hostname.
I: 294 [ZCL]Using ZAP configuration...
I: 300 [DMG]AccessControlCluster: initializing
D: 305 [DL]Boot reason: 6
I: 308 [ZCL]Initiating Admin Commissioning cluster.
I: 314 [ZCL]Door Lock server initialized
I: 318 [ZCL]Door Lock cluster initialized at endpoint #1
I: 325 [DIS]Updating services using commissioning mode 0
E: 330 [DIS]Failed to remove advertised services: 3
D: 336 [DL]Using Thread extended MAC for hostname.
I: 341 [DIS]Advertise commission parameter vendorID=65521 productID=32774 discriminator=3840/15 cm=0
E: 350 [DIS]Failed to advertise extended commissionable node: 3
D: 357 [DIS]Scheduling extended discovery timeout in 900s
E: 363 [DIS]Failed to finalize service update: 3
I: 368 [DIS]Delaying proxy of operational discovery: missing delegate
I: 375 [IN]CASE Server enabling CASE session setups
D: 382 [IN]SecureSession[0x200049f0]: Allocated Type:2 LSID:38352
I: 389 [SVR]Joining Multicast groups
I: 393 [SVR]Server Listening...
I: 396 [DL]Device Configuration:
I: 400 [DL]  Serial Number: 11223344556677889900
I: 404 [DL]  Vendor Id: 65521 (0xFFF1)
I: 409 [DL]  Product Id: 32774 (0x8006)
I: 413 [DL]  Product Name: not-specified
I: 417 [DL]  Hardware Version: 0
I: 420 [DL]  Setup Pin Code (0 for UNKNOWN/ERROR): 20202021
I: 426 [DL]  Setup Discriminator (0xFFFF for UNKNOWN/ERROR): 3840 (0xF00)
I: 435 [DL]  Manufacturing Date: 2022-01-01
I: 439 [DL]  Device Type: 65535 (0xFFFF)
I: 444 [SVR]SetupQRCode: [MT:8IXS142C00KA0648G00]
I: 449 [SVR]Copy/paste the below URL in a browser to see the QR Code:
I: 455 [SVR]https://project-chip.github.io/connectedhomeip/qrcode.html?data=MT%3A8IXS142C00KA0648G00
I: 467 [SVR]Manual pairing code: [34970112332]
I: 476 [DL]CHIP task running
I: 479 [DIS]Updating services using commissioning mode 0
E: 484 [DIS]Failed to remove advertised services: 3
D: 490 [DL]Using Thread extended MAC for hostname.
I: 496 [DIS]Advertise commission parameter vendorID=65521 productID=32774 discriminator=3840/15 cm=0
E: 505 [DIS]Failed to advertise extended commissionable node: 3
E: 512 [DIS]Failed to finalize service update: 3
I: FW Ver: 0.3.0+0; version: 00030000
I: Device has NOT gone through provisioning
I: network state 0
E: Sending UART cmd st 0
I: BLE Device ID: 2f29
I: Current OTA Stage = 10
I: dfu_header_data.image_count: 2
E: Sending UART cmd st 0
I: BLE Name set: HU:2F29 errCode: 0
I: 15697 [SWU]SMP BLE advertising started
I: 15701 [DL]DFU over SMP started
I: IMG Integrity Verified Successfully: 0
I: IMG Integrity Verified Successfully: 1
I: Current OTA Stage = 16
I: OTA device_id = 5 : DISCOVERY_REQ
I: SECURE_STM : DISCOVERY_REQ
I: OTA device_id = 5 : FW_VERSION_REQ
I: Secure STM Firmware Version: 2 0 1 2
I: OTA device_id = 5 : FW_UPDATE_START_REQ
I: SECURE_STM : IB_FW_UPDATE_START_REQUEST
I: STM OTA Progress = 10
I: STM OTA Progress = 20
I: STM OTA Progress = 30
I: STM OTA Progress = 40
I: STM OTA Progress = 50
I: STM OTA Progress = 60
I: STM OTA Progress = 70
I: STM OTA Progress = 80
I: STM OTA Progress = 90
I: STM OTA Progress = 100
I: OTA device_id = 5 : FW_UPDATE_REBOOT_REQ
I: SECURE_STM : REBOOT_COMMAND
I: STM Rebooted, MCUBoot Verifying Image
I: OTA device_id = 5 : FW_VERSION_REQ
I: Secure STM Firmware Version: 2 0 1 1
I: OTA device_id = 5 : FW_UPDATE_COMPLETE_REQ
I: SECURE_STM : IB_FW_UPDATE_COMPLETE_REQUEST
I: OTA device_id = 5 : FW_UPDATE_REBOOT_REQ
I: SECURE_STM : REBOOT_COMMAND
I: STM Rebooted, MCUBoot Confirming Image
I: OTA device_id = 5 : FW_VERSION_REQ
I: Secure STM Firmware Version: 2 0 1 1
I: STM Secure OTA Successful
I: Clear STM OTA Meta Data
I: Current OTA Stage = 17
I: Redpine OTA started
I: Current OTA Stage = 18
I: OTA device_id = 4 : DISCOVERY_REQ
I: STM_QSPI : IB_DEVICE_DISCOVERY_REQUEST
I: OTA device_id = 4 : FW_VERSION_REQ
I: STM_QSPI : IB_FW_VERSION_REQUEST
I: Redpine Firmware Version: 2.1.255.191
I: OTA device_id = 4 : FW_UPDATE_START_REQ
I: STM_QSPI : IB_FW_UPDATE_START_REQUEST
I: Redpine Image Stored into STM QSPI, Progress = 10
I: Redpine Image Stored into STM QSPI, Progress = 20
I: Redpine Image Stored into STM QSPI, Progress = 30
I: Redpine Image Stored into STM QSPI, Progress = 40
I: Redpine Image Stored into STM QSPI, Progress = 50
I: Redpine Image Stored into STM QSPI, Progress = 60
I: Redpine Image Stored into STM QSPI, Progress = 70
I: Redpine Image Stored into STM QSPI, Progress = 80
I: Redpine Image Stored into STM QSPI, Progress = 90
I: Redpine Image Stored into STM QSPI, Progress = 100
I: OTA device_id = 4 : FW_UPDATE_COMPLETE_REQ
I: STM_QSPI : IB_FW_UPDATE_COMPLETE_REQUEST
I: STM_QSPI : STM QSPI to Redpine SPI Image Transfer Ongoing (0)
I: STM_QSPI : STM QSPI to Redpine SPI Image Transfer Ongoing (10)
I: STM_QSPI : STM QSPI to Redpine SPI Image Transfer Ongoing (20)
I: STM_QSPI : STM QSPI to Redpine SPI Image Transfer Ongoing (30)
I: STM_QSPI : STM QSPI to Redpine SPI Image Transfer Ongoing (40)
I: STM_QSPI : STM QSPI to Redpine SPI Image Transfer Ongoing (50)
I: STM_QSPI : STM QSPI to Redpine SPI Image Transfer Ongoing (60)
I: STM_QSPI : STM QSPI to Redpine SPI Image Transfer Ongoing (70)
I: STM_QSPI : STM QSPI to Redpine SPI Image Transfer Ongoing (80)
I: STM_QSPI : STM QSPI to Redpine SPI Image Transfer Ongoing (90)
I: STM_QSPI : STM QSPI to Redpine SPI Image Transfer Ongoing (100)
I: STM_QSPI : IB_FW_UPDATE_REBOOT_REQUEST
I: Clear Redpine OTA Meta Data
I: Current OTA Stage = 24
I: Start to Erase OTA Bundle Image from External Flash
I: Erasing bundle from nRF Ext. Flash
I: Bundle Image Erased from nRF Ext. Flash: 0
I: Current OTA Stage = 25
I: FW Ver: 0.3.0+0; version: 00030000
I: 598504 [DL]DFU-BLE-Connected
I: BLE Connected
Swap type: none
I: 598786 [DL]DFU-BLE-Disconnected : 19
E: Sending UART cmd st 0
I: BLE Name set: HU:2F29 errCode: 0
I: 598799 [SWU]SMP BLE advertising started
I: 598803 [DL]DFU over SMP started
I: BLE Disconnected: 13
I: 615873 [DL]DFU-BLE-Connected
I: BLE Connected
I: 616177 [DL]DFU Image upload started
I: Current OTA Stage = 11
I: 629391 [DL]Image 0 download completed successfully
I: 629420 [DL]DFU-BLE-Disconnected : 19
E: Sending UART cmd st 0
I: BLE Name set: HU:2F29 errCode: 0
I: 629433 [SWU]SMP BLE advertising started
I: 629436 [DL]DFU over SMP started
I: BLE Disconnected: 13
I: 679447 [DL]DFU-BLE-Connected
I: BLE Connected
Swap type: none
I: 679726 [DL]DFU Image upload started
I: Current OTA Stage = 12
I: 770633 [DL]Image 1 download completed successfully
I: 770669 [DL]DFU-BLE-Disconnected : 19
E: Sending UART cmd st 0
I: BLE Name set: HU:2F29 errCode: 0
I: 770682 [SWU]SMP BLE advertising started
I: 770686 [DL]DFU over SMP started
I: BLE Disconnected: 13
I: 804876 [DL]DFU-BLE-Connected
I: BLE Connected
I: 823692 [DL]DFU Image upload started
D: 900364 [DIS]Extended discovery timed out
I: 900369 [DIS]Updating services using commissioning mode 0
E: 900375 [DIS]Failed to remove advertised services: 3
E: 900380 [DIS]Failed to finalize service update: 3
I: Current OTA Stage = 13
I: 1064142 [DL]Image 2 download completed successfully
I: Current OTA Stage = 14
I: 1064185 [DL]DFU-BLE-Disconnected : 19
E: Sending UART cmd st 0
I: BLE Name set: HU:2F29 errCode: 0
I: 1064198 [SWU]SMP BLE advertising started
I: 1064202 [DL]DFU over SMP started
I: BLE Disconnected: 13
I: 1084931 [DL]DFU-BLE-Connected
I: BLE Connected
Swap type: none
Swap type: none
Swap type: none
I: 1085230 [DL]DFU-BLE-Disconnected : 19
E: Sending UART cmd st 0
I: BLE Name set: HU:2F29 errCode: 0
I: 1085243 [SWU]SMP BLE advertising started
I: 1085247 [DL]DFU over SMP started
I: BLE Disconnected: 13
I: 1101606 [DL]DFU-BLE-Connected
I: BLE Connected
E: img_mgmt_find_by_hash Return i=1
E: cb cb
E: 96 96
E: 29 29
E: f f
E: d9 d9
E: a a
E: b7 b7
E: b b
E: 3e 3e
E: a1 a1
E: 45 45
E: aa aa
E: 46 46
E: 56 56
E: 19 19
E: 5d 5d
E: be be
E: 6e 6e
E: 4b 4b
E: eb eb
E: 7c 7c
E: e0 e0
E: bf bf
E: f0 f0
E: f4 f4
E: b8 b8
E: 18 18
E: e8 e8
E: 92 92
E: 53 53
E: 2 2
E: 82 82
E: img_mgmt_find_by_hash slot = 1, confirm = 1
E: area_id = 2, active = 0
E: Success 1
E: Success 2
writing magic; fa_id=2 off=0xeeff0 (0xeeff0)
writing image_ok; fa_id=2 off=0xeefe8 (0xeefe8)
writing swap_info; fa_id=2 off=0xeefd8 (0xeefd8), swap_type=0x3 image_num=0x0
E: Success 3
E: *** rc = 0 ***
E: img_mgmt_set_boot_next rc = 0
Swap type: perm
Swap type: perm
Swap type: none
E: img_mgmt_state_read rc = 0
I: 1101985 [DL]DFU-BLE-Disconnected : 19
E: Sending UART cmd st 0
I: BLE Name set: HU:2F29 errCode: 0
I: 1101998 [SWU]SMP BLE advertising started
I: 1102002 [DL]DFU over SMP started
I: BLE Disconnected: 13
I: 1140722 [DL]DFU-BLE-Connected
I: BLE Connected
E: img_mgmt_find_by_hash Continue
E: img_mgmt_find_by_hash Return i=3
E: 19 19
E: 64 64
E: b b
E: b1 b1
E: 5e 5e
E: dc dc
E: e6 e6
E: 77 77
E: 8c 8c
E: ef ef
E: 69 69
E: 20 20
E: 5f 5f
E: ae ae
E: 54 54
E: 61 61
E: a3 a3
E: 99 99
E: ff ff
E: 7c 7c
E: 4d 4d
E: 65 65
E: f3 f3
E: 4c 4c
E: 53 53
E: 6c 6c
E: 37 37
E: 88 88
E: 2f 2f
E: e1 e1
E: 39 39
E: 7e 7e
E: img_mgmt_find_by_hash slot = 3, confirm = 1
E: area_id = 8, active = 0
E: Success 1
E: Success 2
writing magic; fa_id=8 off=0x3fff0 (0x12eff0)
writing image_ok; fa_id=8 off=0x3ffe8 (0x12efe8)
writing swap_info; fa_id=8 off=0x3ffd8 (0x12efd8), swap_type=0x3 image_num=0x0
E: Success 3
E: *** rc = 0 ***
E: img_mgmt_set_boot_next rc = 0
Swap type: perm
Swap type: perm
Swap type: perm
E: img_mgmt_state_read rc = 0
I: 1141097 [DL]DFU-BLE-Disconnected : 19
E: Sending UART cmd st 0
I: BLE Name set: HU:2F29 errCode: 0
I: 1141110 [SWU]SMP BLE advertising started
I: 1141114 [DL]DFU over SMP started
I: BLE Disconnected: 13
I: 1173740 [DL]DFU-BLE-Connected
I: BLE Connected
in os_mgmt_reset
in os_mgmt_reset, Timer Register
I: 1174022 [DL]DFU-BLE-Disconnected : 19
E: Sending UART cmd st 0
I: BLE Name set: HU:2F29 errCode: 0
I: 1174034 [SWU]SMP BLE advertising started
I: 1174038 [DL]DFU over SMP started
I: BLE Disconnected: 13
in os_mgmt_reset_cb
os_mgmt_reset_work_handler: System Rebooted
*** Booting Zephyr OS build v3.3.99-ncs1-1 ***
Starting bootloader
Swap type: perm
Swap type: perm
writing magic; fa_id=4 off=0xeeff0 (0xf6ff0)
writing magic; fa_id=1 off=0x3fff0 (0x3fff0)
&lt;/pre&gt;&lt;/p&gt;
&lt;p&gt;Thanks,&lt;/p&gt;
&lt;p&gt;Kaushik Parsana&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: MCUBoot: nRF5340 device stuck and not responding until power cycle.</title><link>https://devzone.nordicsemi.com/thread/458526?ContentTypeID=1</link><pubDate>Fri, 01 Dec 2023 13:27:28 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:2a149be5-b264-421f-9a01-13854f8460f4</guid><dc:creator>Joakim Jakobsen</dc:creator><description>&lt;p&gt;Thanks.&lt;/p&gt;
&lt;p&gt;I&amp;#39;ll wait for the logs and we can take it from there.&lt;/p&gt;
&lt;p&gt;Br, &lt;br /&gt;Joakim&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: MCUBoot: nRF5340 device stuck and not responding until power cycle.</title><link>https://devzone.nordicsemi.com/thread/458492?ContentTypeID=1</link><pubDate>Fri, 01 Dec 2023 11:47:30 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:07be0ecb-634c-4a46-8cbc-5c326c3a5e0d</guid><dc:creator>Kaushik Parsana</dc:creator><description>&lt;p&gt;Hi Joakim,&lt;/p&gt;
&lt;p&gt;I have added few printk into&amp;nbsp;&lt;strong&gt;os_mgmt_reset API &lt;/strong&gt;to confirm it is not getting stuck before reset happening.&lt;/p&gt;
&lt;p&gt;Also, I have enabled the MCUBoot debug logs from that we can confirm that does it enters into bootloader mode and does it swap image or not.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Also, I have confirmed one more thing is, after nRF5340 device gets stuck,&lt;/p&gt;
&lt;p&gt;If we power cycle, then nRF5340 successfully switches to the newly transferred image. That give me a good confidence that transferred image (app_core and net_core) are good image.&lt;/p&gt;
&lt;p&gt;With this enable of debug logs I have put test setup in execution, once it will reproduce, then I can share the more debug logs information here.&lt;/p&gt;
&lt;p&gt;I have nRF5340-DK board, but this issue will not reproduce easily by 1 or 2 retry, it will take at least more then 45 OTA cycle, and we have that OTA automation test setup on custom board only not on the nRF5340-DK board.&lt;/p&gt;
&lt;p&gt;Thanks &amp;amp; Regards,&lt;/p&gt;
&lt;p&gt;Kaushik Parsana&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: MCUBoot: nRF5340 device stuck and not responding until power cycle.</title><link>https://devzone.nordicsemi.com/thread/458487?ContentTypeID=1</link><pubDate>Fri, 01 Dec 2023 11:35:54 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:18de16e0-9129-4d2c-921d-ec8c816015b4</guid><dc:creator>Joakim Jakobsen</dc:creator><description>&lt;p&gt;Hi. &lt;/p&gt;
[quote user=""]I have seen error like&amp;nbsp;nRF5340 device stuck and not responding&amp;nbsp;to any request.[/quote]
&lt;p&gt;Any more information about this error? Do you have an error code or know where the error originates from?&lt;/p&gt;
[quote user=""]This issue is not able to reproduce easily, after execution of 85 to 100 cycle,&amp;nbsp;it is getting reproduce once. and then after nRF5340 device become un-responsive.[/quote]
&lt;p&gt;Do you have an nRF5340-DK? Is the problem reproducable on the DK?&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Br, &lt;br /&gt;Joakim&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: MCUBoot: nRF5340 device stuck and not responding until power cycle.</title><link>https://devzone.nordicsemi.com/thread/458267?ContentTypeID=1</link><pubDate>Thu, 30 Nov 2023 11:09:26 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:87a7c545-a929-4f0d-8ce1-f4b4a772a84c</guid><dc:creator>Joakim Jakobsen</dc:creator><description>&lt;p&gt;Hi Kaushik.&lt;/p&gt;
&lt;p&gt;Sorry about the delayed response. I&amp;#39;ll take a look at your ticket, and get back to you.&lt;/p&gt;
&lt;p&gt;Br, &lt;br /&gt;Joakim&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: MCUBoot: nRF5340 device stuck and not responding until power cycle.</title><link>https://devzone.nordicsemi.com/thread/458212?ContentTypeID=1</link><pubDate>Thu, 30 Nov 2023 05:49:58 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:836e583f-8abe-443d-a319-4f0f8146a69a</guid><dc:creator>Kaushik Parsana</dc:creator><description>&lt;p&gt;Hello,&lt;/p&gt;
&lt;p&gt;Does anyone from Nordic will take this question? Otherwise, no meaning to raise the question here.&lt;/p&gt;
&lt;p&gt;Thanks&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Kaushik&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: MCUBoot: nRF5340 device stuck and not responding until power cycle.</title><link>https://devzone.nordicsemi.com/thread/457809?ContentTypeID=1</link><pubDate>Tue, 28 Nov 2023 11:24:09 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:074eceb3-92e8-46c2-88e9-7eab3b5a283b</guid><dc:creator>Kaushik Parsana</dc:creator><description>&lt;p&gt;Dear Nordic Expert,&lt;/p&gt;
&lt;p&gt;Any update on this query?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: MCUBoot: nRF5340 device stuck and not responding until power cycle.</title><link>https://devzone.nordicsemi.com/thread/457145?ContentTypeID=1</link><pubDate>Thu, 23 Nov 2023 11:55:46 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:a25d398b-a87a-4c4b-a759-d5343a8d2379</guid><dc:creator>Kaushik Parsana</dc:creator><description>&lt;p&gt;Hello Nordic,&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/pastedimage1700740536733v2.png" alt=" " /&gt;&lt;/p&gt;
&lt;p&gt;This known issue has any relation with my current tickets, if yes then let me know here please.&lt;/p&gt;
&lt;p&gt;Thanks,&lt;/p&gt;
&lt;p&gt;Kaushik Parsana&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: MCUBoot: nRF5340 device stuck and not responding until power cycle.</title><link>https://devzone.nordicsemi.com/thread/457116?ContentTypeID=1</link><pubDate>Thu, 23 Nov 2023 10:16:13 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:f857a6ed-c8d4-4451-a022-88aebb6144d3</guid><dc:creator>Kaushik Parsana</dc:creator><description>&lt;p&gt;Dear Nordic Expert,&lt;/p&gt;
&lt;p&gt;Any update on this query?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>