<?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>Writing and debugging from docker container to board</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/107769/writing-and-debugging-from-docker-container-to-board</link><description>I am not good at English. Sorry if it is hard to understand. 
 I am on Windows 11 and have a docker container on top of wsl2. How can I create a development environment on this container to build and write to the board? 
 
 Thank you in advance for your</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Fri, 08 Mar 2024 20:35:50 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/107769/writing-and-debugging-from-docker-container-to-board" /><item><title>RE: Writing and debugging from docker container to board</title><link>https://devzone.nordicsemi.com/thread/473029?ContentTypeID=1</link><pubDate>Fri, 08 Mar 2024 20:35:50 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:f93651d7-6336-428c-abbe-d844ad50b4f3</guid><dc:creator>Yoshiki</dc:creator><description>&lt;p&gt;Thank you for your kindness.&lt;br /&gt;I will ask Segger some questions.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Writing and debugging from docker container to board</title><link>https://devzone.nordicsemi.com/thread/472943?ContentTypeID=1</link><pubDate>Fri, 08 Mar 2024 12:42:16 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:a6261b82-a1c2-4ac6-bd83-f95cc5c04cdd</guid><dc:creator>Sigurd</dc:creator><description>[quote user="Yoshiki"]`Connecting to J-Link via USB. .FAILED: Cannot connect to J-Link.` and could not connect to J-Link.[/quote]
