<?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 get debugging to work in CrossWorks</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/25804/can-t-get-debugging-to-work-in-crossworks</link><description>Hi, 
 I&amp;#39;m trying to get started with the nRF51-DK with the ble_app_template. I want to get it working in the Rowley CrossWorks IDE. (From what I understand this is the same IDE as Segger Studio.) I&amp;#39;m using the s130 soft device. 
 It took a while but</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Sun, 15 Oct 2017 22:52:28 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/25804/can-t-get-debugging-to-work-in-crossworks" /><item><title>RE: Can't get debugging to work in CrossWorks</title><link>https://devzone.nordicsemi.com/thread/101636?ContentTypeID=1</link><pubDate>Sun, 15 Oct 2017 22:52:28 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:b0d89f15-b546-440e-be25-4fa672eeff1c</guid><dc:creator>allwires</dc:creator><description>&lt;p&gt;I might be interpreting this wrong, but it seems that I should be able to at least run the program with the debugger, but only get a single breakpoint to work. Even if I disable all the breakpoints (including stopping at main, etc.), I still can&amp;#39;t get it to just run with the debugger without crashing.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Can't get debugging to work in CrossWorks</title><link>https://devzone.nordicsemi.com/thread/101635?ContentTypeID=1</link><pubDate>Wed, 11 Oct 2017 09:07:39 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:eee91ac5-8ec3-499b-8eba-8a35e99fb8dc</guid><dc:creator>Sigurd</dc:creator><description>&lt;p&gt;Normal debugging with breakpoints is not possible when the SoftDevice is enabled. See &lt;a href="https://devzone.nordicsemi.com/question/53488/application-debug-with-softdevice/?answer=53490#post-id-53490"&gt;this post&lt;/a&gt; and &lt;a href="https://devzone.nordicsemi.com/question/172274/no-normal-continuation-after-hitting-a-breakpoint/?answer=172345#post-id-172345"&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 get debugging to work in CrossWorks</title><link>https://devzone.nordicsemi.com/thread/101634?ContentTypeID=1</link><pubDate>Tue, 10 Oct 2017 23:45:03 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:bfd3fb6d-2797-4806-95a8-bacb0792012d</guid><dc:creator>allwires</dc:creator><description>&lt;p&gt;@Sigurd Thanks for your response. I&amp;#39;ve tried those instructions but still get the same issue; if I just program the device in release mode (or even run it in the debugger, then remove the debugger and power cycle the board) it works, but if I try to do the debugging it crashes on &lt;code&gt;softdevice_enable()&lt;/code&gt;. I don&amp;#39;t know if it has to do with the fact that I&amp;#39;m using the nRF51 but the post is for the nRF52.&lt;/p&gt;
&lt;p&gt;To answer your question about the SoftDevice, I am in fact using the S130 v.2. Specifically, I&amp;#39;m using the precompiled version from the SDK: &lt;code&gt;nRF5_SDK_12.3.0_d7731ad\components\softdevice\s130\hex\s130_nrf51_2.0.1_softdevice.hex&lt;/code&gt;.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Can't get debugging to work in CrossWorks</title><link>https://devzone.nordicsemi.com/thread/101633?ContentTypeID=1</link><pubDate>Tue, 10 Oct 2017 08:51:25 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:0f5a5a7a-3081-4353-ae24-fe0b416079a0</guid><dc:creator>Sigurd</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;Did you flash the SoftDevice S130 v.2? If yes, then it could be that you have incorrect settings for the FLASH and SRAM start addresses (Section Placement Macros in Segger Embedded Studio).&lt;/p&gt;
&lt;p&gt;I would recommend that you use Segger Embedded Studio, you can find a guide on how to convert the Keil projects in the SDK to Segger Embedded Studio projects in &lt;a href="https://devzone.nordicsemi.com/blogs/1032/segger-embedded-studio-a-cross-platform-ide/"&gt;this blog post&lt;/a&gt;.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>