<?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>hci_uart will not flash with VS Studio</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/126207/hci_uart-will-not-flash-with-vs-studio</link><description>I have a new nrf9160dk board that I will be using for a BLE customer application. I am using zephyr/samples/bluetooth/hci_uart SDK V3.2.0 to be loaded into the nRF52840 in the DK board. I can build and compile with VS Studio with no problems. When I try</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Wed, 07 Jan 2026 12:57:53 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/126207/hci_uart-will-not-flash-with-vs-studio" /><item><title>RE: hci_uart will not flash with VS Studio</title><link>https://devzone.nordicsemi.com/thread/558154?ContentTypeID=1</link><pubDate>Wed, 07 Jan 2026 12:57:53 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:0762c770-dfd3-4df2-8a6f-31bac1bafd78</guid><dc:creator>Simon D-M</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
[quote user="Burt"]We know that it is fixed in more recent releases.[/quote]
&lt;p&gt;Ok, that&amp;#39;s what I wanted to know with my last question.&lt;/p&gt;
[quote user="Burt"]However, the toolchain for SDK v3.2.1 comes packaged with the broken v2.15.2. And modern nRF Connect for VS Code uses the nrfutil-device in the toolchain.[/quote]
&lt;p&gt;I asked internally what is the recommended fix for this.&lt;/p&gt;
&lt;p&gt;My guess would be to update manually the bundled nrfutil-device after install the toolchain, but I can see how it would not be scalable.&lt;/p&gt;
&lt;p&gt;If possible, wait until I get answered before making some changes to the toolchain. I&amp;#39;ll keep you updated on that matter as soon as I have more information !&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Simon D-M&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: hci_uart will not flash with VS Studio</title><link>https://devzone.nordicsemi.com/thread/558037?ContentTypeID=1</link><pubDate>Tue, 06 Jan 2026 13:39:04 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:74134ad3-56c8-48b5-b411-0723e71a2f3c</guid><dc:creator>Burt</dc:creator><description>&lt;p&gt;Simon, if I may interject, on Tim&amp;#39;s behalf: we know that the issue was non-existent in 2.15.1, as Tim showed above. The issue came about in 2.15.2 (but I believe existed in certain much older releases). We know that it is fixed in more recent releases. However, the toolchain for SDK v3.2.1 comes packaged with the broken v2.15.2. And modern nRF Connect for VS Code uses the nrfutil-device in the toolchain.&lt;/p&gt;
&lt;p&gt;Burt&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: hci_uart will not flash with VS Studio</title><link>https://devzone.nordicsemi.com/thread/558000?ContentTypeID=1</link><pubDate>Tue, 06 Jan 2026 10:15:12 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:58bdd836-02c7-439d-8308-7be98d820504</guid><dc:creator>Simon D-M</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
[quote user="tjm1"]nrfutil-device 2.15.1 (6f9a83f 2025-10-10)[/quote]
&lt;p&gt;I can see that you have the version 2.15.1 for the downloaded version. But when I download the latest version and run the same command, it tells me that I have the 2.15.6 version.&lt;/p&gt;
&lt;p&gt;Can you please try to download the latest version (&lt;a href="https://www.nordicsemi.com/Products/Development-tools/nRF-Util/Download?lang=en#infotabs"&gt;here&lt;/a&gt;) and retry to flash to see it the bug has been fixed in the latest version?&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Simon D-M&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: hci_uart will not flash with VS Studio</title><link>https://devzone.nordicsemi.com/thread/557944?ContentTypeID=1</link><pubDate>Mon, 05 Jan 2026 14:55:32 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:9e9cf362-da74-4a25-abf0-24360ad4eaf2</guid><dc:creator>Timothy</dc:creator><description>&lt;p&gt;Simon&lt;/p&gt;
&lt;p&gt;my colleague Burt pointed out that I sued the &amp;quot;new terminal&amp;quot; from the terminal menu not the &amp;quot;open terminal&amp;quot;. when I use the open terminal the command fails exactly as when I push the flash button. see below.&amp;nbsp; nrfutil version is different in the terminal created from new terminal vs the one created in the open terminal.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Working directory: c:\Nordic4\v2.9.0&lt;br /&gt;SDK: nRF Connect SDK v3.2.1&lt;br /&gt;Toolchain: nRF Connect SDK Toolchain v3.2.1&lt;/p&gt;
&lt;p&gt;PS C:\Nordic4\v2.9.0&amp;gt; cd ..&lt;br /&gt;PS C:\Nordic4&amp;gt; cd .\test_n9160\central_uart_tjm\&lt;br /&gt;PS C:\Nordic4\test_n9160\central_uart_tjm&amp;gt; nrfutil device program --serial-number 960028025 --firmware build\central_uart_tjm\zephyr\tfm_merged.hex&lt;/p&gt;
&lt;p&gt;thread &amp;#39;main&amp;#39; panicked at C:\Users\VssAdministrator\.cargo\git\checkouts\nrf-device-lib-cf1a63c495be42f5\936ac5a\serialport-lister\src\lib.rs:49:60:&lt;br /&gt;called `Option::unwrap()` on a `None` value&lt;br /&gt;note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace&lt;br /&gt;Error: Subprocess C:\Nordic\v1.7.0\toolchains\66cdf9b75e\nrfutil\home\bin\nrfutil-device.exe failed with unexpected exit code Some(101)&lt;/p&gt;
&lt;p&gt;&lt;br /&gt;PS C:\Nordic4\test_n9160\central_uart_tjm&amp;gt; nrfutil device --version&lt;br /&gt;nrfutil-device 2.15.2 (3c54c5f 2025-11-13)&lt;br /&gt;commit-hash: 3c54c5feb9c6743403ce7d2026939ab443376b91&lt;br /&gt;commit-date: 2025-11-13&lt;br /&gt;host: x86_64-pc-windows-msvc&lt;br /&gt;build-timestamp: 2025-11-13T09:29:57.574629800Z&lt;br /&gt;classification: nrf-external&lt;/p&gt;
&lt;p&gt;Detected SEGGER J-Link version: JLink_V8.76&lt;br /&gt;PS C:\Nordic4\test_n9160\central_uart_tjm&amp;gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: hci_uart will not flash with VS Studio</title><link>https://devzone.nordicsemi.com/thread/557934?ContentTypeID=1</link><pubDate>Mon, 05 Jan 2026 13:55:52 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:b4373aad-bc81-465e-af89-74c3ca3222ac</guid><dc:creator>Timothy</dc:creator><description>&lt;p&gt;Simon&lt;/p&gt;
&lt;p&gt;in a terminal inside VS Studio when I run the command shown below. it programs fine. see below.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;PS C:\Nordic4\test_n9160\central_uart_tjm&amp;gt; nrfutil device program --firmware C:\Nordic4\test_n9160\central_uart_tjm\build\central_uart_tjm\zephyr\tfm_merged.hex&lt;br /&gt;[00:00:02] ###### 100% [2/3 960028025] Programmed &lt;br /&gt;PS C:\Nordic4\test_n9160\central_uart_tjm&amp;gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;if I try to flash it in VS STudio code I still get&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Executing task: nRF Connect: Flash: central_uart_tjm/central_uart_tjm (active)&lt;/p&gt;
&lt;p&gt;Flashing central_uart_tjm to nRF9160 DK&lt;br /&gt;west flash -d c:\Nordic4\test_n9160\central_uart_tjm\build --domain central_uart_tjm --dev-id 960028025&lt;/p&gt;
&lt;p&gt;-- west flash: rebuilding&lt;br /&gt;[0/5] Performing build step for &amp;#39;central_uart_tjm&amp;#39;&lt;br /&gt;[0/16] Performing build step for &amp;#39;tfm&amp;#39;&lt;br /&gt;ninja: no work to do.&lt;br /&gt;[4/5] cmd.exe /C &amp;quot;cd /D C:\Nordic4\test_n9160\central_uart_tjm\build\_sysbuild &amp;amp;&amp;amp; C:\Nordic\v1.7.0\toolchains\66cdf9b75e\opt\bin\cmake.exe -E true&amp;quot;&lt;br /&gt;-- west flash: using runner nrfutil&lt;br /&gt;-- runners.nrfutil: reset after flashing requested&lt;br /&gt;-- runners.nrfutil: Flashing file: C:\Nordic4\test_n9160\central_uart_tjm\build\merged.hex&lt;/p&gt;
&lt;p&gt;thread &amp;#39;main&amp;#39; panicked at C:\Users\VssAdministrator\.cargo\git\checkouts\nrf-device-lib-cf1a63c495be42f5\936ac5a\serialport-lister\src\lib.rs:49:60:&lt;br /&gt;called `Option::unwrap()` on a `None` value&lt;br /&gt;note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace&lt;br /&gt;Error: Subprocess C:\Nordic\v1.7.0\toolchains\66cdf9b75e\nrfutil\home\bin\nrfutil-device.exe failed with unexpected exit code Some(101)&lt;br /&gt;FATAL ERROR: command exited with status 1: nrfutil --json device x-execute-batch --batch-path &amp;#39;C:\Nordic4\test_n9160\central_uart_tjm\build\central_uart_tjm\zephyr\generated_nrfutil_batch.json&amp;#39; --seri&lt;br /&gt;al-number 960028025&lt;/p&gt;
&lt;p&gt;* The terminal process terminated with exit code: 1. &lt;br /&gt; * Terminal will be reused by tasks, press any key to close it. &lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: hci_uart will not flash with VS Studio</title><link>https://devzone.nordicsemi.com/thread/557881?ContentTypeID=1</link><pubDate>Mon, 05 Jan 2026 07:30:31 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:8069b826-de92-4668-af64-667a496d8e99</guid><dc:creator>Simon D-M</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;I&amp;#39;m sorry for the delay. So if I understood correctly this is the output of the downloaded version. Can you please also try to run the command in the NCS bundled version so that we can compare the versions?&lt;/p&gt;
&lt;p&gt;You can do it by opening a nRF Connect Terminal in VS Code (Go to nRF Connect extension tab and click &amp;quot;Open Terminal&amp;quot;) and running the same command (nrfutil device --version) in that terminal.&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Simon D-M&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: hci_uart will not flash with VS Studio</title><link>https://devzone.nordicsemi.com/thread/557750?ContentTypeID=1</link><pubDate>Tue, 30 Dec 2025 16:01:55 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:e7dbdc5e-2b58-46b3-90fc-20cfe505418c</guid><dc:creator>Timothy</dc:creator><description>&lt;p&gt;This what I see when I use the downloaded version.&lt;/p&gt;
&lt;p&gt;if I program. this command and domwloaded version works fine.&lt;/p&gt;
&lt;p&gt;************************************************************&lt;/p&gt;
&lt;p&gt;&lt;br /&gt;C:\my_files&amp;gt;nrfutil device program --firmware C:\Nordic4\test_n9160\central_uart_tjm\build\central_uart_tjm\zephyr\tfm_merged.hex&lt;br /&gt;[00:00:02] ###### 100% [2/3 960028025] Programmed&lt;/p&gt;
&lt;p&gt;***************************************************************&lt;/p&gt;
&lt;p&gt;:\my_files&amp;gt;nrfutil device --version&lt;br /&gt;nrfutil-device 2.15.1 (6f9a83f 2025-10-10)&lt;br /&gt;commit-hash: 6f9a83f9a59349b6eb90328523c41dc36b795f0a&lt;br /&gt;commit-date: 2025-10-10&lt;br /&gt;host: x86_64-pc-windows-msvc&lt;br /&gt;build-timestamp: 2025-10-10T06:44:46.117845000Z&lt;br /&gt;classification: nrf-external&lt;/p&gt;
&lt;p&gt;Detected SEGGER J-Link version: JLink_V8.76&lt;/p&gt;
&lt;p&gt;The device command version you are currently using was tested with a different J-Link version (JLink_V8.66) than the one you have installed (JLink_V8.76). The tested version is not required, and your J-Link version will most likely work fine. If you get issues related to J-Link with your devices, use the tested version.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: hci_uart will not flash with VS Studio</title><link>https://devzone.nordicsemi.com/thread/557749?ContentTypeID=1</link><pubDate>Tue, 30 Dec 2025 16:01:39 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:66ce3a15-6952-4e93-8b58-f82ee95492e2</guid><dc:creator>Timothy</dc:creator><description>&lt;p&gt;This what I see when I use the downloaded version.&lt;/p&gt;
&lt;p&gt;if I program. this command and domwloaded version works fine.&lt;/p&gt;
&lt;p&gt;************************************************************&lt;/p&gt;
&lt;p&gt;&lt;br /&gt;C:\my_files&amp;gt;nrfutil device program --firmware C:\Nordic4\test_n9160\central_uart_tjm\build\central_uart_tjm\zephyr\tfm_merged.hex&lt;br /&gt;[00:00:02] ###### 100% [2/3 960028025] Programmed&lt;/p&gt;
&lt;p&gt;***************************************************************&lt;/p&gt;
&lt;p&gt;:\my_files&amp;gt;nrfutil device --version&lt;br /&gt;nrfutil-device 2.15.1 (6f9a83f 2025-10-10)&lt;br /&gt;commit-hash: 6f9a83f9a59349b6eb90328523c41dc36b795f0a&lt;br /&gt;commit-date: 2025-10-10&lt;br /&gt;host: x86_64-pc-windows-msvc&lt;br /&gt;build-timestamp: 2025-10-10T06:44:46.117845000Z&lt;br /&gt;classification: nrf-external&lt;/p&gt;
&lt;p&gt;Detected SEGGER J-Link version: JLink_V8.76&lt;/p&gt;
&lt;p&gt;The device command version you are currently using was tested with a different J-Link version (JLink_V8.66) than the one you have installed (JLink_V8.76). The tested version is not required, and your J-Link version will most likely work fine. If you get issues related to J-Link with your devices, use the tested version.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: hci_uart will not flash with VS Studio</title><link>https://devzone.nordicsemi.com/thread/557736?ContentTypeID=1</link><pubDate>Tue, 30 Dec 2025 13:59:51 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:0d17dae4-33ff-48d2-88e8-09f2e1c196e3</guid><dc:creator>Simon D-M</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;From what I understood from your issue, the bug is happening from the nRF Util bundled with the toolchain. I am wondering if this also happen on the &amp;quot;standalone&amp;quot; version. Can you try to download the latest version (&lt;a href="https://www.nordicsemi.com/Products/Development-tools/nRF-Util/Download?lang=en#infotabs"&gt;link&lt;/a&gt;), and program the board with that version (&lt;code&gt;nrfutil device program [OPTIONS] --firmware &amp;lt;PATH&amp;gt;&lt;/code&gt;)?&lt;/p&gt;
&lt;p&gt;Can you please send me both versions&amp;#39; information by running this command : &amp;quot;&lt;code&gt;nrfutil device --version&lt;/code&gt;&amp;quot; &lt;em&gt;(maybe you will need to run &amp;quot;nrfutil.exe device --version&amp;quot; for the standalone version)&lt;/em&gt;?&lt;/p&gt;
&lt;p&gt;From what I can see internally, it indeed should have been already patched some times ago.&lt;/p&gt;
&lt;p&gt;If you need an alternative right now, you should be able to use &lt;a href="https://www.nordicsemi.com/Products/Development-tools/nRF-Command-Line-Tools/Download"&gt;nRF JProg&lt;/a&gt;&amp;nbsp;to program the chip manually. It has been deprecated, but should still be working for older chips like the nRF9160.&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Simon D-M&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: hci_uart will not flash with VS Studio</title><link>https://devzone.nordicsemi.com/thread/557476?ContentTypeID=1</link><pubDate>Sat, 20 Dec 2025 00:35:41 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:17bca274-0772-4ef2-a595-04edb47f1c4b</guid><dc:creator>Burt</dc:creator><description>&lt;p&gt;Hello Simon D-M,&lt;/p&gt;
&lt;p&gt;I work with Timothy. First, I should point out that Tim is using the&amp;nbsp;&lt;span&gt;66cdf9b75e toolchain, which is 3.2.0/3.2.1 SDK. Like yourself, I was at first thrown off by the C:\Nordic\v1.7.0 prefix, but it is just an alternative to the standard C\ncs.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;I managed to find this DevZone ticket&amp;nbsp;&lt;a href="https://devzone.nordicsemi.com/f/nordic-q-a/116690/nrfutil-device-list-command-fails/522925"&gt;nrfutil device list command fails - Nordic Q&amp;amp;A - Nordic DevZone - Nordic DevZone&lt;/a&gt;&amp;nbsp;that shows that NS claimed to have fixed this issue 10 months ago. However, clearly the problem was not fixed correctly or completely (or got reverted). Can you please have the developers figure out how we could still be seeing the issue after that fix. Presumably that fix solved the issue for one individual. Is it possible that the fix was subsequently lost? This seems plausible as Tim has told me that he did not see this problem until around v3.1.0.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Thank you, Simon D-M.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Burt Silverman&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: hci_uart will not flash with VS Studio</title><link>https://devzone.nordicsemi.com/thread/557322?ContentTypeID=1</link><pubDate>Thu, 18 Dec 2025 12:33:34 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:cd20fa7c-a0a8-4b9c-8b37-27ea44264824</guid><dc:creator>Simon D-M</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;&lt;code&gt;&lt;/code&gt;&lt;/p&gt;
[quote user=""]Error: Subprocess C:\Nordic\v1.7.0\toolchains\66cdf9b75e\nrfutil\home\bin\nrfutil-device.exe failed with unexpected exit code Some(101)[/quote]
&lt;p&gt;I might be wrong, but I think you are using the tool chain version 1.7.0 which is archaic... If it is the case, change to the matching toolchain version (toolchain v3.2.0) and it should work. Please keep your SDK versions and toolchain versions the same.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;If it is not the case, what command / build config are you using.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;I tried to build and flash this sample on my board and it worked fine.&amp;nbsp; Here are the config I used :&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/pastedimage1766060584049v1.png" alt=" " /&gt;&lt;/p&gt;
&lt;p&gt;It results in the command:&amp;nbsp;&amp;nbsp;&lt;code&gt;west build --pristine --board nrf9160dk/nrf52840&lt;/code&gt;&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Simon D-M&lt;code&gt;&lt;/code&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>