<?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>debugging with Linux</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/27245/debugging-with-linux</link><description>Hello, 
 I am new in this community and I am trying to get started with developments using nRF52840 DK. I am using SDK 13.0 for the library and I compile my code using armgcc. JLink for Linux V620h is used for the connection between the chip and the</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Tue, 21 Nov 2017 12:24:48 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/27245/debugging-with-linux" /><item><title>RE: debugging with Linux</title><link>https://devzone.nordicsemi.com/thread/107553?ContentTypeID=1</link><pubDate>Tue, 21 Nov 2017 12:24:48 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:103fef89-0128-489f-9093-a36b4ec1ffd9</guid><dc:creator>Bj&amp;#248;rn Kvaale</dc:creator><description>&lt;p&gt;Cool! Good luck with the real work! :)&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: debugging with Linux</title><link>https://devzone.nordicsemi.com/thread/107552?ContentTypeID=1</link><pubDate>Mon, 20 Nov 2017 21:24:14 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:9add6500-fa89-44f6-b649-064a5470b5b0</guid><dc:creator>swip</dc:creator><description>&lt;p&gt;Hello, yes everything’s all right and I am starting the real work now :) Thank you for your help&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: debugging with Linux</title><link>https://devzone.nordicsemi.com/thread/107551?ContentTypeID=1</link><pubDate>Mon, 20 Nov 2017 07:33:26 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:b2aa6abd-cdd0-45e7-8e0c-2c6ae4100d72</guid><dc:creator>Bj&amp;#248;rn Kvaale</dc:creator><description>&lt;p&gt;Hi swip. Great to hear that you figured this out! Do you still have any questions regarding your query?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: debugging with Linux</title><link>https://devzone.nordicsemi.com/thread/107550?ContentTypeID=1</link><pubDate>Thu, 16 Nov 2017 21:20:04 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:8c22425c-00ce-427a-8166-1e67590ccc82</guid><dc:creator>swip</dc:creator><description>&lt;p&gt;Hi Bjørn ,
Thank you, you are right I can go to definition using in Segger Embedded Studio and the &amp;quot;Go To Definition&amp;quot; function. I guess both methods come to the same at the end. But I just prefer using the same IDE for all my projects. Finally I am able to set up break points in the code and output results on my computer with &lt;code&gt;SEGGER_RTT_printf()&lt;/code&gt; function.
When debugging I run the two following command to start a GDB server (for debugging) and start a RTT client for the output&lt;/p&gt;
&lt;pre&gt;&lt;code&gt;./JLink_Linux_V620h_x86_64/JLinkGDBServer -device nRF52840_xxAA -if swd -endian little -speed 1000 -port 2331 -singlerun -notimeout
./JLinkRTTClient
&lt;/code&gt;&lt;/pre&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: debugging with Linux</title><link>https://devzone.nordicsemi.com/thread/107548?ContentTypeID=1</link><pubDate>Tue, 14 Nov 2017 10:23:38 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:40663282-0be2-42bb-8099-6a9ef5241cfa</guid><dc:creator>Bj&amp;#248;rn Kvaale</dc:creator><description>&lt;p&gt;Could also be a good idea to ask some questions on the segger forum. But I&amp;#39;m happy to take a look at this issue later.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: debugging with Linux</title><link>https://devzone.nordicsemi.com/thread/107547?ContentTypeID=1</link><pubDate>Tue, 14 Nov 2017 10:20:14 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:e5e6e4b8-78ca-4464-95b5-d3916305f35b</guid><dc:creator>Bj&amp;#248;rn Kvaale</dc:creator><description>&lt;p&gt;Hey swip! I am able to easily use the &amp;quot;Go To Definition&amp;quot; command in Segger Embedded Studio on Windows 10 without having to compile the application beforehand. I just used the ble_app_hrs example on sdk 14.1 located under the examples/ble_peripheral folder (used softdevice s132 and the pca10040 option). I have not tried segger embedded studio on Linux, as we need to use virtualization software to run linux. If you want, I can take a closer look at this for you (as I prefer Linux to Windows any day) ;)&lt;/p&gt;
&lt;p&gt;I have not had any experience with QT Creator, but could take a closer look at this issue too if you want.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: debugging with Linux</title><link>https://devzone.nordicsemi.com/thread/107549?ContentTypeID=1</link><pubDate>Mon, 13 Nov 2017 20:31:48 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:767a7fe4-df1b-43a9-ab13-9cc743dc2455</guid><dc:creator>swip</dc:creator><description>&lt;p&gt;Hi guys!
Thank you for your help :). SES seems to be a good solution for debugging, I have also tried &lt;a href="https://devzone.nordicsemi.com/question/40565/debugging-using-qtcreator-on-mac/"&gt;this tutorial&lt;/a&gt; and it works fine on linux too. I am able to set break points as it is the case using SES. The problem that I have with SES and not with Qt creator, is how to follow definition under cursor to jump from one file to another file.
Though, I still struggle to use the printf function or NRF_LOG_INFO(&amp;quot;test&amp;quot;) with Qt creator and the command ./JLinkGDBServer -device nRF52840_xxAA -if swd -endian little -speed 1000 -port 2331 -singlerun -notimeout&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: debugging with Linux</title><link>https://devzone.nordicsemi.com/thread/107546?ContentTypeID=1</link><pubDate>Mon, 13 Nov 2017 14:13:29 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:e309b59e-b7da-482b-ba21-9ed6d2049710</guid><dc:creator>Bj&amp;#248;rn Kvaale</dc:creator><description>&lt;p&gt;I agree with RK. I would take a look at SES. You can have a look at the Nordic Youtube page, where there is a playlist for &lt;a href="https://www.youtube.com/watch?v=YZouRE_Ol8g&amp;amp;list=PLx_tBuQ_KSqGHmzdEL2GWEOeix-S5rgTV"&gt;getting started with SES&lt;/a&gt;. And as RK pointed out, it is &lt;a href="https://www.segger.com/news/segger-embedded-studio-ide-now-free-for-nordic-sdk-users/"&gt;free to use SES for Nordic SDK users&lt;/a&gt;!&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: debugging with Linux</title><link>https://devzone.nordicsemi.com/thread/107545?ContentTypeID=1</link><pubDate>Sun, 12 Nov 2017 21:21:35 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:bc5bbb84-31f5-443a-8de4-cf368aff3177</guid><dc:creator>RK</dc:creator><description>&lt;p&gt;Have you thought of trying Segger Embedded Studio which works on Linux, is supported by the lastest SDK 14 and which Nordic has licensed for even commercial purposes from Segger. That is absolutely fully integrated with all Segger&amp;#39;s technology including RTT and is a much easier way to get started.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>