<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="https://test-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-OTA on bl653dvk with external flash and BLE</title><link>https://test-devzone.nordicsemi.com/f/nordic-q-a/87944/dfu-ota-on-bl653dvk-with-external-flash-and-ble</link><description>Hi, 
 i want to perform BLE-DFU on BL653dvk board, with external flash. do we have any example for the same.? Kindly suggest. 
 Regards, 
 Shikamaru</description><dc:language>en-US</dc:language><generator>Telligent Community 13 Non-Production</generator><lastBuildDate>Tue, 24 May 2022 13:39:22 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://test-devzone.nordicsemi.com/f/nordic-q-a/87944/dfu-ota-on-bl653dvk-with-external-flash-and-ble" /><item><title>RE: DFU-OTA on bl653dvk with external flash and BLE</title><link>https://test-devzone.nordicsemi.com/thread/369302?ContentTypeID=1</link><pubDate>Tue, 24 May 2022 13:39:22 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:8c867535-3db6-4d0d-9f04-392305615589</guid><dc:creator>user72692</dc:creator><description>&lt;p&gt;I&amp;#39;m happy you made it work.&lt;/p&gt;
&lt;p&gt;Could you verify the answer that contains the solution?&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Simon&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: DFU-OTA on bl653dvk with external flash and BLE</title><link>https://test-devzone.nordicsemi.com/thread/369150?ContentTypeID=1</link><pubDate>Tue, 24 May 2022 04:56:03 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:9ccc336e-e6df-4c73-99c2-d503881752ed</guid><dc:creator>user106945</dc:creator><description>&lt;p&gt;Thanks Simon,&lt;/p&gt;
[quote userid="72692" url="~/f/nordic-q-a/87944/dfu-ota-on-bl653dvk-with-external-flash-and-ble/368969#368969"]Since it reads 000000, it seems like it is not in contact with the spi-flash.[/quote]
&lt;p&gt;yea i got it . My bad! . it was mistake in mcuboot .conf file . now it got solved .&lt;/p&gt;
[quote userid="72692" url="~/f/nordic-q-a/87944/dfu-ota-on-bl653dvk-with-external-flash-and-ble/368969#368969"]Do you have a logic analyzer? Try reading the SPI pins and see if there is any activity.[/quote]
&lt;p&gt;yep did that also , getting the signals.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;best regards,&lt;/p&gt;
&lt;p&gt;Shikamaru&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: DFU-OTA on bl653dvk with external flash and BLE</title><link>https://test-devzone.nordicsemi.com/thread/368969?ContentTypeID=1</link><pubDate>Mon, 23 May 2022 10:13:34 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:ee301977-59b8-4b0a-a26d-ef62015c4f7f</guid><dc:creator>user72692</dc:creator><description>&lt;p&gt;Since it reads 000000, it seems like it is not in contact with the spi-flash. Could you check the output of build/zephyr/zephyr.dts and check if you have conected the spi flash correctly. Do you have a logic analyzer? Try reading the SPI pins and see if there is any activity.&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Simon&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: DFU-OTA on bl653dvk with external flash and BLE</title><link>https://test-devzone.nordicsemi.com/thread/368588?ContentTypeID=1</link><pubDate>Thu, 19 May 2022 11:44:04 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:c1889b9c-ddd3-46e9-bcd6-b7900ef57a0c</guid><dc:creator>user106945</dc:creator><description>&lt;p&gt;Thanks @&lt;a class="internal-link view-user-profile" href="https://test-devzone.nordicsemi.com/members/simoniversen"&gt;Simon&lt;/a&gt;,&lt;/p&gt;
[quote userid="72692" url="~/f/nordic-q-a/87944/dfu-ota-on-bl653dvk-with-external-flash-and-ble/368403#368403"]First step is to get it to build and if you don&amp;#39;t succeed with this, please upload your project in a zipped file and I will take a look at it.[/quote]
&lt;p&gt;&amp;nbsp;yes,&amp;nbsp; I am able to build my project. However as soon as flashing am getting this error ,&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;pre class="ui-code" data-mode="text"&gt;E: Device id 00 00 00 does not match config 9d 40 13&lt;/pre&gt;&lt;/p&gt;
&lt;p&gt;it may be because it is not able to get the device binding of my external flash . i tried all the ways from forum as well unfortunately i didn&amp;#39;t succeed in that. However an attaching my workspace here. Kindly guide me that what i am missing here&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;a href="https://test-devzone.nordicsemi.com/cfs-file/__key/communityserver-discussions-components-files/4/7462.ble_5F00_dfu_5F00_peripheral_5F00_lbs_5F00_external_5F00_flash_5F00_bl653dvk.zip"&gt;test-devzone.nordicsemi.com/.../7462.ble_5F00_dfu_5F00_peripheral_5F00_lbs_5F00_external_5F00_flash_5F00_bl653dvk.zip&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Thanks and Regards,&lt;/p&gt;
&lt;p&gt;Shikamaru&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: DFU-OTA on bl653dvk with external flash and BLE</title><link>https://test-devzone.nordicsemi.com/thread/368403?ContentTypeID=1</link><pubDate>Wed, 18 May 2022 14:04:55 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:45e69eab-6011-4174-9a92-2aa9c075f1b2</guid><dc:creator>user72692</dc:creator><description>&lt;p&gt;Okay, you can start by adding something like the following to an overlay:&amp;nbsp;&lt;a href="https://github.com/nrfconnect/sdk-zephyr/blob/v2.7.99-ncs1/boards/arm/nrf9160dk_nrf9160/nrf9160dk_nrf9160_common_0_14_0.dtsi#L42-L65"&gt;https://github.com/nrfconnect/sdk-zephyr/blob/v2.7.99-ncs1/boards/arm/nrf9160dk_nrf9160/nrf9160dk_nrf9160_common_0_14_0.dtsi#L42-L65&lt;/a&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Of course, you will need to modify&amp;nbsp;mx25r64 and the spi instance. Also you have to modify the fields according to the&amp;nbsp;&lt;span&gt;IS25LQ040B (look in the IS25LQ040B datasheet).&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;You should also add the following to the overlay file:&amp;nbsp;&lt;a href="https://github.com/simon-iversen/sdk-nrf/blob/ext_flash_mcuboot_91dk/samples/nrf9160/http_update/application_update/boards/nrf9160dk_nrf9160_ns.overlay"&gt;https://github.com/simon-iversen/sdk-nrf/blob/ext_flash_mcuboot_91dk/samples/nrf9160/http_update/application_update/boards/nrf9160dk_nrf9160_ns.overlay&lt;/a&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Take a look at this project:&amp;nbsp;&lt;a href="https://github.com/simon-iversen/sdk-nrf/tree/ext_flash_mcuboot_91dk/samples/nrf9160/http_update/application_update"&gt;https://github.com/simon-iversen/sdk-nrf/tree/ext_flash_mcuboot_91dk/samples/nrf9160/http_update/application_update&lt;/a&gt;. It demonstrate how to add support for external flash using SPI communication.&lt;/p&gt;
&lt;p&gt;First step is to get it to build and if you don&amp;#39;t succeed with this, please upload your project in a zipped file and I will take a look at it.&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Simon&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: DFU-OTA on bl653dvk with external flash and BLE</title><link>https://test-devzone.nordicsemi.com/thread/368066?ContentTypeID=1</link><pubDate>Mon, 16 May 2022 13:14:30 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:fcd04093-4210-4944-aa22-3479a50582b0</guid><dc:creator>user106945</dc:creator><description>&lt;p&gt;Hi simon,&lt;/p&gt;
&lt;p&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; I have a customized bl653dvk board, which has&amp;nbsp;serial NOR Flash (SPI) i.e. IS25LQ040B. i need to use this one.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: DFU-OTA on bl653dvk with external flash and BLE</title><link>https://test-devzone.nordicsemi.com/thread/368042?ContentTypeID=1</link><pubDate>Mon, 16 May 2022 12:08:19 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:1dedf7b0-2bb1-40b7-b725-173616e58820</guid><dc:creator>user72692</dc:creator><description>&lt;p&gt;Hello &lt;span&gt;Shikamaru,&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;Does the&amp;nbsp;BL653dvk have external flash? It does not seem like it to me. Maybe you have attached an external flash yourself? Regardless, you need to configure the DTS/overlay file so it&amp;#39;s set up to communicate with the external flash, like it&amp;#39;s done by default in the &lt;a href="https://github.com/nrfconnect/sdk-zephyr/blob/dde1f8d7071a304be21ebff3c1b3ef8cdd32d617/boards/arm/nrf52840dk_nrf52840/nrf52840dk_nrf52840.dts#L210-L236"&gt;nRF52840 DK board DTS file&lt;/a&gt;&amp;nbsp;(uses &lt;span&gt;mx25r64 external flash&lt;/span&gt;)&amp;nbsp;and the &lt;a href="https://github.com/nrfconnect/sdk-zephyr/blob/dde1f8d7071a304be21ebff3c1b3ef8cdd32d617/boards/arm/nrf9160dk_nrf9160/nrf9160dk_nrf9160_common_0_14_0.dtsi#L59-L82"&gt;nRF9160DK board DTS file&lt;/a&gt;&amp;nbsp;(also uses mx25r64). Both of these DKs have an onboard external flash.&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Simon&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>