<?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>Make MCUboot run without enabling serial</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/49110/make-mcuboot-run-without-enabling-serial</link><description>Im trying to recreate the example from: 
 https://devzone.nordicsemi.com/nordic/cellular-iot-guides/b/hardware-design/posts/measuring-psm-idle-current-on-the-nrf91-dk 
 But also having MCUboot appplication compiled in. 
 But is I disable the serial port</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Mon, 01 Jul 2019 11:42:32 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/49110/make-mcuboot-run-without-enabling-serial" /><item><title>RE: Make MCUboot run without enabling serial</title><link>https://devzone.nordicsemi.com/thread/195613?ContentTypeID=1</link><pubDate>Mon, 01 Jul 2019 11:42:32 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:29ebdf90-4866-4b53-8f7d-2875f23d0581</guid><dc:creator>Eirik Aa</dc:creator><description>&lt;p&gt;Fixed... The error was me editing the wrong project file.&lt;/p&gt;
&lt;p&gt;The right project file is:&lt;/p&gt;
&lt;p&gt;mcuboot\boot\zephyr\prj.conf&lt;/p&gt;
&lt;p&gt;And just adding:&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="text"&gt;CONFIG_SERIAL=n&lt;/pre&gt;&lt;/p&gt;
&lt;p&gt;Fixed my issue. Thanxs for suggestions and help&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Make MCUboot run without enabling serial</title><link>https://devzone.nordicsemi.com/thread/195328?ContentTypeID=1</link><pubDate>Fri, 28 Jun 2019 10:24:49 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:6024f3d6-8420-4486-b671-c9f6b38577cb</guid><dc:creator>MJD093</dc:creator><description>&lt;p&gt;This is for the nRF9160 right? I&amp;#39;ve never see any output from mcuboot on start-up. Upon starting any nRF9160 sample or custom program I would only see:&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="text"&gt;***** Booting Zephyr OS v1.14.99-ncs1 *****
Flash region		Domain		Permissions
00 0x00000 0x08000 	Secure		rwxl
01 0x08000 0x10000 	Non-Secure	rwxl
02 0x10000 0x18000 	Non-Secure	rwxl
03 0x18000 0x20000 	Non-Secure	rwxl
04 0x20000 0x28000 	Non-Secure	rwxl
05 0x28000 0x30000 	Non-Secure	rwxl
06 0x30000 0x38000 	Non-Secure	rwxl
07 0x38000 0x40000 	Non-Secure	rwxl
08 0x40000 0x48000 	Non-Secure	rwxl
09 0x48000 0x50000 	Non-Secure	rwxl
10 0x50000 0x58000 	Non-Secure	rwxl
11 0x58000 0x60000 	Nol2 0x60000 0x68000 	Non-Secure	rwxl
13 0x68000 0x70000 	Non-Secure	rwxl
14 0x70000 0x78000 	Non-Secure	rwxl
15 0x78000 0x80000 	Non-Secure	rwxl
16 0x80000 0x88000 	Non-Secure	rwxl
17 0x88000 0x90000 	Non-Secure	rwxl
18 0x90000 0x98000 	Non-Secure	rwxl
19 0x98000 0xa0000 	Non-Secure	rwxl
20 0xa0000 0xa8000 	Non-Secure	rwxl
21 0xa8000 0xb0000 	Non-Secure	rwxl
22 0xb0000 0xb8000 	Non-Secure	rwxl
23 0xb8000 0xc0000 	Non-Secure	rwxl
24 0xc0000 0xc8000 	Non-Secure	rwxl
25 0xc8000 0xd0000 	Non-Secure	rwxl
26 0xd0000 0xd8000 	Non-Secure	rwxl
27 0xd8000 0xe0000 	Non-Secure	rwxl
28 0xe0000 0xe8000 	Non-Secure	rwxl
29 0xe8000 0xf0000 	Non-Secure	rwxl
30 0xf0000 0xf8000 	Non-Secure	rwxl
31 0xf8000 0x100000 	Non-Secure	rwxl

