<?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 can I program an already programmed nRF52840 dongle without reset button</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/81003/how-can-i-program-an-already-programmed-nrf52840-dongle-without-reset-button</link><description>I have nRF52840 dongles that have something already programmed on it. They are encased in plastic and I have no access to the little reset button. How can I install my SoftDevice application on this dongle? 
 I have another dongle with something pre-programmed</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Mon, 25 Oct 2021 13:44:41 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/81003/how-can-i-program-an-already-programmed-nrf52840-dongle-without-reset-button" /><item><title>RE: How can I program an already programmed nRF52840 dongle without reset button</title><link>https://devzone.nordicsemi.com/thread/335783?ContentTypeID=1</link><pubDate>Mon, 25 Oct 2021 13:44:41 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:7ebcb199-50f2-46fe-b55e-26b62f77d27c</guid><dc:creator>Vidar Berg</dc:creator><description>[quote user=""]I have another dongle with something pre-programmed on it which in device manager shows&amp;nbsp;nRF52 SDFU USB which I think is the standalone DFU trigger application located here in my SDK:&amp;nbsp;nRF5_SDK_17.0.2_d674dde\examples\connectivity\ble_connectivity\pca10059\ser_s140_usb_hci[/quote]
&lt;p&gt;nRF52 SDFU USB is the DFU USB transport (&lt;span&gt;&lt;a title="USB CDC ACM DFU Transport" href="https://infocenter.nordicsemi.com/topic/sdk_nrf5_v17.1.0/lib_dfu_transport_serial.html?cp=8_1_3_5_2_3_0#lib_dfu_transport_usb"&gt;USB CDC ACM DFU Transport&lt;/a&gt;&lt;/span&gt;) which indicates that the dongle is already running in Bootloader DFU mode.&lt;/p&gt;
&lt;p&gt;The connectivity example you point to is meant for the &lt;span&gt;&lt;a title="Connectivity chip" href="https://infocenter.nordicsemi.com/topic/sdk_nrf5_v17.1.0/lib_serialization.html?cp=8_1_3_44_1#lib_serialization_conn_chip"&gt;Connectivity chip&lt;/a&gt;&lt;/span&gt; in our &lt;span&gt;&lt;a title="Serialization" href="https://infocenter.nordicsemi.com/topic/sdk_nrf5_v17.1.0/lib_serialization.html?cp=8_1_3_44"&gt;Serialization&lt;/a&gt;&lt;/span&gt; setup, so it&amp;#39;s not a standalone application for the DFU trigger library. But it will include it if you build the example for the pca10059 dongle.&lt;/p&gt;
[quote user=""]I am not sure how to tell and I am not sure how the two differ. I think (but I am far from sure) that the&amp;nbsp;&lt;span&gt;ser_s140_usb_hci code is to be integrated as part of your own application and the other one is a standalone app that shares memory with your application.&lt;/span&gt;[/quote]
&lt;p&gt;As mentioned above, this application is only meant to be used when you use serialization (BLE application running on another host processor or PC). You can however use it as a reference when integrating the trigger library in your application.&lt;/p&gt;
[quote user=""]I assume I have to change the memory locations in the SES or Keil IDEs before generating the HEX file that shall share flash with this pre-loaded DFU.[/quote]
&lt;p&gt;Your application must configured to start on top of the Softdevice. The Bootloader will always be placed at the end of flash as shown here: &lt;span&gt;&lt;a title="Memory layout" href="https://infocenter.nordicsemi.com/topic/sdk_nrf5_v17.1.0/lib_bootloader.html?cp=8_1_3_5_0_7#lib_bootloader_memory"&gt;Memory layout&lt;/a&gt;&lt;/span&gt;&lt;/p&gt;
[quote user=""]I do not know how to find out what the SoftDevice ID is. nRF Connect Programmer does not provide that information.[/quote]
&lt;p&gt;The FWID is listed in the Softdevice release notes. Another option is to merge the Softdevice with your application and program it as one big application. Then you will not have to have to specify the FWID.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>