<?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>Bootloader Update fails (INSUFFICIENT_RESOURCES)</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/26094/bootloader-update-fails-insufficient_resources</link><description>Hi Nordic forum. 
 We wanted to update the bootloader over the air. Initially, we had a very plain bootloader (the one provided in the example) but later we added a timer to reset to the application when no packets are received. Updating that bootloader</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Fri, 20 Oct 2017 09:34:28 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/26094/bootloader-update-fails-insufficient_resources" /><item><title>RE: Bootloader Update fails (INSUFFICIENT_RESOURCES)</title><link>https://devzone.nordicsemi.com/thread/102844?ContentTypeID=1</link><pubDate>Fri, 20 Oct 2017 09:34:28 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:8b57dd70-5683-4bf8-ab29-4b9d680ce625</guid><dc:creator>bjorn-spockeli</dc:creator><description>&lt;p&gt;If you try to update to a larger bootloader, then you will get an error that the image is to large.
This is because theMBR looks up the  bootloader start address, which  is written to one of the UICR registers which is set when you initially flashed the device.&lt;/p&gt;
&lt;p&gt;It is possible to change modify the UICR register, as described in &lt;a href="https://devzone.nordicsemi.com/question/105922/dfu-updating-from-legacysdk-v1100-bootloader-to-securesdk-v12x0-bootloader/"&gt;this&lt;/a&gt; answer, but it should only be used as a last resort as this approach could lead to the device being bricked if a power failure occurs.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Bootloader Update fails (INSUFFICIENT_RESOURCES)</title><link>https://devzone.nordicsemi.com/thread/102845?ContentTypeID=1</link><pubDate>Fri, 20 Oct 2017 09:22:19 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:36784f6a-e544-4962-9e47-e8183d0cce89</guid><dc:creator>emdi</dc:creator><description>&lt;p&gt;There is no hard limit, except the limit due to the flash size on the hardware.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Bootloader Update fails (INSUFFICIENT_RESOURCES)</title><link>https://devzone.nordicsemi.com/thread/102843?ContentTypeID=1</link><pubDate>Fri, 20 Oct 2017 09:10:24 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:b386774b-f5bd-43f8-9fa3-ab3c35f92774</guid><dc:creator>Rodrigo Lorenzo Leal</dc:creator><description>&lt;p&gt;We realized that we had the debug version of the Bootloader, and it worked after we removed the flags.&lt;/p&gt;
&lt;p&gt;Regardless, we have a general question. Is there a hard limit on the bootloader size? Let&amp;#39;s suppose we do a bootloader update that is significantly bigger than the current one. Is it possible to update that?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Bootloader Update fails (INSUFFICIENT_RESOURCES)</title><link>https://devzone.nordicsemi.com/thread/102841?ContentTypeID=1</link><pubDate>Thu, 19 Oct 2017 13:39:38 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:130b0986-540e-4bb3-afad-b9c058494de4</guid><dc:creator>bjorn-spockeli</dc:creator><description>&lt;p&gt;@emdi is correct, there is not enough space for the new bootloader. Did you change the memory settings or change the optimization level in the new bootloader project ?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Bootloader Update fails (INSUFFICIENT_RESOURCES)</title><link>https://devzone.nordicsemi.com/thread/102842?ContentTypeID=1</link><pubDate>Thu, 19 Oct 2017 13:11:33 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:c702e61a-b9c5-438c-bc29-f70e54dd8837</guid><dc:creator>emdi</dc:creator><description>&lt;p&gt;Seems like you don&amp;#39;t have space in flash.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>