<?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>flashing bootloader</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/83169/flashing-bootloader</link><description>Hi All, 
 i am using the below link to flash the bootloader 
 https://devzone.nordicsemi.com/guides/nrf-connect-sdk-guides/b/software/posts/device-firmware-update-dfu-with-mcuboot-bootloader 
 
 but it gives me this error when i build 
 [199/206] Linking</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Tue, 04 Jan 2022 12:18:22 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/83169/flashing-bootloader" /><item><title>RE: flashing bootloader</title><link>https://devzone.nordicsemi.com/thread/345888?ContentTypeID=1</link><pubDate>Tue, 04 Jan 2022 12:18:22 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:f8883927-4239-4bf1-bec5-3c5e642b9d46</guid><dc:creator>Sigurd Hellesvik</dc:creator><description>&lt;p&gt;Hi&lt;/p&gt;
&lt;p&gt;The build system will only load configuration files following a specific naming and structure.&lt;br /&gt;Generally the build system is explained in &lt;a href="https://developer.nordicsemi.com/nRF_Connect_SDK/doc/1.8.0/nrf/app_build_system.html"&gt;Build and configuration system documentation&lt;/a&gt;. &lt;br /&gt;MCUboot is a secondary image, built using multi-image build. This is documented in &lt;a href="https://developer.nordicsemi.com/nRF_Connect_SDK/doc/1.8.0/nrf/ug_multi_image.html#image-specific-variables"&gt;Image-specific variables under Multi-image builds&lt;/a&gt;.&lt;/p&gt;
&lt;p&gt;For the statement that says the mcuboot.conf should be named as it is:&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="text"&gt;  # Note: The folder `child_image/&amp;lt;ACI_NAME&amp;gt;` is only need when configurations
  #       files must be used instead of the child image default configs.
  #       The append a child image default config, place the addetional settings
  #       in `child_image/&amp;lt;ACI_NAME&amp;gt;.conf`.&lt;/pre&gt;&lt;/p&gt;
