<?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>Trying to see DongleBLE in linux with NCS</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/92601/trying-to-see-dongleble-in-linux-with-ncs</link><description>Hello, 
 I want to see my dongle BLE with command lsusb with NCS. I succed to see it with a FTDI USB to UART but i want to succed with only USB. 
 I succed only USB just with the old SDK connectivity by using a patch whitch came from pc-ble-driver. I</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Tue, 07 Feb 2023 09:27:26 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/92601/trying-to-see-dongleble-in-linux-with-ncs" /><item><title>RE: Trying to see DongleBLE in linux with NCS</title><link>https://devzone.nordicsemi.com/thread/408481?ContentTypeID=1</link><pubDate>Tue, 07 Feb 2023 09:27:26 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:97ff612a-1ca0-4443-84f6-03527a4c6f4a</guid><dc:creator>H&amp;#229;kon Alseth</dc:creator><description>&lt;p&gt;VBUS is required for the USBD peripheral to function properly. Please check if you have 5V on this pin.&lt;/p&gt;
&lt;p&gt;&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: Trying to see DongleBLE in linux with NCS</title><link>https://devzone.nordicsemi.com/thread/408470?ContentTypeID=1</link><pubDate>Tue, 07 Feb 2023 08:55:04 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:3855891a-2717-404b-b21c-6552f16ff82c</guid><dc:creator>Piwy</dc:creator><description>&lt;p&gt;This work well with the nrf52840 then &lt;br /&gt;&lt;br /&gt;I saw this thing :&lt;/p&gt;
&lt;p&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/bt840xe-vbus.png" /&gt;&lt;/p&gt;
&lt;p&gt;Maybe there is a difference for Vbus beetween bt840 xe and the nrf52840.&lt;/p&gt;
&lt;p&gt;5v is needed for vbus, what do you think about this ? maybe i need to do another board with this change ?&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Trying to see DongleBLE in linux with NCS</title><link>https://devzone.nordicsemi.com/thread/408467?ContentTypeID=1</link><pubDate>Tue, 07 Feb 2023 08:49:55 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:f5df9caf-ca42-4bcc-97bc-5b286a61115b</guid><dc:creator>H&amp;#229;kon Alseth</dc:creator><description>[quote user="Piwy"]&lt;p&gt;Yes it&amp;#39;s ohmed and the board is not connected with a cable but directly.&lt;/p&gt;
&lt;p&gt;My project work well with the same board with nrf52840 instead of the bt840xe.&lt;/p&gt;
&lt;p&gt;&lt;br /&gt;the hex file : &lt;/p&gt;
&lt;p&gt;,&lt;a href="https://devzone.nordicsemi.com/cfs-file/__key/communityserver-discussions-components-files/4/5383.zephyr.hex"&gt;2210.zephyr.hex&lt;/a&gt;&lt;/p&gt;[/quote]
&lt;p&gt;I tested this, and the USB enumerates as expected on a nRF52840-DK here:&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="text"&gt;[1729349.003717] usb 1-9: New USB device found, idVendor=1915, idProduct=c00a, bcdDevice= 3.00
[1729349.003721] usb 1-9: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[1729349.003722] usb 1-9: Product: nRF52 Connectivity
[1729349.003724] usb 1-9: Manufacturer: Nordic Semiconductor
[1729349.003725] usb 1-9: SerialNumber: FE4BD24741C65D87
[1729349.009528] cdc_acm 1-9:1.0: ttyACM0: USB ACM device
[1729351.044419] usb 1-4: reset high-speed USB device number 4 using xhci_hcd
&lt;/pre&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Opening the ttyACM interface shows this log:&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="text"&gt;[00:00:00.005,218] &amp;lt;dbg&amp;gt; usb_nrfx: usbd_work_process_pwr_events: USB Suspend state

[00:00:00.005,249] &amp;lt;dbg&amp;gt; usb_cdc_acm: cdc_acm_dev_status_cb: cfg 0x200018c4 status 5

[00:00:00.005,249] &amp;lt;inf&amp;gt; usb_cdc_acm: Device suspended


baud_rate = 115200


Wait for dtr !

--- 628 messages dropped ---
[00:00:00.147,888] &amp;lt;dbg&amp;gt; usb_nrfx: usbd_event_handler: RESUMING from suspend

