<?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>Call to vPortStartFirstTask() fails in FreeRTOS when the MBR used without the Soft device</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/32762/call-to-vportstartfirsttask-fails-in-freertos-when-the-mbr-used-without-the-soft-device</link><description>Hi All, 
 I am developing an application on nRF52840 Preview DK which does not need the Soft device. But it needs the MBR to run a bootloader for Firmware update purpose. 
 I&amp;#39;ve taken the MBR from Thread SDK as suggested in: 
 https://devzone.nordicsemi</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Tue, 03 Apr 2018 10:44:02 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/32762/call-to-vportstartfirsttask-fails-in-freertos-when-the-mbr-used-without-the-soft-device" /><item><title>RE: Call to vPortStartFirstTask() fails in FreeRTOS when the MBR used without the Soft device</title><link>https://devzone.nordicsemi.com/thread/126629?ContentTypeID=1</link><pubDate>Tue, 03 Apr 2018 10:44:02 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:ed0a429e-6928-4e63-8f4a-7bf4e9d5a676</guid><dc:creator>Susheel Nuguru</dc:creator><description>&lt;p&gt;Impressive, you fixed the problem without knowing. So you have done your testing.&lt;/p&gt;
&lt;p&gt;MBR itself uses some RAM (softdevice used or not (enabled or not)) and it is 8 bytes. You can find more information about it &lt;a href="http://infocenter.nordicsemi.com/index.jsp?topic=%2Fcom.nordic.infocenter.s140.sds%2Fdita%2Fsoftdevices%2Fs130%2Fmem_usage%2Fmem_resource_reqs.html"&gt;here&lt;/a&gt;. This page says that it is softdevice requirements, since they did not account for extracting MBR separately from softdevice.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Call to vPortStartFirstTask() fails in FreeRTOS when the MBR used without the Soft device</title><link>https://devzone.nordicsemi.com/thread/126104?ContentTypeID=1</link><pubDate>Tue, 27 Mar 2018 11:58:12 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:e1dd4457-a6a7-471d-9102-38e9f14e02bd</guid><dc:creator>Raiyan</dc:creator><description>&lt;p&gt;&lt;strong&gt;Update:&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;I have changed line 9 of the linker file with the following line:&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="text"&gt;RAM (rwx) :  ORIGIN = 0x20000010, LENGTH = 0x3FFF0&lt;/pre&gt;&lt;/p&gt;
&lt;p&gt;This change made the problem disappear. But I don&amp;#39;t know the reason behind it.&lt;/p&gt;
&lt;p&gt;I cannot&amp;nbsp;explain how leaving first 0x10 byte in RAM fixes the issue?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>