<?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>nrf52832 crashes during soft device update</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/25935/nrf52832-crashes-during-soft-device-update</link><description>Hi, 
 I am writing a boot loader which does not need to use the soft device as the image is being transferred over an SPI interface. 
 I have merged the softdevice and my application code together to make a single payload to update. 
 I am also storing</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Sat, 14 Oct 2017 11:35:39 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/25935/nrf52832-crashes-during-soft-device-update" /><item><title>RE: nrf52832 crashes during soft device update</title><link>https://devzone.nordicsemi.com/thread/102169?ContentTypeID=1</link><pubDate>Sat, 14 Oct 2017 11:35:39 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:718d1e48-e192-4773-a61a-1363566a0212</guid><dc:creator>Raiyan</dc:creator><description>&lt;p&gt;THANKS for the answer. I found that if I skip the MBR it does not crash and successfully boots into the boot loader. Even if the SD is not there.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nrf52832 crashes during soft device update</title><link>https://devzone.nordicsemi.com/thread/102168?ContentTypeID=1</link><pubDate>Fri, 13 Oct 2017 19:54:13 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:6826750e-adce-43ac-b083-b0cdb7db9747</guid><dc:creator>Turbo J</dc:creator><description>&lt;blockquote&gt;
&lt;p&gt;When trying to copy the binary from the external flash to the internal I am erasing from address 0x0 to 0x6FFFF which I have dedicated from the soft device and the application.&lt;/p&gt;
&lt;/blockquote&gt;
&lt;p&gt;Why? This will erase the MBR and the interrupt vector table  (at address &lt;code&gt;0x00&lt;/code&gt;). Until you can finish the writing - without interrupts or with a changed VTOR - the device will end up bricked in a power loss event.&lt;/p&gt;
&lt;p&gt;The MBR has its own syscalls to safely replace the SD. You should never erase the first flash sector in the field, as MBR should be identical across SD versions.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nrf52832 crashes during soft device update</title><link>https://devzone.nordicsemi.com/thread/102167?ContentTypeID=1</link><pubDate>Fri, 13 Oct 2017 18:42:21 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:2e73980c-6ad5-41c2-ac61-b24356fb75ed</guid><dc:creator>superpak</dc:creator><description>&lt;p&gt;Hi, Raiyan. May I see your code for the bootloader and how you are writing to the internal flash?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>