<?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 not loging, serial DFU not compile</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/124353/mcuboot-not-loging-serial-dfu-not-compile</link><description>Hello, I&amp;#39;ve been trying to get MCUboot running on my custom board with the nRF9160 for two days now, and I&amp;#39;m honestly at my wit&amp;#39;s end. The main application is written and works perfectly — LTE, UART, SPI, everything runs as it should. 
 Now I wanted to</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Mon, 15 Sep 2025 17:24:02 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/124353/mcuboot-not-loging-serial-dfu-not-compile" /><item><title>RE: MCUBOOT not loging, serial DFU not compile</title><link>https://devzone.nordicsemi.com/thread/548791?ContentTypeID=1</link><pubDate>Mon, 15 Sep 2025 17:24:02 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:792fb4c4-9e56-4744-aafc-d1e2f334209c</guid><dc:creator>Vidar Berg</dc:creator><description>&lt;p&gt;I&amp;#39;m glad to hear you found the problem, though it&amp;#39;s unfortunate that you had to spend this much time to figure out what it was. Thank your for updating the ticket.&lt;/p&gt;
&lt;p&gt;Yes, both TF-M and MCUBoot will&amp;nbsp;run in the&amp;nbsp; Secure Processing environment while the app will run the in the non-secure domain.&lt;/p&gt;
&lt;p&gt;&lt;a id="" href="https://docs.nordicsemi.com/bundle/ncs-latest/page/nrf/security/tfm/index.html"&gt;https://docs.nordicsemi.com/bundle/ncs-latest/page/nrf/security/tfm/index.html&lt;/a&gt;&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: MCUBOOT not loging, serial DFU not compile</title><link>https://devzone.nordicsemi.com/thread/548787?ContentTypeID=1</link><pubDate>Mon, 15 Sep 2025 16:41:57 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:1326d0c6-f11f-42c8-bfeb-dd631a057ef4</guid><dc:creator>szyss</dc:creator><description>&lt;p data-start="115" data-end="386"&gt;&lt;strong data-start="115" data-end="133"&gt;Problem solved&lt;/strong&gt; &amp;ndash; it turned out that &lt;strong data-start="155" data-end="166"&gt;mcuboot&lt;/strong&gt; is being compiled using:&lt;br data-start="191" data-end="194" /&gt; &lt;strong data-start="194" data-end="215"&gt;Plytka_IOT_V1.dts&lt;/strong&gt; and &lt;strong data-start="220" data-end="247"&gt;Plytka_IOT_V1_defconfig&lt;/strong&gt;.&lt;br data-start="248" data-end="251" /&gt; These files were almost empty because I was compiling my projects using:&lt;br data-start="323" data-end="326" /&gt; &lt;strong data-start="326" data-end="350"&gt;Plytka_IOT_V1_ns.dts&lt;/strong&gt; and &lt;strong data-start="355" data-end="385"&gt;Plytka_IOT_V1_ns_defconfig&lt;/strong&gt;.&lt;/p&gt;
&lt;p data-start="388" data-end="541"&gt;After some experimentation (with help from ChatGPT), I figured out that &lt;strong data-start="460" data-end="471"&gt;mcuboot&lt;/strong&gt; uses different files for compilation than the &lt;strong data-start="518" data-end="532"&gt;non secure&lt;/strong&gt; version.&lt;/p&gt;
&lt;p data-start="543" data-end="683"&gt;It took me almost &lt;strong data-start="561" data-end="571"&gt;3 days&lt;/strong&gt;&amp;nbsp;&lt;span class="emoticon" data-url="https://devzone.nordicsemi.com/cfs-file/__key/system/emoji/1f622.svg" title="Cry"&gt;&amp;#x1f622;&lt;/span&gt;. We eventually realized that the more data we added to&amp;nbsp;&lt;strong data-start="630" data-end="649"&gt;mcuboot.overlay&lt;/strong&gt;, the more things started to work.&lt;/p&gt;
&lt;p data-start="685" data-end="696"&gt;&lt;strong data-start="685" data-end="696"&gt;Cheers!&lt;/strong&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: MCUBOOT not loging, serial DFU not compile</title><link>https://devzone.nordicsemi.com/thread/548758?ContentTypeID=1</link><pubDate>Mon, 15 Sep 2025 13:31:07 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:a4e52787-af17-470b-b57c-f58db689f808</guid><dc:creator>Vidar Berg</dc:creator><description>&lt;p&gt;Hello,&lt;/p&gt;
&lt;p&gt;When you include MCUboot in your build (SB_CONFIG_BOOTLOADER_MCUBOOT=y) without adding any configuration overlays in your mcuboot.conf, what happens? Does the bootloader fail to boot the application? Do you see any build errors or warnings?&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>