&lt;p&gt;I&amp;#39;m not sure why this fails. Maybe you could ask Segger.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;a href="https://www.segger.com/support/technical-support/"&gt;https://www.segger.com/support/technical-support/&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&lt;a href="https://forum.segger.com/"&gt;https://forum.segger.com/&lt;/a&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Writing and debugging from docker container to board</title><link>https://devzone.nordicsemi.com/thread/472866?ContentTypeID=1</link><pubDate>Fri, 08 Mar 2024 09:03:23 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:3bd0a2bf-182e-4168-a201-1a90c054a401</guid><dc:creator>Yoshiki</dc:creator><description>&lt;p&gt;I followed the `Installing J-Link in a Container` procedure and did not encounter any errors.&lt;br /&gt;After running `/opt/SEGGER/JLink/JLinkExe -autoconnect 1 -device nrf52832 -if swd -speed 12000`. &lt;br /&gt;`Connecting to J-Link via USB. .FAILED: Cannot connect to J-Link.` and could not connect to J-Link.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Writing and debugging from docker container to board</title><link>https://devzone.nordicsemi.com/thread/472857?ContentTypeID=1</link><pubDate>Fri, 08 Mar 2024 08:15:49 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:186b6dee-53ff-44ea-b719-f839228cad73</guid><dc:creator>Sigurd</dc:creator><description>&lt;p&gt;And did that work? Any errors when doing that?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Writing and debugging from docker container to board</title><link>https://devzone.nordicsemi.com/thread/471932?ContentTypeID=1</link><pubDate>Mon, 04 Mar 2024 04:05:17 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:2fcf6781-4b09-4629-b574-9fdee5ae10b9</guid><dc:creator>Yoshiki</dc:creator><description>&lt;p&gt;Yes.&lt;br /&gt;I followed `Installing J-Link in a Container`.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Writing and debugging from docker container to board</title><link>https://devzone.nordicsemi.com/thread/471814?ContentTypeID=1</link><pubDate>Fri, 01 Mar 2024 13:52:10 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:a78b3635-569a-47c5-b7fb-d73ea06b6148</guid><dc:creator>Sigurd</dc:creator><description>&lt;p&gt;Did you try to follow the steps in section &amp;quot;Installing J-Link in a Container&amp;quot; ?&lt;/p&gt;
&lt;p&gt;&lt;a href="https://wiki.segger.com/J-Link_Docker_Container"&gt;https://wiki.segger.com/J-Link_Docker_Container&lt;/a&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Writing and debugging from docker container to board</title><link>https://devzone.nordicsemi.com/thread/470914?ContentTypeID=1</link><pubDate>Tue, 27 Feb 2024 04:56:18 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:ba1493aa-f4f7-47e3-be0b-02fcab747777</guid><dc:creator>Yoshiki</dc:creator><description>&lt;p&gt;I&amp;#39;m sorry.&lt;br /&gt;I was sick and could not check.&lt;/p&gt;
&lt;p&gt;I have started the container using privileged mode, but JLink is not recognized.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Writing and debugging from docker container to board</title><link>https://devzone.nordicsemi.com/thread/469657?ContentTypeID=1</link><pubDate>Tue, 20 Feb 2024 00:43:21 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:128a0cc1-7756-4038-9f98-16f45fa8d590</guid><dc:creator>Sigurd</dc:creator><description>&lt;p&gt;Could be that you don&amp;#39;t have USB support in your container. As mentioned by Segger here,&amp;nbsp;&lt;a href="https://wiki.segger.com/J-Link_Docker_Container"&gt;https://wiki.segger.com/J-Link_Docker_Container&lt;/a&gt;&amp;nbsp;, &amp;quot;&lt;span&gt;In order to add a container with usb support&amp;nbsp;&lt;/span&gt;&lt;b&gt;--privileged&lt;/b&gt;&lt;span&gt;&amp;nbsp;mode needs to be used&amp;quot;&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Writing and debugging from docker container to board</title><link>https://devzone.nordicsemi.com/thread/469242?ContentTypeID=1</link><pubDate>Fri, 16 Feb 2024 13:15:04 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:c7a3ae73-b3aa-489f-bf12-cbd1eb319fc4</guid><dc:creator>Yoshiki</dc:creator><description>&lt;p&gt;I ran nrfjprog from a docker environment.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Writing and debugging from docker container to board</title><link>https://devzone.nordicsemi.com/thread/469172?ContentTypeID=1</link><pubDate>Fri, 16 Feb 2024 09:14:32 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:26a0bb33-5199-4197-b438-510a9044e0d5</guid><dc:creator>Sigurd</dc:creator><description>&lt;p&gt;Are you running this from the docker, or windows 11&amp;nbsp;environment ?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Writing and debugging from docker container to board</title><link>https://devzone.nordicsemi.com/thread/469044?ContentTypeID=1</link><pubDate>Thu, 15 Feb 2024 14:05:40 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:86efcfb6-579b-41a2-8e08-648584f98fa1</guid><dc:creator>Yoshiki</dc:creator><description>&lt;p&gt;Device not found with `nrfjprog -i`.&lt;br /&gt;What should I do?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Writing and debugging from docker container to board</title><link>https://devzone.nordicsemi.com/thread/468390?ContentTypeID=1</link><pubDate>Mon, 12 Feb 2024 11:34:50 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:447dfc06-52f7-40da-8372-9989599d10ea</guid><dc:creator>Sigurd</dc:creator><description>[quote user="Yoshiki"]The CONNECTED DEVICES on nrf Connect for VSCode does not show any connected devices.[/quote]
&lt;p&gt;You can download nrfjprog from here:&amp;nbsp;&lt;a href="https://www.nordicsemi.com/Products/Development-tools/nrf-command-line-tools/"&gt;https://www.nordicsemi.com/Products/Development-tools/nrf-command-line-tools/&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Do you find the device with using &amp;quot;nrfjprog -i&amp;quot; ?&lt;/p&gt;
&lt;p&gt;e.g.&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/pastedimage1707737682262v1.png" alt=" " /&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Writing and debugging from docker container to board</title><link>https://devzone.nordicsemi.com/thread/467995?ContentTypeID=1</link><pubDate>Thu, 08 Feb 2024 05:34:53 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:cf20b74f-9500-438a-8afc-1590da781bd6</guid><dc:creator>Yoshiki</dc:creator><description>&lt;p&gt;Thank you for your response.&lt;/p&gt;
&lt;p&gt;How can I use west or nrfjprog?&lt;br /&gt;The CONNECTED DEVICES on nrf Connect for VSCode does not show any connected devices.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Writing and debugging from docker container to board</title><link>https://devzone.nordicsemi.com/thread/467527?ContentTypeID=1</link><pubDate>Mon, 05 Feb 2024 10:01:54 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:cba45d0b-38e0-4009-98c6-26d0b69c6e70</guid><dc:creator>Sigurd</dc:creator><description>&lt;p&gt;Try using west and/or nrfjprog&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Writing and debugging from docker container to board</title><link>https://devzone.nordicsemi.com/thread/467256?ContentTypeID=1</link><pubDate>Thu, 01 Feb 2024 21:46:33 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:1324b582-033f-4a5f-9f14-e731a41ac78f</guid><dc:creator>Yoshiki</dc:creator><description>&lt;p&gt;Thank you very much.&lt;/p&gt;
&lt;p&gt;I was able to launch the docker container.&lt;br /&gt;How can I write and debug from this container using J-Link?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Writing and debugging from docker container to board</title><link>https://devzone.nordicsemi.com/thread/466890?ContentTypeID=1</link><pubDate>Wed, 31 Jan 2024 09:11:23 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:f9bf7dee-08bb-4588-a348-2bd04f9dd5fd</guid><dc:creator>Sigurd</dc:creator><description>&lt;p&gt;Hi!&lt;/p&gt;
&lt;p&gt;We have a docker image here:&lt;/p&gt;
&lt;div&gt;
&lt;div&gt;
&lt;div&gt;
&lt;div&gt;
&lt;div&gt;
&lt;p&gt;&lt;a href="https://github.com/nrfconnect/sdk-nrf/pkgs/container/sdk-nrf-toolchain"&gt;github.com/.../sdk-nrf-toolchain&lt;/a&gt;&lt;/p&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;div&gt;
&lt;div&gt;
&lt;div&gt;&lt;/div&gt;
&lt;div&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>