<?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>Error with MCU boot build.</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/121932/error-with-mcu-boot-build</link><description>Hi, 
 I am trying to get the sample projects working with the dongle, I am having difficulty with compiling the bluetooth examples using the provided instructions: 
 https://docs.nordicsemi.com/bundle/ncs-latest/page/zephyr/boards/nordic/nrf52840dongle</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Sat, 31 May 2025 17:39:20 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/121932/error-with-mcu-boot-build" /><item><title>RE: Error with MCU boot build.</title><link>https://devzone.nordicsemi.com/thread/537564?ContentTypeID=1</link><pubDate>Sat, 31 May 2025 17:39:20 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:fd95d9d4-ce98-4e19-8c4b-43d390fc52e4</guid><dc:creator>terminalObserver</dc:creator><description>&lt;p&gt;I worked around the issue by not using MCUboot and building the sample applications directly with the Zephyr platform and CMake/Ninja.&lt;br /&gt;&lt;br /&gt;&lt;/p&gt;
&lt;p&gt;The application can then be sequenced using the nrfutil pkg generate command...&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="text"&gt;#generate build from the v3.0.1/zephyr directory

rm -rf build
cmake -Bbuild -GNinja -DBOARD=nrf52840dongle &amp;quot;$MY_PROGRAM_DIR&amp;quot;

sleep 5

#generator binary
ninja -Cbuild

#generate the application zip for nrfutil, softdevice is builtin when using zephyr
nrfutil pkg generate --hw-version 52                      --sd-req 0x00                      --application build/zephyr/zephyr.hex                      --application-version 1                      zephyr_app_dfu.zip

sleep 5

#push code to device
nrfutil dfu usb-serial -pkg zephyr_app_dfu.zip -p /dev/ttyACM0
&lt;/pre&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>