<?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>JLinkGDBServer could not connect to target</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/66825/jlinkgdbserver-could-not-connect-to-target</link><description>Hi all, 
 I tried to follow this tutorial to be able to use GDB as debugger but failed right in the beginning because JLinkGDBServer could not connect. Here&amp;#39;s the log I get: 
 
 Strange part is that I could flash the samples/empty_app_core/ from ConnectSDK</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Tue, 13 Oct 2020 10:27:13 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/66825/jlinkgdbserver-could-not-connect-to-target" /><item><title>RE: JLinkGDBServer could not connect to target</title><link>https://devzone.nordicsemi.com/thread/274562?ContentTypeID=1</link><pubDate>Tue, 13 Oct 2020 10:27:13 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:c7f96501-da03-45e4-be92-1b3420c78548</guid><dc:creator>Carl Richard</dc:creator><description>&lt;p&gt;Hello, again!&lt;br /&gt;&lt;br /&gt;No problem! Glad to hear that you&amp;#39;ve made it work.&amp;nbsp;&lt;br /&gt;&lt;br /&gt;I will probably try this out for the nRF5340 myself someday soon. Will update you if I discover a better way.&lt;/p&gt;
&lt;p&gt;Best regards,&lt;br /&gt;Carl Richard&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: JLinkGDBServer could not connect to target</title><link>https://devzone.nordicsemi.com/thread/274508?ContentTypeID=1</link><pubDate>Tue, 13 Oct 2020 08:28:36 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:3aba364c-27ca-461e-9334-c11366ec23b1</guid><dc:creator>Oliver Batista</dc:creator><description>&lt;p&gt;Hey Carl, thanks for sharing your configuration. I&amp;#39;ve managed to make it work by using &amp;quot;cortex-m33&amp;quot; as &amp;quot;device&amp;quot; value. Not sure if this is the best way but at least I got myself some breakpoints.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: JLinkGDBServer could not connect to target</title><link>https://devzone.nordicsemi.com/thread/274042?ContentTypeID=1</link><pubDate>Fri, 09 Oct 2020 12:48:04 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:3ebcf39c-e115-4310-8d9d-c156393fe1e7</guid><dc:creator>Carl Richard</dc:creator><description>&lt;p&gt;Hello, avlier!&lt;br /&gt;&lt;br /&gt;I must speak with the author of that tutorial for some details, but in the meantime you can have a look at a &lt;a href="https://electronut.in/visual-studio-code-nrf52-dev/"&gt;tutorial &lt;/a&gt;I&amp;#39;ve looked at myself earlier. It&amp;#39;s a bit old, but it enabled me to debug an nRF9160 using VSCode.&lt;br /&gt;&lt;br /&gt;My Cortex Debug configuration is attached below:&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="json"&gt;{
    // Use IntelliSense to learn about possible attributes.
    // Hover to view descriptions of existing attributes.
    // For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387
    &amp;quot;version&amp;quot;: &amp;quot;0.2.0&amp;quot;,
    &amp;quot;configurations&amp;quot;: [
        {
            &amp;quot;name&amp;quot;: &amp;quot;Debug NCS&amp;quot;,
            &amp;quot;cwd&amp;quot;: &amp;quot;${workspaceRoot}&amp;quot;,
            &amp;quot;executable&amp;quot;: &amp;quot;./build/zephyr/zephyr.elf&amp;quot;,
            &amp;quot;request&amp;quot;: &amp;quot;launch&amp;quot;,
            &amp;quot;type&amp;quot;: &amp;quot;cortex-debug&amp;quot;,
            &amp;quot;serverpath&amp;quot;: &amp;quot;C:/Program Files (x86)/SEGGER/JLink/JLinkGDBServerCL.exe&amp;quot;,
            &amp;quot;servertype&amp;quot;: &amp;quot;jlink&amp;quot;,
            &amp;quot;device&amp;quot;: &amp;quot;nrf9160_xxAA&amp;quot;,
            &amp;quot;interface&amp;quot;: &amp;quot;swd&amp;quot;,
            &amp;quot;armToolchainPath&amp;quot;: &amp;quot;C:/gnuarmemb/bin&amp;quot;,
            &amp;quot;ipAddress&amp;quot;: null,
            &amp;quot;serialNumber&amp;quot;: null
        }
    ]
}&lt;/pre&gt;&lt;br /&gt;&lt;br /&gt;We do not really support debugging solutions outside of SES, but I will do my best to help you.&lt;br /&gt;&lt;br /&gt;Best regards,&lt;br /&gt;Carl Richard&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>