<?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>Zephyr sample &amp;#39;peripheral&amp;#39; on nrf52840dk working, nrf52840 dongle not working. Blinky ok for both.</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/118941/zephyr-sample-peripheral-on-nrf52840dk-working-nrf52840-dongle-not-working-blinky-ok-for-both</link><description>Hi, 
 I&amp;#39;m using Linux with Visual code extension to compile for both nrf52840DK and nrf52480 dongle and I&amp;#39;m using the programmer in nrfConnect to write to the devices. The &amp;#39;blinky&amp;#39; sample works fine for both devices but the &amp;#39;peripheral&amp;#39; sample only works</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Fri, 14 Feb 2025 16:34:32 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/118941/zephyr-sample-peripheral-on-nrf52840dk-working-nrf52840-dongle-not-working-blinky-ok-for-both" /><item><title>RE: Zephyr sample 'peripheral' on nrf52840dk working, nrf52840 dongle not working. Blinky ok for both.</title><link>https://devzone.nordicsemi.com/thread/523098?ContentTypeID=1</link><pubDate>Fri, 14 Feb 2025 16:34:32 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:2b94fd0e-ae7d-45cc-9492-3d537cb3b0d8</guid><dc:creator>johnthesoftware</dc:creator><description>&lt;p&gt;Just to finish this off. I only started on this a few days ago and what I hadn&amp;#39;t realised is that the compatibility is given in the sample.yaml files in each of the samples directories which, as Einar said, leaves very few samples suitable for the nRF52840, mostly mesh stuff. The compatibilty is picked up by the Visual Code extension but you can ignore this and just select what you want.&amp;nbsp; This was my mistake.&amp;nbsp;&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Zephyr sample 'peripheral' on nrf52840dk working, nrf52840 dongle not working. Blinky ok for both.</title><link>https://devzone.nordicsemi.com/thread/523092?ContentTypeID=1</link><pubDate>Fri, 14 Feb 2025 15:28:55 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:7892c750-f8d6-46ef-8f7c-d5f1f24e1f71</guid><dc:creator>johnthesoftware</dc:creator><description>&lt;p&gt;Einar,&lt;/p&gt;
&lt;p&gt;Thanks for the info on the Zephyr samples.&amp;nbsp; I wasn&amp;#39;t aware there were other samples.&lt;/p&gt;
&lt;p&gt;So presumably the Blinky sample does configure logging via USB CDC (I can see the print messages from the dongle)&lt;/p&gt;
&lt;p&gt;I can see no Bluetooth output from the Dongle running &amp;#39;peripheral&amp;#39; whereas the dk is fine.&lt;/p&gt;
&lt;p&gt;Thanks for the quick response.&lt;/p&gt;
&lt;p&gt;John&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Zephyr sample 'peripheral' on nrf52840dk working, nrf52840 dongle not working. Blinky ok for both.</title><link>https://devzone.nordicsemi.com/thread/523088?ContentTypeID=1</link><pubDate>Fri, 14 Feb 2025 15:11:10 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:ae604b46-7b2c-480a-9c11-123c151e1444</guid><dc:creator>Einar Thorsrud</dc:creator><description>&lt;p&gt;Hi&amp;nbsp;John,&lt;/p&gt;
&lt;p&gt;I see. The reason you do not see the dongle as a USB device after programing it is that the firmware needs to enable USB for that to be the case (and that is done in the bootloader which is entered when you push the sideways reset button). The DK has an onboard debugger, which which is why you should always see that. This debugger also funcions as a USB-UART bridge, but there is no such feature on the dongle. And as the sample does not configure logging via USB CDC,&amp;nbsp; you will not see anything.&lt;/p&gt;
&lt;p&gt;You shoudl however see the device advertising if it is working, but that may not be the case as this sample does not explicitly support the dongle (few&amp;nbsp;does, and the dongle is not well suited as a developmednt paltform). You could hook up an external debugger to debug it, though.&lt;/p&gt;
&lt;p&gt;PS: In addition to the nRF52840 dongle being supported in very few samples, the Zephyr samples are also generally not tested by us. The samples under nrf however, are and I would recomend you use those instead when that is possible.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Zephyr sample 'peripheral' on nrf52840dk working, nrf52840 dongle not working. Blinky ok for both.</title><link>https://devzone.nordicsemi.com/thread/523066?ContentTypeID=1</link><pubDate>Fri, 14 Feb 2025 13:48:45 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:eb62fb00-fc42-45c0-beee-0baa84dc4ed7</guid><dc:creator>johnthesoftware</dc:creator><description>&lt;p&gt;Einar,&lt;/p&gt;
&lt;p&gt;There&amp;#39;s just a &amp;#39;peripheral&amp;#39; sample at ../v2.8.0/zephyr/samples/bluetooth/peripheral&lt;/p&gt;
&lt;p&gt;John&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Zephyr sample 'peripheral' on nrf52840dk working, nrf52840 dongle not working. Blinky ok for both.</title><link>https://devzone.nordicsemi.com/thread/523047?ContentTypeID=1</link><pubDate>Fri, 14 Feb 2025 12:45:58 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:e5f1259f-5e89-499a-b811-366a87c3e5e2</guid><dc:creator>Einar Thorsrud</dc:creator><description>&lt;p&gt;Hi John,&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Which exact sample are you refering to as the peripheral sample that is not working? Can you copy-paste the full path to it?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>