SRAM region		Domain		Permissions
00 0x00000 0x02000	Secure		rwxl
01 0x02000 0x04000	Secure		rwxl
02 0x04000 0x06000	Secure		rwxl
03 0x06000 0x08000	Secure		rwxl
04 0x08000 0x0a000	Secure		rwxl
05 0x0a000 0x0c000	Secure		rwxl
06 0x0c000 0x0e000	Secure		rwxl
07 0x0e000 0x10000	Secure		rwxl
08 0x10000 0x12000	Non-Secure	rwxl
09 0x12000 0x14000	Non-Secure	rwxl
10 0x14000 0x16000	Non-Secure	rwxl
11 0x16000 0x18000	Non-Secure	rwxl
12 0x18000 0x1a000	Non-Secure	rwxl
13 0x1a000 0x1c000	Non-Secure	rwxl
14 0x1c000 0x1e000	Non-Secure	rwxl
15 0x1e000 0x20000	Non-Secure	rwxl
16 0x20000 0x22000	Non-Secure	rwxl
17 0x22000 0x24000	Non-Secure	rwxl
18 0x24000 0x26000	Non-Secure	rwxl
19 0x26000 0x28000	Non-Secure	rwxl
20 0x28000 0x2a000	Non-Secure	rwxl
21 0x2a000 0x2c000	Non-Secure	rwxl
22 0x2c000 0x2e000	Non-Secure	rwxl
23 0x2e000 0x30000	Non-Secure	rwxl
24 0x30000 0x32000	Non-Secure	rwxl
25 0x32000 0x34000	Non-Secure	rwxl
26 0x34000 0x36000	Non-Secure	rwxl
27 0x36000 0x38000	Non-Secure	rwxl
28 0x38000 0x3a000	Non-Secure	rwxl
29 0x3a000 0x3c000	Non-Secure	rwxl
30 0x3c000 0x3e000	Non-Secure	rwxl
31 0x3e000 0x40000	Non-Secure	rwxl

Peripheral		Domain		Status
00 NRF_P0		Non-Secure	OK
01 NRF_CLOCK		Non-Secure	OK
02 NRF_RTC1		Non-Secure	OK
03 NRF_NVMC		Non-Secure	OK
04 NRF_UARTE1		Non-Secure	OK
05 NRF_UARTE2		Secure		SKIP
06 NRF_IPC		Non-Secure	OK
07 NRF_VMC		Non-Secure	OK
08 NRF_FPU		Non-Secure	OK
09 NRF_EGU1		Non-Secure	OK
10 NRF_EGU2		Non-Secure	OK
11 NRF_TWIM2		Non-Secure	OK
12 NRF_SPIM3		Non-Secure	OK
13 NRF_TIMER0		Non-Secure	OK
14 NRF_TIMER1		Non-Secure	OK
15 NRF_TIMER2		Non-Secure	OK
16 NRF_SAADC		Non-Secure	OK
17 NRF_GPIOTE1		Non-Secure	OK

