<?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>nRF5340 SoC with nPM1304 PMIC gets stuck in bootloader</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/126868/nrf5340-soc-with-npm1304-pmic-gets-stuck-in-bootloader</link><description>Hi, 
 Let me explain my situation. I have several custom boards with an nRF5340 SoC and an nPM1300 PMIC. I flashed a custom image developed with nRF Connect SDK v3.0.1, and all the boards operate correctly. 
 Now, I want to replace the nPM1300 with the</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Thu, 12 Feb 2026 12:04:47 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/126868/nrf5340-soc-with-npm1304-pmic-gets-stuck-in-bootloader" /><item><title>RE: nRF5340 SoC with nPM1304 PMIC gets stuck in bootloader</title><link>https://devzone.nordicsemi.com/thread/561002?ContentTypeID=1</link><pubDate>Thu, 12 Feb 2026 12:04:47 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:da86beea-eebd-437e-95ba-c4c18ad911c0</guid><dc:creator>Kevin Lin</dc:creator><description>&lt;p&gt;&lt;span&gt;Hi Vidar,&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;I apologize for the late reply. I was out of the office for the past few days.&amp;nbsp;I have already&amp;nbsp;found the problem. Thank you very much for your help.&lt;br /&gt;&lt;br /&gt;&lt;span&gt;Best regards,&lt;/span&gt;&lt;br /&gt;&lt;span&gt;Kevin&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF5340 SoC with nPM1304 PMIC gets stuck in bootloader</title><link>https://devzone.nordicsemi.com/thread/560525?ContentTypeID=1</link><pubDate>Fri, 06 Feb 2026 09:43:00 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:da38189c-064a-48cf-b767-9552ebf92195</guid><dc:creator>Vidar Berg</dc:creator><description>&lt;p&gt;Hi Kevin,&lt;/p&gt;
&lt;p&gt;Thanks. This shows that the assert is being raised at this line in the bootloader:&amp;nbsp;&lt;a href="https://github.com/nrfconnect/sdk-mcuboot/blob/9b4ae4cbc9e2acf56d904647e2d5c6716d7e567d/boot/bootutil/src/loader.c#L2988"&gt;https://github.com/nrfconnect/sdk-mcuboot/blob/9b4ae4cbc9e2acf56d904647e2d5c6716d7e567d/boot/bootutil/src/loader.c#L2988&lt;/a&gt;. Do you have the secondary mcuboot slot placed in external flash? If so, please add CONFIG_FLASH_LOG_LEVEL_DBG=y to your project configuration and see if the driver is able to configure it as expected on startup.&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Vidar&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF5340 SoC with nPM1304 PMIC gets stuck in bootloader</title><link>https://devzone.nordicsemi.com/thread/560518?ContentTypeID=1</link><pubDate>Fri, 06 Feb 2026 08:53:54 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:d3744a6a-14d3-4ebb-b36b-d8afff5f6ad3</guid><dc:creator>Kevin Lin</dc:creator><description>&lt;p&gt;Hi Vidar,&lt;br /&gt;&lt;br /&gt;Thank you for reminding me. The debugging log is as follows:&lt;br /&gt;&lt;pre class="ui-code" data-mode="text"&gt;SEGGER J-Link V8.94 - Real time terminal output
SEGGER J-Link V9.7, SN=602718579
Process: JLinkExe
*** Booting MCUboot v2.1.0-dev-9b4ae4cbc9e2 ***
*** Using nRF Connect SDK v3.1.1-e2a97fe2578a ***
*** Using Zephyr OS v4.1.99-ff8f0c579eeb ***
[0:0:0.275,268] &amp;lt;inf&amp;gt; mcuboot: Starting bootloader
[0:0:0.275,634] &amp;lt;dbg&amp;gt; mcuboot: context_boot_go: context_boot_go
ASSERTION FAIL [0] @ WEST_TOPDIR/zephyr/lib/libc/picolibc/assert.c:15
        assertion &amp;quot;rc == 0&amp;quot; failed: file &amp;quot;WEST_TOPDIR/bootloader/mcuboot/boot/bootutil/src/loader.c&amp;quot;, line 2988, function: context_boot_go&lt;/pre&gt;&lt;br /&gt;&lt;br /&gt;Thank you.&lt;br /&gt;&lt;br /&gt;&lt;span&gt;Best regards,&lt;/span&gt;&lt;br /&gt;&lt;span&gt;Kevin&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF5340 SoC with nPM1304 PMIC gets stuck in bootloader</title><link>https://devzone.nordicsemi.com/thread/560505?ContentTypeID=1</link><pubDate>Fri, 06 Feb 2026 06:47:17 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:deb5836e-a63e-4ea1-af0e-a9fde6842f76</guid><dc:creator>Vidar Berg</dc:creator><description>&lt;p&gt;Hi Kevin,&lt;/p&gt;
