<?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>Flash a nrf52840dk sniffer board</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/116657/flash-a-nrf52840dk-sniffer-board</link><description>I programmed a nrf52840dk board (PCA10056 3.0.0 2022.7 1050288497) as a sniffer. It works well. 
 Now I want to flash it to zephyr samples/basic/blinky by &amp;quot;west flash&amp;quot;. west flash -- west flash: rebuilding ninja: no work to do. -- west flash: using runner</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Wed, 27 Nov 2024 21:19:29 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/116657/flash-a-nrf52840dk-sniffer-board" /><item><title>RE: Flash a nrf52840dk sniffer board</title><link>https://devzone.nordicsemi.com/thread/512451?ContentTypeID=1</link><pubDate>Wed, 27 Nov 2024 21:19:29 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:742612d8-37fa-4d70-b0cd-604ba505b254</guid><dc:creator>Kenneth</dc:creator><description>&lt;p&gt;Hmmm, does it work on a Windows PC? Any modifications to the DK? How are the switches on the DK set? Maybe a picture?&lt;/p&gt;
&lt;p&gt;Kenneth&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Flash a nrf52840dk sniffer board</title><link>https://devzone.nordicsemi.com/thread/512433?ContentTypeID=1</link><pubDate>Wed, 27 Nov 2024 16:57:17 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:02174486-bbe5-4293-829a-159b5a75e688</guid><dc:creator>Ying</dc:creator><description>&lt;p&gt;I tested the cables with other boards. The cables are with data lines.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Flash a nrf52840dk sniffer board</title><link>https://devzone.nordicsemi.com/thread/512338?ContentTypeID=1</link><pubDate>Wed, 27 Nov 2024 12:19:58 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:565eadf2-b117-44b4-a6d0-7680808428df</guid><dc:creator>Kenneth</dc:creator><description>[quote user="Ying"]LED1 blinks fast.[/quote]
&lt;p&gt;This normally indicates some problems with data lines. Can you try other cable or other port on the PC.&lt;/p&gt;
&lt;p&gt;Kenneth&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Flash a nrf52840dk sniffer board</title><link>https://devzone.nordicsemi.com/thread/512217?ContentTypeID=1</link><pubDate>Tue, 26 Nov 2024 20:32:51 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:c6bcf382-892d-4aa9-acb4-aedff3ca3955</guid><dc:creator>Ying</dc:creator><description>&lt;p&gt;The Power switch is ON.&lt;/p&gt;
&lt;p&gt;LED1 blinks fast.&lt;/p&gt;
&lt;p&gt;Both USB cables have data lines.&lt;/p&gt;
&lt;p&gt;I work on Ubuntu 20.04.&lt;/p&gt;
&lt;p&gt;Is there a way to force the board to enter booting mode?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Flash a nrf52840dk sniffer board</title><link>https://devzone.nordicsemi.com/thread/512210?ContentTypeID=1</link><pubDate>Tue, 26 Nov 2024 17:36:46 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:838d979e-0913-461f-899b-cc1d8dcf479f</guid><dc:creator>Kenneth</dc:creator><description>&lt;p&gt;Sorry to ask, but is the Power switch put to ON? Which LEDs turn ON? And both USB cables do have data lines (and not only power for charging).&lt;/p&gt;
&lt;p&gt;Any unknown devices in Device Manager in Windows?&lt;/p&gt;
&lt;p&gt;Edit: If there are unknown devices in Windows, if you for instance download&amp;nbsp;&lt;span&gt;SEGGER USB Driver for J-Link from&amp;nbsp;&lt;/span&gt;&lt;a href="https://www.segger.com/downloads/jlink"&gt;SEGGER J-Link&lt;/a&gt;&lt;span&gt;&amp;nbsp;v7.94i.&amp;nbsp;&lt;/span&gt;Navigate to the download location of the J-Link executable and run the following commands from the Command Prompt (run &amp;quot;cmd&amp;quot; in windows):&lt;/p&gt;
&lt;p&gt;&lt;span&gt;JLink_Windows_V794i_x86_64&lt;/span&gt;&lt;span&gt;.&lt;/span&gt;&lt;span&gt;exe&lt;/span&gt; &lt;span&gt;-&lt;/span&gt;&lt;span&gt;InstUSBDriver&lt;/span&gt;&lt;span&gt;=&lt;/span&gt;&lt;span&gt;1&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Does that make any difference?&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;Kenneth&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Flash a nrf52840dk sniffer board</title><link>https://devzone.nordicsemi.com/thread/512187?ContentTypeID=1</link><pubDate>Tue, 26 Nov 2024 15:17:08 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:c6be207b-2461-4a4b-a255-2e1e0f00d4ab</guid><dc:creator>Ying</dc:creator><description>&lt;p&gt;There are two USB ports.&lt;br /&gt;I connected the two ports. And the system only showed the port of the nRF USB. The port next to the Battery can&amp;#39;t be discovered.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Flash a nrf52840dk sniffer board</title><link>https://devzone.nordicsemi.com/thread/512134?ContentTypeID=1</link><pubDate>Tue, 26 Nov 2024 13:28:41 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:9e41a1a5-67f4-4b95-a4f5-53563f25c1cc</guid><dc:creator>Kenneth</dc:creator><description>&lt;p&gt;Just to make sure I don&amp;#39;t understand, the nRF52840-DK have two USB ports, one used for programming and debugging (e.g. used by nrfjprog), and one USB port used for the application that might be running on the nRF52840.&lt;/p&gt;
&lt;p&gt;Kenneth&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Flash a nrf52840dk sniffer board</title><link>https://devzone.nordicsemi.com/thread/512002?ContentTypeID=1</link><pubDate>Mon, 25 Nov 2024 21:35:49 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:77e547dc-2100-4322-bf7e-9de3635d6767</guid><dc:creator>Ying</dc:creator><description>&lt;p&gt;USB cable is connected to the &amp;quot;nRF USB&amp;quot; port next to the &amp;quot;IF BOOT/RESET&amp;quot; button.&lt;/p&gt;
&lt;p&gt;&lt;br /&gt;After plug in the board, dmesg shows:&lt;/p&gt;
&lt;p&gt;&lt;span&gt;[ +6.918874] usb 3-2: new full-speed USB device number 6 using xhci_hcd&lt;br /&gt;[ +0.253505] usb 3-2: New USB device found, idVendor=1915, idProduct=522a, bcdDevice= 2.04&lt;br /&gt;[ +0.000009] usb 3-2: New USB device strings: Mfr=1, Product=2, SerialNumber=3&lt;br /&gt;[ +0.000001] usb 3-2: Product: nRF Sniffer for Bluetooth LE&lt;br /&gt;[ +0.000001] usb 3-2: Manufacturer: ZEPHYR&lt;br /&gt;[ +0.000001] usb 3-2: SerialNumber: 49F8F9D7E8AE3B9E&lt;br /&gt;[ +0.003185] cdc_acm 3-2:1.0: ttyACM0: USB ACM device&lt;br /&gt;&lt;br /&gt;ls -hal /dev/serial/by-id&lt;br /&gt;total 0&lt;br /&gt;drwxr-xr-x 2 root root 60 Nov 25 14:29 .&lt;br /&gt;drwxr-xr-x 4 root root 80 Nov 25 14:29 ..&lt;br /&gt;lrwxrwxrwx 1 root root 13 Nov 25 14:29 usb-ZEPHYR_nRF_Sniffer_for_Bluetooth_LE_49F8F9D7E8AE3B9E-if00 -&amp;gt; ../../ttyACM0&lt;br /&gt;&lt;br /&gt;nrfjprog --version&lt;br /&gt;nrfjprog version: 10.24.2 external&lt;br /&gt;JLinkARM.dll version: 7.94e&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;source ~/zephyrproject/.venv/bin/activate&lt;br /&gt;cd ~/zephyrproject/zephyr&lt;br /&gt;west build -p -b nrf52840dk/nrf52840 samples/basic/blinky&lt;br /&gt;...&lt;br /&gt;[3/135] Generating include/generated/zephyr/version.h&lt;br /&gt;-- Zephyr version: 4.0.0-rc3 (/home/yc/zephyrproject/zephyr), build: v4.0.0-rc3-227-g9ffc4b1df8a7&lt;br /&gt;[135/135] Linking C executable zephyr/zephyr.elf&lt;br /&gt;Memory region Used Size Region Size %age Used&lt;br /&gt; FLASH: 18732 B 1 MB 1.79%&lt;br /&gt; RAM: 5696 B 256 KB 2.17%&lt;br /&gt; IDT_LIST: 0 GB 32 KB 0.00%&lt;br /&gt;Generating files from /home/yc/zephyrproject/zephyr/build/zephyr/zephyr.elf for board: nrf52840dk&lt;/p&gt;
&lt;p&gt;west flash&lt;br /&gt;-- west flash: rebuilding&lt;br /&gt;ninja: no work to do.&lt;br /&gt;-- west flash: using runner nrfjprog&lt;br /&gt;-- runners.nrfjprog: reset after flashing requested&lt;br /&gt;FATAL ERROR: Unable to find a board; is the board connected?&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Then I tried to hold the IF BOOT/RESET button and unplug/plug the USB cable to reboot. The board has no change.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;I&amp;#39;m wondering how I can flash the board back to MCUBoot mode or other program so that I can use west flash.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Thanks!&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Flash a nrf52840dk sniffer board</title><link>https://devzone.nordicsemi.com/thread/511993?ContentTypeID=1</link><pubDate>Mon, 25 Nov 2024 20:15:45 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:f5c74651-e3eb-424b-bf2d-0a4ceb4210ef</guid><dc:creator>Kenneth</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;Sorry, for some reason I though you were using the nRF52840 USB dongle, since that is the one I use most as BLE sniffer.&lt;/p&gt;
&lt;p&gt;Can you show me how you have connected the nRF52840-DK, and also how you managed to program the sniffer firmware?&lt;/p&gt;
&lt;p&gt;If you run for instance &amp;quot;nrfjprog --version&amp;quot; in command line, what does it output? If you haven&amp;#39;t already, make sure to follow:&amp;nbsp;&lt;a href="https://academy.nordicsemi.com/courses/nrf-connect-sdk-fundamentals/lessons/lesson-1-nrf-connect-sdk-introduction/"&gt;https://academy.nordicsemi.com/courses/nrf-connect-sdk-fundamentals/lessons/lesson-1-nrf-connect-sdk-introduction/&lt;/a&gt;&amp;nbsp;(in specific&amp;nbsp;Exercise 1 that show what you should install)&lt;/p&gt;
&lt;p&gt;Kenneth&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Flash a nrf52840dk sniffer board</title><link>https://devzone.nordicsemi.com/thread/511796?ContentTypeID=1</link><pubDate>Sun, 24 Nov 2024 22:07:40 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:07d7cf57-d75e-4910-bb63-6e4c7551b73e</guid><dc:creator>Ying</dc:creator><description>&lt;p&gt;Hi Kenneth,&lt;/p&gt;
&lt;p&gt;Thank you very much for your time on this issue.&lt;/p&gt;
&lt;p&gt;The board is a nRF52840-DK board as I mentioned PCA10056). Thanks!&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Flash a nrf52840dk sniffer board</title><link>https://devzone.nordicsemi.com/thread/511792?ContentTypeID=1</link><pubDate>Sun, 24 Nov 2024 20:40:32 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:d3376ed3-e536-4090-a202-5046ba36a23d</guid><dc:creator>Kenneth</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;I highly recommend to get an nRF52840-DK instead, then you get proper programming and debugging environment with access to all pins. The nRF52840 USB dongle don&amp;#39;t have that possibility, and is (at least in my experience) more useful for demo purposes, such as to test a finish product, or sniffer, or work with the BLE app in the nRF Connect SDK for desktop.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Edit: Sorry, I can see now you are using the nRF52840-DK already. I thought you were using the dongle.&lt;/p&gt;
&lt;p&gt;Kenneth&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>