SPM: NS image at 0x8000
SPM: NS MSP at 0x20023be8
SPM: NS reset vector at 0xe94d
SPM: prepare to jump to Non-Secure image.
***** Booting Zephyr OS v1.14.99-ncs1 *****
Application Started
&lt;/pre&gt;&lt;/p&gt;
&lt;p&gt;Followed by the rest of my code. This is all silenced when setting CONFIG_SERIAL=n. The only time I would see information close to that is when I invoke NVS which would show:&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="text"&gt;[00:00:01.230,987] &#x1B;[0m&amp;lt;inf&amp;gt; fs_nvs: 102 Sectors of 4096 bytes&#x1B;[0m
[00:00:01.230,987] &#x1B;[0m&amp;lt;inf&amp;gt; fs_nvs: alloc wra: 0, ff0&#x1B;[0m
[00:00:01.230,987] &#x1B;[0m&amp;lt;inf&amp;gt; fs_nvs: data wra: 0, 0&#x1B;[0m
&lt;/pre&gt;&lt;/p&gt;
&lt;p&gt;But that is again silenced by SERIAL=n. Have you invoked something in either your code or in your prj.conf to display this kind of information. Maybe some kind of logging configuration?&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;EDIT:&lt;/p&gt;
&lt;p&gt;Ah ok, re-read your OP, so you are adding MCUBoot to your project which isn&amp;#39;t normally done in the example files. Looking at the MCUBoot template, have you tried setting #define MCUBOOT_HAVE_LOGGING to 0?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Make MCUboot run without enabling serial</title><link>https://devzone.nordicsemi.com/thread/195324?ContentTypeID=1</link><pubDate>Fri, 28 Jun 2019 10:19:15 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:0f4b8d22-aee6-40ab-ba3b-d70df8b98b96</guid><dc:creator>Eirik Aa</dc:creator><description>&lt;p&gt;My mcuboot outputs:&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="text"&gt;***** Booting Zephyr OS v1.14.99-ncs1 *****
[00:00:00.004,272] &amp;lt;inf&amp;gt; mcuboot: Starting bootloader
[00:00:00.012,817] &amp;lt;inf&amp;gt; mcuboot: Primary image: magic=unset, copy_done=0x3, image_ok=0x1
[00:00:00.023,925] &amp;lt;inf&amp;gt; mcuboot: Scratch: magic=unset, copy_done=0x50, image_ok=0x3
[00:00:00.034,484] &amp;lt;inf&amp;gt; mcuboot: Boot source: primary slot
[00:00:00.045,440] &amp;lt;inf&amp;gt; mcuboot: Swap type: none
[00:00:00.466,979] &amp;lt;inf&amp;gt; mcuboot: Bootloader chainload address offset: 0xc000
[00:00:00.476,715] &amp;lt;inf&amp;gt; mcuboot: Jumping to the first image slot
&lt;/pre&gt;&lt;/p&gt;
&lt;p&gt;Edit: Hm.. Thats perhaps the boot banner... Recompiling.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Make MCUboot run without enabling serial</title><link>https://devzone.nordicsemi.com/thread/195316?ContentTypeID=1</link><pubDate>Fri, 28 Jun 2019 09:42:18 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:f7b6bbb1-5f54-42b4-b423-60316500ed07</guid><dc:creator>MJD093</dc:creator><description>&lt;p&gt;A quick question I would have is, did you maybe put the CONFIG_SERIAL=n into the wrong prj.conf? I sometimes mix up the folder files when I&amp;#39;m working across multiple application folders as they are all called the same thing in every sample and custom application folder. &lt;span class="emoticon" data-url="https://devzone.nordicsemi.com/cfs-file/__key/system/emoji/1f605.svg" title="Sweat smile"&gt;&amp;#x1f605;&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Make MCUboot run without enabling serial</title><link>https://devzone.nordicsemi.com/thread/195314?ContentTypeID=1</link><pubDate>Fri, 28 Jun 2019 09:30:57 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:6d8d4ac7-db9a-42a6-89a5-8d6439de2d7d</guid><dc:creator>Eirik Aa</dc:creator><description>&lt;p&gt;Thanks. Then I will start figuring out of the prolem is elsewhere. I will get back with my finding :)&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Make MCUboot run without enabling serial</title><link>https://devzone.nordicsemi.com/thread/195289?ContentTypeID=1</link><pubDate>Fri, 28 Jun 2019 08:56:52 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:4c0e3a00-9e72-408e-a9ca-eacd8a4a9079</guid><dc:creator>MJD093</dc:creator><description>&lt;p&gt;Are you sure you have disabled the serial port? I have added CONFIG_SERIAL=n to SPM and my own custom project and the device no longer prints printk() or printf() to the Link Monitor.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>