<?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>Enable mcumgr features on NRF5340 DK board while Bluetooth HCI_USB program is running</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/106938/enable-mcumgr-features-on-nrf5340-dk-board-while-bluetooth-hci_usb-program-is-running</link><description>Hello community, 
 I am trying for multiple firmware updates for my NRF5340 DK board. 
 What I am doing is I have build and flashed the SMP server sample program found /zephyr/samples/subsys/mgmt/mcumgr/smp_svr 
 After flashing this application, I can</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Wed, 19 Feb 2025 09:03:00 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/106938/enable-mcumgr-features-on-nrf5340-dk-board-while-bluetooth-hci_usb-program-is-running" /><item><title>RE: Enable mcumgr features on NRF5340 DK board while Bluetooth HCI_USB program is running</title><link>https://devzone.nordicsemi.com/thread/523645?ContentTypeID=1</link><pubDate>Wed, 19 Feb 2025 09:03:00 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:3b6f7131-4a54-4bd5-9dc6-6e516d0e29e1</guid><dc:creator>Sigurd Hellesvik</dc:creator><description>&lt;p&gt;&lt;a href="https://devzone.nordicsemi.com/cfs-file/__key/communityserver-discussions-components-files/4/2068.hci_5F00_uart_5F00_feat_5F00_cdc_5F00_feat_5F00_mcumgr_5F00_over_5F00_uart.zip"&gt;devzone.nordicsemi.com/.../2068.hci_5F00_uart_5F00_feat_5F00_cdc_5F00_feat_5F00_mcumgr_5F00_over_5F00_uart.zip&lt;/a&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Enable mcumgr features on NRF5340 DK board while Bluetooth HCI_USB program is running</title><link>https://devzone.nordicsemi.com/thread/523626?ContentTypeID=1</link><pubDate>Wed, 19 Feb 2025 06:28:06 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:1a41b5a2-3f5a-4dd3-986c-ea2edc836972</guid><dc:creator>Aasim_</dc:creator><description>[quote userid="106736" url="~/f/nordic-q-a/106938/enable-mcumgr-features-on-nrf5340-dk-board-while-bluetooth-hci_usb-program-is-running/463160"]hci_uart_feat_cdc_feat_mcumgr_over_uart.zip[/quote]
