<?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>SDKv11 Heart-rate example works only in Debug mode on nRF52 DK board</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/61335/sdkv11-heart-rate-example-works-only-in-debug-mode-on-nrf52-dk-board</link><description>Hi, 
 I recently procured a nrRF52 DK board (PCA10040, v2.0.0 with nRF52832) for our new product development activity. 
 I tried following precompiled binaries present in SDKv11 none of them works. 
 nRF5_SDK_11.0.0_89a8197\examples\ble_peripheral\ble_app_hrs</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Fri, 15 May 2020 09:31:58 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/61335/sdkv11-heart-rate-example-works-only-in-debug-mode-on-nrf52-dk-board" /><item><title>RE: SDKv11 Heart-rate example works only in Debug mode on nRF52 DK board</title><link>https://devzone.nordicsemi.com/thread/250130?ContentTypeID=1</link><pubDate>Fri, 15 May 2020 09:31:58 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:6fae961a-1c48-4e3f-b79f-ee675533498d</guid><dc:creator>balaji</dc:creator><description>&lt;p&gt;Thank you for the reply Jared!&lt;/p&gt;
&lt;p&gt;I have a fresh nrf52 dk with no modifications. As I mentioned before, pre-compiled&amp;nbsp;&lt;span&gt;&lt;strong&gt;ble_app_uart_s132_pca10040&lt;/strong&gt;.&lt;strong&gt;hex &lt;/strong&gt;is working fine without any issue. But heart rate example is not working fine.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;Let me try with nrfjprog and update you ASAP.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: SDKv11 Heart-rate example works only in Debug mode on nRF52 DK board</title><link>https://devzone.nordicsemi.com/thread/250127?ContentTypeID=1</link><pubDate>Fri, 15 May 2020 09:17:59 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:e0059590-7e95-4382-a0cc-304985703328</guid><dc:creator>Jared</dc:creator><description>&lt;p&gt;I find it very strange that the pre-compiled examples are not able to run. Is the DK unmodified, have you shorted any solder bridges? What are you using as a supply for the DK? Could you try using nrfjprog and flash the DK with one of the precompiled examples? &lt;strong&gt;Remember to also flash the softdevice!&lt;/strong&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: SDKv11 Heart-rate example works only in Debug mode on nRF52 DK board</title><link>https://devzone.nordicsemi.com/thread/249982?ContentTypeID=1</link><pubDate>Thu, 14 May 2020 13:51:56 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:0756176f-94a8-406b-bb0d-67700952b5f7</guid><dc:creator>balaji</dc:creator><description>&lt;p&gt;No Jared, the heart rate binary did not work in both the cases. The only working condition is, I need to run the heart rate example code&amp;nbsp; in debug mode from Keil. As soon as I stop the debug mode, the hardware stops executing the code. Even tried power restarting the hardware, no luck. Pleas let me know for further clarification.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: SDKv11 Heart-rate example works only in Debug mode on nRF52 DK board</title><link>https://devzone.nordicsemi.com/thread/249976?ContentTypeID=1</link><pubDate>Thu, 14 May 2020 13:34:35 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:ab2da89e-974e-49da-aa1e-9e648a6e4bf9</guid><dc:creator>Jared</dc:creator><description>[quote user="bala ji"]I used nRFgo Studio for programming the pre-compiled &lt;span&gt;ble_app_hrs_s132_pca10040.hex&amp;nbsp;&lt;/span&gt;file from application option. The same way i programmed the&amp;nbsp;&lt;span&gt;ble_app_uart_s132_pca10040.hex and it&amp;nbsp; worked fine.&lt;/span&gt;[/quote]
&lt;p&gt;&amp;nbsp;ok, so it works with nrfgo, but not when you use Keil?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: SDKv11 Heart-rate example works only in Debug mode on nRF52 DK board</title><link>https://devzone.nordicsemi.com/thread/249964?ContentTypeID=1</link><pubDate>Thu, 14 May 2020 12:54:45 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:3d0c65b0-c396-4ba8-9c59-d65abf8b4cab</guid><dc:creator>balaji</dc:creator><description>&lt;p&gt;Thank you for the reply Jared!&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;I used nRFgo Studio for programming the pre-compiled &lt;span&gt;ble_app_hrs_s132_pca10040.hex&amp;nbsp;&lt;/span&gt;file from application option. The same way i programmed the&amp;nbsp;&lt;span&gt;ble_app_uart_s132_pca10040.hex and it&amp;nbsp; worked fine.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;My Keil target setting are default one, please take a look on attached images.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;img alt=" " src="https://devzone.nordicsemi.com/resized-image/__size/320x240/__key/communityserver-discussions-components-files/4/target_5F00_setting_5F00_c_5F00_cpp.PNG" /&gt;&lt;img alt=" " src="https://devzone.nordicsemi.com/resized-image/__size/320x240/__key/communityserver-discussions-components-files/4/target_5F00_setting_5F00_target.PNG" /&gt;&lt;img alt=" " src="https://devzone.nordicsemi.com/resized-image/__size/320x240/__key/communityserver-discussions-components-files/4/nRF52-DK.PNG" /&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Regards,&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Balaji.&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: SDKv11 Heart-rate example works only in Debug mode on nRF52 DK board</title><link>https://devzone.nordicsemi.com/thread/249874?ContentTypeID=1</link><pubDate>Thu, 14 May 2020 09:17:37 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:85dbe918-4917-4bab-84e0-46a20c4a758d</guid><dc:creator>Jared</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;I just tested a couple of the pre-compiled binaries that you&amp;#39;ve mentioned and it worked successfully here. I&amp;#39;m not sure why it doesn&amp;#39;t work on your side. How are you flashing the board with the pre-compiled lib? Are you using nrfjprog?&amp;nbsp;What optimization level are you using when you try to flash the application from Keil?&amp;nbsp;&lt;/p&gt;
&lt;p&gt;regards&lt;/p&gt;
&lt;p&gt;Jared&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>