<?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>nRF Connect for VSCode - How to make jlink the default runner for flashing a device</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/99464/nrf-connect-for-vscode---how-to-make-jlink-the-default-runner-for-flashing-a-device</link><description>Hello, 
 I&amp;#39;ve been trying to bind a custom task to an action so that flashing a device defaults to using &amp;quot;jlink&amp;quot; runner whenever I flash from &amp;quot;Action &amp;gt; Flash&amp;quot; in nRF for VSCode. I&amp;#39;ve followed the instructions at https://nrfconnect.github.io/vscode-nrf</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Tue, 30 May 2023 07:26:29 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/99464/nrf-connect-for-vscode---how-to-make-jlink-the-default-runner-for-flashing-a-device" /><item><title>RE: nRF Connect for VSCode - How to make jlink the default runner for flashing a device</title><link>https://devzone.nordicsemi.com/thread/428059?ContentTypeID=1</link><pubDate>Tue, 30 May 2023 07:26:29 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:eb8aaa49-879c-4dec-a7a8-96960b108437</guid><dc:creator>Priyanka</dc:creator><description>&lt;p&gt;Hi Ravi,&lt;/p&gt;
&lt;div&gt;The solution&amp;nbsp;would be&amp;nbsp;to remove the &lt;code&gt;buildConfigs&lt;/code&gt; entry in the &lt;code&gt;nrf-connect.taskBindings&lt;/code&gt; setting&amp;#39;s &lt;code&gt;flash&lt;/code&gt; entry. This, for example, will run the task &lt;code&gt;Custom build&lt;/code&gt; to all build configurations:&amp;nbsp;&lt;/div&gt;
&lt;div&gt;&lt;pre class="ui-code" data-mode="c_cpp"&gt;&amp;quot;nrf-connect.taskBindings&amp;quot;: {
                &amp;quot;build&amp;quot;: [
                        {
                                &amp;quot;taskName&amp;quot;: &amp;quot;Custom build&amp;quot;,
                        }
                ]
        },&lt;/pre&gt;&lt;/div&gt;
