<?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 debug with S110 7.0.0 using SDK6.1.0</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/4051/can-t-debug-with-s110-7-0-0-using-sdk6-1-0</link><description>First I load soft device through nRFgo.
Then I run debug with eclipse.
I then step through code in main.c ... 
 (I&amp;#39;m using QFAAG0 chip) 
 Stepping worked fine when I used SDK4.4.1 and S110 5.2.1.
Stepping fails when I used SDK6.1.0 and S110 7.0.0</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Sun, 12 Oct 2014 17:42:12 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/4051/can-t-debug-with-s110-7-0-0-using-sdk6-1-0" /><item><title>RE: Can't debug with S110 7.0.0 using SDK6.1.0</title><link>https://devzone.nordicsemi.com/thread/14542?ContentTypeID=1</link><pubDate>Sun, 12 Oct 2014 17:42:12 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:21962349-8924-4b2a-881b-9489461cce0c</guid><dc:creator>daveengineer</dc:creator><description>&lt;p&gt;Hi Nguyen. Since the debug works when I swap out the S110 v7.0.0 with S110 v6.0.0 (even though not supported), this proves that the debug info is in the compiled SDK.&lt;/p&gt;
&lt;p&gt;I&amp;#39;ll try your advice. Thank you&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Can't debug with S110 7.0.0 using SDK6.1.0</title><link>https://devzone.nordicsemi.com/thread/14541?ContentTypeID=1</link><pubDate>Sun, 12 Oct 2014 10:36:59 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:31405212-799e-4ef5-843f-7a7b6ca320cb</guid><dc:creator>Nguyen Hoan Hoang</dc:creator><description>&lt;p&gt;Have you check if it was compiled in Realse or Debug ? perhaps the new sdk compiles in release mode. Therefore no debug info was included.&lt;/p&gt;
&lt;p&gt;It is also very quick to use my Eclipse project.  Just use one of the ble projects already created.  rename it. Remove the source code in the project folder and copy yours over.  refresh Eclipse project and compile.  Takes less than 2 min.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Can't debug with S110 7.0.0 using SDK6.1.0</title><link>https://devzone.nordicsemi.com/thread/14540?ContentTypeID=1</link><pubDate>Sun, 12 Oct 2014 04:18:24 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:ec046453-7b01-47a0-9563-e740d4c66f52</guid><dc:creator>daveengineer</dc:creator><description>&lt;p&gt;My program compiles fine and the device works properly when I program it. So I have a working .hex/.out file. I just would like to get the GDB debugger to work correctly. I was hoping this would be a quick solution (e.g. configuration setting). I read your blog site. It would be starting from scratch. I will revert back to SDK 4.4.1 and S110 5.2.1 which has been working fine for me. Hopefully this problem with go away with the next SDK release.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Can't debug with S110 7.0.0 using SDK6.1.0</title><link>https://devzone.nordicsemi.com/thread/14539?ContentTypeID=1</link><pubDate>Sun, 12 Oct 2014 03:55:27 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:943897ee-f577-4459-a705-7059d0f662b0</guid><dc:creator>Nguyen Hoan Hoang</dc:creator><description>&lt;p&gt;I don&amp;#39;t linke makefile so I don&amp;#39;t use it.  It&amp;#39;s the 80&amp;#39;s way to develop.  I create my own Eclipse project.  You can follow the instruction on my blog site for it.  I do have project examples ready to use with iOS source code as well.  Have look see if you can work with it.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Can't debug with S110 7.0.0 using SDK6.1.0</title><link>https://devzone.nordicsemi.com/thread/14538?ContentTypeID=1</link><pubDate>Sat, 11 Oct 2014 19:06:39 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:5a19e8cd-44b4-42d0-af41-8b6586245f51</guid><dc:creator>daveengineer</dc:creator><description>&lt;p&gt;Also, I do a clean before each compile. Let me know if there is anything I can provide you to help me with this problem. I can take screen shots, or send you the whole project directory.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Can't debug with S110 7.0.0 using SDK6.1.0</title><link>https://devzone.nordicsemi.com/thread/14537?ContentTypeID=1</link><pubDate>Sat, 11 Oct 2014 19:04:08 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:ab3deed8-70ba-4c5a-9a13-100213e13a63</guid><dc:creator>daveengineer</dc:creator><description>&lt;p&gt;I only used SDKv6 examples. I also deleted everything (SDK, Nordic directories, eclipse, GNu ARM tools) and re-installed from scratch. I can compile bl_app_hr, and program the S110 V7.0.0 and .out using GDB (and .hex using nRFgo) file, and the program works great with my app on the iphone.
I just can&amp;#39;t debug (step through code).&lt;br /&gt;
The only reason I had tried the S110 v6.0.0 was for debug purposes to see what would happen,(although I know the program does not work correctly due to S110 v6.0.0 not compatible with SDK v6.1). Oddly enough, I was at least able to see myself stepping through code.
But yes, the focus is trying to make it work with S110 v7.0.0.&lt;/p&gt;
&lt;p&gt;Thanks,
Dave&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Can't debug with S110 7.0.0 using SDK6.1.0</title><link>https://devzone.nordicsemi.com/thread/14536?ContentTypeID=1</link><pubDate>Sat, 11 Oct 2014 17:45:16 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:b9f481a8-72da-4de3-ba97-06a57b2414f2</guid><dc:creator>Nguyen Hoan Hoang</dc:creator><description>&lt;p&gt;Ok, I see.  The S110 v7 is not backward compatible.  You need to use the examples that come with the sdk 6.1 for that.  I think it crashed before your main breakpoint.  Example taken from SDK v5 cannot be compiled with SDKv6 and cannot run with S110 v7.  You should do a clean before compiling to be sure.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Can't debug with S110 7.0.0 using SDK6.1.0</title><link>https://devzone.nordicsemi.com/thread/14535?ContentTypeID=1</link><pubDate>Sat, 11 Oct 2014 10:32:08 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:e5f7d96a-3f5e-4c1a-889b-15b5f5a9a63a</guid><dc:creator>daveengineer</dc:creator><description>&lt;p&gt;The code compiles fine and programs the device correctly.&lt;/p&gt;
&lt;p&gt;When I use S110 6.0.0, it stops at the breakpoint and shows the marker next to the line of code:
No line 733 in file &amp;quot;main.c&amp;quot;.
Temporary breakpoint 2, main () at ../main.c:667
667		timers_init();&lt;/p&gt;
&lt;p&gt;When I use S110 v7.0.0, it stops, instead of showing me the line of code with a marker next to it, it only says:
No line 733 in file &amp;quot;main.c&amp;quot;.
No source available for &amp;quot;0xfffffffe&amp;quot;
Program received signal SIGTRAP, Trace/breakpoint trap.
0xfffffffe in ?? ()&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Can't debug with S110 7.0.0 using SDK6.1.0</title><link>https://devzone.nordicsemi.com/thread/14534?ContentTypeID=1</link><pubDate>Sat, 11 Oct 2014 05:44:44 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:6f0734d2-904c-4730-8ac2-b58077066f43</guid><dc:creator>Nguyen Hoan Hoang</dc:creator><description>&lt;p&gt;up until when did you get the signal trap ? Does it stop at the entry of main ? can you provide more details info ?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Can't debug with S110 7.0.0 using SDK6.1.0</title><link>https://devzone.nordicsemi.com/thread/14533?ContentTypeID=1</link><pubDate>Sat, 11 Oct 2014 05:12:25 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:414d1e03-1f8a-4fc9-9519-d9868ec434e8</guid><dc:creator>daveengineer</dc:creator><description>&lt;p&gt;I&amp;#39;m using:
SDK 6.1.0
Eclipse Juno SR2
GNU Tools ARM Embedded 4.8 2014q2
S110 v7.0.0
Jlink 4.66
Coreutils 5.3.0
Make 3.81&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Can't debug with S110 7.0.0 using SDK6.1.0</title><link>https://devzone.nordicsemi.com/thread/14532?ContentTypeID=1</link><pubDate>Sat, 11 Oct 2014 04:38:41 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:f20ff3bb-14ed-4c93-befe-3fd35d528060</guid><dc:creator>Nguyen Hoan Hoang</dc:creator><description>&lt;p&gt;Are you using Eclipse Luna ? Looks like the Luna problem with the gnuarm plugins.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Can't debug with S110 7.0.0 using SDK6.1.0</title><link>https://devzone.nordicsemi.com/thread/14531?ContentTypeID=1</link><pubDate>Sat, 11 Oct 2014 04:11:28 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:10afd673-3e3c-4c90-8c56-cfd0dc2a7e14</guid><dc:creator>daveengineer</dc:creator><description>&lt;p&gt;I checked link file gcc_nrf51_s110_xxaa.ld in the source\templates directory, and it shows 0x16000.
The strange this is even though debug/stepping does not work, when I power cycle the device, the program in the device works correctly. (ble_app_hrs)&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Can't debug with S110 7.0.0 using SDK6.1.0</title><link>https://devzone.nordicsemi.com/thread/14530?ContentTypeID=1</link><pubDate>Sat, 11 Oct 2014 04:10:14 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:85c34de4-94d2-4afb-89ad-5c5566bcf2d6</guid><dc:creator>Nguyen Hoan Hoang</dc:creator><description>&lt;p&gt;is it a makefile project or an Eclipse project ?
Perhaps you can try this site &lt;a href="http://embeddedsoftdev.blogspot.ca/p/ehal-nrf51.html"&gt;embeddedsoftdev.blogspot.ca/.../ehal-nrf51.html&lt;/a&gt;.  It&amp;#39;s Eclipse based development.  All examples are compiled with SDK 6.1 and s110 v7&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Can't debug with S110 7.0.0 using SDK6.1.0</title><link>https://devzone.nordicsemi.com/thread/14529?ContentTypeID=1</link><pubDate>Sat, 11 Oct 2014 03:30:51 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:c13f7677-2b00-465f-992a-d3b372a21507</guid><dc:creator>daveengineer</dc:creator><description>&lt;p&gt;I don&amp;#39;t know where to find linker script.I am using the Eclipse GUI.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Can't debug with S110 7.0.0 using SDK6.1.0</title><link>https://devzone.nordicsemi.com/thread/14528?ContentTypeID=1</link><pubDate>Sat, 11 Oct 2014 02:40:33 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:52901189-6038-400b-b3a9-b523d064e707</guid><dc:creator>Nguyen Hoan Hoang</dc:creator><description>&lt;p&gt;Have you check the linker script ? The start address for v7 is at 0z16000 while older versions start at 0x14000&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>