<?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>How to use USB in nRF52840 Dongle as UART?</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/79598/how-to-use-usb-in-nrf52840-dongle-as-uart</link><description>Hi, 
 I want to develop simple app that receives data via BLE and send it through UART so I could gather them to file or draw a real-time chart in SerialPlot. 
 As far as I know, the dongle doesn&amp;#39;t have debugger that&amp;#39;s used in &amp;quot;NRF_LOG&amp;quot; functions&amp;#39; family</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Wed, 06 Oct 2021 12:47:31 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/79598/how-to-use-usb-in-nrf52840-dongle-as-uart" /><item><title>RE: How to use USB in nRF52840 Dongle as UART?</title><link>https://devzone.nordicsemi.com/thread/332840?ContentTypeID=1</link><pubDate>Wed, 06 Oct 2021 12:47:31 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:0b28d863-a867-4674-8f0b-4c1c1ddd2131</guid><dc:creator>Kubek</dc:creator><description>&lt;p&gt;Hey,&lt;br /&gt;I tried the example with actual DK, and it works pretty fine. Next I ported it from PCA10056 to PCA10059 and it works fine too. Finally I found solution for my requirements. Now I just need to adjust the examples to my project (just to switch from Nordic UART Service to my custom service) and establish comunication between DK and Dongle, but if I had any extraordinary problem I would start a new thread on the forum.&lt;br /&gt;Thank you a lot for patience, lots of useful information about all those Nordic&amp;#39;s tool.&lt;br /&gt;After all those experiences, I think that whole Nordic&amp;#39;s stuff for BLE etc. needs some extra simple explanations for rookies who have no much experience and feel confused about at the beggining. It&amp;#39;s always way much easier when you have a tutor who introduces you into basics and some important details.&lt;br /&gt;And again, thank you a lot. Seems you have another satisfied egnineer who&amp;#39;s gonna recommend Nordic for radio applications :)&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to use USB in nRF52840 Dongle as UART?</title><link>https://devzone.nordicsemi.com/thread/332656?ContentTypeID=1</link><pubDate>Tue, 05 Oct 2021 13:50:19 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:b00bc0f0-47c3-4694-bebe-9bdbb255f233</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="Kubek"]Anyway - since the sillicon in Preview-DK and actual DK (and the packages sold for soldering on PCB as well, I think) are different, is this a bad idea to use Preview-DK for prototyping? I will have to design a device with a button, a few LEDs, ADC and BLE.[/quote]