&lt;div&gt;Please refer &lt;a href="https://nrfconnect.github.io/vscode-nrf-connect/guides/build_bind_tasks.html#example-of-a-restricted-single-task"&gt;this documentation.&lt;/a&gt;&lt;/div&gt;
&lt;div&gt;&lt;/div&gt;
&lt;div&gt;
&lt;div&gt;If&amp;nbsp;&amp;nbsp;you defined the board&amp;nbsp;yourself though,&amp;nbsp;you should specify the default runner for the board in the board&amp;#39;s cmake file, and not override it in VS Code. See &lt;a title="https://developer.nordicsemi.com/nrf_connect_sdk/doc/latest/zephyr/hardware/porting/board_porting.html#flash-and-debug-support" href="https://developer.nordicsemi.com/nRF_Connect_SDK/doc/latest/zephyr/hardware/porting/board_porting.html#flash-and-debug-support" rel="noopener noreferrer" target="_blank"&gt;https://developer.nordicsemi.com/nRF_Connect_SDK/doc/latest/zephyr/hardware/porting/board_porting.html#flash-and-debug-support&lt;/a&gt;&lt;/div&gt;
&lt;div&gt;&lt;/div&gt;
&lt;div&gt;-Priyanka&lt;/div&gt;
&lt;/div&gt;
&lt;div&gt;&lt;/div&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF Connect for VSCode - How to make jlink the default runner for flashing a device</title><link>https://devzone.nordicsemi.com/thread/428032?ContentTypeID=1</link><pubDate>Tue, 30 May 2023 05:44:09 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:28b861fe-5059-4581-a93e-b38a489ed44e</guid><dc:creator>Priyanka</dc:creator><description>&lt;p&gt;Hi Ravi,&lt;/p&gt;
&lt;p&gt;I am yet to hear from the internal team. We have just resumed working today as it was a public holiday yesterday. I will get back to you as soon as I hear from the team.&lt;/p&gt;
&lt;p&gt;-Priyanka&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF Connect for VSCode - How to make jlink the default runner for flashing a device</title><link>https://devzone.nordicsemi.com/thread/427617?ContentTypeID=1</link><pubDate>Thu, 25 May 2023 21:46:12 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:ecd2deac-8429-42aa-ae7a-c9aa07259413</guid><dc:creator>zpm1066</dc:creator><description>&lt;p&gt;Hello Priyanka,&lt;br /&gt;&lt;br /&gt;Did you get a response regarding the following?&lt;/p&gt;
&lt;p&gt;&lt;span&gt;It would be preferable to&amp;nbsp;have the &amp;quot;Flash&amp;quot; action run the jlink as runner for all the projects in the nRF Connect Workspace and remove the need for&amp;nbsp; &amp;quot;&amp;lt;YOUR-APP-FOLDER&amp;gt;&amp;quot; &amp;nbsp;in the path&amp;nbsp;&amp;quot;${workspaceFolder}/&amp;lt;YOUR-APP-FOLDER&amp;gt;/build&amp;quot;.&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;Is there a way to use the currently selected build path to avoid specifying &amp;quot;&amp;lt;YOUR-APP-FOLDER&amp;gt;&amp;quot; explicitly?&lt;br /&gt;&lt;br /&gt;Thanks.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF Connect for VSCode - How to make jlink the default runner for flashing a device</title><link>https://devzone.nordicsemi.com/thread/426465?ContentTypeID=1</link><pubDate>Mon, 22 May 2023 08:20:57 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:223cc115-ab9d-4133-a750-83357124c517</guid><dc:creator>Priyanka</dc:creator><description>&lt;p&gt;Hi Ravi,&lt;/p&gt;
&lt;p&gt;Thank you for your feedback and suggestion. I have conveyed them internally and will get back to you with a response.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF Connect for VSCode - How to make jlink the default runner for flashing a device</title><link>https://devzone.nordicsemi.com/thread/426363?ContentTypeID=1</link><pubDate>Fri, 19 May 2023 16:16:13 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:2aa2e6b9-cde9-4e20-a99e-aa7626574603</guid><dc:creator>zpm1066</dc:creator><description>&lt;p&gt;Hi Priyanka,&lt;/p&gt;
&lt;p&gt;There is a question from my previous message that is still outstanding.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;How do I modify the above task so that the &amp;quot;Flash&amp;quot; action runs the jlink as the runner for all the projects in the nRF Connect Workspace?&lt;/p&gt;
&lt;p&gt;As it stands, I would need to explicitly specify a &amp;lt;YOUR-APP-FOLDER&amp;gt;&amp;quot; &amp;nbsp;in the path&amp;nbsp;&amp;quot;${workspaceFolder}/&amp;lt;YOUR-APP-FOLDER&amp;gt;/build&amp;quot; for each project in the nRF Connect Workspace. It&amp;rsquo;s not a desirable approach.&lt;/p&gt;
&lt;p&gt;Please check if the above ask is possible. If not, &lt;span&gt;an enhancement to &amp;nbsp;&amp;quot;nRF Connect for VSCode&amp;quot; extension settings to select a&amp;nbsp;&lt;/span&gt;&lt;span&gt;&amp;nbsp;&amp;quot;runner&amp;quot; of choice would be the way to go.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Thank you.&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF Connect for VSCode - How to make jlink the default runner for flashing a device</title><link>https://devzone.nordicsemi.com/thread/426186?ContentTypeID=1</link><pubDate>Fri, 19 May 2023 05:53:03 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:08d09591-31a1-4b4a-b388-db6999c10913</guid><dc:creator>Priyanka</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;Glad to hear that you got it running. I will forward your concerns and suggestions to the internal team. &lt;span class="emoticon" data-url="https://devzone.nordicsemi.com/cfs-file/__key/system/emoji/1f642.svg" title="Slight smile"&gt;&amp;#x1f642;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;Have a nice weekend.&lt;/p&gt;
&lt;p&gt;-Priyanka&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF Connect for VSCode - How to make jlink the default runner for flashing a device</title><link>https://devzone.nordicsemi.com/thread/426010?ContentTypeID=1</link><pubDate>Tue, 16 May 2023 23:59:51 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:76f52e80-3a8a-43ff-9785-d1c9d4e5ab42</guid><dc:creator>zpm1066</dc:creator><description>&lt;p&gt;Hi Priyanka,&lt;br /&gt;&lt;br /&gt;With your suggestion above and assistance from&amp;nbsp;&lt;a href="https://devzone.nordicsemi.com/members/jerico"&gt;Florian&lt;/a&gt;&amp;nbsp;, I&amp;#39;m able to flash a device with jlink as the runner.&lt;/p&gt;
&lt;p&gt;Here&amp;#39;s in full the task and binding sections.&lt;br /&gt;&lt;br /&gt;&amp;lt;project&amp;gt;.code-workspace file &amp;gt; &amp;quot;settings:&amp;quot; &amp;gt; &amp;quot;&amp;quot;nrf-connect.taskBindings:&amp;quot;, &amp;nbsp;add &lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;pre class="ui-code" data-mode="text"&gt;
	&amp;quot;flash&amp;quot;: [
	    { 	&amp;quot;taskName&amp;quot;: &amp;quot;jlink flash&amp;quot; ,
			&amp;quot;buildConfigs&amp;quot;:[
			&amp;quot;${workspaceFolder}/&amp;lt;YOUR-APP-FOLDER&amp;gt;/build&amp;quot;
			]
		}
	]
