<?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>MCUBoot Compressed update on nrf52833 - Ram utilization</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/124619/mcuboot-compressed-update-on-nrf52833---ram-utilization</link><description>When I try to add OTA image compression for MCUboot, the RAM utilization skyrocks and is not compatible with the nrf52833. Is there any way to cut out any and all excessive functionality to get it to work? I don&amp;#39;t need encryption. No logging. No USB,</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Sun, 28 Sep 2025 14:44:11 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/124619/mcuboot-compressed-update-on-nrf52833---ram-utilization" /><item><title>RE: MCUBoot Compressed update on nrf52833 - Ram utilization</title><link>https://devzone.nordicsemi.com/thread/549947?ContentTypeID=1</link><pubDate>Sun, 28 Sep 2025 14:44:11 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:9f80e0ea-566e-4872-88a5-27828249ae55</guid><dc:creator>KWolfe81</dc:creator><description>&lt;p&gt;Delta/differential upgrades are a fantastic solution if your customers don&amp;#39;t mind the&amp;nbsp;linear upgrade path&amp;nbsp;requirement.&amp;nbsp; Unfortunately, wouldn&amp;#39;t work for us.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: MCUBoot Compressed update on nrf52833 - Ram utilization</title><link>https://devzone.nordicsemi.com/thread/549944?ContentTypeID=1</link><pubDate>Sun, 28 Sep 2025 07:13:14 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:c07a8719-a2d2-4739-a533-96d79bba7e18</guid><dc:creator>longrain</dc:creator><description>&lt;p&gt;Thanks a lot for sharing!&lt;br /&gt;For the same reason, I switched to differential upgrade.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: MCUBoot Compressed update on nrf52833 - Ram utilization</title><link>https://devzone.nordicsemi.com/thread/549844?ContentTypeID=1</link><pubDate>Thu, 25 Sep 2025 22:06:07 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:1fbf76af-06f2-4325-a822-0ae30aeb02ee</guid><dc:creator>KWolfe81</dc:creator><description>&lt;p&gt;Ok, it is literally &lt;em&gt;that&lt;/em&gt; easy.&amp;nbsp; Why, oh why,&amp;nbsp;nordic, didn&amp;#39;t you just make this a config option?&amp;nbsp; As a follow-up, to sign/compress your image with the updated dictionary size, all you have to do is change bootloader\mcuboot\scripts\imgtool\main.py:&lt;br /&gt;&lt;br /&gt;&lt;pre class="ui-code" data-mode="text"&gt;comp_default_dictsize=131072&lt;/pre&gt;&lt;br /&gt;&lt;br /&gt;I have compressed updates working with the nrf52833 and 64kB dictionaries. I&amp;#39;m sure it&amp;#39;ll work with all other&amp;nbsp;low RAM devices too.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: MCUBoot Compressed update on nrf52833 - Ram utilization</title><link>https://devzone.nordicsemi.com/thread/549839?ContentTypeID=1</link><pubDate>Thu, 25 Sep 2025 19:33:20 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:93ad8c26-4079-41fe-aa59-80a630caffcf</guid><dc:creator>KWolfe81</dc:creator><description>&lt;p&gt;I probably shouldn&amp;#39;t be commenting in real-time, but please tell me it&amp;#39;s as easy as&amp;nbsp;patching nrf\subsys\nrf_compress\src\lzma.c (yes, I&amp;#39;m aware I&amp;#39;ll need to compress the updates with the equivalent dict size):&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="text"&gt;
/* Assume the maximum LZMA dictionary size to limit the RAM buffer size for the decompressed
* stream.
*/
#define MAX_LZMA_DICT_SIZE (128 * 1024)
&lt;/pre&gt;&lt;br /&gt;&lt;br /&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: MCUBoot Compressed update on nrf52833 - Ram utilization</title><link>https://devzone.nordicsemi.com/thread/549837?ContentTypeID=1</link><pubDate>Thu, 25 Sep 2025 19:19:38 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:1b44fbce-8729-40bd-a09b-58c3d8719029</guid><dc:creator>KWolfe81</dc:creator><description>&lt;p&gt;Holy heck, this is never going to work:&lt;br /&gt;&lt;br /&gt;&lt;img style="height:152px;max-height:152px;max-width:638px;" height="76" src="https://devzone.nordicsemi.com/resized-image/__size/1276x304/__key/communityserver-discussions-components-files/4/pastedimage1758827906821v1.png" width="637" alt=" " /&gt;&lt;br /&gt;&lt;br /&gt;Fixed dictionary size of 128kB?!?&amp;nbsp; You guys know we&amp;#39;re trying to program&amp;nbsp;&lt;em&gt;embedded devices here&lt;/em&gt; right?&amp;nbsp; Sigh.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>