<?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 outputting via UART on boot</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/94309/mcuboot-not-outputting-via-uart-on-boot</link><description>Hi everyone. 
 I am using nRF Connect SDK v1.6.1 (it&amp;#39;s an old project) on a custom board with a nRF5340 on it. 
 The firmware is based on the central_bas sample project with some added files from our side. 
 I want to add MCUBoot as a first stage bootloader</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Tue, 29 Nov 2022 13:40:56 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/94309/mcuboot-not-outputting-via-uart-on-boot" /><item><title>RE: MCUBoot not outputting via UART on boot</title><link>https://devzone.nordicsemi.com/thread/398131?ContentTypeID=1</link><pubDate>Tue, 29 Nov 2022 13:40:56 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:8597c373-b010-49e7-a774-ca79e73b1313</guid><dc:creator>Kazi Afroza Sultana</dc:creator><description>&lt;p&gt;You are welcome. Great that it is fixed now.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: MCUBoot not outputting via UART on boot</title><link>https://devzone.nordicsemi.com/thread/398032?ContentTypeID=1</link><pubDate>Tue, 29 Nov 2022 09:10:26 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:01ef3f5b-0ff3-4ed6-824d-73ba0bb58884</guid><dc:creator>Ryisen</dc:creator><description>&lt;p&gt;Well, I was able to fix it.&lt;/p&gt;
&lt;p&gt;As expected, it had to do with our devicetree overlay. I took a look at the generated zephyr.dts file of the central_bas project as well as the MCUBoot child image and the UART_0 tx and rx pins where configured differently.&lt;/p&gt;
&lt;p&gt;After some checks I added the content of our devicetree overlay to the dts.overlay in bootloader/mcuboot/boot/zephyr and now it works. I get the expected MCUBoot output when I start/reset our board.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Thank you for your time.&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Alex&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: MCUBoot not outputting via UART on boot</title><link>https://devzone.nordicsemi.com/thread/398016?ContentTypeID=1</link><pubDate>Tue, 29 Nov 2022 08:06:54 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:9d22441a-76f3-48bf-9f52-570f5d8a5b84</guid><dc:creator>Ryisen</dc:creator><description>&lt;p&gt;That&amp;#39;s what I get on the development kit too, right.&lt;/p&gt;
&lt;p&gt;But on our custom board the MCUBoot output is missing.&lt;/p&gt;
&lt;p&gt;My best guess is that it has to do with our devicetree overlay. It is needed to correctly run the project on our custom board. Do I need to add the devicetree overlay to the MCUBoot too?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: MCUBoot not outputting via UART on boot</title><link>https://devzone.nordicsemi.com/thread/398014?ContentTypeID=1</link><pubDate>Tue, 29 Nov 2022 08:01:14 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:093dac4a-a24a-4392-8127-b3b4a28fa620</guid><dc:creator>Kazi Afroza Sultana</dc:creator><description>&lt;p&gt;I have&amp;nbsp;run the sample&amp;nbsp;&lt;span&gt;central_bas on nRF5340 DK using version NCS V2.1.2. The only change I made on the prj.conf file by this adding&amp;nbsp;CONFIG_BOOTLOADER_MCUBOOT=y. I have this output where MCU boot output is ok.&amp;nbsp;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&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/pastedimage1669708238636v1.png" alt=" " /&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;My team member has also tried with&amp;nbsp;v1.6.1 and it showed the correct output. I will look into few other issues for your case. I will get back to you later.&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: MCUBoot not outputting via UART on boot</title><link>https://devzone.nordicsemi.com/thread/397948?ContentTypeID=1</link><pubDate>Mon, 28 Nov 2022 16:32:14 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:ad7c36a3-4eb7-4414-a213-352bca53ede0</guid><dc:creator>Ryisen</dc:creator><description>&lt;p&gt;This would be the putty output from our custom board with MCUBoot enabled:&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="text"&gt;*** Booting Zephyr OS build v2.6.0-rc1-ncs1  ***

I: 2 Sectors of 4096 bytes

I: alloc wra: 0, fd8

I: data wra: 0, 1c

I: HW Platform: Nordic Semiconductor (0x0002)

I: HW Variant: nRF53x (0x0003)

I: Firmware: Standard Bluetooth controller (0x00) Version 239.2307 Build 3063314844

W: ECC HCI commands not available

I: No ID address. App must call settings_load()

Bluetooth initialized

I: Identity: F4:0F:80:D0:C0:B3 (random)

I: HCI: version 5.2 (0x0b) revision 0x222b, manufacturer 0x0059

I: LMP: version 5.2 (0x0b) subver 0x222b

Scanning successfully started

...&lt;/pre&gt;&lt;/p&gt;
&lt;p&gt;As you can see, the MCUBoot output is missing. So my best guess was that there might be some missing configuration that tells MCUBoot to output there as the usual application output works.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: MCUBoot not outputting via UART on boot</title><link>https://devzone.nordicsemi.com/thread/397947?ContentTypeID=1</link><pubDate>Mon, 28 Nov 2022 16:26:52 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:6be5abd7-10fe-4e51-9176-fd8c48d2fc07</guid><dc:creator>Kazi Afroza Sultana</dc:creator><description>&lt;p&gt;output from terminal like putty. Also you can find it nRF terminal in VS Code.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: MCUBoot not outputting via UART on boot</title><link>https://devzone.nordicsemi.com/thread/397896?ContentTypeID=1</link><pubDate>Mon, 28 Nov 2022 13:59:59 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:3e4728cc-1660-4e27-ae70-5b109f2128d2</guid><dc:creator>Ryisen</dc:creator><description>&lt;p&gt;Which log exactly do you mean? Where do I get it?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: MCUBoot not outputting via UART on boot</title><link>https://devzone.nordicsemi.com/thread/397895?ContentTypeID=1</link><pubDate>Mon, 28 Nov 2022 13:58:44 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:d1aff9e5-9c4a-406b-86e0-770fb74cb11d</guid><dc:creator>Kazi Afroza Sultana</dc:creator><description>&lt;p&gt;Can I get the log of this version (1.6.1)?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: MCUBoot not outputting via UART on boot</title><link>https://devzone.nordicsemi.com/thread/397885?ContentTypeID=1</link><pubDate>Mon, 28 Nov 2022 13:42:36 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:fec7a0e3-f8d2-4b34-93d8-ce1bacb0ce49</guid><dc:creator>Ryisen</dc:creator><description>&lt;p&gt;Running our code on a newer NCS version produces lots of function undefined errors, therefore I would like to keep it at v1.6.1 for now.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: MCUBoot not outputting via UART on boot</title><link>https://devzone.nordicsemi.com/thread/397881?ContentTypeID=1</link><pubDate>Mon, 28 Nov 2022 13:33:13 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:4b1003d0-c180-4ab3-8814-97bad0a382be</guid><dc:creator>Kazi Afroza Sultana</dc:creator><description>&lt;p&gt;Hello,&lt;/p&gt;
&lt;p&gt;Have you tried to run this sample other version (upgraded) than v1.6.1?&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Thanks.&lt;/p&gt;
&lt;p&gt;Best Regards,&lt;/p&gt;
&lt;p&gt;Kazi Afroza Sultana&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>