<?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>Adding MCUBOOT Bootloader to Peripheral UART example stops SES IDE RTT debug terminal output</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/79682/adding-mcuboot-bootloader-to-peripheral-uart-example-stops-ses-ide-rtt-debug-terminal-output</link><description>nRF Connect SDK v1.6.1 
 HW - nRF 52832 DK 
 Host OS - Ubuntu 18.04 LTS 
 SES IDE Nordic Edition v5.60 with Segger J-Link USB 
 
 If I build the Peripheral UART example then RTT debug logging in SES IDE terminal works. When I add the MCUBOOT Bootloader</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Fri, 17 Sep 2021 11:25:48 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/79682/adding-mcuboot-bootloader-to-peripheral-uart-example-stops-ses-ide-rtt-debug-terminal-output" /><item><title>RE: Adding MCUBOOT Bootloader to Peripheral UART example stops SES IDE RTT debug terminal output</title><link>https://devzone.nordicsemi.com/thread/330005?ContentTypeID=1</link><pubDate>Fri, 17 Sep 2021 11:25:48 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:d871b063-3f35-481a-b9a1-bb1c897f4ca7</guid><dc:creator>Einar Thorsrud</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;It should work if you disable RTT by adding this to your application&amp;#39;s CMakeLists.txt:&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="text"&gt;set(mcuboot_CONF_FILE prj.conf ${CMAKE_CURRENT_LIST_DIR}/mcuboot.conf)&lt;/pre&gt;&lt;/p&gt;
&lt;p&gt;and create a file named mcuboot.conf in the same location (your application folder) which you populate with:&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="text"&gt;CONFIG_USE_SEGGER_RTT=n&lt;/pre&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Adding MCUBOOT Bootloader to Peripheral UART example stops SES IDE RTT debug terminal output</title><link>https://devzone.nordicsemi.com/thread/329824?ContentTypeID=1</link><pubDate>Thu, 16 Sep 2021 11:58:28 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:53be9602-203b-4fc9-8aa8-b0c66f689837</guid><dc:creator>MBradshaw</dc:creator><description>&lt;p&gt;I am using the defaults in prj.conf for MCUBoot.&amp;nbsp; &amp;nbsp;I did not enable it in the prj.conf file for ncs/bootloader/mcuboot/boot/zephyr/&lt;/p&gt;
&lt;p&gt;MCUBoot proj.conf Settings:&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;CONFIG_CONSOLE_HANDLER=y&lt;br /&gt;CONFIG_SYSTEM_CLOCK_DISABLE=y&lt;br /&gt;CONFIG_SYS_POWER_MANAGEMENT=n&lt;/p&gt;
&lt;p&gt;CONFIG_MAIN_STACK_SIZE=10240&lt;br /&gt;CONFIG_MBEDTLS_CFG_FILE=&amp;quot;mcuboot-mbedtls-cfg.h&amp;quot;&lt;/p&gt;
&lt;p&gt;CONFIG_BOOT_SWAP_SAVE_ENCTLV=n&lt;br /&gt;CONFIG_BOOT_ENCRYPT_RSA=n&lt;br /&gt;CONFIG_BOOT_ENCRYPT_EC256=n&lt;br /&gt;CONFIG_BOOT_ENCRYPT_X25519=n&lt;/p&gt;
&lt;p&gt;CONFIG_BOOT_UPGRADE_ONLY=n&lt;br /&gt;CONFIG_BOOT_BOOTSTRAP=n&lt;/p&gt;
&lt;p&gt;### mbedTLS has its own heap&lt;br /&gt;# CONFIG_HEAP_MEM_POOL_SIZE is not set&lt;/p&gt;
&lt;p&gt;### We never want Zephyr&amp;#39;s copy of tinycrypt. If tinycrypt is needed,&lt;br /&gt;### MCUboot has its own copy in tree.&lt;br /&gt;# CONFIG_TINYCRYPT is not set&lt;br /&gt;# CONFIG_TINYCRYPT_ECC_DSA is not set&lt;br /&gt;# CONFIG_TINYCRYPT_SHA256 is not set&lt;/p&gt;
&lt;p&gt;CONFIG_FLASH=y&lt;br /&gt;CONFIG_FPROTECT=y&lt;/p&gt;
&lt;p&gt;### Various Zephyr boards enable features that we don&amp;#39;t want.&lt;br /&gt;# CONFIG_BT is not set&lt;br /&gt;# CONFIG_BT_CTLR is not set&lt;br /&gt;# CONFIG_I2C is not set&lt;/p&gt;
&lt;p&gt;CONFIG_LOG=y&lt;br /&gt;CONFIG_LOG_MODE_MINIMAL=y # former CONFIG_MODE_MINIMAL &lt;br /&gt;### Ensure Zephyr logging changes don&amp;#39;t use more resources&lt;br /&gt;CONFIG_LOG_DEFAULT_LEVEL=0&lt;br /&gt;### Decrease footprint by ~4 KB in comparison to CBPRINTF_COMPLETE=y&lt;br /&gt;CONFIG_CBPRINTF_NANO=y&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Adding MCUBOOT Bootloader to Peripheral UART example stops SES IDE RTT debug terminal output</title><link>https://devzone.nordicsemi.com/thread/329812?ContentTypeID=1</link><pubDate>Thu, 16 Sep 2021 11:52:13 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:c44ec280-8fef-43ac-8705-f8e69d66fbb5</guid><dc:creator>Einar Thorsrud</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;Do you by any chance use RTT logging in MCUBoot as well as in your application? If so, that could cause problems. In that case, the easiest fix is to disable RTT logging in MCUBoot.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>