<?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>FOTA DFU over UART</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/40706/fota-dfu-over-uart</link><description>Hi guys, 
 I have a board with STM32 (mbed os) and NRF52832 connected using UART lines. 
 STM32 has a internet connection and NRF52832 has a bootloader and DFU service. 
 
 What do you think what would be best idea to make DFU for NRF52832 from STM32</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Thu, 22 Nov 2018 13:52:14 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/40706/fota-dfu-over-uart" /><item><title>RE: FOTA DFU over UART</title><link>https://devzone.nordicsemi.com/thread/158659?ContentTypeID=1</link><pubDate>Thu, 22 Nov 2018 13:52:14 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:2fa45a49-e6f7-4eb6-9536-255caf383ea8</guid><dc:creator>schef</dc:creator><description>&lt;p&gt;I was able to make it happen using your code. Thanks.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: FOTA DFU over UART</title><link>https://devzone.nordicsemi.com/thread/158420?ContentTypeID=1</link><pubDate>Wed, 21 Nov 2018 13:20:44 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:2f09603c-3345-4106-a245-402f15077247</guid><dc:creator>schef</dc:creator><description>&lt;p&gt;Thanks for the code. I will try to implement the UART part and add the SLIP encoding.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: FOTA DFU over UART</title><link>https://devzone.nordicsemi.com/thread/158408?ContentTypeID=1</link><pubDate>Wed, 21 Nov 2018 12:48:41 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:7cc140c2-22a6-4205-ad35-a8d659c1a7cc</guid><dc:creator>Hung Bui</dc:creator><description>&lt;p&gt;Hi Schef,&amp;nbsp;&lt;/p&gt;
&lt;p&gt;You can do UART DFU from the STM32 to the nRF52832. We don&amp;#39;t have the code to run on the STM32, but you can follow &lt;a href="http://infocenter.nordicsemi.com/topic/com.nordic.infocenter.sdk5.v14.2.0/lib_dfu_transport_serial.html?cp=4_0_2_3_5_2_3"&gt;the documentation here &lt;/a&gt;to create your own DFU master, it&amp;#39;s not too difficult to create a simple one. About 200 lines of code. I attached here a project I made for the SPI DFU , but the UART DFU should be pretty similar.&amp;nbsp; It&amp;#39;s to be used with SDK v14.2&lt;br /&gt;&lt;br /&gt;&lt;/p&gt;
&lt;p&gt;&lt;a href="https://devzone.nordicsemi.com/cfs-file/__key/support-attachments/beef5d1b77644c448dabff31668f3a47-da95404415c8432086db8271fcd1c7f6/SPI_5F00_DFU.zip"&gt;devzone.nordicsemi.com/.../SPI_5F00_DFU.zip&lt;/a&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: FOTA DFU over UART</title><link>https://devzone.nordicsemi.com/thread/158357?ContentTypeID=1</link><pubDate>Wed, 21 Nov 2018 10:17:52 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:af51a2ba-30f9-469a-943a-b7370a613c98</guid><dc:creator>schef</dc:creator><description>&lt;p&gt;I have found bootloader_secure_serial in examples which is a DFU target software and have been able to flash DFU using nrfutil 4.0.0 (python2). Does anyone know about DFU controller software that could be used with the DFU target software?&lt;/p&gt;
&lt;p&gt;In the meanwhile i have sniffed the RX and TX lines and would try to make some sense of it.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>