<?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>Not able to upload Bluetooth hci_usb hex file to nRF52840-Dongle</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/60742/not-able-to-upload-bluetooth-hci_usb-hex-file-to-nrf52840-dongle</link><description>Hi, 
 My goal: F lash hci_usb in my nRF52840 Dongle, so that i can use Bluez stack in my Linux host and nRF dongle as BT controller. 
 Build status: Success 
 Flash : Failed 
 Board connection: OK, I am able to see hciconfig 
 Build command: make flash</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Mon, 21 Sep 2020 12:40:41 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/60742/not-able-to-upload-bluetooth-hci_usb-hex-file-to-nrf52840-dongle" /><item><title>RE: Not able to upload Bluetooth hci_usb hex file to nRF52840-Dongle</title><link>https://devzone.nordicsemi.com/thread/270592?ContentTypeID=1</link><pubDate>Mon, 21 Sep 2020 12:40:41 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:c33352e9-d7c9-46a7-8264-cc7fa391a9fc</guid><dc:creator>Anupam Roy</dc:creator><description>&lt;p&gt;Thanks Einar. As alternate, I downloaded nRF Connect Windows application and flashed the zephyr.hex file. It seems to work fine. Thanks for your help~&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Not able to upload Bluetooth hci_usb hex file to nRF52840-Dongle</title><link>https://devzone.nordicsemi.com/thread/269994?ContentTypeID=1</link><pubDate>Thu, 17 Sep 2020 07:34:07 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:6d028043-a704-42b1-b88d-54d0d7655b35</guid><dc:creator>Einar Thorsrud</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;The permission denied error you get is related to permissions on your computer. There are several ways to fix this, but the simplest is probably as explained in &lt;a href="https://forum.arduino.cc/index.php?topic=495039.msg3841036#msg3841036"&gt;this post&lt;/a&gt;.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Not able to upload Bluetooth hci_usb hex file to nRF52840-Dongle</title><link>https://devzone.nordicsemi.com/thread/269901?ContentTypeID=1</link><pubDate>Wed, 16 Sep 2020 13:42:57 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:a6922589-38b6-48c2-9cdf-1030554cf6fc</guid><dc:creator>Anupam Roy</dc:creator><description>&lt;p&gt;Hello Einar,&lt;/p&gt;
&lt;p&gt;&amp;nbsp;Due to some other issues, I could not look into this any further. But, now I got chance to resume this task. I tried using nrfutil dfu. Following is the command and its error output. (note: /dev/ttyACM1 is my nRF52840 Dongle)&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;$ nrfutil dfu usb-serial -pkg ./package.zip -p /dev/ttyACM1&lt;/p&gt;
&lt;p&gt;Traceback (most recent call last):&lt;br /&gt;&amp;nbsp; File &amp;quot;/home/sri/.local/lib/python3.6/site-packages/serial/serialposix.py&amp;quot;, line 265, in open&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; self.fd = os.open(self.portstr, os.O_RDWR | os.O_NOCTTY | os.O_NONBLOCK)&lt;br /&gt;PermissionError: [Errno 13] &lt;strong&gt;Permission denied: &amp;#39;/dev/ttyACM1&amp;#39;&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;I tried using nrfutil dfu serial option also. But result is same. Please suggest how to proceed. Thank you&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Not able to upload Bluetooth hci_usb hex file to nRF52840-Dongle</title><link>https://devzone.nordicsemi.com/thread/246798?ContentTypeID=1</link><pubDate>Mon, 27 Apr 2020 12:01:05 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:382c40fa-ffa5-4b7a-b4c6-202572585fb9</guid><dc:creator>Einar Thorsrud</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;As already suggested, you need to use nRF Connect Programmer unless you connect a debugger, since the nRF52840 dongle does not have an onboard debugger. Please make sure to place your application so that it starts from 0x1000 instead of 0, and also does not overlap with the bootloader at the end of the flash. You can see more information in the &lt;a href="https://devzone.nordicsemi.com/nordic/short-range-guides/b/getting-started/posts/nrf52840-dongle-programming-tutorial"&gt;nRF52840 Dongle Programming Tutorial&lt;/a&gt;. The tutorial is nRF5 SDK specific, but the key here is to 1) build the application to be correctly placed in flash, and 2) update via USB DFU.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Not able to upload Bluetooth hci_usb hex file to nRF52840-Dongle</title><link>https://devzone.nordicsemi.com/thread/246773?ContentTypeID=1</link><pubDate>Mon, 27 Apr 2020 11:11:32 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:dc6630b9-ea09-4c46-a924-887eeb517dec</guid><dc:creator>Turbo J</dc:creator><description>[quote userid="68654" url="~/f/nordic-q-a/60742/not-able-to-upload-bluetooth-hci_usb-hex-file-to-nrf52840-dongle"]nRF52840 Dongle,[/quote]
&lt;p&gt;The dongle lacks the JLink part that nrfjprog &lt;strong&gt;requires&lt;/strong&gt;. &lt;/p&gt;
&lt;p&gt;You have 2 options here:&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;Use DFU (with the .hex file and nrfutil)&lt;/li&gt;
&lt;li&gt;Connect a JLink programmer to the dongle via SWD.&lt;/li&gt;
&lt;/ol&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>