<?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>Unable to parse MCUBoot image file</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/98574/unable-to-parse-mcuboot-image-file</link><description>I am trying to flash an application image in nRF9160 on Thingy91. Thingy91 is in MCUBoot mode, and the selector switch is on nRF91 position. I get an error as below if I try to flash the image. I have enabled MCUBoot thru Guiconfig and not added configuration</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Tue, 02 Sep 2025 16:06:34 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/98574/unable-to-parse-mcuboot-image-file" /><item><title>RE: Unable to parse MCUBoot image file</title><link>https://devzone.nordicsemi.com/thread/547531?ContentTypeID=1</link><pubDate>Tue, 02 Sep 2025 16:06:34 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:36104b39-28c3-476b-a9bf-dc8485851555</guid><dc:creator>Amanda Hsieh</dc:creator><description>&lt;p&gt;Please create a new support&amp;nbsp;case for your issue. Thanks.&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Unable to parse MCUBoot image file</title><link>https://devzone.nordicsemi.com/thread/547236?ContentTypeID=1</link><pubDate>Sat, 30 Aug 2025 10:51:16 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:aaa35c5d-b9de-4fdd-87d0-c5c934d88666</guid><dc:creator>Dominator</dc:creator><description>&lt;p data-start="270" data-end="348"&gt;I tried to add DFU support to my Thingy:91 project. I tested this with both:&lt;/p&gt;
&lt;ol data-start="349" data-end="439"&gt;
&lt;li data-start="349" data-end="391"&gt;
&lt;p data-start="352" data-end="391"&gt;The default &lt;strong data-start="364" data-end="389"&gt;Asset Tracker v2 code&lt;/strong&gt;&lt;/p&gt;
&lt;/li&gt;
&lt;li data-start="392" data-end="439"&gt;
&lt;p data-start="395" data-end="439"&gt;A &lt;strong data-start="397" data-end="437"&gt;modified version of Asset Tracker v2&lt;/strong&gt;&lt;/p&gt;
&lt;/li&gt;
&lt;/ol&gt;
&lt;p data-start="441" data-end="523"&gt;In both cases, the build process succeeded, but flashing the merged image fails.&lt;/p&gt;
&lt;hr data-start="525" data-end="528" /&gt;
&lt;h3 data-start="530" data-end="548"&gt;Steps Taken:&lt;/h3&gt;
&lt;ol data-start="549" data-end="822"&gt;
&lt;li data-start="549" data-end="629"&gt;
&lt;p data-start="552" data-end="629"&gt;Followed the official Nordic guide for adding &lt;strong data-start="598" data-end="613"&gt;DFU support&lt;/strong&gt; to Thingy:91.&lt;/p&gt;
&lt;/li&gt;
&lt;li data-start="630" data-end="687"&gt;
&lt;p data-start="633" data-end="687"&gt;Built the project successfully using &lt;strong data-start="670" data-end="684"&gt;west build&lt;/strong&gt;.&lt;/p&gt;
&lt;/li&gt;
&lt;li data-start="688" data-end="775"&gt;
&lt;p data-start="691" data-end="712"&gt;Tried flashing via:&lt;/p&gt;
&lt;ul data-start="716" data-end="775"&gt;
&lt;li data-start="716" data-end="744"&gt;
&lt;p data-start="718" data-end="744"&gt;&lt;strong data-start="718" data-end="742"&gt;nRF Programmer (USB)&lt;/strong&gt;&lt;/p&gt;
&lt;/li&gt;
&lt;li data-start="748" data-end="775"&gt;
&lt;p data-start="750" data-end="775"&gt;&lt;strong data-start="750" data-end="773"&gt;SWD (Segger J-Link)&lt;/strong&gt;&lt;/p&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;li data-start="776" data-end="822"&gt;
&lt;p data-start="779" data-end="822"&gt;Both attempts resulted in the same error.&lt;/p&gt;
&lt;p&gt;Error: One or more batch tasks failed:&lt;br /&gt; * : Device error: Emulator error: Failed to connect to device: Feature is not supported (Generic)&lt;/p&gt;
&lt;p&gt;FATAL ERROR: command exited with status 1: nrfutil --json device x-execute-batch --batch-path &amp;#39;C:\Users\Dell\workspace_2\project\app\build\generated_nrfutil_batch.json&amp;#39; --serial-number&amp;nbsp;&lt;br /&gt;(Erros in vs code)&lt;/p&gt;
&lt;div&gt;&lt;span&gt;&amp;nbsp;C:\Users\Dell\workspace_2\project\app\build\merged.hex&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;div class="fade _container_1ewxy_16 _danger_1ewxy_30 alert alert-danger show"&gt;Error: Failed with exit code 1. One or more program tasks failed: * THINGY91_: Unable to parse the MCUBoot image file. Unable to parse image header: invalid magic value (FileOpenFailed). Message: Failed, Unable to parse the MCUBoot image file. Unable to parse image header: invalid magic value.(nrf prgrammer)&lt;/div&gt;
&lt;div class="fade _container_1ewxy_16 _danger_1ewxy_30 alert alert-danger show"&gt;&lt;/div&gt;
&lt;div class="fade _container_1ewxy_16 _danger_1ewxy_30 alert alert-danger show"&gt;i tried everything but it is giving the same error and additionally there is an bug in the nrf programmer of versions 4.61 and 4.6.2 when initial board setup downloaded this thingy91_mfw-1.3.6_sdk-2.7.0 file and extracted the file in that while tried to upload the modem firmware it was successful and when i tried to upload the sample applications it did not let me when i downgraded that application built successfully now facing problems to upload my hex files.&lt;br /&gt;&amp;nbsp;&lt;/div&gt;
&lt;/div&gt;
&lt;/li&gt;
&lt;/ol&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Unable to parse MCUBoot image file</title><link>https://devzone.nordicsemi.com/thread/420017?ContentTypeID=1</link><pubDate>Wed, 12 Apr 2023 15:00:26 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:f5a21649-7fc0-410e-835c-5d5b5f40c41d</guid><dc:creator>Amanda Hsieh</dc:creator><description>&lt;p&gt;Hi,&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Please&amp;nbsp;program with the&amp;nbsp;&lt;span&gt;app_signed.hex as the guide indicated.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;-Amanda H.&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Unable to parse MCUBoot image file</title><link>https://devzone.nordicsemi.com/thread/419839?ContentTypeID=1</link><pubDate>Wed, 12 Apr 2023 05:25:07 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:b746e048-5cda-49d4-bd26-5bf3b5061554</guid><dc:creator>umeshdj</dc:creator><description>&lt;p&gt;Hi Amanda&lt;/p&gt;
&lt;p&gt;I continue to get the same error even after following the steps mentioned in&amp;nbsp;&amp;nbsp;&lt;a href="https://devzone.nordicsemi.com/guides/cellular-iot-guides/b/getting-started-cellular/posts/how-to-program-any-project-to-the-thingy-91-with-dfu"&gt;How to add DFU support to your Thingy:91 project&lt;/a&gt;&amp;nbsp;Please note that I am getting same error even if I try to flash prebuilt asset tracker application.&amp;nbsp;&lt;a href="https://devzone.nordicsemi.com/cfs-file/__key/communityserver-discussions-components-files/4/nRF91Accel.zip"&gt;devzone.nordicsemi.com/.../nRF91Accel.zip&lt;/a&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Unable to parse MCUBoot image file</title><link>https://devzone.nordicsemi.com/thread/419756?ContentTypeID=1</link><pubDate>Tue, 11 Apr 2023 13:58:08 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:8e3f9ec5-7e2e-4015-99b7-c2a026d0c8d7</guid><dc:creator>Amanda Hsieh</dc:creator><description>&lt;p&gt;Hi,&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Take a look at this guide&amp;nbsp;&amp;nbsp;&lt;a href="https://devzone.nordicsemi.com/guides/cellular-iot-guides/b/getting-started-cellular/posts/how-to-program-any-project-to-the-thingy-91-with-dfu"&gt;How to add DFU support to your Thingy:91 project&lt;/a&gt;&amp;nbsp;.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Regards,&lt;br /&gt;Amanda H.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>