[00:00:00.147,918] &amp;lt;dbg&amp;gt; usb_nrfx: usbd_work_handler: USBD reset event
...&lt;/pre&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: Trying to see DongleBLE in linux with NCS</title><link>https://devzone.nordicsemi.com/thread/408349?ContentTypeID=1</link><pubDate>Mon, 06 Feb 2023 15:26:04 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:23d19d69-ce16-4ad4-84a8-1d084ec65599</guid><dc:creator>Piwy</dc:creator><description>&lt;p&gt;i use this config, you have the DK to test it ?&lt;/p&gt;
&lt;div style="background-color:#1e1e1e;color:#d4d4d4;font-family:Consolas, &amp;#39;Courier New&amp;#39;, monospace;font-size:14px;font-weight:normal;line-height:19px;white-space:pre;"&gt;
&lt;div&gt;&lt;span style="color:#6a9955;"&gt;# Disable DCDC and use 32k RC&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span style="color:#569cd6;"&gt;CONFIG_BOARD_ENABLE_DCDC&lt;/span&gt;&lt;span style="color:#d4d4d4;"&gt;=n&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span style="color:#569cd6;"&gt;CONFIG_BOARD_ENABLE_DCDC_HV&lt;/span&gt;&lt;span style="color:#d4d4d4;"&gt;=y&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span style="color:#569cd6;"&gt;CONFIG_CLOCK_CONTROL_NRF_K32SRC_RC&lt;/span&gt;&lt;span style="color:#d4d4d4;"&gt;=y&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span style="color:#6a9955;"&gt;# disable nrf5 bootloader&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span style="color:#569cd6;"&gt;CONFIG_BOARD_HAS_NRF5_BOOTLOADER&lt;/span&gt;&lt;span style="color:#d4d4d4;"&gt;=n&lt;/span&gt;&lt;/div&gt;
&lt;/div&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Trying to see DongleBLE in linux with NCS</title><link>https://devzone.nordicsemi.com/thread/408347?ContentTypeID=1</link><pubDate>Mon, 06 Feb 2023 15:22:14 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:8d355b21-8af0-40b6-a7c2-444b89b5a46d</guid><dc:creator>Piwy</dc:creator><description>&lt;p&gt;Yes it&amp;#39;s ohmed and the board is not connected with a cable but directly.&lt;/p&gt;
&lt;p&gt;My project work well with the same board with nrf52840 instead of the bt840xe.&lt;/p&gt;
&lt;p&gt;&lt;br /&gt;the hex file : &lt;/p&gt;
&lt;p&gt;,&lt;a href="https://devzone.nordicsemi.com/cfs-file/__key/communityserver-discussions-components-files/4/2210.zephyr.hex"&gt;devzone.nordicsemi.com/.../2210.zephyr.hex&lt;/a&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Trying to see DongleBLE in linux with NCS</title><link>https://devzone.nordicsemi.com/thread/408339?ContentTypeID=1</link><pubDate>Mon, 06 Feb 2023 15:15:07 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:5aac4f56-bfcf-4f8d-8aae-82ddacb3d7f1</guid><dc:creator>H&amp;#229;kon Alseth</dc:creator><description>&lt;p&gt;Have you ohmed the connection from the device USB connector to the D+/D- pins on the board itself? Could the cable be the problem?&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Could you share the .hex file, so I can try to run it on a DK?&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&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: Trying to see DongleBLE in linux with NCS</title><link>https://devzone.nordicsemi.com/thread/408331?ContentTypeID=1</link><pubDate>Mon, 06 Feb 2023 15:04:00 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:2b490bd3-731f-4181-a48f-b43d4ff4e0cc</guid><dc:creator>Piwy</dc:creator><description>&lt;p&gt;there is nothing in dmesg that show the device, i can&amp;#39;t see it with lsusb or in /dev/ also&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Trying to see DongleBLE in linux with NCS</title><link>https://devzone.nordicsemi.com/thread/408324?ContentTypeID=1</link><pubDate>Mon, 06 Feb 2023 14:48:58 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:1c79cafa-a2ce-459b-8441-d20ef223417d</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="Piwy"]00&amp;gt; Wait for dtr ![/quote]
&lt;p&gt;You will need to open the device (ie. the ttyACM device) for the firmware to continue after this.&lt;/p&gt;
&lt;p&gt;Is there anything in dmesg that shows any issues or errors?&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: Trying to see DongleBLE in linux with NCS</title><link>https://devzone.nordicsemi.com/thread/408320?ContentTypeID=1</link><pubDate>Mon, 06 Feb 2023 14:37:45 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:53c1b90e-743e-4e8e-bb92-e1f0857b53a2</guid><dc:creator>Piwy</dc:creator><description>&lt;p&gt;1) Here is the board : &lt;img style="max-height:240px;max-width:320px;" src="https://devzone.nordicsemi.com/resized-image/__size/640x480/__key/communityserver-discussions-components-files/4/bt840usb.png" alt=" " /&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;2) I use example tha&amp;eacute;t use shell module with usb, the project attach to this post&lt;/p&gt;
&lt;p&gt;3) My full log :&lt;/p&gt;
&lt;p&gt;&lt;br /&gt;00&amp;gt; [00:00:00.000,000] &amp;lt;dbg&amp;gt; usb_cdc_acm: cdc_acm_init: Device dev 0x65440 dev_data 0x20000bb4 cfg 0x200018b4 added to devlist 0x20005f50&lt;br /&gt;00&amp;gt; [00:00:00.000,762] &amp;lt;dbg&amp;gt; usb_nrfx: usb_dc_ep_check_cap: ep 0x81, mps 16, type 3&lt;br /&gt;00&amp;gt; [00:00:00.000,762] &amp;lt;dbg&amp;gt; usb_nrfx: usb_dc_ep_check_cap: ep 0x82, mps 64, type 2&lt;br /&gt;00&amp;gt; [00:00:00.000,793] &amp;lt;dbg&amp;gt; usb_nrfx: usb_dc_ep_check_cap: ep 0x01, mps 64, type 2&lt;br /&gt;00&amp;gt; *** Booting Zephyr OS build v3.0.99-ncs1&amp;nbsp; ***&lt;br /&gt;00&amp;gt; &lt;br /&gt;00&amp;gt; &lt;br /&gt;00&amp;gt;&amp;nbsp; My_device_ID: ebd9c439fa33a65f&lt;br /&gt;00&amp;gt; &lt;br /&gt;00&amp;gt; [00:00:00.000,976] &amp;lt;dbg&amp;gt; usb_nrfx: usb_dc_ep_enable: EP enable: 0x00&lt;br /&gt;00&amp;gt; [00:00:00.001,007] &amp;lt;dbg&amp;gt; usb_nrfx: usb_dc_ep_enable: EP enable: 0x80&lt;br /&gt;00&amp;gt; Wait for dtr !&lt;br /&gt;00&amp;gt; &lt;br /&gt;I add all dbg that i could&lt;/p&gt;
&lt;p&gt;4) i had the same board with nrf52840 and it&amp;#39;s working very well , the only difference is that there is a bt840 xe instead&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Trying to see DongleBLE in linux with NCS</title><link>https://devzone.nordicsemi.com/thread/408309?ContentTypeID=1</link><pubDate>Mon, 06 Feb 2023 14:16:07 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:ee0cfb19-2e02-4d5e-84e2-a82b7c700aa9</guid><dc:creator>H&amp;#229;kon Alseth</dc:creator><description>&lt;p&gt;Could you share details about your build:&lt;/p&gt;
&lt;p&gt;1. What board are you building for?&lt;/p&gt;
&lt;p&gt;2. Which example are you targeting?&lt;/p&gt;
&lt;p&gt;3. Can you share the full log?&lt;/p&gt;
&lt;p&gt;4. Does the bt840xe module have D+/D- routed to a new USB connector?&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: Trying to see DongleBLE in linux with NCS</title><link>https://devzone.nordicsemi.com/thread/408293?ContentTypeID=1</link><pubDate>Mon, 06 Feb 2023 13:19:11 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:85b37e44-36d8-496b-8e88-6eaae62bc66e</guid><dc:creator>Piwy</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;I relance this post, i use the exact same board as descibed in this post but i have a bt840xe instead of nrf52840 and i&amp;#39;m not able to see the device in /dev//tty or with lsusb and i don&amp;#39;t know why..&lt;/p&gt;
&lt;p&gt;I&amp;#39;m always in wait the dtr with the bt840xe and not with the nrf52840&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Trying to see DongleBLE in linux with NCS</title><link>https://devzone.nordicsemi.com/thread/390587?ContentTypeID=1</link><pubDate>Thu, 13 Oct 2022 09:10:56 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:150a3c43-7d8d-4d73-a411-49d9425bc89e</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="Piwy"]And is it possible to use a nrf5 bootloader to update over BLE a device with nrf5 software to an RTOS ? It&amp;#39;s my last question, after i will close the ticket.[/quote]
&lt;p&gt;You can technically use the nrf5 usb bootloader to run any firmware of your choosing, but you cannot use the nrf5 BLE DFU to go to zephyr.&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: Trying to see DongleBLE in linux with NCS</title><link>https://devzone.nordicsemi.com/thread/390553?ContentTypeID=1</link><pubDate>Thu, 13 Oct 2022 06:46:50 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:68af5ab9-2dd6-405b-8e7d-d184242157bc</guid><dc:creator>Piwy</dc:creator><description>&lt;p&gt;it will work for my custom device usb if reset is routed with a GPIO.&lt;/p&gt;
&lt;p&gt;And is it possible to use a nrf5 bootloader to update over BLE a device with nrf5 software to an RTOS ? It&amp;#39;s my last question, after i will close the ticket.&lt;/p&gt;
&lt;p&gt;Thanks you for everything.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Regards,&lt;/p&gt;
&lt;p&gt;Pierre-Yves&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Trying to see DongleBLE in linux with NCS</title><link>https://devzone.nordicsemi.com/thread/390489?ContentTypeID=1</link><pubDate>Wed, 12 Oct 2022 14:41:51 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:dfbb68d3-4a42-472d-bfc2-6766ddcd4d44</guid><dc:creator>H&amp;#229;kon Alseth</dc:creator><description>[quote user="Piwy"]I have a question about bootloader, is it possible to use my software with a nrf5 bootloader dfu to update my software ? If it&amp;#39;s possible how can i do it ?[/quote]
&lt;p&gt;You must have a to both reset, and atleast one GPIO routed together, as explained here:&lt;/p&gt;
&lt;p&gt;&lt;a href="https://infocenter.nordicsemi.com/index.jsp?topic=%2Fsdk_nrf5_v17.1.0%2Flib_dfu_trigger_usb.html"&gt;https://infocenter.nordicsemi.com/index.jsp?topic=%2Fsdk_nrf5_v17.1.0%2Flib_dfu_trigger_usb.html&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;If you do not have this, then it is not possible to use the nrf5 usb bootloader.&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: Trying to see DongleBLE in linux with NCS</title><link>https://devzone.nordicsemi.com/thread/390443?ContentTypeID=1</link><pubDate>Wed, 12 Oct 2022 12:23:04 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:ba5a80c9-7ada-4b75-9278-f8cbf675c7a3</guid><dc:creator>Piwy</dc:creator><description>&lt;p&gt;Indeed with this configuration RTT works fine, really thanks you.&lt;/p&gt;
&lt;p&gt;I have a question about bootloader, is it possible to use my software with a nrf5 bootloader dfu to update my software ? If it&amp;#39;s possible how can i do it ?&lt;/p&gt;
&lt;p&gt;I ask this to know if it&amp;#39;s possible tio upgrade device with software NRF5 with a&amp;nbsp; RTOS&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Trying to see DongleBLE in linux with NCS</title><link>https://devzone.nordicsemi.com/thread/390301?ContentTypeID=1</link><pubDate>Tue, 11 Oct 2022 14:13:56 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:32e8d0d4-0222-4951-aa71-f981a84a1816</guid><dc:creator>H&amp;#229;kon Alseth</dc:creator><description>[quote user="Piwy"]&lt;p&gt;Your&amp;nbsp; project work with my custom board,, all shell commands worked it must be the DCDC. really thanks you.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;What is the config that you use for disabled any use of DCDC and also uses internal 32k RC oscillator ?&lt;/p&gt;[/quote]
&lt;p&gt;This is great news!&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;The configurations to disable DCDC and DCDC_HV are the following:&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="text"&gt;CONFIG_BOARD_ENABLE_DCDC=n
CONFIG_BOARD_ENABLE_DCDC_HV=n