&lt;p&gt;It is a strong recommendation to use the same silicon version as you&amp;#39;re planning to go into production with.&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: How to use USB in nRF52840 Dongle as UART?</title><link>https://devzone.nordicsemi.com/thread/332502?ContentTypeID=1</link><pubDate>Tue, 05 Oct 2021 08:10:18 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:79232afb-1626-4b6a-b3cc-da311f6f4d47</guid><dc:creator>Kubek</dc:creator><description>&lt;p&gt;Okey, so I will try to port example from PCA10056 to PCA10059 on my dongle and program it via NRF Connect Programmer app.&lt;/p&gt;
&lt;p&gt;It&amp;#39;s uplifting that this example should work fine and CDC USB is what I&amp;#39;m looking for - it should appear as a regular COM port.&lt;/p&gt;
&lt;p&gt;Anyway - since the sillicon in Preview-DK and actual DK (and the packages sold for soldering on PCB as well, I think) are different, is this a bad idea to use Preview-DK for prototyping? I will have to design a device with a button, a few LEDs, ADC and BLE.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to use USB in nRF52840 Dongle as UART?</title><link>https://devzone.nordicsemi.com/thread/332490?ContentTypeID=1</link><pubDate>Tue, 05 Oct 2021 07:46:16 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:183b6c58-3542-4703-a480-5d2eab9cd467</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="Kubek"]And yes, my DK is Preview one. Does that might be issue?[/quote]
&lt;p&gt;Yes, this is problematic. Preview kit has older engineering silicon, which isn&amp;#39;t supported in the SDK.&lt;/p&gt;
[quote user="Kubek"]&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Finally, I want to make an application for dongle, not DK - can I just port that example above to PCA100059 and it should work fine? I guess &amp;quot;nRF USB&amp;quot; from DK is quite the same as regular only exiisting USB in dongle?&lt;/p&gt;[/quote]
&lt;p&gt;The dongle does not have a dedicated programmer, but instead uses a bootloader. You will have to adapt the project for&amp;nbsp;&lt;span style="font-family:inherit;"&gt;PCA10059, as described in this guide (see section &lt;strong&gt;with softdevice&lt;/strong&gt;):&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;a href="https://devzone.nordicsemi.com/nordic/short-range-guides/b/getting-started/posts/nrf52840-dongle-programming-tutorial"&gt;https://devzone.nordicsemi.com/nordic/short-range-guides/b/getting-started/posts/nrf52840-dongle-programming-tutorial&lt;/a&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: How to use USB in nRF52840 Dongle as UART?</title><link>https://devzone.nordicsemi.com/thread/332459?ContentTypeID=1</link><pubDate>Tue, 05 Oct 2021 06:02:32 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:c4fa6d67-ce21-4065-a29e-5549f82b2c29</guid><dc:creator>Kubek</dc:creator><description>&lt;p&gt;1)&lt;/p&gt;
&lt;p&gt;I use Ubuntu 20.04, and I had installed &amp;quot;catch2&amp;quot; before, according to:&lt;br /&gt;&lt;a href="https://github.com/etaler/Etaler/issues/33"&gt;https://github.com/etaler/Etaler/issues/33&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;It didn&amp;#39;t help me much. If I remember correctly, then I installed &amp;quot;clang-tidy&amp;quot; and wasn&amp;#39;t sure if made it correctly (I described it 13 days ago).&lt;br /&gt;Anyway, I installed &amp;quot;groovy&amp;quot;, because it was on the list of packages that might include &amp;quot;catch2&amp;quot;. It didn&amp;#39;t help too.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;2)&lt;/p&gt;
&lt;p&gt;I tried &amp;quot;usbd_ble_uart&amp;quot; example (on DK, not dongle yet) and I&amp;#39;m confused. Firstly, I attached only &amp;quot;main USB&amp;quot; cable and DK appeared as COM8. And CDC ACM was unavailable. Once I connected &amp;quot;nRF USB&amp;quot; too, logs claimed that USB is ready, but there was no another COM ports available, and logs from handling data recevied via Nordic UART Service claim that CDC ACM is still unavailable.&lt;/p&gt;
&lt;p&gt;I checked in Windows&amp;#39; Device Manager, and seems there&amp;#39;s problem with that another USB:&lt;/p&gt;
&lt;p&gt;&lt;img alt=" " src="https://devzone.nordicsemi.com/resized-image/__size/320x240/__key/communityserver-discussions-components-files/4/pastedimage1633414042232v1.png" /&gt;&lt;/p&gt;
&lt;p&gt;It&amp;#39;s unknown USB device (descriptor request failed).&lt;/p&gt;
&lt;p&gt;I checked that issue here:&lt;/p&gt;
&lt;p&gt;&lt;a href="https://devzone.nordicsemi.com/f/nordic-q-a/59010/unknown-usb-device-device-descriptor-request-failed-with-nrf-usb-port-after-sniffer-firmware"&gt;https://devzone.nordicsemi.com/f/nordic-q-a/59010/unknown-usb-device-device-descriptor-request-failed-with-nrf-usb-port-after-sniffer-firmware&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;And yes, my DK is Preview one. Does that might be issue?&lt;/p&gt;
&lt;p&gt;Finally, I want to make an application for dongle, not DK - can I just port that example above to PCA100059 and it should work fine? I guess &amp;quot;nRF USB&amp;quot; from DK is quite the same as regular only exiisting USB in dongle?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to use USB in nRF52840 Dongle as UART?</title><link>https://devzone.nordicsemi.com/thread/332391?ContentTypeID=1</link><pubDate>Mon, 04 Oct 2021 14:07:32 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:b6fed91a-2d94-4413-ad4c-88b899806456</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;it looks like your system does not have catch2 (it is in ubuntu 20.10 and newer):&lt;/p&gt;
&lt;p&gt;&lt;a href="https://packages.ubuntu.com/search?suite=default&amp;amp;section=all&amp;amp;arch=any&amp;amp;keywords=catch2&amp;amp;searchon=names"&gt;https://packages.ubuntu.com/search?suite=default&amp;amp;section=all&amp;amp;arch=any&amp;amp;keywords=catch2&amp;amp;searchon=names&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
[quote user="Kubek"]I meant&amp;nbsp;&lt;span&gt;&amp;quot;\examples\heart_rate_collector&amp;quot; from&amp;nbsp;&amp;quot;pc-ble-driver&amp;quot; repository, not a nRF SDK examples. But you may suggest any working example from SDK too. If only it&amp;#39;s gonna work for me :D&amp;nbsp;&lt;/span&gt;[/quote]
&lt;p&gt;Based on your former description, you want to get bluetooth data printed to your PC. The examples that I posted are USB CDC (ie. usb-&amp;gt;uart bridge), and one of them even implements BLE UART + USB CDC. Have you tried the usbd_ble_peripheral example in the nRF5 SDK to see if it fits your requirement?&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: How to use USB in nRF52840 Dongle as UART?</title><link>https://devzone.nordicsemi.com/thread/332373?ContentTypeID=1</link><pubDate>Mon, 04 Oct 2021 13:34:32 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:b00039a6-8748-4d2c-b9d7-162663322e75</guid><dc:creator>Kubek</dc:creator><description>&lt;p&gt;1)&lt;/p&gt;
&lt;p&gt;Without -G:&lt;br /&gt;&lt;img src="https://devzone.nordicsemi.com/resized-image/__size/320x240/__key/communityserver-discussions-components-files/4/pastedimage1633354218417v1.png" alt=" " /&gt;&lt;/p&gt;
&lt;p&gt;With -G:&lt;/p&gt;
&lt;p&gt;&lt;img src="https://devzone.nordicsemi.com/resized-image/__size/320x240/__key/communityserver-discussions-components-files/4/pastedimage1633354253913v2.png" alt=" " /&gt;&lt;/p&gt;
&lt;p&gt;&lt;br /&gt;2) I meant&amp;nbsp;&lt;span&gt;&amp;quot;\examples\heart_rate_collector&amp;quot; from&amp;nbsp;&amp;quot;pc-ble-driver&amp;quot; repository, not a nRF SDK examples. But you may suggest any working example from SDK too. If only it&amp;#39;s gonna work for me :D&amp;nbsp;&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to use USB in nRF52840 Dongle as UART?</title><link>https://devzone.nordicsemi.com/thread/332249?ContentTypeID=1</link><pubDate>Mon, 04 Oct 2021 07:48:03 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:cfe36045-c049-47d9-9e4c-a048156a49d8</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="Kubek"]cmake -G Ninja ..[/quote]
&lt;p&gt;This generates ninja files:&amp;nbsp;&lt;a href="https://ninja-build.org/"&gt;https://ninja-build.org/&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;To generate gnu makefiles, just omit the &amp;quot;-G&amp;quot; and it will default back to makefiles.&lt;/p&gt;
[quote user="Kubek"]but it brings me back to problem with ASIO_INCLUDE_DIR[/quote]
&lt;p&gt;Did you install libasio-dev?&lt;/p&gt;
[quote user="Kubek"]2) Does &amp;quot;printf&amp;quot; function from example above send data via USB? Because that&amp;#39;s what I&amp;#39;m looking for - to receive data via BLE and redirect them to VCOM on my PC.[/quote]
&lt;p&gt;Did you have a look at the nRF5 SDK usb cdc example, or the examples/peripheral/usbd_ble_uart?&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: How to use USB in nRF52840 Dongle as UART?</title><link>https://devzone.nordicsemi.com/thread/332226?ContentTypeID=1</link><pubDate>Sat, 02 Oct 2021 20:34:10 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:4879505b-0d4e-4b7d-8cf1-a5178b977097</guid><dc:creator>Kubek</dc:creator><description>&lt;p&gt;1) Suppose I want to use &amp;quot;heart_rate_collector&amp;quot; example (from &amp;quot;\examples\heart_rate_collector&amp;quot; of &amp;quot;pc-ble-driver&amp;quot; repository) - just to compile the .hex file. What am I supposed to do?&lt;br /&gt;I tried to follow the &amp;quot;Getting started with examples&amp;quot; from:&lt;/p&gt;
&lt;p&gt;&lt;a href="https://github.com/NordicSemiconductor/pc-ble-driver/tree/master/examples"&gt;https://github.com/NordicSemiconductor/pc-ble-driver/tree/master/examples&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;but it brings me back to problem with ASIO_INCLUDE_DIR, because I have to:&lt;/p&gt;
&lt;p&gt;&lt;em&gt;cmake -G Ninja ..&lt;/em&gt;&lt;/p&gt;
&lt;p&gt;due to no makefile in &amp;quot;build/examples&amp;quot; directory. I&amp;#39;m more and more confused.&lt;br /&gt;2) Does &amp;quot;printf&amp;quot; function from example above send data via USB? Because that&amp;#39;s what I&amp;#39;m looking for - to receive data via BLE and redirect them to VCOM on my PC.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to use USB in nRF52840 Dongle as UART?</title><link>https://devzone.nordicsemi.com/thread/331263?ContentTypeID=1</link><pubDate>Mon, 27 Sep 2021 10:14:57 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:7bd4dac4-7fe8-494b-9101-530f1c2cf809</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="Kubek"]How am I supposed to compile that particular project? If I undertand correctly, GItHub instructions&amp;nbsp;refer&amp;nbsp;to just bare &amp;quot;pc-ble-driver&amp;quot; compilation.[/quote]
&lt;p&gt;My apologies, you&amp;#39;re right, this was a behavior change when we introduced usage of vcpkg. we do not have examples on how to link in with precompiled libs. For building on windows, you need quite a lot of deps sorted out, as described here:&lt;/p&gt;
&lt;p&gt;&lt;a href="https://github.com/NordicSemiconductor/pc-ble-driver#installing-dependencies-on-windows"&gt;https://github.com/NordicSemiconductor/pc-ble-driver#installing-dependencies-on-windows&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&lt;a href="https://github.com/NordicSemiconductor/pc-ble-driver#compiling-pc-ble-driver-on-windows"&gt;https://github.com/NordicSemiconductor/pc-ble-driver#compiling-pc-ble-driver-on-windows&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;On linux, you need to install these deps:&lt;/p&gt;
&lt;p&gt;&lt;a href="https://github.com/NordicSemiconductor/pc-ble-driver#compiling-pc-ble-driver-on-ubuntu-linux-or-macos"&gt;https://github.com/NordicSemiconductor/pc-ble-driver#compiling-pc-ble-driver-on-ubuntu-linux-or-macos&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Alternatively, you can omit using vcpkg and install the deps via apt:&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="text"&gt;apt install libasio-dev libspdlog-dev catch2 cmake build-essential&lt;/pre&gt;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;An alternative can also be to use &lt;a href="https://github.com/NordicSemiconductor/pc-ble-driver-py"&gt;pc-ble-driver-py&lt;/a&gt; or &lt;a href="https://github.com/NordicSemiconductor/pc-ble-driver-js"&gt;pc-ble-driver-js&lt;/a&gt;.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
[quote user="Kubek"]In my opinion, all that &amp;quot;pc-ble-driver&amp;quot; stuff is kinda chaotic or just not described simple enough, that makes me spend much time understanding what this thing is, how works, and how to use it for my own project. In perfect world, I would make no forum thread for it, and just be satisfied with instructions. [/quote]
&lt;p&gt;I agree with you that we can definitely improve in this matter. I&amp;#39;ll have a chat with the&amp;nbsp;team related to this topic.&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: How to use USB in nRF52840 Dongle as UART?</title><link>https://devzone.nordicsemi.com/thread/331172?ContentTypeID=1</link><pubDate>Sat, 25 Sep 2021 17:17:16 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:4cd0c7b8-d7bb-451a-9b48-614a1a99def7</guid><dc:creator>Kubek</dc:creator><description>&lt;p&gt;I wasn&amp;#39;t aware of precompiled binaries, because I was on &amp;quot;master&amp;quot; branch, and they are available only in &amp;quot;relase-x.y&amp;quot; ones.&lt;br /&gt;Anyway, I programmed my dongle with it (&amp;quot;connectivity_4.1.4_usb_with_s140_6.1.1.hex&amp;quot;), and seems that my COM14 has 2 VCOMs - 0 and 1:&lt;/p&gt;
&lt;p&gt;&lt;img src="https://devzone.nordicsemi.com/resized-image/__size/320x240/__key/communityserver-discussions-components-files/4/pastedimage1632588868660v1.png" alt=" " /&gt;&lt;/p&gt;
&lt;p&gt;As I expected VCOM1 to be for USB-UART feature, I tried to read data from it, but no matter which baudrate I set, I always receive same sign set (that seems to be some kind of special frame that signals trying to connect somewhere, I guess). I&amp;#39;m kinda confused, because I was pretty sure that Dongle would appear as COM1, not &amp;quot;sub-COM&amp;quot; of COM14.&lt;/p&gt;
&lt;p&gt;&lt;img src="https://devzone.nordicsemi.com/resized-image/__size/320x240/__key/communityserver-discussions-components-files/4/pastedimage1632588976753v2.png" alt=" " /&gt;&lt;/p&gt;
&lt;p&gt;And there&amp;#39;s another riddle to solve. Well, I see two examples available - the Heart Rate Collector seems to be the one I need (because I want to redirect some data from BLE characteristic to UART, so I just need to simply edit this one). How am I supposed to compile that particular project? If I undertand correctly, GItHub instructions&amp;nbsp;refer&amp;nbsp;to just bare &amp;quot;pc-ble-driver&amp;quot; compilation.&lt;br /&gt;&lt;br /&gt;&lt;/p&gt;
&lt;p&gt;In my opinion, all that &amp;quot;pc-ble-driver&amp;quot; stuff is kinda chaotic or just not described simple enough, that makes me spend much time understanding what this thing is, how works, and how to use it for my own project. In perfect world, I would make no forum thread for it, and just be satisfied with instructions. But maybe I&amp;#39;m the one who&amp;#39;s not as clever as most of Nordic&amp;#39;s users :D&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to use USB in nRF52840 Dongle as UART?</title><link>https://devzone.nordicsemi.com/thread/330763?ContentTypeID=1</link><pubDate>Thu, 23 Sep 2021 08:13:18 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:89ed8cff-c0a2-4e8f-989b-de4be2611902</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;Is there a specific reason why you&amp;#39;re building from source?&lt;/p&gt;
&lt;p&gt;Precompiled binaries&amp;nbsp;are&amp;nbsp;available here:&lt;/p&gt;
&lt;p&gt;&lt;a href="https://github.com/NordicSemiconductor/pc-ble-driver/releases"&gt;https://github.com/NordicSemiconductor/pc-ble-driver/releases&lt;/a&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: How to use USB in nRF52840 Dongle as UART?</title><link>https://devzone.nordicsemi.com/thread/330541?ContentTypeID=1</link><pubDate>Tue, 21 Sep 2021 18:56:15 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:4057ec06-084d-4007-b16f-6d530e6393a9</guid><dc:creator>Kubek</dc:creator><description>&lt;p&gt;Anyway I tried it my way - to install some things according to tips from forums. Then occured an error:&amp;nbsp;&lt;img src="https://devzone.nordicsemi.com/resized-image/__size/320x240/__key/communityserver-discussions-components-files/4/pastedimage1632249755220v1.png" alt=" " /&gt;&lt;br /&gt;I fixed it with: (because there was a Python script with no .py extension).&lt;/p&gt;
&lt;p&gt;&lt;em&gt;/bin$ sudo cp run-clang-tidy run-clang-tidy.py&lt;/em&gt;&lt;/p&gt;
&lt;p&gt;&lt;em&gt;&lt;/em&gt;But these were another files:&amp;nbsp;&lt;em&gt;run-clang-tidy-10&lt;/em&gt; and&amp;nbsp;&lt;em&gt;run-clang-tidy-10.py.&amp;nbsp;&lt;/em&gt;Maybe they were proper ones because another error occured:&lt;/p&gt;
&lt;p&gt;&lt;img src="https://devzone.nordicsemi.com/resized-image/__size/320x240/__key/communityserver-discussions-components-files/4/pastedimage1632250394331v2.png" alt=" " /&gt;&lt;/p&gt;
&lt;p&gt;Maybe I should rather replace it with this file:&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;a href="https://github.com/llvm-mirror/clang-tools-extra/blob/master/clang-tidy/tool/run-clang-tidy.py"&gt;https://github.com/llvm-mirror/clang-tools-extra/blob/master/clang-tidy/tool/run-clang-tidy.py&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Anyway, problem seems to be with no ASIO_INCLUDE_DIR.&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to use USB in nRF52840 Dongle as UART?</title><link>https://devzone.nordicsemi.com/thread/330535?ContentTypeID=1</link><pubDate>Tue, 21 Sep 2021 17:59:17 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:5959bddf-0bc0-4c89-9418-a848cb9f8534</guid><dc:creator>Kubek</dc:creator><description>&lt;p&gt;I tried it on Windows 10 - it&amp;#39;s just a one big trouble generator, so I tried to do this on Ubuntu 20.04.&lt;/p&gt;
&lt;p&gt;&lt;br /&gt;&lt;br /&gt;Once I tried to:&lt;/p&gt;
&lt;pre&gt;&lt;em&gt;cmake -G Ninja .. &lt;/em&gt;&lt;br /&gt;&lt;em&gt;&lt;br /&gt;&lt;/em&gt;An error occurs:&lt;/pre&gt;
&lt;p&gt;&lt;em&gt;&lt;img src="https://devzone.nordicsemi.com/resized-image/__size/320x240/__key/communityserver-discussions-components-files/4/pastedimage1632246329506v1.png" alt=" " /&gt;&lt;/em&gt;&lt;/p&gt;
&lt;p&gt;So I tried to install Ninja (because some Stack Overflow thread claimed that might be reason):&lt;/p&gt;
&lt;p&gt;&lt;em&gt;sudo apt install ninja-build&lt;/em&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;After this, I tried again to cmake:&lt;/p&gt;
&lt;pre&gt;&lt;em&gt;cmake -G Ninja .. &lt;/em&gt;&lt;/pre&gt;
&lt;p&gt;But yet another complex error occured:&lt;/p&gt;
&lt;p&gt;&lt;img src="https://devzone.nordicsemi.com/resized-image/__size/320x240/__key/communityserver-discussions-components-files/4/pastedimage1632246596446v2.png" alt=" " /&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;What might be the reason? I don&amp;#39;t want to randomly follow each possible forum&amp;#39;s tips, because I&amp;#39;m under impression it&amp;#39;s gonna just mix everything up. Anyway I tried once, and it didn&amp;#39;t help. I thought everything is gonna work fine if only I had followed the steps.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to use USB in nRF52840 Dongle as UART?</title><link>https://devzone.nordicsemi.com/thread/329462?ContentTypeID=1</link><pubDate>Tue, 14 Sep 2021 13:38:06 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:27745836-72cb-48bf-964b-07fc952c6076</guid><dc:creator>Simonr</dc:creator><description>&lt;p&gt;Hi&lt;/p&gt;
&lt;p&gt;Please check out&amp;nbsp;&lt;a href="https://devzone.nordicsemi.com/f/nordic-q-a/50515/any-sample-to-drive-nrf-52-dongle-like-a-serial-port"&gt;this thread,&lt;/a&gt; which has quite a few suggestions on how you can use the nRF52 Dongle as a serial port.&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Simon&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>