<?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>Building MCUBoot in Segger IDE</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/62837/building-mcuboot-in-segger-ide</link><description>Hi Nordic experts, 
 
 I am trying to use Segger IDE to build the mcuboot boot-loader for NRF52x development kit. I am using NRF connect SDK 1.3.0 While I can build it successfully using command line,no luck so far with the IDE. 
 I went through teh mcuboot</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Tue, 23 Jun 2020 11:22:04 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/62837/building-mcuboot-in-segger-ide" /><item><title>RE: Building MCUBoot in Segger IDE</title><link>https://devzone.nordicsemi.com/thread/256399?ContentTypeID=1</link><pubDate>Tue, 23 Jun 2020 11:22:04 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:e96ed60d-763d-47a3-bdfb-e735c33117ed</guid><dc:creator>Simon</dc:creator><description>&lt;p&gt;I managed to program both the MCUboot and the application using SEGGER Embedded Studio (SES) Nordic Edition v4.52 (64-bit).&lt;/p&gt;
&lt;p&gt;I added &lt;em&gt;CONFIG_BOOTLOADER_MCUBOOT=y&lt;/em&gt; to&amp;nbsp;ncs\zephyr\samples\basic\blinky\prj.conf and built it using SES: &lt;em&gt;Build→Build zephyr/merged.hex&lt;/em&gt;. This will build both the mcuboot (&lt;em&gt;ncs\zephyr\samples\basic\blinky\build_nrf52840dk_nrf52840\mcuboot\zephyr\zephyr.hex&lt;/em&gt;) and the blinky application (&lt;em&gt;ncs\zephyr\samples\basic\blinky\build_nrf52840dk_nrf52840\zephyr\zephyr.hex&lt;/em&gt;)&amp;nbsp; and merge the hex files into the file&amp;nbsp;&lt;em&gt;ncs\zephyr\samples\basic\blinky\build_nrf52840dk_nrf52840\zephyr\merged.hex.&lt;/em&gt;&lt;/p&gt;
&lt;p&gt;If you&amp;#39;ve built the application as explained above, mcuboot and the application can&amp;nbsp;be flashed in some different ways. Here are some options:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;You can program the application and mcuboot separately by adding the files &lt;em&gt;ncs\zephyr\samples\basic\blinky\build_nrf52840dk_nrf52840\zephyr\app_signed.hex&lt;/em&gt; and &lt;em&gt;ncs\zephyr\samples\basic\blinky\build_nrf52840dk_nrf52840\mcuboot\zephyr\zephyr.hex&lt;/em&gt;&amp;nbsp;to the nRF Connect for Desktop Programmer app and flashing it all to the chip&lt;/li&gt;
&lt;li&gt;Flash merged.hex&amp;nbsp;using the Programmer app&lt;/li&gt;
&lt;li&gt;Flash merged.hex using SES&lt;br /&gt;
&lt;ul&gt;
&lt;li&gt;In SES, click on Target→Download zephyr/merged.hex&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Simon&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>