&lt;p&gt;can you share this sample again its empty.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Enable mcumgr features on NRF5340 DK board while Bluetooth HCI_USB program is running</title><link>https://devzone.nordicsemi.com/thread/477937?ContentTypeID=1</link><pubDate>Wed, 10 Apr 2024 06:46:12 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:2c415384-c73f-4421-8bee-f3bde91aa551</guid><dc:creator>Sigurd Hellesvik</dc:creator><description>&lt;p&gt;You are in good hands with Torbjørn, he is more experienced with USB than I am. In fact I asked him for assistance with this ticket.&lt;/p&gt;
&lt;p&gt;But thanks for pointing out that ticket, I will keep an eye on it!&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Enable mcumgr features on NRF5340 DK board while Bluetooth HCI_USB program is running</title><link>https://devzone.nordicsemi.com/thread/477934?ContentTypeID=1</link><pubDate>Wed, 10 Apr 2024 06:28:49 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:b036402e-3cc0-4d4e-afb6-14c00ac7fcf4</guid><dc:creator>Utsav R Shah</dc:creator><description>&lt;p&gt;&lt;a href="https://devzone.nordicsemi.com/members/sigurd-hellesvik"&gt;Sigurd Hellesvik&lt;/a&gt;&amp;nbsp; I had successfully used the HCI_UART program to open 2 virtual ports - once for attaching the bluetooth device to HCI and another for accepting MCUMGR specific commands. The two functionalities are working fine but there is an issue with the scanning while using the program. In my use case I have been using BlueZ which communicates via the Dbus for various bluetooth related commands. What I have observed during my testing is that after a certain time the bluetooth controller is unable to detect any advertising devices. I have to do a power reset for it to make it scan again only to get the same issue after sometime.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;More details of this problem is being discussed on another thread posted by one my acquaintance :&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;a href="https://devzone.nordicsemi.com/f/nordic-q-a/109731/nrf5340-hci_usb-hci_uart-stop-scanning"&gt;NRF5340 HCI_USB &amp;amp; HCI_UART Stop Scanning&lt;/a&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Let me know if you have anything on this that can be of help&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Enable mcumgr features on NRF5340 DK board while Bluetooth HCI_USB program is running</title><link>https://devzone.nordicsemi.com/thread/465984?ContentTypeID=1</link><pubDate>Thu, 25 Jan 2024 12:19:13 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:54969de4-73e2-4caa-9d6c-352a3055a94a</guid><dc:creator>Utsav R Shah</dc:creator><description>&lt;p&gt;Hello &lt;a href="https://devzone.nordicsemi.com/members/sigurd-hellesvik"&gt;Sigurd Hellesvik&lt;/a&gt;&amp;nbsp; apologies for the extreme delay in answering . I kind of solved the issue of enabling the controller board as a bluetooth controller as well as enable it to listen to mcumgr specific comamnds.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Instead of HCI_USB I had used HCI_UART sample program. I had enabled all mcugmr featues in the prj.conf file.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;In the overlay file I had specified two ACM ports - First one to be used for MCUMGR specifiec commands and the other to be used to attach the nrf board as a bluetooth HCI controller.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Enable mcumgr features on NRF5340 DK board while Bluetooth HCI_USB program is running</title><link>https://devzone.nordicsemi.com/thread/463595?ContentTypeID=1</link><pubDate>Wed, 10 Jan 2024 15:04:29 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:d5f33548-f244-4bea-bd30-c6fd280ba64d</guid><dc:creator>Sigurd Hellesvik</dc:creator><description>&lt;p&gt;Copying boards/nrf52840dk_nrf52840.conf/overlay to boards/nrf5340dk_nrf5340_cpuapp.conf/overlay in my sample, I get this:&lt;/p&gt;
&lt;p&gt;&lt;a href="https://devzone.nordicsemi.com/cfs-file/__key/communityserver-discussions-components-files/4/mcumgr_5F00_and_5F00_hci.mp4"&gt;devzone.nordicsemi.com/.../mcumgr_5F00_and_5F00_hci.mp4&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Try to follow the steps that I follow. Does it look the same to you?&lt;br /&gt;Let me know about anything that is different on your end.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Enable mcumgr features on NRF5340 DK board while Bluetooth HCI_USB program is running</title><link>https://devzone.nordicsemi.com/thread/463567?ContentTypeID=1</link><pubDate>Wed, 10 Jan 2024 13:47:27 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:e8cd925e-4eee-4f79-a8e6-7829e01637fb</guid><dc:creator>Utsav R Shah</dc:creator><description>&lt;p&gt;I am able to upload a sample program using mcumgr when I enable SMP server configuration in HCI_USB program. But in that instance it does not detect at a bluetooth device.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Enable mcumgr features on NRF5340 DK board while Bluetooth HCI_USB program is running</title><link>https://devzone.nordicsemi.com/thread/463475?ContentTypeID=1</link><pubDate>Wed, 10 Jan 2024 09:07:15 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:d41f8975-1550-45a8-a694-d24984e13f85</guid><dc:creator>Sigurd Hellesvik</dc:creator><description>[quote user="Utsav R Shah"]I am able to run mcumgr if I enable the SMP server configuration in Bluetooth HCI program.[/quote]
&lt;p&gt;Nice! Does that mean everything works now?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Enable mcumgr features on NRF5340 DK board while Bluetooth HCI_USB program is running</title><link>https://devzone.nordicsemi.com/thread/463345?ContentTypeID=1</link><pubDate>Tue, 09 Jan 2024 12:25:44 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:f11f0d2d-9631-48e4-815a-b57ecedec71b</guid><dc:creator>Utsav R Shah</dc:creator><description>&lt;p&gt;Yes I am able to run mcumgr if I enable the SMP server configuration in Bluetooth HCI program. I can also upload a program.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Enable mcumgr features on NRF5340 DK board while Bluetooth HCI_USB program is running</title><link>https://devzone.nordicsemi.com/thread/463307?ContentTypeID=1</link><pubDate>Tue, 09 Jan 2024 09:20:12 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:79c31ec6-b842-40a9-b43f-46107e10f3bd</guid><dc:creator>Sigurd Hellesvik</dc:creator><description>&lt;p&gt;In case it has not been asked before:&lt;/p&gt;
&lt;p&gt;Are you able to run mcumgr on the application before adding HCI?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Enable mcumgr features on NRF5340 DK board while Bluetooth HCI_USB program is running</title><link>https://devzone.nordicsemi.com/thread/463301?ContentTypeID=1</link><pubDate>Tue, 09 Jan 2024 09:01:41 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:100b1b60-b22e-421e-ab5c-6aeb82dff878</guid><dc:creator>Utsav R Shah</dc:creator><description>&lt;p&gt;I tried the command with both ACM0 and ACM1 as options.&lt;/p&gt;
&lt;p&gt;I tried the command before attaching the HCI as well but it shows no progress.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Enable mcumgr features on NRF5340 DK board while Bluetooth HCI_USB program is running</title><link>https://devzone.nordicsemi.com/thread/463295?ContentTypeID=1</link><pubDate>Tue, 09 Jan 2024 08:51:03 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:5039c348-de05-450b-93b9-57d2293ae58a</guid><dc:creator>Sigurd Hellesvik</dc:creator><description>[quote user="Utsav R Shah"]sudo ./mcumgr image upload app_update.bin --conntype=serial --connstring=/dev/ttyACM0[/quote]
&lt;p&gt;Did you try any other ACM for this?&lt;/p&gt;
&lt;p&gt;Try mcumgr first before attaching HCI, and then after.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Enable mcumgr features on NRF5340 DK board while Bluetooth HCI_USB program is running</title><link>https://devzone.nordicsemi.com/thread/463278?ContentTypeID=1</link><pubDate>Tue, 09 Jan 2024 07:58:15 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:d0fb991b-5e23-42b1-964b-b8296ca26ce0</guid><dc:creator>Utsav R Shah</dc:creator><description>&lt;p&gt;I ran the command and while the command is running, I can get the device to detect as a bluetooth controller as well as show up as a ttyACMx device . You can check the screenshot below :&amp;nbsp;&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/pastedimage1704786890679v1.png" alt=" " /&gt;&lt;/p&gt;
&lt;p&gt;But I am not able to use mcumgr with the sample. While trying to upload an image through mcumgr, the progress bar is stuck and it does not upload.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;This is the following command I am using to upload an image using mcumgr :&amp;nbsp;&lt;/p&gt;
&lt;p&gt;sudo ./mcumgr image upload app_update.bin --conntype=serial --connstring=/dev/ttyACM0&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/pastedimage1704787073293v2.png" alt=" " /&gt;&lt;/p&gt;
&lt;p&gt;As you can see it does not upload the image.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Enable mcumgr features on NRF5340 DK board while Bluetooth HCI_USB program is running</title><link>https://devzone.nordicsemi.com/thread/463273?ContentTypeID=1</link><pubDate>Tue, 09 Jan 2024 07:41:06 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:93b60b64-d6a0-4a8e-a664-6b90d6950e62</guid><dc:creator>Sigurd Hellesvik</dc:creator><description>[quote user="Utsav R Shah"]I get two ACM ports while checking the l&lt;strong&gt;s /dev.&amp;nbsp;&lt;/strong&gt;But only the default bluetooth controller of the laptop comes up. I should be able to see 2 bluetooth controllers instead but that&amp;#39;s still not happening :[/quote]
&lt;p&gt;From &lt;a href="https://developer.nordicsemi.com/nRF_Connect_SDK/doc/latest/zephyr/samples/bluetooth/hci_uart/README.html"&gt;HCI UART docs&lt;/a&gt;, did you run the following?&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="text"&gt;sudo btattach -B /dev/ttyACMX -S 1000000&lt;/pre&gt;&lt;/p&gt;
&lt;p&gt;Are you able to use mcumgr with the sample?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Enable mcumgr features on NRF5340 DK board while Bluetooth HCI_USB program is running</title><link>https://devzone.nordicsemi.com/thread/463270?ContentTypeID=1</link><pubDate>Tue, 09 Jan 2024 07:17:29 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:f15fa8b2-f229-45c4-887e-f472eb4916d8</guid><dc:creator>Utsav R Shah</dc:creator><description>&lt;p&gt;I tried the HCI_UART sample program with the following changes but the issue still remains.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Here are the contents of my prj.conf file :&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="text"&gt;CONFIG_CONSOLE=n
CONFIG_STDOUT_CONSOLE=n
CONFIG_UART_CONSOLE=n
CONFIG_GPIO=y
CONFIG_SERIAL=y
CONFIG_UART_INTERRUPT_DRIVEN=y
CONFIG_BT=y
CONFIG_BT_HCI_RAW=y
CONFIG_BT_HCI_RAW_H4=y
CONFIG_BT_HCI_RAW_H4_ENABLE=y
CONFIG_BT_BUF_ACL_RX_SIZE=255
CONFIG_BT_BUF_CMD_TX_SIZE=255
CONFIG_BT_BUF_EVT_DISCARDABLE_SIZE=255
CONFIG_BT_CTLR_ASSERT_HANDLER=y
CONFIG_BT_MAX_CONN=16
CONFIG_BT_TINYCRYPT_ECC=n
CONFIG_BT_CTLR_DTM_HCI=y

