<?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>I can&amp;#39;t get USBD messages with a SoftDevice 140 on my nRF52840 Dongle</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/50867/i-can-t-get-usbd-messages-with-a-softdevice-140-on-my-nrf52840-dongle</link><description>I have the ble_peripheral blinky example running, and I have a separate project with the USBD working fine (based on the usbd_cdc_acm example), but when I try to merge the two together, the app_usbd_init causes a crash. Is it not possible? What am I doing</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Tue, 31 May 2022 08:19:49 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/50867/i-can-t-get-usbd-messages-with-a-softdevice-140-on-my-nrf52840-dongle" /><item><title>RE: I can't get USBD messages with a SoftDevice 140 on my nRF52840 Dongle</title><link>https://devzone.nordicsemi.com/thread/370135?ContentTypeID=1</link><pubDate>Tue, 31 May 2022 08:19:49 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:58b0dfd9-a059-4583-b339-04e7e3f225ef</guid><dc:creator>Juniorprogrammer</dc:creator><description>&lt;p&gt;Hi Sigurd, is there any update on this project since it is 3 years ago?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: I can't get USBD messages with a SoftDevice 140 on my nRF52840 Dongle</title><link>https://devzone.nordicsemi.com/thread/203686?ContentTypeID=1</link><pubDate>Mon, 12 Aug 2019 19:30:45 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:f3b02d80-fe23-40dc-9aca-6d46e422b27b</guid><dc:creator>jkase</dc:creator><description>&lt;p&gt;Thanks for the sample.&amp;nbsp; It does, indeed work and solve the problem.&amp;nbsp; Without the DK, it&amp;#39;s hard to tell where things fell apart in my code, but the source looks identical.&lt;/p&gt;
&lt;p&gt;I do see that the RAM_START and RAM_SIZE linker defines are different.&amp;nbsp; Although changing them didn&amp;#39;t seem to affect the outcome.&lt;/p&gt;
&lt;p&gt;More digging, but I&amp;#39;m good for now.&lt;/p&gt;
&lt;p&gt;Thanks, again!&lt;/p&gt;
&lt;p&gt;--jeff&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: I can't get USBD messages with a SoftDevice 140 on my nRF52840 Dongle</title><link>https://devzone.nordicsemi.com/thread/203656?ContentTypeID=1</link><pubDate>Mon, 12 Aug 2019 15:15:12 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:a4ae51c2-0e23-4784-8293-ba458bf00181</guid><dc:creator>Sigurd</dc:creator><description>[quote userid="82040" url="~/f/nordic-q-a/50867/i-can-t-get-usbd-messages-with-a-softdevice-140-on-my-nrf52840-dongle/203645"] I&amp;#39;ve ordered a DK board[/quote]
&lt;p&gt;Good idea, the DK has a on-board debugger so that makes development a lot easier.&lt;/p&gt;
[quote userid="82040" url="~/f/nordic-q-a/50867/i-can-t-get-usbd-messages-with-a-softdevice-140-on-my-nrf52840-dongle/203645"]If there is a central version of the usbd_ble_uart, I&amp;#39;d love to see it.[/quote]
&lt;p&gt;A colleague of mine created that&amp;nbsp;&lt;span&gt;just recently (also with nRF52840-dongle(PCA10059) project)&lt;/span&gt;. See the attachment.&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;Attachment:&amp;nbsp;&lt;a href="https://devzone.nordicsemi.com/cfs-file/__key/communityserver-discussions-components-files/4/8510.usbd_5F00_ble_5F00_uart_5F00_c_5F00_v3.zip"&gt;devzone.nordicsemi.com/.../8510.usbd_5F00_ble_5F00_uart_5F00_c_5F00_v3.zip&lt;/a&gt;&lt;/strong&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: I can't get USBD messages with a SoftDevice 140 on my nRF52840 Dongle</title><link>https://devzone.nordicsemi.com/thread/203645?ContentTypeID=1</link><pubDate>Mon, 12 Aug 2019 14:35:16 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:7aeb858f-3173-4394-8ec5-1666e2d9811f</guid><dc:creator>jkase</dc:creator><description>&lt;p&gt;Thanks for the reply.&amp;nbsp; I think my biggest problem has been trying to use the USB dongles for development.&amp;nbsp; I&amp;#39;ve ordered a DK board, at which I can tell you what the return value is.&lt;/p&gt;
&lt;p&gt;After I posted the message, I did find the usbd_ble_uart example and have that working well on the peripheral side of the BLE.&amp;nbsp; But I did fail in trying to convert the peripheral into a central version.&amp;nbsp; The code scans well, but the usbd never initializes.&amp;nbsp; Once I get the DK I should be able to sort that out.&lt;/p&gt;
&lt;p&gt;If there is a central version of the usbd_ble_uart, I&amp;#39;d love to see it.&lt;/p&gt;
&lt;p&gt;Cheers,&lt;/p&gt;
&lt;p&gt;--jeff&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: I can't get USBD messages with a SoftDevice 140 on my nRF52840 Dongle</title><link>https://devzone.nordicsemi.com/thread/203643?ContentTypeID=1</link><pubDate>Mon, 12 Aug 2019 14:30:00 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:3c36df16-60e2-4522-82f7-ae7d82431a83</guid><dc:creator>Sigurd</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
[quote userid="82040" url="~/f/nordic-q-a/50867/i-can-t-get-usbd-messages-with-a-softdevice-140-on-my-nrf52840-dongle"]Is it not possible?&amp;nbsp;[/quote]
&lt;p&gt;It&amp;#39;s possible.&lt;/p&gt;
[quote userid="82040" url="~/f/nordic-q-a/50867/i-can-t-get-usbd-messages-with-a-softdevice-140-on-my-nrf52840-dongle"]the app_usbd_init causes a crash[/quote]
&lt;p&gt;Does the&amp;nbsp;function return any error codes?&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Note that if you are working on a SoftDevice+USBD project, I recommend taking a look at the&amp;nbsp;usbd_ble_uart instead. If you need the&amp;nbsp;&lt;span&gt;blinky&amp;nbsp;BLE service, then add that to the&amp;nbsp;usbd_ble_uart&amp;nbsp;example. Take a look at &lt;a href="https://infocenter.nordicsemi.com/topic/com.nordic.infocenter.sdk5.v15.3.0/usbd_ble_uart_example.html?cp=5_1_4_6_50_1"&gt;this page.&lt;/a&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;You can find the usbd_ble_uart example in the folder&amp;nbsp;&amp;lt;SDKInstallFolder&amp;gt;\examples\peripheral\usbd_ble_uart&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>