<?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>Can&amp;#39;t start/debug program from Eclipse</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/22877/can-t-start-debug-program-from-eclipse</link><description>Hardware: nRF52 DK
Example: ble_app_hrs
I have a problem with starting program using debugger. I starts debugging session and starts program using resume button, breakpoints disabled. Application stops on address 0x8c8 and won&amp;#39;t go ahead. Application</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Wed, 28 Mar 2018 08:00:54 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/22877/can-t-start-debug-program-from-eclipse" /><item><title>RE: Can't start/debug program from Eclipse</title><link>https://devzone.nordicsemi.com/thread/126262?ContentTypeID=1</link><pubDate>Wed, 28 Mar 2018 08:00:54 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:e820d584-ce72-460d-a870-85e32635cdc6</guid><dc:creator>Luk3</dc:creator><description>&lt;p&gt;No I haven&amp;#39;t found solution. I have just created new project, added all paths and compiler directives and it works. Of course SD crashes because of timing error if advertising enabled or during connection but I can put breakpoint and check what is going on.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Can't start/debug program from Eclipse</title><link>https://devzone.nordicsemi.com/thread/126146?ContentTypeID=1</link><pubDate>Tue, 27 Mar 2018 15:41:12 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:a4ecef49-af86-4068-a4ab-24ed2326957f</guid><dc:creator>iadam-bg</dc:creator><description>&lt;p&gt;I am seeing a similar problem (application stops at address 0x8c8) but the error I&amp;#39;m seeing appears to happen both with and without the debugger attached. I&amp;#39;m seeing the same symptom on a few events, but notably when&amp;nbsp;going into and out of low power mode, and when changing the RTC prescaler after initial device configuration. Did you ever find a solution to your problem?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Can't start/debug program from Eclipse</title><link>https://devzone.nordicsemi.com/thread/89959?ContentTypeID=1</link><pubDate>Tue, 27 Jun 2017 22:46:55 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:28bda430-922a-488c-921d-f8e3cbd6c472</guid><dc:creator>Luk3</dc:creator><description>&lt;p&gt;I have no errors returned. Anyway solution from that post works.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Can't start/debug program from Eclipse</title><link>https://devzone.nordicsemi.com/thread/89958?ContentTypeID=1</link><pubDate>Thu, 22 Jun 2017 11:56:04 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:8b3c940b-e38f-49f7-98c8-02f7ae1dec64</guid><dc:creator>Sigurd</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;Do you get any error code returned when &lt;code&gt;sd_softdevice_enable()&lt;/code&gt; is called?&lt;/p&gt;
&lt;p&gt;Keep in mind that you cannot step through a sd_-call or after you have enabled the Softedevice as this vil halt the CPU and cause the SoftDevice to assert since this breaks its real-time requirements.&lt;/p&gt;
&lt;p&gt;You could try to uncheck &amp;quot;Load executable&amp;quot; in the debug configurations, and see if that solves the issue. See &lt;a href="https://devzone.nordicsemi.com/question/126696/nrf52-sdk122-fails-softdevice_handler_init-when-debugging/"&gt;this post&lt;/a&gt;.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Can't start/debug program from Eclipse</title><link>https://devzone.nordicsemi.com/thread/89956?ContentTypeID=1</link><pubDate>Wed, 21 Jun 2017 19:48:28 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:52ac0fbb-0101-4db0-986f-f7688b41a2ad</guid><dc:creator>Luk3</dc:creator><description>&lt;p&gt;There is my build command from Eclipse console:&lt;/p&gt;
&lt;p&gt;&lt;code&gt;arm-none-eabi-gcc -mcpu=cortex-m4 -mthumb -mfloat-abi=hard -mfpu=fpv4-sp-d16 -O0 -ffunction-sections -fdata-sections -fno-builtin -fno-strict-aliasing --short-enums -Wall -g3 -DBLE_STACK_SUPPORT_REQD -DBOARD_PCA10040 -DNRF52 -DNRF52832_XXAA -DNRF52_PAN_12 -DNRF52_PAN_15 -DNRF52_PAN_20 -DNRF52_PAN_31 -DNRF52_PAN_36 -DNRF52_PAN_51 -DNRF52_PAN_54 -DNRF52_PAN_55 -DNRF52_PAN_58 -DNRF52_PAN_64 -DNRF52_PAN_74 -DNRF_SD_BLE_API_VERSION=4 -DS132 -DSOFTDEVICE_PRESENT -DSWI_DISABLE0 -DCONFIG_GPIO_AS_PINRESET -DDEBUG -I[...]&lt;/code&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Can't start/debug program from Eclipse</title><link>https://devzone.nordicsemi.com/thread/89957?ContentTypeID=1</link><pubDate>Mon, 19 Jun 2017 08:23:06 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:63823c65-9de6-4948-accb-646bf25ebbff</guid><dc:creator>Sigurd</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;See this &lt;a href="https://devzone.nordicsemi.com/question/116587/debugging-with-breakpoints-correct-gcc-flags/"&gt;answer&lt;/a&gt;.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>