<?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>Write flash address 0x0000 to 0x1000</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/30219/write-flash-address-0x0000-to-0x1000</link><description>I&amp;#39;m working on a bootloader using the /examples/iot/bootloader as an initial template. The image to flash is stored on SD card. I&amp;#39;m at the point where I am successful in writing the image to the internal flash of the NRF52832 only if I skip writing the</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Fri, 09 Feb 2018 09:30:41 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/30219/write-flash-address-0x0000-to-0x1000" /><item><title>RE: Write flash address 0x0000 to 0x1000</title><link>https://devzone.nordicsemi.com/thread/120399?ContentTypeID=1</link><pubDate>Fri, 09 Feb 2018 09:30:41 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:707ed00e-608c-44ad-8477-13a66ff1cb9a</guid><dc:creator>Rune Holmgren</dc:creator><description>&lt;p&gt;The MBR in S132 v2.x,&amp;nbsp;&lt;span&gt;v3.x,&amp;nbsp;v4.x, and&amp;nbsp;v5.x are all forward compatible and support updating the SoftDevice without changing the MBR. It&amp;#39;s identical in v2.x, v3.x, and v4.x. In S132 v5.0.0 a new MBR command was added (SD_MBR_COMMAND_IRQ_FORWARD_ADDRESS_SET), but all existing functionality is unchanged. The use of this new command is optional and it&amp;#39;s perfectly fine to run S132 v5.x with the older MBR versions found in the mentioned SoftDevices.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;While I can&amp;#39;t give any absolute guarantees for future releases, we are aware that incompatible&amp;nbsp;MBR changes would prevent existing products from upgrading. We will continue to make great effort finding non-breaking ways of implementing any changes.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Best regards,&lt;br /&gt;Rune Holmgren&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Write flash address 0x0000 to 0x1000</title><link>https://devzone.nordicsemi.com/thread/120331?ContentTypeID=1</link><pubDate>Thu, 08 Feb 2018 16:23:32 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:a6e9e165-2ef8-4c8f-8ef1-5398a3b255b1</guid><dc:creator>NewAce</dc:creator><description>&lt;p&gt;&lt;a href="https://devzone.nordicsemi.com/members/holmgren"&gt;Rune Holmgren&lt;/a&gt; - thanks for your comments. Can you confirm that the MBR for softdevice version 2.X is identical to that of version 3.X, 4.X and 5.X? We&amp;#39;re using S132 version 2.0.1 with mBed for our main application and SDK v14.2 for our bootloader. I would like to be able to replace the softdevice at a future date and need to make sure that this is possible even though we are not updating the MBR. Please confirm.&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Write flash address 0x0000 to 0x1000</title><link>https://devzone.nordicsemi.com/thread/120325?ContentTypeID=1</link><pubDate>Thu, 08 Feb 2018 15:54:54 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:dd91f10b-642c-4b9f-9f2a-d670c7f15b2f</guid><dc:creator>Rune Holmgren</dc:creator><description>&lt;p&gt;The region you are describing is what is known as the &amp;quot;MBR&amp;quot; or &amp;quot;Master Boot Record&amp;quot;. It is typically distributed as the first page of the SoftDevice, but it is really a standalone piece of firmware responsible for a very limited set of operations right after the device is powered on. If this firmware is corrupted there is no way of returning the system to a working state, and for this reason, you should never erase this flash page.&lt;/p&gt;
&lt;p&gt;When the Nordic nRF5 SDK DFU bootloader updates the SoftDevice this 4K block is never affected, and your custom bootloader shouldn&amp;#39;t either.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&lt;img src="https://devzone.nordicsemi.com/resized-image/__size/320x240/__key/support-attachments/beef5d1b77644c448dabff31668f3a47-ae11b15da34845a3aca386c5a7773448/pastedimage1518105251339v4.png" alt=" " /&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-size:75%;"&gt;Figure: An arbitrary memory map from a page in the documentation showing the MBR.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;Best regards,&lt;br /&gt;Rune Holmgren&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>