&lt;p&gt;Regards,&lt;br /&gt;Sigurd Hellesvik&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: flashing bootloader</title><link>https://devzone.nordicsemi.com/thread/345527?ContentTypeID=1</link><pubDate>Fri, 31 Dec 2021 05:59:05 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:26b353f8-d6c8-4c18-90df-d1864c4aeaa9</guid><dc:creator>Tushar_V</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;Thank you i am able to flash the app_update.bin file via nrf_USB ,&lt;/p&gt;
&lt;p&gt;I have a doubt on when i changed to mcuboot.conf how did it work can u explain it to me&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Regards&lt;/p&gt;
&lt;p&gt;Tushar&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: flashing bootloader</title><link>https://devzone.nordicsemi.com/thread/345463?ContentTypeID=1</link><pubDate>Thu, 30 Dec 2021 11:36:50 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:59c2af2a-c2ef-4bec-be10-194c996c6378</guid><dc:creator>Sigurd Hellesvik</dc:creator><description>&lt;p&gt;Hi&lt;/p&gt;
&lt;p&gt;When I flash the zephyrsamples/bluetooth/hci_usb withadded MCUBOOT bootloader and connect both the USB connectors to my laptop, I can see two ACM ports available.&lt;/p&gt;
&lt;p&gt;One will be the debugger&lt;/p&gt;
&lt;p&gt;The ofther is from the nRF USB&lt;br /&gt;This is the one which the bootloader can be reached from.&lt;/p&gt;
&lt;p&gt;Have you programmed the hci_usb with bootloader and plugged in both USB cables?&lt;/p&gt;
&lt;p&gt;Regards,&lt;br /&gt;Sigurd Hellesvik&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: flashing bootloader</title><link>https://devzone.nordicsemi.com/thread/345460?ContentTypeID=1</link><pubDate>Thu, 30 Dec 2021 11:18:25 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:80688fb5-4106-48a6-94e2-7f2f49bc61d9</guid><dc:creator>Tushar_V</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;It&amp;#39;s&amp;nbsp; /dev/ttyACM0 .&lt;/p&gt;
&lt;p&gt;Regards&lt;/p&gt;
&lt;p&gt;Tushar&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: flashing bootloader</title><link>https://devzone.nordicsemi.com/thread/345458?ContentTypeID=1</link><pubDate>Thu, 30 Dec 2021 11:15:00 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:75549289-1c6c-47a9-bd38-56aa9ac16521</guid><dc:creator>Sigurd Hellesvik</dc:creator><description>&lt;p&gt;Hi&lt;/p&gt;
&lt;p&gt;Which available ttyACM interfaces do you have available?&lt;br /&gt;&lt;pre class="ui-code" data-mode="text"&gt;ls /dev/ttyACM*&lt;/pre&gt;&lt;/p&gt;
&lt;p&gt;Regards,&lt;br /&gt;Sigurd Hellesvik&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: flashing bootloader</title><link>https://devzone.nordicsemi.com/thread/345453?ContentTypeID=1</link><pubDate>Thu, 30 Dec 2021 10:50:57 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:aed2c277-fe3b-456a-a4c9-55d44bc5126b</guid><dc:creator>Tushar_V</dc:creator><description>&lt;p&gt;Hi Sigurd Hellesvik,&lt;/p&gt;
&lt;p&gt;With your suggestion i was able to flash the bootloader but when i come step 31 and write this command&lt;/p&gt;
&lt;p&gt;mcumgr --conntype serial --connstring &amp;quot;/dev/&amp;lt;your_serial_port_name&amp;gt;,baud=115200&amp;quot; image list. &lt;/p&gt;
&lt;p&gt;it gives error nmp timeout in ubuntu&lt;/p&gt;
&lt;p&gt;Regards&lt;/p&gt;
&lt;p&gt;Tushar&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: flashing bootloader</title><link>https://devzone.nordicsemi.com/thread/345433?ContentTypeID=1</link><pubDate>Thu, 30 Dec 2021 09:00:26 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:84e67b4d-1161-4768-90f5-6c417928984b</guid><dc:creator>Sigurd Hellesvik</dc:creator><description>&lt;p&gt;Hi&lt;/p&gt;
&lt;p&gt;I forgot that you also need to rename the file inside the child_image folder to mcuboot to mcuboot.conf. &lt;br /&gt;Then your folder structure will look like this:&lt;/p&gt;
&lt;p&gt;&lt;img src="https://devzone.nordicsemi.com/resized-image/__size/320x240/__key/communityserver-discussions-components-files/4/pastedimage1640854717956v1.png" alt=" " /&gt;&lt;/p&gt;
&lt;p&gt;To check that the settings are set correctly, you can do:&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="text"&gt;west build -b nrf52840dk_nrf52840 -–pristine -t mcuboot_menuconfig&lt;/pre&gt;&lt;/p&gt;
&lt;p&gt;and verify that the &amp;quot;&lt;em&gt;Flash space reserved&lt;/em&gt;&amp;quot; as explained in step 10 is already set as what you set it to in the configuration.&lt;/p&gt;
&lt;p&gt;Regards,&lt;br /&gt;Sigurd Hellesvik&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: flashing bootloader</title><link>https://devzone.nordicsemi.com/thread/345422?ContentTypeID=1</link><pubDate>Thu, 30 Dec 2021 06:50:41 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:a001e2cd-9a16-4c2c-825e-dfe972d3d009</guid><dc:creator>Tushar_V</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;when i dont put argument Dmcuboot_OVERLAY_CONFIG it gets build and then i flash it successfully&lt;/p&gt;
&lt;p&gt;so i went RUNNING DFU PROCESS i have installed mcumgr and in when i do step no 27, i dont get the image that is shown in step no 28 of the below link.&lt;/p&gt;
&lt;p&gt;&lt;a href="https://devzone.nordicsemi.com/guides/nrf-connect-sdk-guides/b/software/posts/device-firmware-update-dfu-with-mcuboot-bootloader"&gt;devzone.nordicsemi.com/.../device-firmware-update-dfu-with-mcuboot-bootloader&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Regards&lt;/p&gt;
&lt;p&gt;Tushar&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: flashing bootloader</title><link>https://devzone.nordicsemi.com/thread/345361?ContentTypeID=1</link><pubDate>Wed, 29 Dec 2021 13:04:05 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:92399f9e-01a7-4e77-bdb6-7d2503a8c5e2</guid><dc:creator>Sigurd Hellesvik</dc:creator><description>&lt;p&gt;Hi&lt;/p&gt;
&lt;p&gt;I get the same error as you.&lt;/p&gt;
&lt;p&gt;I suspect that this is due to some changes since v1.4.1, which the tutorial was made for.&lt;/p&gt;
&lt;p&gt;To fix this now, just make a folder named &lt;strong&gt;child_image&lt;/strong&gt; in your project, and move the &amp;quot;usb_cdc_acm_log_recovery.conf&amp;quot; to this folder. &lt;br /&gt;Then you do not need the &amp;quot;Dmcuboot_OVERLAY_CONFIG&amp;quot; argument any more either.&lt;/p&gt;
&lt;p&gt;Does this fix your issue?&lt;/p&gt;
&lt;p&gt;Regards,&lt;br /&gt;Sigurd Hellesvik&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: flashing bootloader</title><link>https://devzone.nordicsemi.com/thread/345339?ContentTypeID=1</link><pubDate>Wed, 29 Dec 2021 11:30:51 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:6b7a211b-91b2-4054-b37d-b0094daf0495</guid><dc:creator>Tushar_V</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;iam using nrf sdk :1.7.1&lt;/p&gt;
&lt;p&gt;toolchain:gcc-arm-none-eabi-10.3-2021.10&lt;/p&gt;
&lt;p&gt;Regards&lt;/p&gt;
&lt;p&gt;Tushar&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: flashing bootloader</title><link>https://devzone.nordicsemi.com/thread/345270?ContentTypeID=1</link><pubDate>Tue, 28 Dec 2021 14:55:11 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:4ab84173-eef5-4a69-8aaf-660bdaedfca7</guid><dc:creator>Sigurd Hellesvik</dc:creator><description>&lt;p&gt;Hi&lt;/p&gt;
&lt;p&gt;I will try to reproduce your issue.&lt;br /&gt;But first: which version of the Toolchain are you using?&lt;/p&gt;
&lt;p&gt;Regards,&lt;br /&gt;Sigurd Hellesvik&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: flashing bootloader</title><link>https://devzone.nordicsemi.com/thread/345242?ContentTypeID=1</link><pubDate>Tue, 28 Dec 2021 12:40:02 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:8cc19bee-debe-4b6e-8c18-6a30746f36ff</guid><dc:creator>Tushar_V</dc:creator><description>&lt;p&gt;Hi Sigurd Hellesvik,&lt;/p&gt;
&lt;p&gt;I performed the above steps and ive set&lt;/p&gt;
&lt;p&gt;CONFIG_PM_PARTITION_SIZE_MCUBOOT=0x10000 and ive also increase this value&lt;/p&gt;
&lt;p&gt;but it shows same above behaviour&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Regards&lt;/p&gt;
&lt;p&gt;Tushar&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: flashing bootloader</title><link>https://devzone.nordicsemi.com/thread/345209?ContentTypeID=1</link><pubDate>Tue, 28 Dec 2021 09:30:26 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:7a92f91f-9bf8-432d-a59a-b4c871a03d44</guid><dc:creator>Sigurd Hellesvik</dc:creator><description>&lt;p&gt;Hi Tushar&lt;/p&gt;
&lt;p&gt;The error you describe looks like the error in step 8 from the guide you link to:&lt;/p&gt;
&lt;p&gt;&amp;quot;8. Observe the error statement:&lt;br /&gt;&lt;img style="cursor:zoom-in;" alt=" " src="https://devzone.nordicsemi.com/resized-image/__size/640x480/__key/communityserver-discussions-components-files/4/pastedimage1604439994812v10.png" /&gt;&lt;br /&gt;This error message signifies that the MCUBoot partition in flash has overflowed which means that the size of the generated MCUBoot code is too big by 14556 bytes.&amp;nbsp; To remedy this, we will adjust MCUBoot’s flash partition size so that MCUBoot is able to fit.&amp;quot;&lt;/p&gt;
&lt;p&gt;Try to perform step 9-14 to get a successful build.&lt;/p&gt;
&lt;p&gt;Regards,&lt;br /&gt;Sigurd Hellesvik&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>