<?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>nRF52840 dk does not advertise</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/113058/nrf52840-dk-does-not-advertise</link><description>Hello, I am going through the Bluetooth Low Energy Fundamentals provided by Nordic. 
 My nrf 52840 dk could function fine after lesson1, but when I flash my board with the lesson 2 exercise 1 solution, the board does not advertise. Here is the link to</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Thu, 25 Jul 2024 13:46:37 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/113058/nrf52840-dk-does-not-advertise" /><item><title>RE: nRF52840 dk does not advertise</title><link>https://devzone.nordicsemi.com/thread/495656?ContentTypeID=1</link><pubDate>Thu, 25 Jul 2024 13:46:37 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:b059ba6d-0a5b-49d1-ad39-9f56f9d295a1</guid><dc:creator>Simonr</dc:creator><description>&lt;p&gt;1. Yes, if you cut SB47, but it&amp;#39;s also to make sure the voltage level matches on the DK and the custom board.&lt;/p&gt;
&lt;p&gt;2. You need to make a board file to match your custom board, as I assume at least some of the pin configurations are different in your custom board, so you need to change the project board file or add an overlay file. This is thoroughly explained in the DevAcademy course &amp;quot;&lt;a href="https://academy.nordicsemi.com/courses/nrf-connect-sdk-fundamentals/"&gt;nRF Connect SDK fundamentals&lt;/a&gt;&amp;quot;.&lt;/p&gt;
&lt;p&gt;3. See the course above, as it also explains device trees nd how to set up a custom board in NCS.&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><item><title>RE: nRF52840 dk does not advertise</title><link>https://devzone.nordicsemi.com/thread/495607?ContentTypeID=1</link><pubDate>Thu, 25 Jul 2024 11:12:57 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:1ab2f1bf-84f2-4549-8dcc-44f948bc8841</guid><dc:creator>Mohammad Riahi</dc:creator><description>&lt;p&gt;Thank you for your help&amp;nbsp;&lt;/p&gt;
&lt;p&gt;I just had three quick questions, and I would appreciate it if you could answer them.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;1.VDD in P20 is to power up the external board?&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;br /&gt;2. So far I have been programming the DK and to flash the external board I don&amp;rsquo;t need to make any software configuration changes in VS code right?&amp;nbsp;&lt;/p&gt;
&lt;p&gt;3. If no additional software configurations are needed to program the external board, then which device tree would be referenced? I guess the SoC device tree, right?&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF52840 dk does not advertise</title><link>https://devzone.nordicsemi.com/thread/495602?ContentTypeID=1</link><pubDate>Thu, 25 Jul 2024 10:59:39 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:5ba66348-775d-48b4-9664-ba1a489093f5</guid><dc:creator>Simonr</dc:creator><description>&lt;p&gt;Hi&lt;/p&gt;
&lt;p&gt;1. Correct.&lt;/p&gt;
&lt;p&gt;2-4. Please see this image for how you should connect a custom board to your DK to program it:&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&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/2235.flash_2D00_custom_2D00_board.JPG" /&gt;&lt;/p&gt;
&lt;p&gt;5. It should most likely be okay, but we can&amp;#39;t 100% guarantee that the flashing procedure will be done correctly if the voltages don&amp;#39;t match.&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><item><title>RE: nRF52840 dk does not advertise</title><link>https://devzone.nordicsemi.com/thread/494947?ContentTypeID=1</link><pubDate>Mon, 22 Jul 2024 00:48:15 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:b3f7f4e0-f3f9-4fee-bc82-2f2d117c6d1e</guid><dc:creator>Mohammad Riahi</dc:creator><description>&lt;p&gt;Thanks for the reply,&amp;nbsp;&lt;/p&gt;
&lt;p&gt;I have a few questions about the info on the provided link.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;1. If I understand correctly, If I short the SB47 bridge, I can use pin 1 to power my external board, but if I do not short the bridge then I need to connect the VCC on my board to pin 1 to detect the external board and target that instead of the onboard SoC right?&amp;nbsp;&lt;/p&gt;
&lt;p&gt;2. Does&amp;nbsp;&lt;span&gt;SH_VTG mean it is the pin that enables the interface MCU to detect the VCC on my external board and target that instead of the onboard SoC on the DK?&amp;nbsp;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;3. I prefer using P20 to program the external board because I do not have a 10-pin connector. However, the default connector used to program the external board is P19, do you know how can I change it so that P20 is used to program the external board?&amp;nbsp;&lt;/p&gt;
&lt;p&gt;4. If I want to use P20 to&amp;nbsp;&lt;span&gt;program the external board, then I need to connect&amp;nbsp;&amp;nbsp;SH_VTG,&amp;nbsp;SH_SWDIO,&amp;nbsp;SH_SWDCLK, and&amp;nbsp;SH_GND_DETECTon the DK to VCC, SWDIO, SWCLK, and GND on my external board, respectively right?&amp;nbsp;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;5. It said that the VDD&amp;nbsp; is 3 V on the DK, on my board VCC is 3.3 V this mismatch won&amp;#39;t cause that much of a problem, right?&amp;nbsp;&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF52840 dk does not advertise</title><link>https://devzone.nordicsemi.com/thread/494695?ContentTypeID=1</link><pubDate>Fri, 19 Jul 2024 05:24:08 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:f6e2821a-9c65-4a56-a94b-68386e744cae</guid><dc:creator>runsiv</dc:creator><description>&lt;p&gt;Hi&lt;/p&gt;
&lt;p&gt;Glad to hear it worked.&amp;nbsp;&lt;/p&gt;
[quote user="Mohammad Riahi"]&lt;p&gt;I have one more question. I have a custom PCB with nrf52840 chip. I&amp;nbsp;want to program it with the nrf52840 dk but not sure how I can do it in VS code. I know I have to make 4 connections (&amp;nbsp;VCC, GND,&amp;nbsp;SWDIO, and&amp;nbsp;SWDCLK), but other than that not sure how to configure the code to flash the custom PCB.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;[/quote]
&lt;p&gt;No problem, just follow the instruction from &lt;a href="https://docs.nordicsemi.com/bundle/ug_nrf52840_dk/page/UG/dk/hw_debug_out.html"&gt;here&lt;/a&gt;&amp;nbsp;and then select the DK as target for your application and flash it. It&amp;#39;s same if you use VScode or nrfjprog&lt;/p&gt;
&lt;p&gt;Regards&lt;/p&gt;
&lt;p&gt;Runar&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF52840 dk does not advertise</title><link>https://devzone.nordicsemi.com/thread/494684?ContentTypeID=1</link><pubDate>Fri, 19 Jul 2024 03:26:38 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:9b5f89a8-c47e-4111-9f5b-2d519be2405f</guid><dc:creator>Mohammad Riahi</dc:creator><description>&lt;p&gt;It worked.&amp;nbsp;I was missing that, thanks for pointing it out.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;I have one more question. I have a custom PCB with nrf52840 chip. I&amp;nbsp;want to program it with the nrf52840 dk but not sure how I can do it in VS code. I know I have to make 4 connections (&amp;nbsp;VCC, GND,&amp;nbsp;SWDIO, and&amp;nbsp;SWDCLK), but other than that not sure how to configure the code to flash the custom PCB.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Most forums I have seen have used an IDE different from VS code.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Could you please guide me on how to do it?&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Sincerely,&amp;nbsp;&lt;/p&gt;
&lt;p&gt;MR&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF52840 dk does not advertise</title><link>https://devzone.nordicsemi.com/thread/494470?ContentTypeID=1</link><pubDate>Thu, 18 Jul 2024 05:44:10 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:20c0f95c-da4b-4ce8-9e0a-f9bde09599fb</guid><dc:creator>runsiv</dc:creator><description>&lt;p&gt;Hi&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Please use the same toolchain version as the sdk version. Also I see you have the 52840dongle as the build target and not the 52840dk. Try to switch to the DK as build target, rebuild the application and flash it&lt;/p&gt;
&lt;p&gt;Regards&lt;/p&gt;
&lt;p&gt;Runar&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF52840 dk does not advertise</title><link>https://devzone.nordicsemi.com/thread/494439?ContentTypeID=1</link><pubDate>Wed, 17 Jul 2024 21:59:49 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:b41689f7-175c-4445-b6fd-55cb7126cabd</guid><dc:creator>Mohammad Riahi</dc:creator><description>&lt;p&gt;Thanks for the reply,&amp;nbsp;&lt;/p&gt;
&lt;p&gt;I updated my toolchain to v2.7 and NCS to v2.6, but still nothing. I recorded my screen and reviewed different files and parts of the program. Please watch it and let me know if you see anything wrong.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;I would appreciate the help.&amp;nbsp;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;a href="https://devzone.nordicsemi.com/cfs-file/__key/communityserver-discussions-components-files/4/2024_2D00_07_2D00_17_2D00_17_2D00_24_2D00_41.mp4"&gt;devzone.nordicsemi.com/.../2024_2D00_07_2D00_17_2D00_17_2D00_24_2D00_41.mp4&lt;/a&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF52840 dk does not advertise</title><link>https://devzone.nordicsemi.com/thread/494266?ContentTypeID=1</link><pubDate>Wed, 17 Jul 2024 05:41:20 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:cff78ae6-5716-4f11-ada1-d984c6ad9f64</guid><dc:creator>runsiv</dc:creator><description>&lt;p&gt;Hi Mohammad&lt;/p&gt;
&lt;p&gt;I would recommend upgrading to a either NCS 2.7 or NCS 2.6.1,&amp;nbsp;&lt;/p&gt;
&lt;p&gt;There is no need to flash another sample as the code in the lesson already has all the logs that we will need from it. I just tested it myself and it haveded just like how I would expect it to work. But you don&amp;#39;t see anything in your terminal at all?&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Regards&lt;/p&gt;
&lt;p&gt;Runar&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF52840 dk does not advertise</title><link>https://devzone.nordicsemi.com/thread/494225?ContentTypeID=1</link><pubDate>Tue, 16 Jul 2024 16:54:56 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:43b37309-e138-4b40-af81-8c198160455c</guid><dc:creator>Mohammad Riahi</dc:creator><description>&lt;p&gt;Thanks for the reply&amp;nbsp;&lt;/p&gt;
&lt;p&gt;I do not get any logs from the device. I went back to the RF Connect SDK Fundamentals course and flashed my board with lesson 4 exercise 2 solution code which was the intro to log and I was getting log messages.&amp;nbsp; I did make sure that I have log enabled in the proj.config file and use the macro LOG_MODULE_REGISTER in my BLE program.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;I commented out everything in the program except for&amp;nbsp; LOG_MODULE_REGISTER, and a LOG_INF and still did not get anything printed. Any suggestion?&lt;/p&gt;
&lt;p&gt;The version of the toolchain I use is 2.5.2&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF52840 dk does not advertise</title><link>https://devzone.nordicsemi.com/thread/494102?ContentTypeID=1</link><pubDate>Tue, 16 Jul 2024 11:00:01 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:455f2a82-8265-405b-8b05-b677f35bb316</guid><dc:creator>runsiv</dc:creator><description>&lt;p&gt;Hi&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Do you have any log from the DK? Which version of NCS and the toolchain do you use?&lt;/p&gt;
&lt;p&gt;Regards&lt;/p&gt;
&lt;p&gt;Runar&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>