CONFIG_SYSTEM_WORKQUEUE_STACK_SIZE=512

# Workaround: Unable to allocate command buffer when using K_NO_WAIT since
# Host number of completed commands does not follow normal flow control.
CONFIG_BT_BUF_CMD_TX_COUNT=10

###################################################################################################

CONFIG_USB_DEVICE_STACK=y
CONFIG_USB_DEVICE_PRODUCT=&amp;quot;Zephyr HCI UART sample&amp;quot;
CONFIG_USB_CDC_ACM=y
CONFIG_USB_DEVICE_INITIALIZE_AT_BOOT=n

CONFIG_BOOTLOADER_MCUBOOT=y
CONFIG_MCUMGR=y
CONFIG_MCUMGR_TRANSPORT_UART=y
CONFIG_MCUMGR_GRP_IMG=y

# CONFIG_MCUMGR_TRANSPORT_UART dependencies
CONFIG_BASE64=y

# CONFIG_MCUMGR_GRP_IMG dependencies
CONFIG_FLASH=y
CONFIG_IMG_MANAGER=y

# CONFIG_IMG_MANAGER dependencies
CONFIG_STREAM_FLASH=y

# CONFIG_MCUMGR dependencies
CONFIG_NET_BUF=y
CONFIG_ZCBOR=y

