<?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>DFU From SPI</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/54234/dfu-from-spi</link><description>Hi, 
 I want use the BLE DFU (In SDK11) to implement software upgrade to my unit. 
 I want the unit to support BLE and External SPI FLASH (on board) upgrade. 
 My unit got a modem and i transfered the .BIN file from the .ZIP package to a serial external</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Wed, 13 Nov 2019 09:43:08 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/54234/dfu-from-spi" /><item><title>RE: DFU From SPI</title><link>https://devzone.nordicsemi.com/thread/219848?ContentTypeID=1</link><pubDate>Wed, 13 Nov 2019 09:43:08 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:30d6f6cd-33d6-4b5d-b4a5-7cb9547d59ce</guid><dc:creator>Vidar Berg</dc:creator><description>&lt;p&gt;Is it possible to add logging that shows the increments of source and dst address? And what is the&amp;nbsp;&lt;span&gt;DFU_BANK_1_REGION_START address?&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;You should check the return value from&amp;nbsp;sd_flash_write() and the while () should either be removed or replaced as you&amp;#39;re using the NVMC directly.&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: DFU From SPI</title><link>https://devzone.nordicsemi.com/thread/219583?ContentTypeID=1</link><pubDate>Tue, 12 Nov 2019 06:25:46 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:2100e08b-3e96-44b4-8b93-d21406dd2262</guid><dc:creator>yuval</dc:creator><description>&lt;p&gt;Any idea?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: DFU From SPI</title><link>https://devzone.nordicsemi.com/thread/219486?ContentTypeID=1</link><pubDate>Mon, 11 Nov 2019 13:32:16 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:86bfbeb6-c081-44b3-893e-5ba482b7531d</guid><dc:creator>yuval</dc:creator><description>&lt;p&gt;Yes, it&amp;#39;s the sd_flash_write() leads to exception....&lt;/p&gt;
&lt;p&gt;temp_add = 0x4b000&lt;/p&gt;
&lt;p&gt;data_to_write_to_flash = 0x20003890&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: DFU From SPI</title><link>https://devzone.nordicsemi.com/thread/219455?ContentTypeID=1</link><pubDate>Mon, 11 Nov 2019 12:11:41 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:ba8b2887-fec3-4dc6-a385-09c96a9868b6</guid><dc:creator>Vidar Berg</dc:creator><description>&lt;p&gt;Hi Yuval,&lt;/p&gt;
&lt;p&gt;Have you confirmed that it&amp;#39;s the&amp;nbsp;&lt;span&gt;sd_flash_write() that leads to the exception? In that case, can you check what the source and destination address were at the time the exception was raised?&amp;nbsp;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Also, unrelated to the issue here, but since&amp;nbsp;this is based on&amp;nbsp;SDK 11, please&amp;nbsp;make sure to include workaround for errata #108 in bootloader and app before going to production (&lt;a href="https://infocenter.nordicsemi.com/topic/errata_nRF52832_Rev2/ERR/nRF52832/Rev2/latest/anomaly_832_108.html?cp=3_2_1_0_1_30"&gt;[108] RAM: RAM content cannot be trusted upon waking up from System ON Idle or System OFF mode&lt;/a&gt;).&amp;nbsp;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Best regards,&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Vidar&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>