&lt;/pre&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;/p&gt;
&lt;p&gt;&amp;lt;project&amp;gt;.code-workspace file, add the following. I&amp;#39;m using NCS 2.3 as&amp;nbsp;&lt;span&gt;&amp;quot;/path/to/zephyr&amp;quot;.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="text"&gt;    &amp;quot;tasks&amp;quot;: {
        &amp;quot;version&amp;quot;: &amp;quot;2.0.0&amp;quot;,
        &amp;quot;tasks&amp;quot;: [
            {
                &amp;quot;label&amp;quot;: &amp;quot;jlink flash&amp;quot;,
                &amp;quot;options&amp;quot;:{&amp;quot;env&amp;quot;: {&amp;quot;ZEPHYR_BASE&amp;quot;: &amp;quot;/opt/nordic/ncs/v2.3.0/zephyr&amp;quot;}},
                &amp;quot;command&amp;quot;: &amp;quot;west flash --runner=jlink --dev-id YOUR_DEVICE_ID -d ${workspaceFolder}/&amp;lt;YOUR-APP-FOLDER&amp;gt;/build&amp;quot;,
                &amp;quot;type&amp;quot;: &amp;quot;shell&amp;quot;,
                &amp;quot;args&amp;quot;: [],
                &amp;quot;presentation&amp;quot;: {
                    &amp;quot;clear&amp;quot;: true,
                    &amp;quot;reveal&amp;quot;: &amp;quot;always&amp;quot;
                },
                &amp;quot;group&amp;quot;: &amp;quot;build&amp;quot;
            }
        ]
    },&lt;/pre&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;The above task and action works fine. However, as it stands, I would have to create a separate task/bind for each of my projects in the nRF Connect Workspace.&lt;br /&gt;&lt;br /&gt;&lt;/p&gt;