# Required for CONFIG_IMG_MANAGER
CONFIG_FLASH_MAP=y&lt;/pre&gt;&lt;/p&gt;
&lt;p&gt;And here is the content of my overlay file :&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="text"&gt;/ {
	chosen {
		zephyr,uart-mcumgr = &amp;amp;cdc_acm_uart1;
		zephyr,bt-mon-uart = &amp;amp;cdc_acm_uart0;
		zephyr,bt-c2h-uart = &amp;amp;cdc_acm_uart0;
	};
};

&amp;amp;zephyr_udc0 {
	cdc_acm_uart0: cdc_acm_uart0 {
		compatible = &amp;quot;zephyr,cdc-acm-uart&amp;quot;;
	};
	cdc_acm_uart1: cdc_acm_uart1 {
		compatible = &amp;quot;zephyr,cdc-acm-uart&amp;quot;;
	};
};&lt;/pre&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;I build my program with this overlay file added by using the following command :&amp;nbsp;&lt;/p&gt;
&lt;p&gt;west build -b nrf5340dk_nrf5340_cpuapp --pristine -- -DDTC_OVERLAY_FILE=nrf5340dk_nrf5340_cpuapp.overlay -DCONFIG_MCUBOOT_SIGNATURE_KEY_FILE=\&amp;quot;/home/mutsl04176/ncs/v2.4.2/bootloader/mcuboot/root-rsa-2048.pem\&amp;quot;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;After this I flashed the merged.hex file. But the issue still remains the same.&lt;/p&gt;
&lt;p&gt;I get two ACM ports while checking the l&lt;strong&gt;s /dev.&amp;nbsp;&lt;/strong&gt;But only the default bluetooth controller of the laptop comes up. I should be able to see 2 bluetooth controllers instead but that&amp;#39;s still not happening :&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/pastedimage1704784643135v1.png" alt=" " /&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Enable mcumgr features on NRF5340 DK board while Bluetooth HCI_USB program is running</title><link>https://devzone.nordicsemi.com/thread/463160?ContentTypeID=1</link><pubDate>Mon, 08 Jan 2024 13:39:10 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:2b6feef7-c3d3-426c-9a46-4e7c1c2ced42</guid><dc:creator>Sigurd Hellesvik</dc:creator><description>&lt;p&gt;I was able to use both HCI and mcumgr work at the same time on the nRF52840DK by configuring the hci_uart sample.&lt;/p&gt;
&lt;p&gt;Here is the result:&lt;/p&gt;
&lt;p&gt;&lt;a href="https://devzone.nordicsemi.com/cfs-file/__key/communityserver-discussions-components-files/4/hci_5F00_uart_5F00_feat_5F00_cdc_5F00_feat_5F00_mcumgr_5F00_over_5F00_uart.zip"&gt;devzone.nordicsemi.com/.../hci_5F00_uart_5F00_feat_5F00_cdc_5F00_feat_5F00_mcumgr_5F00_over_5F00_uart.zip&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&lt;a href="https://devzone.nordicsemi.com/cfs-file/__key/communityserver-discussions-components-files/4/hci_5F00_uart_5F00_feat_5F00_cdc_5F00_feat_5F00_mcumgr_5F00_over_5F00_uart.diff"&gt;devzone.nordicsemi.com/.../hci_5F00_uart_5F00_feat_5F00_cdc_5F00_feat_5F00_mcumgr_5F00_over_5F00_uart.diff&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Changes should be similar for the nRF5340.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Enable mcumgr features on NRF5340 DK board while Bluetooth HCI_USB program is running</title><link>https://devzone.nordicsemi.com/thread/462560?ContentTypeID=1</link><pubDate>Wed, 03 Jan 2024 15:15:57 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:0074a5ff-666b-4af1-8577-ba4378788518</guid><dc:creator>Sigurd Hellesvik</dc:creator><description>&lt;p&gt;Now you got the configuration I was talking about yes. &lt;br /&gt;Seems like we got another error at our hands since it does not work here.&lt;/p&gt;
&lt;p&gt;I am currently stuck out of office due to a snowstorm, meaning I can not use my linux computer at work. So I will try to find a colleague with Linux who can try to reproduce the issue you have now.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Enable mcumgr features on NRF5340 DK board while Bluetooth HCI_USB program is running</title><link>https://devzone.nordicsemi.com/thread/462301?ContentTypeID=1</link><pubDate>Tue, 02 Jan 2024 13:38:25 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:88b3550c-1c39-4391-b279-955cab7fcde3</guid><dc:creator>Utsav R Shah</dc:creator><description>&lt;p&gt;Yes I now kind of understand what you are saying and I have modified my overlay file accordingly. Please have a look :&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="text"&gt;/ {
	chosen {
	   zephyr,code-partition = &amp;amp;slot0_partition;
	   zephyr,out-usb = &amp;amp;cdc_acm1;
	   zephyr,uart-mcumgr = &amp;amp;cdc_acm0;
	   zephyr,bt-mon-uart = &amp;amp;cdc_acm1;
	   zephyr,bt-c2h-uart = &amp;amp;cdc_acm2;
	   
	};
 };