&lt;p&gt;I was looking at the assert.c implementation for&amp;nbsp;for Picolib where I assume abort() is being called:&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/pastedimage1770360312049v1.png" alt=" " /&gt;&lt;/p&gt;
&lt;p&gt;but forgot to point out that you also need to enable asserts in this build. Is your bootloader also using Picolib? If so, please try with the following configs:&lt;/p&gt;
&lt;div&gt;
&lt;div&gt;&lt;span&gt;CONFIG_ASSERT&lt;/span&gt;&lt;span&gt;=y&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt;CONFIG_PICOLIBC_USE_MODULE&lt;/span&gt;&lt;span&gt;=y&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt;CONFIG_PICOLIBC_ASSERT_VERBOSE&lt;/span&gt;&lt;span&gt;=y&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt;&amp;nbsp;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt;Best regards,&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt;Vidar&lt;/span&gt;&lt;/div&gt;
&lt;/div&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF5340 SoC with nPM1304 PMIC gets stuck in bootloader</title><link>https://devzone.nordicsemi.com/thread/560503?ContentTypeID=1</link><pubDate>Fri, 06 Feb 2026 06:21:55 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:ff3b90e2-640e-46db-8ff9-668d07ba2842</guid><dc:creator>Kevin Lin</dc:creator><description>&lt;p&gt;Hi Vidar,&lt;br /&gt;&lt;br /&gt;To make it easier to understand, I created a simple tree diagram of my project, as shown below:&lt;br /&gt;&lt;img style="max-height:360px;max-width:480px;" alt=" " src="https://devzone.nordicsemi.com/resized-image/__size/960x720/__key/communityserver-discussions-components-files/4/5658.Screenshot.png" /&gt;&lt;br /&gt;&lt;br /&gt;I&amp;#39;ve tried adding this configuration to one of the files in the Kconfig section, such as mcuboot_dual_image_rtt.conf, but the result is still the same, no change at all. Or am I misunderstanding something?&lt;br /&gt;&lt;br /&gt;Best regards,&lt;br /&gt;Kevin&lt;/p&gt;
&lt;div&gt;
&lt;div&gt;&lt;/div&gt;
&lt;div&gt;
&lt;div&gt;&lt;/div&gt;
&lt;div&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;div id="gtx-anchor" style="height:27.52px;left:8px;position:absolute;top:427.52px;width:644.36px;"&gt;&lt;/div&gt;
&lt;div class="jfk-bubble gtx-bubble" style="left:0px;top:177px;"&gt;
&lt;div id="bubble-7" class="jfk-bubble-content-id"&gt;
&lt;div id="gtx-host" style="max-width:400px;"&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;div class="jfk-bubble-closebtn-id jfk-bubble-closebtn"&gt;&lt;/div&gt;
&lt;div class="jfk-bubble-arrow-id jfk-bubble-arrow jfk-bubble-arrowdown" style="left:322px;"&gt;
&lt;div class="jfk-bubble-arrowimplbefore"&gt;&lt;/div&gt;
&lt;div class="jfk-bubble-arrowimplafter"&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF5340 SoC with nPM1304 PMIC gets stuck in bootloader</title><link>https://devzone.nordicsemi.com/thread/560426?ContentTypeID=1</link><pubDate>Thu, 05 Feb 2026 11:13:18 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:8ea742d7-cabe-4194-a1c1-40a13e5e5f38</guid><dc:creator>Vidar Berg</dc:creator><description>&lt;p&gt;Hello Kevin,&lt;/p&gt;
&lt;p&gt;I can&amp;#39;t think of any relevant changes between SDK v3.0.x and v3.1.x that could explain this change in behaviour. To troubleshoot this, please try enabling&amp;nbsp;CONFIG_PICOLIBC_ASSERT_VERBOSE in the bootloader build. This will hopefully tell us were the assert was raised.&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Vidar&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>