&lt;blockquote&gt;
&lt;p&gt;It would be preferable to&amp;nbsp;have the &amp;quot;Flash&amp;quot; action run the jlink as runner for all the projects in the nRF Connect Workspace and remove the need for&amp;nbsp; &amp;quot;&amp;lt;YOUR-APP-FOLDER&amp;gt;&amp;quot; &amp;nbsp;in the path&amp;nbsp;&amp;quot;${workspaceFolder}/&amp;lt;YOUR-APP-FOLDER&amp;gt;/build&amp;quot;.&lt;br /&gt;&lt;br /&gt;&lt;span style="background-color:#ffcc99;color:#000000;"&gt;Is there a way to use the currently selected build path to avoid specifying &amp;quot;&amp;lt;YOUR-APP-FOLDER&amp;gt;&amp;quot; explicitly? &lt;/span&gt;&lt;/p&gt;
&lt;/blockquote&gt;
&lt;p&gt;&lt;span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;I don&amp;#39;t want to have explicit&amp;nbsp;task/bind&amp;nbsp;actions for all my projects in the workspace. I would think nRF Connect would know the build path of the currently selected project.&lt;br /&gt;&lt;/span&gt;&lt;/p&gt;
&lt;blockquote&gt;
&lt;p&gt;&lt;span&gt;&lt;br /&gt;&lt;span style="background-color:#ffcc99;"&gt;The&amp;nbsp;best option would be an enhancement to &amp;nbsp;&amp;quot;nRF Connect for VSCode&amp;quot; extension, i.e. select a&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;span style="background-color:#ffcc99;"&gt;&amp;nbsp;&amp;quot;runner&amp;quot; of choice in the nRF Connect extension (pyocd, jlink).&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;I&amp;#39;m quite surprised that such an option doesn&amp;#39;t already exist. I&amp;#39;m sure quite a lot of&amp;nbsp;nRF Connect developers&amp;nbsp;utilize jlink.&lt;br /&gt;&lt;br /&gt;&lt;span style="background-color:#ffcc99;"&gt;How can I submit an enhancement request for nRF Connect for VSCode? Or is this something that you can raise?&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Please consider the proposed enhancement request. Thank you. Your assistance is much appreciated.&amp;nbsp;&lt;/p&gt;
&lt;/blockquote&gt;
&lt;p&gt;&lt;br /&gt;&lt;br /&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF Connect for VSCode - How to make jlink the default runner for flashing a device</title><link>https://devzone.nordicsemi.com/thread/425784?ContentTypeID=1</link><pubDate>Tue, 16 May 2023 08:06:34 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:3fbb29a7-c643-4159-a528-a772ef89430b</guid><dc:creator>Priyanka</dc:creator><description>&lt;div&gt;This is an environment issue.&lt;/div&gt;
&lt;div&gt;You can set&lt;/div&gt;
&lt;div&gt;&lt;code&gt;&amp;quot;options&amp;quot;: {&amp;quot;env&amp;quot;: {&amp;quot;ZEPHYR_BASE&amp;quot;: &amp;quot;/path/to/zephyr&amp;quot;}}&lt;/code&gt; for the task, pointing to your own zephyr installation.&lt;/div&gt;
&lt;div&gt;Unfortunately, the &lt;code&gt;${nrf-connect.sdk}&lt;/code&gt; shorthand only works in the settings.&lt;/div&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF Connect for VSCode - How to make jlink the default runner for flashing a device</title><link>https://devzone.nordicsemi.com/thread/425759?ContentTypeID=1</link><pubDate>Tue, 16 May 2023 05:25:31 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:5e5299c3-6cb5-4ba4-bcc1-3bffe7d07116</guid><dc:creator>Priyanka</dc:creator><description>&lt;p&gt;Thanks for the update. I will get back to you soon.&lt;/p&gt;
&lt;p&gt;-Priyanka&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF Connect for VSCode - How to make jlink the default runner for flashing a device</title><link>https://devzone.nordicsemi.com/thread/425709?ContentTypeID=1</link><pubDate>Mon, 15 May 2023 17:41:20 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:3c6ba07e-28e2-4403-a338-b533b53a2aeb</guid><dc:creator>zpm1066</dc:creator><description>&lt;p&gt;Hi Priyanka,&lt;/p&gt;
&lt;div&gt;
&lt;div&gt;Thanks.&lt;/div&gt;
&lt;div&gt;&lt;/div&gt;
&lt;div&gt;I can now execute a shell command from a binded task. However, &amp;quot;west flash --runner jlink&amp;quot; doesn&amp;#39;t flash the hex file for the current project, see error below.&lt;br /&gt;&lt;br /&gt;How can I resolve the issue&amp;nbsp;so that &amp;quot;jlink flash&amp;quot; task&amp;nbsp;uses the current project and Zephyr environment?&amp;nbsp;&lt;br /&gt;&lt;br /&gt;From within the VSCode terminal window for the current project, I can use &lt;span&gt;&amp;quot;west flash --runner jlink&amp;quot; to flash device fine.&amp;nbsp;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;/div&gt;
&lt;div&gt;&lt;img style="max-height:240px;max-width:320px;" alt=" " src="https://devzone.nordicsemi.com/resized-image/__size/640x480/__key/communityserver-discussions-components-files/4/Screen-Shot-2023_2D00_05_2D00_15-at-7.45.04-PM.png" /&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;span&gt; &lt;img style="max-height:240px;max-width:320px;" alt=" " src="https://devzone.nordicsemi.com/resized-image/__size/640x480/__key/communityserver-discussions-components-files/4/Screen-Shot-2023_2D00_05_2D00_15-at-7.33.50-PM.png" /&gt;&lt;/span&gt;&lt;span&gt;&lt;/span&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;Executing task in folder nRF_Connect_Projects: west flash --runner jlink &lt;br /&gt;&lt;br /&gt;usage: west [-h] [-z ZEPHYR_BASE] [-v] [-V] &amp;lt;command&amp;gt; ...&lt;br /&gt;west: error: argument &amp;lt;command&amp;gt;: invalid choice: &amp;#39;flash&amp;#39; (choose from &amp;#39;init&amp;#39;, &amp;#39;update&amp;#39;, &amp;#39;list&amp;#39;, &amp;#39;manifest&amp;#39;, &amp;#39;diff&amp;#39;, &amp;#39;status&amp;#39;, &amp;#39;forall&amp;#39;, &amp;#39;help&amp;#39;, &amp;#39;config&amp;#39;, &amp;#39;topdir&amp;#39;, &amp;#39;selfupdate&amp;#39;)&lt;br /&gt;&lt;br /&gt; * The terminal process &amp;quot;/usr/local/bin/bash &amp;#39;-c&amp;#39;, &amp;#39;west flash --runner jlink&amp;#39;&amp;quot; terminated with exit code: 2. &lt;br /&gt; * Terminal will be reused by tasks, press any key to close it.&lt;/div&gt;
&lt;div&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;p&gt;&lt;code&gt;&lt;/code&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF Connect for VSCode - How to make jlink the default runner for flashing a device</title><link>https://devzone.nordicsemi.com/thread/425530?ContentTypeID=1</link><pubDate>Mon, 15 May 2023 08:43:27 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:4a684d61-b874-42c7-9bf8-f692bc3a47ad</guid><dc:creator>Priyanka</dc:creator><description>&lt;p&gt;Hi Ravi,&lt;/p&gt;
&lt;p&gt;It seems that it&amp;nbsp;should work. Are you setting it properly?&lt;/p&gt;
&lt;div&gt;
&lt;pre&gt;{
        &amp;quot;label&amp;quot;: &amp;quot;west flash&amp;quot;,
        &amp;quot;type&amp;quot;: &amp;quot;shell&amp;quot;,
        &amp;quot;command&amp;quot;: &amp;quot;west flash --runner jlink&amp;quot;,
}&lt;/pre&gt;
&lt;/div&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF Connect for VSCode - How to make jlink the default runner for flashing a device</title><link>https://devzone.nordicsemi.com/thread/425483?ContentTypeID=1</link><pubDate>Mon, 15 May 2023 05:32:27 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:26cc3eaf-205e-483f-aaa2-0ccdd1e3b0de</guid><dc:creator>Priyanka</dc:creator><description>&lt;p&gt;Hi Ravi,&lt;/p&gt;
&lt;p&gt;Apologies for the delay as it was the weekend, but I am yet to hear back from the team. I will let you know as soon as I get a response.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF Connect for VSCode - How to make jlink the default runner for flashing a device</title><link>https://devzone.nordicsemi.com/thread/425411?ContentTypeID=1</link><pubDate>Fri, 12 May 2023 16:27:23 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:4a690889-0e0b-43dd-b201-6b265862bd83</guid><dc:creator>zpm1066</dc:creator><description>&lt;p&gt;Hi Priyanka,&lt;/p&gt;
&lt;p&gt;Any updates? Thanks.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF Connect for VSCode - How to make jlink the default runner for flashing a device</title><link>https://devzone.nordicsemi.com/thread/424894?ContentTypeID=1</link><pubDate>Wed, 10 May 2023 13:36:09 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:185e2cef-2cc6-4b52-b240-a29233baaa3a</guid><dc:creator>Priyanka</dc:creator><description>&lt;p&gt;Thank you for sharing the snippet. I will discuss this with experts and get back to you soon.&lt;/p&gt;
&lt;p&gt;-Priyanka&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF Connect for VSCode - How to make jlink the default runner for flashing a device</title><link>https://devzone.nordicsemi.com/thread/424835?ContentTypeID=1</link><pubDate>Wed, 10 May 2023 12:22:03 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:76d2ec51-a9ca-4951-a97b-8b24993c2099</guid><dc:creator>zpm1066</dc:creator><description>&lt;p&gt;Hi Priyanka,&lt;/p&gt;
&lt;p&gt;Yes, I can call &amp;quot;west flash&amp;quot; from a command line or&amp;nbsp;use &amp;quot;-DBOARD_FLASH_RUNNER&amp;quot; compile flag to get the runner to be jlink. What I&amp;#39;m looking for is a less cumbersome option.&lt;br /&gt;&lt;br /&gt;It would be much easier, if the nRF extension had a setting to select the a &amp;quot;runner&amp;quot; of choice. It&amp;#39;s something that Nordic should consider.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;It looks like that binding a task to the &amp;quot;Flash&amp;quot; action is the next best option and offers high customization.&lt;/p&gt;
&lt;p&gt;I&amp;#39;ve reviewed&amp;nbsp;&lt;a href="https://nrfconnect.github.io/vscode-nrf-connect/guides/build_bind_tasks.html"&gt;https://nrfconnect.github.io/vscode-nrf-connect/guides/build_bind_tasks.html&lt;/a&gt;, where you have an example of how to bind a task to an action.&lt;br /&gt;&lt;br /&gt;Here&amp;#39;s what I tried. However, when I click &amp;quot;Flash&amp;quot;, the default runner &amp;quot;pyocd&amp;quot; gets invoked.&lt;br /&gt;&lt;br /&gt;&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="text"&gt;
		&amp;quot;nrf-connect.taskBindings&amp;quot;: {
			&amp;quot;pristineBuild&amp;quot;: [
				{
					&amp;quot;taskName&amp;quot;: &amp;quot;Build [pristine]: ble/build&amp;quot;,
					&amp;quot;buildConfigs&amp;quot;: [
						&amp;quot;${workspaceFolder}/ble/build&amp;quot;,
						&amp;quot;${workspaceFolder}/ethernet_hub_ble/build&amp;quot;
					]
				}
			],
			&amp;quot;flash&amp;quot;: [{ &amp;quot;taskName&amp;quot;: &amp;quot;jlink flash&amp;quot; }]
		}
	},