&amp;amp;zephyr_udc0 {
	cdc_acm0: cdc_acm0 {
		compatible = &amp;quot;zephyr,cdc-acm-uart&amp;quot;;
	};
	cdc_acm1: cdc_acm1 {
		compatible = &amp;quot;zephyr,cdc-acm-uart&amp;quot;;
	};
	cdc_acm2: cdc_acm2 {
		compatible = &amp;quot;zephyr,cdc-acm-uart&amp;quot;;
	};
};

&amp;amp;uart0 {
	status = &amp;quot;okay&amp;quot;;
};&lt;/pre&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Now the code compiles successfully and I was able to flash it. But the problem still remains the same. I am not able to see the device as a bluetooth controller. But when I check the device list, I can see the 3 ACM ports that are created. Only the default bluetooth controller of my laptop is visible.&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/pastedimage1704202637217v1.png" alt=" " /&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Enable mcumgr features on NRF5340 DK board while Bluetooth HCI_USB program is running</title><link>https://devzone.nordicsemi.com/thread/462291?ContentTypeID=1</link><pubDate>Tue, 02 Jan 2024 13:03:15 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:d975ac1d-4788-4d14-97b9-9c57899eea21</guid><dc:creator>Sigurd Hellesvik</dc:creator><description>&lt;p&gt;I will try to continue to explain a bit further. In your code you got:&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="text"&gt;	cdc_acm0: cdc_acm0 {
		compatible = &amp;quot;zephyr,cdc-acm-uart&amp;quot;;
    };&lt;/pre&gt;&lt;/p&gt;