&lt;/pre&gt;&lt;/p&gt;
&lt;p&gt;And enabling 32k internal RC oscillator is this one:&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="text"&gt;CONFIG_CLOCK_CONTROL_NRF_K32SRC_RC=y&lt;/pre&gt;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Those are set in the boards/nrf52840dongle_nrf52840.conf (and the same in the nRF52840-DK .conf file)&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;You can try to set the above configurations, in addition to the RTT specific configurations, in hello_world to see if you can get RTT to work now 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&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Trying to see DongleBLE in linux with NCS</title><link>https://devzone.nordicsemi.com/thread/390280?ContentTypeID=1</link><pubDate>Tue, 11 Oct 2022 13:30:45 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:5a8f6d0e-90c9-4e5c-981f-708b72daef80</guid><dc:creator>Piwy</dc:creator><description>&lt;p&gt;Did you create the proper configuration and overlay and include those in your build as described there?&lt;/p&gt;
&lt;p&gt;=&amp;gt; Yes i did&lt;/p&gt;
&lt;p&gt;Your&amp;nbsp; project work with my custom board,, all shell commands worked it must be the DCDC. really thanks you.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;What is the config that you use for disabled any use of DCDC and also uses internal 32k RC oscillator ?&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Were you successful with running hci_usb (which is from NCS), or did you run the connectivity firmware (ble_connectivity_s1xx_pca10056.hex) from nRF5 SDK?&lt;/p&gt;
&lt;p&gt;Please confirm what you were successful with here.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;=&amp;gt; Yes from NRF5 SDK with a patch&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Which project did you run with RTT? Did you run the hello_world that I previously recommended you to do?&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Yes i run the one that you recommanded me&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Trying to see DongleBLE in linux with NCS</title><link>https://devzone.nordicsemi.com/thread/390274?ContentTypeID=1</link><pubDate>Tue, 11 Oct 2022 12:56:38 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:cc9c041a-66af-4047-9fcb-4096252464e0</guid><dc:creator>H&amp;#229;kon Alseth</dc:creator><description>[quote user="Piwy"]i Said i will only use shell_module for now on ...i said it 2 times..[/quote]
&lt;p&gt;Yes, but you are inconsistent in your feedback, which&amp;nbsp;does not allow me to check if you applied changes that I recommended, like the device tree overlay and board specific configurations:&amp;nbsp;&amp;nbsp;&lt;a href="https://devzone.nordicsemi.com/f/nordic-q-a/92601/trying-to-see-dongleble-in-linux-with-ncs/389619"&gt;RE: Trying to see DongleBLE in linux with NCS&lt;/a&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Did you create the proper configuration and overlay and include those in your build as described there?&lt;/p&gt;
&lt;p&gt;Here&amp;#39;s a project where I enabled the above quoted configurations and device tree overlays for nrf52840dk_nrf52840 and nrf52840dongle_nrf52840.&lt;/p&gt;
&lt;p&gt;&lt;a href="https://devzone.nordicsemi.com/cfs-file/__key/communityserver-discussions-components-files/4/shell_5F00_module_5F00_with_5F00_usb_5F00_for_5F00_dk_5F00_and_5F00_dongle.zip"&gt;devzone.nordicsemi.com/.../shell_5F00_module_5F00_with_5F00_usb_5F00_for_5F00_dk_5F00_and_5F00_dongle.zip&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Please report back explicitly with details on if this project works for your &lt;span style="text-decoration:underline;"&gt;custom board&lt;/span&gt;.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Also note that the above project disabled any use of DCDC and also uses internal 32k RC oscillator, as the dongle from us (pca10059) and the nRF52840-DK has DCDC components and external 32k source.&lt;/p&gt;
[quote user="Piwy"]fireware hci_usb pca10056 from sdk15.3[/quote]
&lt;p&gt;Were you successful with running hci_usb (which is from NCS), or did you run the connectivity firmware (ble_connectivity_s1xx_pca10056.hex) from nRF5 SDK?&lt;/p&gt;
&lt;p&gt;Please confirm what you were successful with here.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;If you were successful running a nRF5 SDK firmware, and not any NCS example, it indicates that you have a hardware difference.&lt;/p&gt;
&lt;p&gt;For instance the DCDC components not in-place, but this should be confirmed if the attached .zip project works for you.&lt;/p&gt;
[quote user="Piwy"]and with rtt viewer i have nothing also, i connect to my device.[/quote]
&lt;p&gt;Which project did you run with RTT? Did you run the hello_world that I previously recommended you to do?&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: Trying to see DongleBLE in linux with NCS</title><link>https://devzone.nordicsemi.com/thread/390251?ContentTypeID=1</link><pubDate>Tue, 11 Oct 2022 11:54:24 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:db21aa2e-9198-4506-a8d6-1544236a4d22</guid><dc:creator>Piwy</dc:creator><description>&lt;p&gt;i Said i will only use shell_module for now on ...i said it 2 times..&lt;/p&gt;
&lt;p&gt;And shell_module sample with overlay_usb.conf works fine with the dongle_ble but not with my device.&lt;/p&gt;
&lt;p&gt;With dongle _ble i could send command and he respond. I used minicom to connect to it on y linux and it works perfectly.&lt;/p&gt;
&lt;p&gt;I just take the sample and add overlay_usb.conf in Kconfig fragments in VS code with ncs 2.0 and with nrf528470_donglenrf52840&lt;/p&gt;
&lt;p&gt;I tried entering debug mode but i have this message :&lt;/p&gt;
&lt;p&gt;&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/erreur-debug.png" alt=" " /&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;and with rtt viewer i have nothing also, i connect to my device.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;This hardware was used and works with connectivity fireware hci_usb pca10056 from sdk15.3 with the patch from pc_ble_driver. But others software didn&amp;#39;t run succeffully on it...&lt;/p&gt;
&lt;p&gt;The reset pin isn&amp;#39;t routed, i use GPIO to reboot. The device can be accessed only from a rasspberry.&lt;/p&gt;
&lt;p&gt;This card was addapted from the Dongle_ble nordic to be commanded by the rasberry.&lt;/p&gt;
&lt;p&gt;The purpose is to use the new sdk ncs with bluetooth shell commands instead of pc_ble_driver.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Trying to see DongleBLE in linux with NCS</title><link>https://devzone.nordicsemi.com/thread/390222?ContentTypeID=1</link><pubDate>Tue, 11 Oct 2022 10:07:40 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:e7e51cfe-aaa7-47ed-96b9-a9208afc720e</guid><dc:creator>H&amp;#229;kon Alseth</dc:creator><description>&lt;p&gt;I am unable to help you if you do not provide detailed information.&lt;/p&gt;
&lt;p&gt;Please spend a bit of time and answer the below questions.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&amp;quot;It works on hardware xyz&amp;quot; is not sufficient information - what works? As previously stated, please share logs, screenshots, any information on how you program, run, and logs.&lt;/p&gt;
&lt;p&gt;Which project(s) are you trying to flash?&lt;/p&gt;
&lt;p&gt;What specific &amp;quot;board&amp;quot; are you building for? By &amp;quot;board&amp;quot; here, I mean the listed board in ncs/zephyr/boards/arm/ directory.&lt;/p&gt;
&lt;p&gt;Have you tried entering debug mode, if yes; please share the detailed information on what is observed. Screenshots, logs, etc.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;You mention that logging does not work. How did you enable RTT logging? By default, UART logging is used.&lt;/p&gt;
&lt;p&gt;As a minimalistic test: Run &amp;quot;hello_world&amp;quot;, configured as board &amp;quot;nrf52840dk_nrf52840&amp;quot; (ie. not&amp;nbsp;configured as nrf52840dongle), with these in prj.conf:&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="text"&gt;CONFIG_USE_SEGGER_RTT=y
CONFIG_UART_CONSOLE=n
CONFIG_RTT_CONSOLE=y
CONFIG_LOG=y
CONFIG_LOG_BACKEND_UART=n
CONFIG_LOG_BACKEND_RTT=y
&lt;/pre&gt;&lt;/p&gt;
&lt;p&gt;And open up the RTT viewer, and share the output.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
[quote user="Piwy"]The HW is pretty the same as the dongle&amp;nbsp; USB+ and USB- are linked to D+ and D- , USB part is the same.[/quote]
&lt;p&gt;Can you run anything successfully on your custom&amp;nbsp;hardware? Hello world, blinky, etc?&lt;/p&gt;
&lt;p&gt;Do you have the nRESET pin (P0.18) routed to anything?&lt;/p&gt;
&lt;p&gt;Can you please share information related to the nRF only? For instance, what is the 32M xtal and its loading caps? Same for the 32k oscillator.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
[quote user="Piwy"]I thought i needed to use an USB bootloader to open the usb port but maybe i misunderstanding it.[/quote]
&lt;p&gt;No, you do not need a usb bootloader on your custom hardware. You have a debugger/programmer, meaning that you can access the device directly using SWD.&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: Trying to see DongleBLE in linux with NCS</title><link>https://devzone.nordicsemi.com/thread/390210?ContentTypeID=1</link><pubDate>Tue, 11 Oct 2022 09:23:32 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:28485722-8d64-4964-895c-1bed8a578e1d</guid><dc:creator>Piwy</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;My fireware works perfectly with Dongle Ble From nordics.&lt;/p&gt;
&lt;p&gt;I tried adding : &lt;span&gt;CONFIG_BOARD_HAS_NRF5_BOOTLOADER=n&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;This don&amp;#39;t work on my custom device. I can&amp;#39;t debug it because i can&amp;#39;t see RTT unfortunatly after flashing the device.&lt;/p&gt;
&lt;p&gt;I can&amp;#39;t share it because it&amp;#39;s condifdential...&lt;/p&gt;
&lt;p&gt;The HW is pretty the same as the dongle&amp;nbsp; USB+ and USB- are linked to D+ and D- , USB part is the same.&lt;/p&gt;
&lt;p&gt;With the Dongle_ble nordic the usb port opened but not with my device, the usb not opened ...i tried debug to saw it but it&amp;#39;s not working. I thought i needed to use an USB bootloader to open the usb port but maybe i misunderstanding it.&lt;/p&gt;
&lt;div id="tw-source-text-container" class="tw-ta-container F0azHf tw-nfl"&gt;&lt;/div&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Trying to see DongleBLE in linux with NCS</title><link>https://devzone.nordicsemi.com/thread/390173?ContentTypeID=1</link><pubDate>Tue, 11 Oct 2022 07:53:14 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:b9d5237b-718e-4d1c-b148-c879aee5c797</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="Piwy"]Now i will only use the shell module from Zephyr. I build it with overlay-usb.conf and i have always the same issue, when i put the software in dongle_ble nordic=&amp;gt; no issue, this work.[/quote]
&lt;p&gt;What do you mean by &amp;quot;no issue, this works&amp;quot;? Please share logs or similar showing the working behavior.&lt;/p&gt;
[quote user="Piwy"]But not in my custom device..., there is a difference beetween them and it&amp;#39;s not hw[/quote]
&lt;p&gt;As previously mentioned, you must configure a project for a nRF52840 custom device without DFU, and this is done by adding:&lt;/p&gt;
&lt;p&gt;&lt;span&gt;CONFIG_BOARD_HAS_NRF5_BOOTLOADER=n&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&amp;nbsp;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Since you can program a device, you shall also be able to debug it with VSCode, have you tried this?&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Could you share the schematic of your custom device?&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&amp;nbsp;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Kind regards,&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Håkon&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Trying to see DongleBLE in linux with NCS</title><link>https://devzone.nordicsemi.com/thread/390082?ContentTypeID=1</link><pubDate>Mon, 10 Oct 2022 15:25:56 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:23b432cd-f9fc-4a09-805f-1b2a79e6aa16</guid><dc:creator>Piwy</dc:creator><description>&lt;p&gt;I tried to use debug RTT but when i put my fireware in my custom device i can&amp;#39;t connect to it after that unfortunatly.... that&amp;#39;s why i can&amp;#39;t have log output.&lt;/p&gt;
&lt;p&gt;Now i will only use the shell module from Zephyr. I build it with overlay-usb.conf and i have always the same issue, when i put the software in dongle_ble nordic=&amp;gt; no issue, this work.&lt;/p&gt;
&lt;p&gt;But not in my custom device..., there is a difference beetween them and it&amp;#39;s not hw&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Trying to see DongleBLE in linux with NCS</title><link>https://devzone.nordicsemi.com/thread/390060?ContentTypeID=1</link><pubDate>Mon, 10 Oct 2022 14:06:54 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:1a43c3fc-530a-4606-b3d0-4391fad64b85</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;I understand that you want this to enumerate in your operating system as a COM port device, ie. a cdc_acm device.&lt;/p&gt;
&lt;p&gt;When firmware is the problematic component, you need to focus on that.&lt;/p&gt;
&lt;p&gt;What you need to do is to enter debug mode on your device, and see where it gets stuck. Similarly, if you do not have a uart pinout, you can use RTT to see what the log output is.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
[quote user="Piwy"]I provided you also my prj.conf and my main.c.[/quote]
&lt;p&gt;Always share your full project, not only two files.&lt;/p&gt;
&lt;p&gt;If your firmware worked before when transmitting shell over uart, and the only change that you did was the kconfig and device-tree overlay as I described in this answer:&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;a href="https://devzone.nordicsemi.com/f/nordic-q-a/92601/trying-to-see-dongleble-in-linux-with-ncs/389619"&gt;RE: Trying to see DongleBLE in linux with NCS&lt;/a&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Then it&amp;nbsp;will route your shell&amp;nbsp;to use USB instead of UART. You can try to add this to for instance the shell_module sample in zephyr (../ncs/zephyr/samples/subsys/shell/shell_module)&lt;/p&gt;
&lt;p&gt;&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: Trying to see DongleBLE in linux with NCS</title><link>https://devzone.nordicsemi.com/thread/390053?ContentTypeID=1</link><pubDate>Mon, 10 Oct 2022 13:45:38 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:7f40cd18-bebf-4022-bfda-71766de6c8f9</guid><dc:creator>Piwy</dc:creator><description>&lt;p&gt;I will try to describe the best that i can.&lt;/p&gt;
&lt;p&gt;As i say, there isn&amp;#39;t log in my issue...&lt;/p&gt;
&lt;p&gt;Firt of all, I experimented a custom board nrf52840 with a FT232 Bridge USB to UART. My firware use Bluetooth Shell commands and others shell commands. This device will be used as a central. I succed to use this device with a raspberry pi and to command it with an external program in my rasspberry ( using sockets).&lt;/p&gt;
&lt;p&gt;I use a modified version of bluetooth shell. I comunicateed with this board with Uart.&lt;/p&gt;
&lt;p&gt;I succed to connect with putty in windows and with minicom in linux.&lt;/p&gt;
&lt;p&gt;But this was just an experimentation, now i need to custom board without the FT232 bridge, i need to use only USB. We create another custom card based on the Dongle BLE and i try to do the same as before with the USB.&lt;/p&gt;
&lt;p&gt;The custom board is powered by the usb , the old custom boad with FT232 was powered by a battery.&lt;/p&gt;
&lt;p&gt;I do all this thing to have a pc-ble-driver&amp;#39;s like with NCS. It&amp;#39;s even better because i can customise shell commands and use more functionnalities.&lt;/p&gt;
&lt;p&gt;I provided you also my prj.conf and my main.c.&lt;/p&gt;
&lt;p&gt;After i first try to add usb enable by using cdc_acm sample in my software. And I try to use it with dongle BLE from nordic. As i said before, it was a succes. But not with my custom board. The HW is really the same as the Dongle BLE. the only difference beetween them is the bootloader that&amp;#39;s all and i don&amp;#39;t understand why this isn&amp;#39;t working&lt;/p&gt;
&lt;div class="QmZWSe"&gt;
&lt;div class="DHcWmd"&gt;is it clearer now ? &lt;/div&gt;
&lt;div class="DHcWmd"&gt;&lt;/div&gt;
&lt;div class="DHcWmd"&gt;Regards,&lt;/div&gt;
&lt;div class="DHcWmd"&gt;&lt;/div&gt;
&lt;div class="DHcWmd"&gt;Pierre-Yves&lt;/div&gt;
&lt;/div&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>