<?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>Regarding hex file setting</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/56145/regarding-hex-file-setting</link><description>In My Project, if I flash using the build and debug the code runs on the device but when i create the code to hex file and flashes its not running</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Mon, 06 Jan 2020 07:44:33 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/56145/regarding-hex-file-setting" /><item><title>RE: Regarding hex file setting</title><link>https://devzone.nordicsemi.com/thread/227575?ContentTypeID=1</link><pubDate>Mon, 06 Jan 2020 07:44:33 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:4acbe403-7f29-468b-ae6e-56cf9d22ed0f</guid><dc:creator>Einar Thorsrud</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;I have some more questions and comments:&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;Have you created your own project from scratch, or based it on an example project?
&lt;ol&gt;
&lt;li&gt;If so, which?&lt;/li&gt;
&lt;/ol&gt;
&lt;/li&gt;
&lt;li&gt;If you have not based your SES project on an example project, it does not flash the SoftDevice unless you have added support for it, so It does not seem like the case.
&lt;ol&gt;
&lt;li&gt;If however, you do use the SoftDevice, then this needs to be flashed. Do you use the SoftDevice?&lt;/li&gt;
&lt;li&gt;If you use the SoftDevice, then you need to flash it in addition to the application. You can find it for nRF52840 here: &amp;lt;SDK&amp;gt;\components\softdevice\s140\hex&lt;/li&gt;
&lt;/ol&gt;
&lt;/li&gt;
&lt;/ol&gt;
&lt;p&gt;This suggestion about missing SoftDevice was a gut feeling based on what you wrote in the initial post. But if this looks like a dead-end, then please specify more about your application (SDK version, example project, flash location, using SoftDevice or not, what debugging you have done, etc.)&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Regarding hex file setting</title><link>https://devzone.nordicsemi.com/thread/227515?ContentTypeID=1</link><pubDate>Sat, 04 Jan 2020 06:22:46 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:64fcf2e2-6bf1-47b7-8e15-784609607862</guid><dc:creator>RakeshHegden</dc:creator><description>&lt;p&gt;Hi Einar, Thanks for the response,&lt;/p&gt;
&lt;p&gt;yes I am using the SES- Segger Embedded Studio,&lt;/p&gt;
&lt;p&gt;I have generated the .hex file and erased the chip first using J link and flashed the hex file&lt;/p&gt;
&lt;p&gt;I have created my own project, not from example project Can you please explain to me how do I need to program the SoftDEvice.hex&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Regarding hex file setting</title><link>https://devzone.nordicsemi.com/thread/227397?ContentTypeID=1</link><pubDate>Fri, 03 Jan 2020 12:20:11 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:a027576b-f455-4b8f-9447-62c95e87d6ec</guid><dc:creator>Einar Thorsrud</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;You do not write which IDE&amp;nbsp; you use to build and debug, nor how you program the .hex file or what application you are using. If you are making a BLE application (or another application that relies on the SoftDevice), then this must also be programmed. If you program and/or debug from Segger Embedded Studio using an SDK example project, this will be programmed for you automatically. Is that the case? On the other hand, if you program the .hex file manually after doing a chip erase, you must also program the SoftDEvice .hex file.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>