<?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>Remote debugging for NRF52840 from GitHub Code space</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/105559/remote-debugging-for-nrf52840-from-github-code-space</link><description>I have created development environment on GitHub Code space for Nordic NRF52840 DK board. I want to perform remote debugging activity between GitHub Code space and device connected locally with my system. Could your team guide us to perform this activity</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Wed, 20 Dec 2023 12:06:02 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/105559/remote-debugging-for-nrf52840-from-github-code-space" /><item><title>RE: Remote debugging for NRF52840 from GitHub Code space</title><link>https://devzone.nordicsemi.com/thread/461269?ContentTypeID=1</link><pubDate>Wed, 20 Dec 2023 12:06:02 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:1a5cf36e-556a-4b26-972b-1c200ba9c7cc</guid><dc:creator>H&amp;#229;kon Alseth</dc:creator><description>&lt;p&gt;Hi Prateek,&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;I was hoping this issue could have been fixed in the latest November-release, but unfortunately, there was not enough time to get this properly fixed. This issue is still open internally.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Kind regards,&lt;/p&gt;
&lt;p&gt;Håkon&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Remote debugging for NRF52840 from GitHub Code space</title><link>https://devzone.nordicsemi.com/thread/461207?ContentTypeID=1</link><pubDate>Wed, 20 Dec 2023 07:00:58 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:cd79c197-104d-4057-affb-8a4c9a09f5dd</guid><dc:creator>Prateek2203</dc:creator><description>&lt;p&gt;Thanks, Hakon. Please let me know the status.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Remote debugging for NRF52840 from GitHub Code space</title><link>https://devzone.nordicsemi.com/thread/456851?ContentTypeID=1</link><pubDate>Wed, 22 Nov 2023 09:50:55 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:d0d15fb4-ef9d-4aac-a21c-799a6e45355d</guid><dc:creator>H&amp;#229;kon Alseth</dc:creator><description>&lt;p&gt;Hi Prateek,&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
[quote user="Prateek2203"]&lt;p&gt;I have tried this already, if I don&amp;#39;t connect development board via USB, it&amp;#39;s not detecting device.&lt;/p&gt;
&lt;p&gt;In this case client machine have no device connected via USB.&lt;/p&gt;[/quote]
&lt;p&gt;Yes, my apologies. I have tested with a kit already connected, and checked that the connection went to the configured remote IP:PORT.&lt;/p&gt;
&lt;p&gt;If one does not have any kit connected, I see the same as you, a pop up with &amp;quot;no devices connected.&amp;quot; - I will report this internally.&lt;br /&gt;&lt;br /&gt;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Kind regards,&lt;/p&gt;
&lt;p&gt;Håkon&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Remote debugging for NRF52840 from GitHub Code space</title><link>https://devzone.nordicsemi.com/thread/456753?ContentTypeID=1</link><pubDate>Tue, 21 Nov 2023 16:24:04 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:39074887-09eb-4af1-b2f9-fc068da4b73c</guid><dc:creator>Prateek2203</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;I have tried this already, if I don&amp;#39;t connect development board via USB, it&amp;#39;s not detecting device.&lt;/p&gt;
&lt;p&gt;In this case client machine have no device connected via USB.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Thanks,&lt;/p&gt;
&lt;p&gt;Prateek&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Remote debugging for NRF52840 from GitHub Code space</title><link>https://devzone.nordicsemi.com/thread/456703?ContentTypeID=1</link><pubDate>Tue, 21 Nov 2023 14:10:57 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:6979d6e2-23f7-4679-ba5c-2a9abf737aa1</guid><dc:creator>H&amp;#229;kon Alseth</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Have you selected the &amp;quot;remote debug&amp;quot; configuration?&lt;/p&gt;
&lt;p&gt;&lt;img style="max-height:240px;max-width:320px;" src="https://devzone.nordicsemi.com/resized-image/__size/640x480/__key/communityserver-discussions-components-files/4/pastedimage1700575740696v1.png" alt=" " /&gt;&lt;/p&gt;
&lt;p&gt;Then you should get this pop-up:&lt;/p&gt;
&lt;p&gt;&lt;img style="max-height:240px;max-width:320px;" src="https://devzone.nordicsemi.com/resized-image/__size/640x480/__key/communityserver-discussions-components-files/4/pastedimage1700575768607v2.png" alt=" " /&gt;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Now the target debug &amp;quot;Remote debug&amp;quot; shall be shown in the lower left corner:&lt;/p&gt;
&lt;p&gt;&lt;img style="max-height:240px;max-width:320px;" src="https://devzone.nordicsemi.com/resized-image/__size/640x480/__key/communityserver-discussions-components-files/4/pastedimage1700575809273v3.png" alt=" " /&gt;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;If you choose the wrong one, you can reset it and select a debug target again:&lt;/p&gt;
&lt;p&gt;&lt;img style="max-height:240px;max-width:320px;" src="https://devzone.nordicsemi.com/resized-image/__size/640x480/__key/communityserver-discussions-components-files/4/pastedimage1700575850927v4.png" alt=" " /&gt;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Kind regards,&lt;/p&gt;
&lt;p&gt;Håkon&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Remote debugging for NRF52840 from GitHub Code space</title><link>https://devzone.nordicsemi.com/thread/456534?ContentTypeID=1</link><pubDate>Mon, 20 Nov 2023 18:15:07 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:ad06526e-ac86-43e0-8d94-b119e905ad56</guid><dc:creator>Prateek2203</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;Thanks for sharing launch configuration.&lt;/p&gt;
&lt;p&gt;But still, it is showing no device issue as you can see in below screenshot.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;img style="max-height:240px;max-width:320px;" src="https://devzone.nordicsemi.com/resized-image/__size/640x480/__key/communityserver-discussions-components-files/4/pastedimage1700504240471v1.png" alt=" " /&gt;&lt;/p&gt;
&lt;p&gt;Regard,&lt;/p&gt;
&lt;p&gt;Prateek&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Remote debugging for NRF52840 from GitHub Code space</title><link>https://devzone.nordicsemi.com/thread/456480?ContentTypeID=1</link><pubDate>Mon, 20 Nov 2023 14:52:49 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:0acf7afc-24a8-43e8-bf10-2070dc5ba39b</guid><dc:creator>H&amp;#229;kon Alseth</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Thanks for sharing your configuration. In our docs, there&amp;#39;s a bug wrt. the &amp;quot;request&amp;quot; type in the end of this page:&lt;/p&gt;
&lt;p&gt;&lt;a href="https://nrfconnect.github.io/vscode-nrf-connect/guides/debug_custom.html#how-to-use-custom-launch-and-debug-configurations"&gt;https://nrfconnect.github.io/vscode-nrf-connect/guides/debug_custom.html#how-to-use-custom-launch-and-debug-configurations&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Here&amp;#39;s my configuration (I have one local and one remote now):&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="text"&gt;{
	&amp;quot;version&amp;quot;: &amp;quot;0.2.0&amp;quot;,
	&amp;quot;configurations&amp;quot;: [
		{
			&amp;quot;type&amp;quot;: &amp;quot;nrf-connect&amp;quot;,
			&amp;quot;request&amp;quot;: &amp;quot;launch&amp;quot;,
			&amp;quot;name&amp;quot;: &amp;quot;Launch build&amp;quot;,
			&amp;quot;config&amp;quot;: &amp;quot;${workspaceFolder}/nrf/samples/cellular/location/build&amp;quot;,
			&amp;quot;runToEntryPoint&amp;quot;: &amp;quot;main&amp;quot;
		},
        {
            &amp;quot;type&amp;quot;: &amp;quot;nrf-connect&amp;quot;,
            &amp;quot;request&amp;quot;: &amp;quot;attach&amp;quot;,
			&amp;quot;name&amp;quot;: &amp;quot;Remote debug&amp;quot;,
            &amp;quot;config&amp;quot;: &amp;quot;${activeConfig}&amp;quot;,
            &amp;quot;serverpath&amp;quot;: null,
            &amp;quot;serverAddress&amp;quot;: &amp;quot;192.x.y.z:2331&amp;quot;,
            &amp;quot;flash&amp;quot;: false
        }		
	]
}&lt;/pre&gt;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;The main difference is that &amp;quot;request&amp;quot;: &amp;quot;attach&amp;quot;, is set. Could you try this and see if it works on your end as well?&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Kind regards,&lt;/p&gt;
&lt;p&gt;Håkon&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Remote debugging for NRF52840 from GitHub Code space</title><link>https://devzone.nordicsemi.com/thread/456341?ContentTypeID=1</link><pubDate>Mon, 20 Nov 2023 09:35:37 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:5bea6a6c-e947-415e-8353-3da0aad9864c</guid><dc:creator>Prateek2203</dc:creator><description>&lt;p&gt;Yeah, through this I could see successfully connection, but how I could integrate this in VS Code and perform normal debugging like we do when we connect device via USB port.&lt;/p&gt;
&lt;p&gt;&lt;img style="max-height:240px;max-width:320px;" src="https://devzone.nordicsemi.com/resized-image/__size/640x480/__key/communityserver-discussions-components-files/4/pastedimage1700504420417v1.png" alt=" " /&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Remote debugging for NRF52840 from GitHub Code space</title><link>https://devzone.nordicsemi.com/thread/456332?ContentTypeID=1</link><pubDate>Mon, 20 Nov 2023 08:55:45 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:f5773b0c-2aa3-49ab-95c5-d6e9fa95f943</guid><dc:creator>H&amp;#229;kon Alseth</dc:creator><description>&lt;p&gt;Have you checked that you are able to connect to IP:PORT successfully using arm-zephyr-eabi-gdb?&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Open gdb:&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="text"&gt;c:\path\to\arm-zephyr-eabi\bin\arm-zephyr-eabi-gdb&lt;/pre&gt;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;When you have opened up gdb, you can write:&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="text"&gt;target remote IP:PORT&lt;/pre&gt;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;And see if you are successfully connected.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Kind regards,&lt;/p&gt;
&lt;p&gt;Håkon&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Remote debugging for NRF52840 from GitHub Code space</title><link>https://devzone.nordicsemi.com/thread/456312?ContentTypeID=1</link><pubDate>Mon, 20 Nov 2023 06:57:08 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:4ff4b53f-871d-415b-a950-065b1f66f662</guid><dc:creator>Prateek2203</dc:creator><description>&lt;p&gt;Okay let&amp;#39;s leave GitHub Code space for the time being,&lt;/p&gt;
&lt;p&gt;I am trying to debug using this&amp;nbsp;&lt;a href="https://nrfconnect.github.io/vscode-nrf-connect/guides/debug_custom.html#how-to-use-custom-launch-and-debug-configurations"&gt;link&lt;/a&gt;&amp;nbsp;for local network with GDB Server + GDB client but it&amp;#39;s showing &amp;quot;No Device&amp;quot; error in VS Code.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Remote debugging for NRF52840 from GitHub Code space</title><link>https://devzone.nordicsemi.com/thread/456153?ContentTypeID=1</link><pubDate>Fri, 17 Nov 2023 12:37:47 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:8a841918-ff26-4cfa-ac5c-f5eb06e8439b</guid><dc:creator>H&amp;#229;kon Alseth</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
[quote user="Prateek2203"]&lt;p&gt;There is a ticket opened with case id:&amp;nbsp;&lt;span&gt;309966 (&lt;a href="https://devzone.nordicsemi.com/f/nordic-q-a/101019/remote-debug-with-no-device-connect"&gt;Ticket Link&lt;/a&gt;) in which same issue is described which I am currently facing.&amp;nbsp;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;[/quote]
&lt;p&gt;JLink GDBServer is IP-based, and normally one connects via localhost (ie. debug on the same PC where the .elf is located).&lt;/p&gt;
&lt;p&gt;One can potentially connect from another place in the local network with gdbserver + gdb client, but this is not the same as having full github code integration.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;I would strongly recommend that you ask github about how this can be done.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Kind regards,&lt;/p&gt;
&lt;p&gt;Håkon&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Remote debugging for NRF52840 from GitHub Code space</title><link>https://devzone.nordicsemi.com/thread/455690?ContentTypeID=1</link><pubDate>Wed, 15 Nov 2023 05:36:09 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:0d7ab7ee-660d-400e-bca2-226f519c1d81</guid><dc:creator>Prateek2203</dc:creator><description>&lt;p&gt;There is a ticket opened with case id:&amp;nbsp;&lt;span&gt;309966 (&lt;a href="https://devzone.nordicsemi.com/f/nordic-q-a/101019/remote-debug-with-no-device-connect"&gt;Ticket Link&lt;/a&gt;) in which same issue is described which I am currently facing.&amp;nbsp;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;Could you please let me know if I could setup using JSON file provided in this&amp;nbsp;&lt;a href="https://nrfconnect.github.io/vscode-nrf-connect/guides/debug_custom.html#how-to-use-custom-launch-and-debug-configurations"&gt;link&lt;/a&gt;. When I have done changes mentioned in the link for launch.json, its show no device connected.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Remote debugging for NRF52840 from GitHub Code space</title><link>https://devzone.nordicsemi.com/thread/455339?ContentTypeID=1</link><pubDate>Mon, 13 Nov 2023 14:24:39 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:dddb2763-63e4-4b02-aebb-b946b57592c3</guid><dc:creator>AHaug</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;I believe that the best way to approach this is to look into githubs documentation and or support forums for codelab to see how this can be achieved as we don&amp;#39;t have any official documentation or guides for how to do this&lt;/p&gt;
&lt;p&gt;Kind regards,&lt;br /&gt;Andreas&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>