...
...
...

 {
    &amp;quot;tasks&amp;quot;: [``
    {
		&amp;quot;version&amp;quot;: &amp;quot;2.0.0&amp;quot;,
		&amp;quot;label&amp;quot;: &amp;quot;jlink flash&amp;quot;,
		&amp;quot;command&amp;quot;: &amp;quot;${workspaceFolder}/jlink_flash.sh&amp;quot;,
		&amp;quot;args&amp;quot;: [&amp;quot;--build&amp;quot;, &amp;quot;--erase&amp;quot;, &amp;quot;--nrf52&amp;quot;],
		&amp;quot;presentation&amp;quot;: {
			&amp;quot;echo&amp;quot;: true,
			&amp;quot;reveal&amp;quot;: &amp;quot;never&amp;quot;,
			&amp;quot;clear&amp;quot;: true,
        }
    }
		]
 },&lt;/pre&gt;&lt;/p&gt;
&lt;p&gt;&lt;br /&gt;&amp;nbsp;The &amp;quot;${workspaceFolder}/jlink_flash.sh&amp;quot; script below simply runs the jlink runner and works fine from a command line.&lt;/p&gt;
&lt;p&gt;&lt;br /&gt;&lt;pre class="ui-code" data-mode="text"&gt;west flash --runner jlink&lt;/pre&gt;&lt;/p&gt;
&lt;p&gt;&lt;br /&gt;I&amp;#39;m trying to bind a task&amp;nbsp;to &amp;quot;Flash&amp;quot; action but it&amp;#39;s not working. Obviously, I&amp;#39;m doing something incorrect and the fix is mostly likely quite simple.&lt;/p&gt;
&lt;p&gt;&lt;br /&gt;Please review and let me know what I&amp;#39;m doing wrong. Thank you.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF Connect for VSCode - How to make jlink the default runner for flashing a device</title><link>https://devzone.nordicsemi.com/thread/424701?ContentTypeID=1</link><pubDate>Wed, 10 May 2023 05:24:58 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:8a26bfdd-3f85-4330-be0a-bad1ab3d1b4d</guid><dc:creator>Priyanka</dc:creator><description>&lt;p&gt;Hi Ravi,&lt;br /&gt;The &amp;quot;tasks&amp;quot; entry should be an array. Also there does not seem to be any proof that his script is actually called or what the content of that script is.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Instead of calling a custom script in the task, it is simpler to call west flash, like:&lt;br /&gt;&amp;quot;command&amp;quot;: &amp;quot;west&amp;quot;, &amp;quot;args&amp;quot;: ["flash", "--runner", ...] .&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;In order to confirm that the task is called correctly. please share the output of the terminal window that executed the flash task.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;-Priyanka&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF Connect for VSCode - How to make jlink the default runner for flashing a device</title><link>https://devzone.nordicsemi.com/thread/424414?ContentTypeID=1</link><pubDate>Tue, 09 May 2023 06:44:29 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:9b508928-7629-4c89-a72a-e8130c7dbfbb</guid><dc:creator>Priyanka</dc:creator><description>&lt;p&gt;Hi Ravi,&lt;/p&gt;
&lt;p&gt;I have asked internally regarding this and will get back to you with a response, soon.&lt;/p&gt;
&lt;p&gt;Best Regards,&lt;/p&gt;
&lt;p&gt;Priyanka&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>