<?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>Updating DFU via RS-485 and UART without python on nRF52840 DK</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/38985/updating-dfu-via-rs-485-and-uart-without-python-on-nrf52840-dk</link><description>Hi! 
 What would be the best course of action if I have a connection like this: 
 Android device (without Bluetooth support) -&amp;gt; RS-485 -&amp;gt; UART -&amp;gt; Main nRF52840 DK + other devices connected via Mesh to this device 
 So is it possible to somehow: 
 1.Upload</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Tue, 02 Oct 2018 08:10:10 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/38985/updating-dfu-via-rs-485-and-uart-without-python-on-nrf52840-dk" /><item><title>RE: Updating DFU via RS-485 and UART without python on nRF52840 DK</title><link>https://devzone.nordicsemi.com/thread/151163?ContentTypeID=1</link><pubDate>Tue, 02 Oct 2018 08:10:10 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:467672b8-16ae-45ad-910d-c9b64c4a552b</guid><dc:creator>bjorn-spockeli</dc:creator><description>&lt;p&gt;Q1: The nRF52840 with the S140 SoftDevice can be a BLE Central.&amp;nbsp;But the issue here is transferring the firmware image from the Android tablet to the nRF52840, not from the 52840 to the other devices in the mesh.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Q2: Yes, if you use the python code from our nrfutil implementation as a reference and convert that to Java, so that the .zip packet is parsed correctly and send via UART. Not sure if&amp;nbsp;&lt;span&gt;dfu_transport_mesh.py is the only source you will have to migrate from python to java.&amp;nbsp;&lt;/span&gt;&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Updating DFU via RS-485 and UART without python on nRF52840 DK</title><link>https://devzone.nordicsemi.com/thread/151019?ContentTypeID=1</link><pubDate>Mon, 01 Oct 2018 14:40:44 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:acd7cc89-210a-4f0c-bca2-b5aa4cbedbea</guid><dc:creator>Tomi</dc:creator><description>&lt;p&gt;1. But first&amp;nbsp;&lt;span&gt;nRF52840&amp;nbsp;DK can&amp;#39;t work as Ble Central / Serial Master device and others as &amp;quot;slave&amp;quot; maybe?&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;2. Would if work if I&amp;nbsp;convert dfu_transport_mesh.py(if that is only thing needed?) into Java to create DFU mesh packet and send if via UART like nrfutil does? (which will block serial port for 30+minutes)&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Updating DFU via RS-485 and UART without python on nRF52840 DK</title><link>https://devzone.nordicsemi.com/thread/151012?ContentTypeID=1</link><pubDate>Mon, 01 Oct 2018 14:21:16 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:03b9283c-7d87-47ea-8efd-52a93af7a52f</guid><dc:creator>bjorn-spockeli</dc:creator><description>&lt;p&gt;I am afraid that we do not have any Java or C implementation of nrfutil. There is also no mechanism for the nRF device to initiate a DFU update, this is done by the Ble Central/ Serial Master device.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;So in order to make this work you will have to create some code that reads the hex file and sends it over UART in the same format as nrfutil does.&amp;nbsp;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Best regards&lt;/p&gt;
&lt;p&gt;Bjørn&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>