<?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>Error uploading .hex generated from keil or seggar through nRF connect to nRF52840 dongle, but upload .hex files that are already in hex folder</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/39590/error-uploading-hex-generated-from-keil-or-seggar-through-nrf-connect-to-nrf52840-dongle-but-upload-hex-files-that-are-already-in-hex-folder</link><description>Hello there, I am trying to write hex file generated form Keil or Segger studio but a popup window comes out to select the soft device in nRF connect programmer, I have selected every option but it will fail to write the hex, but if I will upload the</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Fri, 19 Oct 2018 14:58:35 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/39590/error-uploading-hex-generated-from-keil-or-seggar-through-nrf-connect-to-nrf52840-dongle-but-upload-hex-files-that-are-already-in-hex-folder" /><item><title>RE: Error uploading .hex generated from keil or seggar through nRF connect to nRF52840 dongle, but upload .hex files that are already in hex folder</title><link>https://devzone.nordicsemi.com/thread/153678?ContentTypeID=1</link><pubDate>Fri, 19 Oct 2018 14:58:35 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:5e9b583c-f6e4-4728-9b26-43a724110bb2</guid><dc:creator>Vidar Berg</dc:creator><description>&lt;p&gt;You need to include the softdevice .hex in addition to the application .hex in D:\nRF5_SDK_15.2.0_9412b96\nRF5_SDK_15.2.0_9412b96\examples\ble_peripheral\ble_app_blinky\pca10059\s140\arm5_no_packs\_build, see screedump from my previous reply.&lt;/p&gt;
&lt;p&gt;The pre-compiled hex in D:\nRF5_SDK_15.2.0_9412b96\nRF5_SDK_15.2.0_9412b96\examples\ble_peripheral\ble_app_blinky\hex\ contains softdevice+application which is why you don&amp;#39;t have to include the softdevice.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Error uploading .hex generated from keil or seggar through nRF connect to nRF52840 dongle, but upload .hex files that are already in hex folder</title><link>https://devzone.nordicsemi.com/thread/153668?ContentTypeID=1</link><pubDate>Fri, 19 Oct 2018 13:53:36 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:80369525-483f-455b-809d-310aaaeb06cb</guid><dc:creator>iamsheikhubaid</dc:creator><description>&lt;p&gt;I have used nrfjprog but it will not actually program .hex in the dongle, error occurs that there is no debugger connected to the PC. I actually done that part to press that button and get the dongle in the programming mode. Red led starts blinking but it is unable to write .hex file that was generated by Keil, it will just add the .hex that was present in the directory of hex like&lt;/p&gt;
&lt;p&gt;D:\nRF5_SDK_15.2.0_9412b96\nRF5_SDK_15.2.0_9412b96\examples\ble_peripheral\ble_app_blinky\hex\&lt;/p&gt;
&lt;p&gt;but unable to upload the hex of keil like&lt;/p&gt;
&lt;p&gt;D:\nRF5_SDK_15.2.0_9412b96\nRF5_SDK_15.2.0_9412b96\examples\ble_peripheral\ble_app_blinky\pca10059\s140\arm5_no_packs\_build&lt;/p&gt;
&lt;p&gt;Help me in this, Thanks&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Error uploading .hex generated from keil or seggar through nRF connect to nRF52840 dongle, but upload .hex files that are already in hex folder</title><link>https://devzone.nordicsemi.com/thread/153457?ContentTypeID=1</link><pubDate>Thu, 18 Oct 2018 11:25:27 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:b08c7656-0422-4b23-bce0-4cd61178c8f3</guid><dc:creator>Vidar Berg</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;Are you using the 1.0.0-experimental.5 version of the Programmer app, and did you upload the correct softdevice version (s140 v.6.1.0 if you are building examples from SDK 15.2.0)?&lt;/p&gt;
&lt;p&gt;I tried this with the hrs example and was unable to reproduce the error. This is what I did:&lt;/p&gt;
&lt;p&gt;1. Built the hrs example&amp;nbsp;with Keil&lt;/p&gt;
&lt;p&gt;2. Opened the programmer app and selected the .hex file I built together with the s140 softdevice from&amp;nbsp;&amp;nbsp;nRF5_SDK_15.2.0_9412b96\components\softdevice\s140&lt;/p&gt;
&lt;p&gt;&lt;img src="https://devzone.nordicsemi.com/resized-image/__size/320x240/__key/support-attachments/beef5d1b77644c448dabff31668f3a47-80728a18efcd4f9fa4dbc88137f42975/pastedimage1539861866384v1.png" alt=" " /&gt;&lt;/p&gt;
&lt;p&gt;3. Verified that the dongle was advertising.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>