<?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>How to upload the application code via BLE from Android device?</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/37230/how-to-upload-the-application-code-via-ble-from-android-device</link><description>Hi Everyone 
 I am using BLE for NORDIC UART SERVICES. I want to update my code via BLE instead of a USB or J-LINK. 
 How can i upload my code from the Android device to nrf52840 which is using s140 device and sdk15.0 
 Do i have to generate a package</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Tue, 07 Aug 2018 13:53:22 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/37230/how-to-upload-the-application-code-via-ble-from-android-device" /><item><title>RE: How to upload the application code via BLE from Android device?</title><link>https://devzone.nordicsemi.com/thread/143241?ContentTypeID=1</link><pubDate>Tue, 07 Aug 2018 13:53:22 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:4c84f2df-51cf-49d1-b2b2-a670497d718f</guid><dc:creator>Hung Bui</dc:creator><description>&lt;p&gt;Hi Rajat,&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Yes you can. You just need to use our BLE DFU bootloader. You will need to generate package file. Please follow this &lt;a href="https://devzone.nordicsemi.com/b/blog/posts/getting-started-with-nordics-secure-dfu-bootloader"&gt;link&lt;/a&gt; .&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Currently we don&amp;#39;t have background DFU. You would need to switch from your main code to the bootloader mode and update firmware in this mode.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;You can send a BLE command to switch from your application to the DFU bootloader (Buttonless).&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>