<?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>UART+BLE-based DFU in a single bootlader</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/81819/uart-ble-based-dfu-in-a-single-bootlader</link><description>Hello, 
 We have a nRF52840 on our board, whose fw we would like to be able to update through both BLE and UART (the MCU is connected to a ST32 MCU via UART) using a bootloader, possibly with minimal changes wrt the examples included in the SDK 
 Up to</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Fri, 19 Nov 2021 11:57:39 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/81819/uart-ble-based-dfu-in-a-single-bootlader" /><item><title>RE: UART+BLE-based DFU in a single bootlader</title><link>https://devzone.nordicsemi.com/thread/339809?ContentTypeID=1</link><pubDate>Fri, 19 Nov 2021 11:57:39 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:f7ce6881-3bfd-44a3-a8f1-409baecf5119</guid><dc:creator>ovrebekk</dc:creator><description>&lt;p&gt;Hi Stefano&lt;/p&gt;
&lt;p&gt;You will find the code attached:&lt;/p&gt;
&lt;p&gt;&lt;a href="https://devzone.nordicsemi.com/cfs-file/__key/communityserver-discussions-components-files/4/8880.pca10100e_5F00_s112_5F00_ble_5F00_usb_5F00_debug.zip"&gt;devzone.nordicsemi.com/.../8880.pca10100e_5F00_s112_5F00_ble_5F00_usb_5F00_debug.zip&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Best regards&lt;br /&gt;Torbjørn&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: UART+BLE-based DFU in a single bootlader</title><link>https://devzone.nordicsemi.com/thread/339694?ContentTypeID=1</link><pubDate>Thu, 18 Nov 2021 15:19:01 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:7a74d038-fba3-42cd-854d-3502f20fcd5a</guid><dc:creator>ste2108</dc:creator><description>&lt;p&gt;Hello Torbjorn, thanks a lot for your reply. I&amp;#39;m using the SDK 15.2.0 (I inherited the project and I don&amp;#39;t know why they stuck to an older SDK, but I was told to do so for legacy reason). Ok, I&amp;#39;ll wait for your code then!&lt;/p&gt;
&lt;p&gt;Regards,&lt;/p&gt;
&lt;p&gt;Stefano&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: UART+BLE-based DFU in a single bootlader</title><link>https://devzone.nordicsemi.com/thread/339662?ContentTypeID=1</link><pubDate>Thu, 18 Nov 2021 13:44:55 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:ef1b2eb1-f4bc-4a73-ae64-a37cc9888a45</guid><dc:creator>ovrebekk</dc:creator><description>&lt;p&gt;Hi Stefano&lt;/p&gt;
&lt;p&gt;Which version of the SDK are you on?&lt;/p&gt;
&lt;p&gt;1) No, it is not quite this simple unfortunately.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;2) There is no problem using the UART transport layer for DFU with the S140 present, so no change is needed to the SoftDevice.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;3) The SLIP protocol is used for packetization of the UART data, yes. This is handled already on the Nordic side and doesn&amp;#39;t have to be added.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Back to 1), it is possible to&amp;nbsp;initialize the bootloader with multiple different transport layers enabled, allowing you to start an update over different transports.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;A colleague of mine tried this with USB and BLE apparently, but not with UART and BLE. I will see if I can provide some code based on the work he did, and get back to you.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Best regards&lt;br /&gt;Torbjørn&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>