<?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>RTT Log with MCUBoot</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/102935/rtt-log-with-mcuboot</link><description>Hi, 
 I have a problem with nRF52840 module. 
 In my config, when I disabled CONFIG_BOOTLOADER_MCUBOOT=n, Then my circuit runs normally and prints out the log via RTT J Link. 
 But when I enabled CONFIG_BOOTLOADER_MCUBOOT=y, Then my circuit does not run</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Mon, 21 Aug 2023 08:41:29 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/102935/rtt-log-with-mcuboot" /><item><title>RE: RTT Log with MCUBoot</title><link>https://devzone.nordicsemi.com/thread/442229?ContentTypeID=1</link><pubDate>Mon, 21 Aug 2023 08:41:29 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:54abbfd5-c310-430a-a758-b1e8a6b979dc</guid><dc:creator>Einar Thorsrud</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;The file you use to update the application&amp;nbsp;via DFU is&amp;nbsp;app_update.bin.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: RTT Log with MCUBoot</title><link>https://devzone.nordicsemi.com/thread/442187?ContentTypeID=1</link><pubDate>Mon, 21 Aug 2023 01:39:53 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:1ecb0b3b-9abb-48d8-b4f9-5fc5ae8b0122</guid><dc:creator>thang47</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;Thank you, I flashed the wrong hex file, it should be merg.hex but I used MCUboot to DFU, which hex file to use for OTA. I tried the app_update file but it didn&amp;#39;t work.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: RTT Log with MCUBoot</title><link>https://devzone.nordicsemi.com/thread/442031?ContentTypeID=1</link><pubDate>Fri, 18 Aug 2023 08:16:35 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:27cd2f91-4a85-4ac0-a442-e08dea73da97</guid><dc:creator>Einar Thorsrud</dc:creator><description>&lt;p&gt;Can you elaborate more? Which exact hex file did you flash? (you need to flash both MCUboot and the signed application, or a merged hex file that includes both, which is simplest. This is called merge.hex. Is that what you flashed?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: RTT Log with MCUBoot</title><link>https://devzone.nordicsemi.com/thread/442015?ContentTypeID=1</link><pubDate>Fri, 18 Aug 2023 07:18:23 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:60984f9f-6f0a-4a81-8b51-0c71ea231cea</guid><dc:creator>thang47</dc:creator><description>&lt;p&gt;I made 1 led blinking, but when I add the MCUboot configuration, the led no longer blinks.&lt;br /&gt;I used J Flash and the project&amp;#39;s hex file to load the nrf52840 module&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: RTT Log with MCUBoot</title><link>https://devzone.nordicsemi.com/thread/442012?ContentTypeID=1</link><pubDate>Fri, 18 Aug 2023 07:17:10 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:0bbf485b-8237-4822-a571-7e3a84d40266</guid><dc:creator>thang47</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;My problem like the ticket:&amp;nbsp;&lt;a href="https://devzone.nordicsemi.com/f/nordic-q-a/93347/enabling-mcuboot-does-not-run-application"&gt;devzone.nordicsemi.com/.../enabling-mcuboot-does-not-run-application&lt;/a&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: RTT Log with MCUBoot</title><link>https://devzone.nordicsemi.com/thread/442010?ContentTypeID=1</link><pubDate>Fri, 18 Aug 2023 07:11:59 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:ef032307-63ac-40d1-9f6c-3ba08dc10d17</guid><dc:creator>Einar Thorsrud</dc:creator><description>&lt;p&gt;Ah, I see. I focused on the RTT logging and did not notice that that was just a way you observed if the app was running, and that the difference was in adding MCUBoot.&lt;/p&gt;
&lt;p&gt;A few questions to understand more&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;Did you program both MCUBoot and the signed application after having built the project with MCUBoot? (If so, the app should have started.)&lt;/li&gt;
&lt;li&gt;Did you do any other changes?&lt;/li&gt;
&lt;li&gt;Did you get any error or warnings when building or flashing?&lt;/li&gt;
&lt;li&gt;How did you flash?&lt;/li&gt;
&lt;li&gt;Have you done any debugging and what have you found out? What exactly does happen when you write &amp;quot;the chip doesn&amp;#39;t run&amp;quot;? You could&amp;nbsp;&lt;/li&gt;
&lt;/ol&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: RTT Log with MCUBoot</title><link>https://devzone.nordicsemi.com/thread/441985?ContentTypeID=1</link><pubDate>Fri, 18 Aug 2023 02:16:03 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:1184568a-0d34-4063-8b66-3d5feeb603b1</guid><dc:creator>thang47</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;But in my case the chip doesn&amp;#39;t run after I add mcuboot configuration&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: RTT Log with MCUBoot</title><link>https://devzone.nordicsemi.com/thread/441831?ContentTypeID=1</link><pubDate>Thu, 17 Aug 2023 11:20:12 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:ece92d68-1bdf-4d98-94b8-ea54f5febbb4</guid><dc:creator>Einar Thorsrud</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;Is the problem here that you don&amp;#39;t get RTT logs from the application when you have RTT logging enabled in MCUBoot? If so it could be that you are seeing a quite common issue, which is related to how the RTT viewer works. By default, it will search for the RTT buffer in memory, and stick with the first it finds. And the bootloader and application will typically not place the RTT buffer at the same location. In that case, you could manually specify where the buffer is as suggested in &lt;a href="https://devzone.nordicsemi.com/f/nordic-q-a/97415/no-log-in-rtt-viewer-but-segger-yes/414130"&gt;this post&lt;/a&gt;.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>