<?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>issue about hex file size</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/99754/issue-about-hex-file-size</link><description>Dear Nordic Engineers 
 I have a question. When using mcuboot and NCS2.0, we noticed two options: MCUBOOT_SWAP_USING_SCRATCH and MCUBOOT_SWAP_USING_MOVE. The scratch mode using a separate scratch area to store data during the DFU. However, this approach</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Thu, 01 Jun 2023 13:43:53 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/99754/issue-about-hex-file-size" /><item><title>RE: issue about hex file size</title><link>https://devzone.nordicsemi.com/thread/428771?ContentTypeID=1</link><pubDate>Thu, 01 Jun 2023 13:43:53 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:aa769c87-775b-47b2-830d-a87a86deca68</guid><dc:creator>Hieu</dc:creator><description>&lt;p&gt;Hi Hannibal,&lt;/p&gt;
&lt;p&gt;Our engineer looked quickly at the symptoms and think maybe imgtool.py is not working correctly. However, a deeper investigation cannot be scheduled at the moment.&lt;/p&gt;
&lt;p&gt;I have made sure to put this issue into our internal tracking so that it will be worked on. However, I cannot comment on when&amp;nbsp;a fix will be available.&lt;/p&gt;
&lt;p&gt;If this issue is critical for you, I can connect you with a Regional Sales Manager to discuss further. Otherwise,&amp;nbsp;I will try to update you here when the issue is fixed.&lt;/p&gt;
&lt;p&gt;Our apologies for the inconvenience.&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Hieu&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: issue about hex file size</title><link>https://devzone.nordicsemi.com/thread/428588?ContentTypeID=1</link><pubDate>Thu, 01 Jun 2023 02:41:18 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:52e5e628-b368-416c-95b8-6e55fafc330b</guid><dc:creator>Hannibalhz</dc:creator><description>&lt;p&gt;Dear Hieu&lt;/p&gt;
&lt;p&gt;Thank you for your best supprts, I&amp;lsquo;m going to expect your good news.&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Hannibal&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: issue about hex file size</title><link>https://devzone.nordicsemi.com/thread/428538?ContentTypeID=1</link><pubDate>Wed, 31 May 2023 15:43:52 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:6d6cf2bf-671d-40e3-b6be-e390221c33ff</guid><dc:creator>Hieu</dc:creator><description>&lt;p&gt;Hi Hannibal,&lt;/p&gt;
&lt;p&gt;I reproduced the issue. Let me discuss with our engineers on this, and I will let you know&amp;nbsp;if there are any updates.&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Hieu&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: issue about hex file size</title><link>https://devzone.nordicsemi.com/thread/427861?ContentTypeID=1</link><pubDate>Fri, 26 May 2023 15:02:09 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:0a3fe2c5-9cd0-43ea-a89b-d0d6a0f3c724</guid><dc:creator>Hieu</dc:creator><description>&lt;p&gt;Hi Hannibal,&lt;/p&gt;
&lt;p&gt;&lt;span&gt;I am back, but I am still progressing through my backlog and could not get to your question yet.&amp;nbsp;Please know that I am still around and will&amp;nbsp;try to&amp;nbsp;look into the issue within the next two working days.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;I am sorry for the inconvenience.&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Hieu&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&amp;nbsp;&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: issue about hex file size</title><link>https://devzone.nordicsemi.com/thread/426819?ContentTypeID=1</link><pubDate>Tue, 23 May 2023 09:26:14 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:78da2207-ec82-4a88-b937-d7a3b6cc2679</guid><dc:creator>Hieu</dc:creator><description>&lt;p&gt;Hi Hannibal,&lt;/p&gt;
&lt;p&gt;Let me get to this once I return to office later this week.&lt;/p&gt;
&lt;p&gt;BR,&lt;/p&gt;
&lt;p&gt;Hieu&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: issue about hex file size</title><link>https://devzone.nordicsemi.com/thread/426503?ContentTypeID=1</link><pubDate>Mon, 22 May 2023 10:41:30 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:be55c483-1db3-440e-91e3-75fde00f5a9e</guid><dc:creator>Hannibalhz</dc:creator><description>&lt;p&gt;Hi Hieu&lt;/p&gt;
&lt;p&gt;Your&amp;nbsp;&lt;span&gt;mcuboot_primary_app region is too smal, the&amp;nbsp;sign script will report an error. When the&amp;nbsp;mcuboot_primary_app region size has 1K to 8K, it can build.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;BR,&lt;/p&gt;
&lt;p&gt;Hannibal&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: issue about hex file size</title><link>https://devzone.nordicsemi.com/thread/425818?ContentTypeID=1</link><pubDate>Tue, 16 May 2023 10:18:38 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:03a268bc-2a6a-4056-9b1b-b957bab5dad7</guid><dc:creator>Hieu</dc:creator><description>&lt;p&gt;Hi Hannibal,&lt;/p&gt;
&lt;p&gt;Are you certain you can build an image as big as the entire slot 0, including data in the pad region?&lt;/p&gt;
&lt;p&gt;I just quickly ran a test and that is not possible:&lt;/p&gt;
&lt;p&gt;&lt;img style="max-height:240px;max-width:320px;" src="https://devzone.nordicsemi.com/resized-image/__size/640x480/__key/communityserver-discussions-components-files/4/3264.pastedimage1684232161028v1.png" alt=" " /&gt;&lt;/p&gt;
&lt;p&gt;See in the screenshot that the build system restricts my image size by the size of the mcuboot_primary_app region, which&amp;nbsp;has already accounted for a pad area of 512 bytes.&lt;/p&gt;
&lt;p&gt;On top of that, even though I have not used all the space in my image yet, the build system already failed because there is not enough space to sign the image.&lt;/p&gt;
&lt;p&gt;Could you give me&amp;nbsp;some steps to reproduce your observation from a sample?&lt;/p&gt;
&lt;p&gt;&lt;span&gt;By the way, I will be out of office and return next Wednesday, May 24. Please excuse some delay in further responses due to this. My apology for the inconvenience.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;Hieu&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>