&lt;p&gt;And the example got:&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="text"&gt;	cdc_acm_uart: cdc_acm_uart {
		compatible = &amp;quot;zephyr,cdc-acm-uart&amp;quot;;
	};&lt;/pre&gt;&lt;/p&gt;
&lt;p&gt;Your node is named cdc_acm0, and the sample node is named cdc_acm_uart. &lt;br /&gt;It is the name of the node which you point to in the &amp;quot;chosen&amp;quot; part of the DTS.&lt;/p&gt;
&lt;p&gt;The error message is because you use cdc_acm_uart for your chosen node. But cdc_acm_uart does not exist for your code. Instead the CDC node in your code is named cdc_acm0&lt;/p&gt;
&lt;p&gt;Does that make sense?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Enable mcumgr features on NRF5340 DK board while Bluetooth HCI_USB program is running</title><link>https://devzone.nordicsemi.com/thread/462285?ContentTypeID=1</link><pubDate>Tue, 02 Jan 2024 12:46:43 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:84f94356-d170-41cd-bb97-71d5cb4d0ea5</guid><dc:creator>Utsav R Shah</dc:creator><description>&lt;p&gt;I&amp;#39;m actually confused now on how to do this. Since I am completely new to this, I actually need some direct hand holding for this. Any chance I can connect with someone directly from the community or with you?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Enable mcumgr features on NRF5340 DK board while Bluetooth HCI_USB program is running</title><link>https://devzone.nordicsemi.com/thread/462280?ContentTypeID=1</link><pubDate>Tue, 02 Jan 2024 12:29:48 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:8a28619b-186e-43c8-93dc-23e1fd3b745c</guid><dc:creator>Sigurd Hellesvik</dc:creator><description>&lt;p&gt;And then we can have a look at where &lt;a href="https://github.com/nrfconnect/sdk-zephyr/blob/v3.4.99-ncs1-1-rc1/boards/arm/nrf52840dongle_nrf52840/nrf52840dongle_nrf52840.dts#L21-L22"&gt;the sample&lt;/a&gt; I mentioned sets up cdc_acm:&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="text"&gt;zephyr_udc0: &amp;amp;usbd {
	compatible = &amp;quot;nordic,nrf-usbd&amp;quot;;
	status = &amp;quot;okay&amp;quot;;

	cdc_acm_uart: cdc_acm_uart {
		compatible = &amp;quot;zephyr,cdc-acm-uart&amp;quot;;
	};
};&lt;/pre&gt;&lt;/p&gt;
&lt;p&gt;You see how they defined cdc_acm_uart? &lt;br /&gt;cdc_acm_uart is just the name set in the example. Which name did you give the same type of node in your dts?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Enable mcumgr features on NRF5340 DK board while Bluetooth HCI_USB program is running</title><link>https://devzone.nordicsemi.com/thread/462274?ContentTypeID=1</link><pubDate>Tue, 02 Jan 2024 12:17:44 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:2d654eab-c9ce-40d4-9163-b51f2a18aef7</guid><dc:creator>Utsav R Shah</dc:creator><description>&lt;p&gt;&lt;a href="https://devzone.nordicsemi.com/members/sigurd-hellesvik"&gt;Sigurd Hellesvik&lt;/a&gt;&amp;nbsp; Thank you so much for taking the time to understand my problem. That is really appreciable.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Looking at the zephyr.dts file present in build/zephyr directory, I could find this code snippet that I have attached. I think this may be how cdc_acm is defined&amp;nbsp;&lt;pre class="ui-code" data-mode="text"&gt;usbd: zephyr_udc0: usbd@36000 {
				compatible = &amp;quot;nordic,nrf-usbd&amp;quot;;
				reg = &amp;lt; 0x36000 0x1000 &amp;gt;;
				interrupts = &amp;lt; 0x36 0x1 &amp;gt;;
				num-bidir-endpoints = &amp;lt; 0x1 &amp;gt;;
				num-in-endpoints = &amp;lt; 0x7 &amp;gt;;
				num-out-endpoints = &amp;lt; 0x7 &amp;gt;;
				num-isoin-endpoints = &amp;lt; 0x1 &amp;gt;;
				num-isoout-endpoints = &amp;lt; 0x1 &amp;gt;;
				status = &amp;quot;okay&amp;quot;;
				cdc_acm0: cdc_acm0 {
					compatible = &amp;quot;zephyr,cdc-acm-uart&amp;quot;;
				};
				cdc_acm1: cdc_acm1 {
					compatible = &amp;quot;zephyr,cdc-acm-uart&amp;quot;;
				};
			};&lt;/pre&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Enable mcumgr features on NRF5340 DK board while Bluetooth HCI_USB program is running</title><link>https://devzone.nordicsemi.com/thread/462270?ContentTypeID=1</link><pubDate>Tue, 02 Jan 2024 12:12:26 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:1d54637b-92a7-4d86-b122-675ad2dd36aa</guid><dc:creator>Sigurd Hellesvik</dc:creator><description>&lt;p&gt;I suggest that you loom through that file yourself and look for cdc.&lt;br /&gt;I hope not only to help you with this specific, but also to help you learn how to debug this kind of issue yourself.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Enable mcumgr features on NRF5340 DK board while Bluetooth HCI_USB program is running</title><link>https://devzone.nordicsemi.com/thread/462268?ContentTypeID=1</link><pubDate>Tue, 02 Jan 2024 12:02:20 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:190847e2-10ed-46d3-a1e5-203859a54d19</guid><dc:creator>Utsav R Shah</dc:creator><description>&lt;p&gt;I have given the contents of the dts file in the reply above, you can check that&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Enable mcumgr features on NRF5340 DK board while Bluetooth HCI_USB program is running</title><link>https://devzone.nordicsemi.com/thread/462265?ContentTypeID=1</link><pubDate>Tue, 02 Jan 2024 11:53:59 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:7f4858fb-46bd-4501-9098-dd1d7cf93c35</guid><dc:creator>Sigurd Hellesvik</dc:creator><description>&lt;p&gt;I think the easiest way to find this is to look at build/zephyr/zephyr.dts for the previous working build&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>