<?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 Dongle / nrfutil</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/70308/nrf52840-dongle-nrfutil</link><description>Hi 
 I am currently evaluating a 52840-DK (from 2017 I believe) and several 52840 dongles (ordered very recently). I managed to successfully run the light/switch mesh example. Both using the nrf5/mesh SDK (and softdevice s140) as well as with the (newer</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Mon, 18 Jan 2021 10:05:48 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/70308/nrf52840-dongle-nrfutil" /><item><title>RE: nrf52840 Dongle / nrfutil</title><link>https://devzone.nordicsemi.com/thread/289661?ContentTypeID=1</link><pubDate>Mon, 18 Jan 2021 10:05:48 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:0a03e247-65a6-4800-b00a-97675143d8d4</guid><dc:creator>Mttrinh</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;The easiest way would be to solder the header on the dongle and then use a programmer(like a DK) to program the dongle like a normal board. But you can use the bootloader to update the dongle as well.&lt;/p&gt;
&lt;p&gt;You can use nrfutil to create a package for NCS based application. If you don&amp;#39;t use softdevice you can just use --sd-req 0x00 and don&amp;#39;t provide softdevice hex. This package can be programmed OTA. In the zephyr application you also need to change the start address and vector table to 0x1000&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nrf52840 Dongle / nrfutil</title><link>https://devzone.nordicsemi.com/thread/289286?ContentTypeID=1</link><pubDate>Thu, 14 Jan 2021 16:47:05 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:dd5d34be-e2fa-4774-a7db-685be48208fc</guid><dc:creator>Herb</dc:creator><description>[quote userid="98635" url="~/f/nordic-q-a/70308/nrf52840-dongle-nrfutil/289023#289023"]&lt;div class="quote-user"&gt;&lt;a href="https://devzone.nordicsemi.com/f/nordic-q-a/70308/nrf52840-dongle-nrfutil/288727#288727"&gt;Mttrinh said:&lt;/a&gt;&lt;/div&gt;&lt;div class="quote-content"&gt;I don&amp;#39;t think this is normal behaviour for nRF Connect Programmer on Linux or any other platforms for that matter. Have you tried it on another computer with Linux? Or windows? Does it occur for all the dongles?&lt;/div&gt;[/quote]
&lt;p&gt;This problem is meanwhile sorted. It was indeed a configuration issue.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;The other question - about nrfutil - still remains.&lt;br /&gt;&lt;br /&gt;Thanks,&lt;br /&gt;Herb&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nrf52840 Dongle / nrfutil</title><link>https://devzone.nordicsemi.com/thread/289023?ContentTypeID=1</link><pubDate>Wed, 13 Jan 2021 19:59:43 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:dc55e98e-e787-4710-a0e8-b22e9f84627a</guid><dc:creator>Herb</dc:creator><description>&lt;p&gt;Hi&lt;/p&gt;
[quote userid="15475" url="~/f/nordic-q-a/70308/nrf52840-dongle-nrfutil/288727#288727"]I don&amp;#39;t think this is normal behaviour for nRF Connect Programmer on Linux or any other platforms for that matter. Have you tried it on another computer with Linux? Or windows? Does it occur for all the dongles?[/quote]
&lt;p&gt;I only have a single Linux box available at the moment, but it happened with all my dongles a like. No difference in behaviour whatsoever. As the &amp;quot;nrf connect app&amp;quot; doesn&amp;#39;t support all features on all platforms I am just curious to learn what kind of limitations are existing. It may well be I am missing a particular setting/configuration, etc.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
[quote userid="15475" url="~/f/nordic-q-a/70308/nrf52840-dongle-nrfutil/288727#288727"]&lt;p&gt;What do you mean by using the dongle to program other dongles? Like an external programmer? If so, no. You need a DK for this.&lt;/p&gt;
&lt;div class="quote-header"&gt;&lt;/div&gt;&lt;blockquote class="quote"&gt;&lt;div class="quote-content"&gt;&lt;/div&gt;&lt;/blockquote&gt;[/quote]
&lt;p&gt;What I meant is to program OTA.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
[quote userid="15475" url="~/f/nordic-q-a/70308/nrf52840-dongle-nrfutil/288727#288727"]Have a look at this &lt;a href="https://devzone.nordicsemi.com/nordic/short-range-guides/b/getting-started/posts/nrf52840-dongle-programming-tutorial" rel="noopener noreferrer" target="_blank"&gt;guide&lt;/a&gt;&amp;nbsp;for the different ways you can program the dongle.[/quote]
&lt;p&gt;Yes, I had read that already. Nice tutorial. If I am not totally wrong, however, then all the &lt;span style="font-family:courier new, courier;"&gt;nrfutil&lt;/span&gt; commandline examples to create a package use the &lt;span style="font-family:courier new, courier;"&gt;--sd-req&lt;/span&gt; (SoftDevice) parameter. On the other hand, this excellent &lt;a href="https://devzone.nordicsemi.com/nordic/nrf-connect-sdk-guides/b/software/posts/building-a-ble-application-on-ncs-comparing-and-contrasting-to-softdevice-based-ble-applications"&gt;article&lt;/a&gt; mentions that NCS applications don&amp;#39;t actually use SoftDevices. So what command(line) do I have to use to create a programmable package from an NCS based application? And - most important - can this package be programmed OTA.&lt;/p&gt;
&lt;p&gt;Cheers,&lt;br /&gt;Herb&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nrf52840 Dongle / nrfutil</title><link>https://devzone.nordicsemi.com/thread/288727?ContentTypeID=1</link><pubDate>Tue, 12 Jan 2021 16:32:21 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:ede41363-6098-4a15-8e1d-6440efa72c96</guid><dc:creator>Mttrinh</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
[quote user=""]After that I am able to program the device for a single time (and will then have to go through the lengthy iteration cycle again). Is this the expected behaviour on Linux? Or am I missing something in my setup maybe?[/quote]
&lt;p&gt;I don&amp;#39;t think this is normal behaviour for nRF Connect Programmer on Linux or any other platforms for that matter. Have you tried it on another computer with Linux? Or windows? Does it occur for all the dongles?&lt;/p&gt;
&lt;p&gt;Yes, it is possible to use nrfutil to program the dongle, but I think the easiset way is to use the programmer app in nRF Connect. Have a look at this &lt;a href="https://devzone.nordicsemi.com/nordic/short-range-guides/b/getting-started/posts/nrf52840-dongle-programming-tutorial" rel="noopener noreferrer" target="_blank"&gt;guide&lt;/a&gt;&amp;nbsp;for the different ways you can program the dongle.&lt;/p&gt;
[quote user=""]Also, could one dongle be used to program several other dongles or do I definitely need the DK for this?[/quote]
&lt;p&gt;What do you mean by using the dongle to program other dongles? Like an external programmer? If so, no. You need a DK for this.&lt;/p&gt;
[quote user=""]Is it somehow possible to (mis-)use the USB connection of the dongle as a console? Such that you can re-direct print statements to that console?[/quote]
&lt;p&gt;I don&amp;#39;t think this is possible.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>