<?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>Is it possible to have my own firmware update but not run DFU?</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/62693/is-it-possible-to-have-my-own-firmware-update-but-not-run-dfu</link><description>Dear Sirs: 
 I use 52832, and there is 512KB internal flash. 
 So, I am wondering if I could have my own flash partition as below. 
 - Bootloader (w/ capability of firmware update) 
 - APP1 
 - APP2 
 
 In bootloader, I would like to know if I can implement</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Wed, 24 Jun 2020 00:11:43 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/62693/is-it-possible-to-have-my-own-firmware-update-but-not-run-dfu" /><item><title>RE: Is it possible to have my own firmware update but not run DFU?</title><link>https://devzone.nordicsemi.com/thread/256550?ContentTypeID=1</link><pubDate>Wed, 24 Jun 2020 00:11:43 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:ab2956c5-f858-4510-b8d6-6d68bf1ef429</guid><dc:creator>Pica</dc:creator><description>&lt;p&gt;Hi, Amanda:&lt;/p&gt;
&lt;p&gt;Thanks for clear information.&lt;/p&gt;
&lt;p&gt;I thought I might deep dive in the code you show to me firstly. Then, come back if I still have other questions.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Thanks a lot for your help.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;-Pico&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Is it possible to have my own firmware update but not run DFU?</title><link>https://devzone.nordicsemi.com/thread/256464?ContentTypeID=1</link><pubDate>Tue, 23 Jun 2020 13:10:15 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:7615790b-e9d9-4337-b17a-2735e53b63e3</guid><dc:creator>Amanda Hsieh</dc:creator><description>&lt;p&gt;Hi Wei-Chih,&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Only the BLE DFU needs the softdevice.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;First, in our implementation there (&lt;a title="Secure DFU Bootloader over Serial Link (UART/USB)" href="https://infocenter.nordicsemi.com/topic/sdk_nrf5_v17.0.0/sdk_app_serial_dfu_bootloader.html?cp=7_1_4_4_4"&gt;Secure DFU Bootloader over Serial Link (UART/USB)&lt;/a&gt;&amp;nbsp;and the &lt;span&gt;SPI DFU bootloader code&lt;/span&gt;) is always an MBR needed. It&amp;#39;s used to jump to bootloader.&amp;nbsp;APP1 and APP2 I think you&amp;nbsp;want to have an option to change the current application, right? If so, the way our bootloader implemented now is that there is only one valid app at a time, not for two applications. You&amp;nbsp;would need to modify the code to allow that.&amp;nbsp;We do have an option for DFU external app so that the bootloader will only receive the APP and will not do the swapping.&amp;nbsp;&lt;span&gt;NRF_DFU_SUPPORTS_EXTERNAL_APP is the configuration in the bootloader to support non-swapping DFU. T&lt;/span&gt;hat&amp;#39;s where you can modify the app to Jump to either app1 or app2.&amp;nbsp;But you need to study the bootloader a little bit before doing that, it also related to how you will update APP3 later on, should APP3 replace the slot for APP1 or it should replace APP2.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;-Amanda H.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Is it possible to have my own firmware update but not run DFU?</title><link>https://devzone.nordicsemi.com/thread/255898?ContentTypeID=1</link><pubDate>Fri, 19 Jun 2020 08:28:10 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:4a548c78-b818-4457-8bc4-fb8491c7b812</guid><dc:creator>Pica</dc:creator><description>&lt;p&gt;Hi, Amanda:&lt;/p&gt;
&lt;p&gt;For these example, they all need softdevice. But, what if we don&amp;#39;t want to have that?&lt;/p&gt;
&lt;p&gt;Our hardware would be something below.&lt;/p&gt;
&lt;p&gt;nRF52832&amp;nbsp; &amp;lt;----SPI---&amp;gt;&amp;nbsp; MCU&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;And, in nRF52832 flash, we want to have only&lt;/p&gt;
&lt;p&gt;- Bootloader&lt;/p&gt;
&lt;p&gt;- APP1&lt;/p&gt;
&lt;p&gt;- APP2&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;For this architecture, is it possible to do? In addition, in the bootloader, do we really need DFU? Could we just get new firmware from MCU through SPI then writing it to APP1 or APP2&amp;#39;s flash zone?&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Thanks.&lt;/p&gt;
&lt;p&gt;-Pico&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Is it possible to have my own firmware update but not run DFU?</title><link>https://devzone.nordicsemi.com/thread/255879?ContentTypeID=1</link><pubDate>Fri, 19 Jun 2020 07:13:06 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:6104e20e-528d-4d87-8e7f-b3ad66cf5d94</guid><dc:creator>Amanda Hsieh</dc:creator><description>&lt;p&gt;Hi Wei-Chih,&amp;nbsp;&lt;/p&gt;
&lt;p&gt;It is possible, but the&amp;nbsp;&lt;span&gt;example is made fo&lt;/span&gt;r&amp;nbsp;SDK v14.2 (&lt;a href="https://devzone.nordicsemi.com/nordic/short-range-guides/b/software-development-kit/posts/getting-started-with-nordics-secure-dfu-bootloader"&gt;here&lt;/a&gt;). See this &lt;a href="https://devzone.nordicsemi.com/f/nordic-q-a/48528/spi-dfu-master-slave-code-compatible-with-15-3/250089#250089"&gt;thread&lt;/a&gt;.&lt;/p&gt;
&lt;p&gt;-Amanda H.&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Is it possible to have my own firmware update but not run DFU?</title><link>https://devzone.nordicsemi.com/thread/255696?ContentTypeID=1</link><pubDate>Thu, 18 Jun 2020 08:16:13 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:625fd59b-933d-452b-8cda-6483dc76280e</guid><dc:creator>Pica</dc:creator><description>&lt;p&gt;Hi, Amanda:&lt;/p&gt;
&lt;p&gt;So, do you mean it is impossible?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Is it possible to have my own firmware update but not run DFU?</title><link>https://devzone.nordicsemi.com/thread/255690?ContentTypeID=1</link><pubDate>Thu, 18 Jun 2020 07:42:52 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:376d298f-817c-454e-8155-5074e482981f</guid><dc:creator>Amanda Hsieh</dc:creator><description>&lt;p&gt;Hi Wei-Chih,&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
[quote user=""]So, I am wondering if I could have my own flash partition as below.[/quote]
&lt;p&gt;&lt;span&gt;I suggest that you take a look at this post,&amp;nbsp;&lt;/span&gt;&lt;a href="https://devzone.nordicsemi.com/question/94683/switching-between-apps-with-dual-bank/"&gt;Switching-between-apps-with-dual-bank&lt;/a&gt;&lt;span&gt;.&lt;/span&gt;&lt;/p&gt;
[quote user=""]In bootloader, I would like to know if I can implement firmware update capability through SPI or I2C connected to another MCU.[/quote]
&lt;p&gt;&amp;nbsp;The SDK only supports&amp;nbsp;&lt;a title="BLE Secure DFU Bootloader" href="https://infocenter.nordicsemi.com/topic/sdk_nrf5_v16.0.0/ble_sdk_app_dfu_bootloader.html?cp=7_1_4_4_0"&gt;BLE Secure DFU Bootloader&lt;/a&gt;&amp;nbsp;and&amp;nbsp;&lt;a title="Secure DFU Bootloader over Serial Link (UART/USB)" href="https://infocenter.nordicsemi.com/topic/sdk_nrf5_v16.0.0/sdk_app_serial_dfu_bootloader.html?cp=7_1_4_4_4"&gt;Secure DFU Bootloader over Serial Link (UART/USB)&lt;/a&gt;.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;-Amanda H.&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>