<?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>Programming nRF52840 Dongle in nRF Connect Programmer</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/65486/programming-nrf52840-dongle-in-nrf-connect-programmer</link><description>Hi All, 
 I was trying to program a simple LED peripheral hex file to the nRF52840 dongle. 
 Initially I was modifying an existing sample program from one of the examples given in the SDK. 
 The example folder contains several supporting boards such as</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Mon, 14 Sep 2020 04:00:51 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/65486/programming-nrf52840-dongle-in-nrf-connect-programmer" /><item><title>RE: Programming nRF52840 Dongle in nRF Connect Programmer</title><link>https://devzone.nordicsemi.com/thread/269271?ContentTypeID=1</link><pubDate>Mon, 14 Sep 2020 04:00:51 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:61769625-9e6a-498b-b6a4-1414c3fa6e77</guid><dc:creator>Radio</dc:creator><description>&lt;p&gt;Thanks for the information..&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Programming nRF52840 Dongle in nRF Connect Programmer</title><link>https://devzone.nordicsemi.com/thread/269265?ContentTypeID=1</link><pubDate>Sun, 13 Sep 2020 14:27:05 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:97961387-6786-4e99-8393-49a9fd015c02</guid><dc:creator>Kenneth</dc:creator><description>&lt;p&gt;The USB dongle (pca10059) does not have a SEGGER j-link programmer on board (with SWD interface) like the DK (pca10059) does. This means there are limitations to programming, please see my previous answer:&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;If you want to develop using nRF52840 usb dongle (pca10059), then check out:&lt;/span&gt;&lt;br /&gt;&lt;a href="https://devzone.nordicsemi.com/nordic/short-range-guides/b/getting-started/posts/nrf52840-dongle-programming-tutorial"&gt;https://devzone.nordicsemi.com/nordic/short-range-guides/b/getting-started/posts/nrf52840-dongle-programming-tutorial&lt;/a&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Programming nRF52840 Dongle in nRF Connect Programmer</title><link>https://devzone.nordicsemi.com/thread/269245?ContentTypeID=1</link><pubDate>Sat, 12 Sep 2020 13:35:50 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:b8cf6682-3323-4c34-b45d-9d3e84702333</guid><dc:creator>Radio</dc:creator><description>&lt;p&gt;Hi Kenneth,&lt;/p&gt;
&lt;p&gt;I am still not clear about the reason why I could not flash the hex using the NRF Connect Programmer.&lt;/p&gt;
&lt;p&gt;Basically in the examples/peripheral/blinky prokect folder, there are few folders.&lt;/p&gt;
&lt;p&gt;One is the DK (pca10056) and the other is the Dongle (pca10059). Both shares the same main.c file. However, for pca10059 the Segger project folder is in &amp;quot;mbr&amp;quot; and for pca10056, Segger project is in &amp;quot;blank&amp;quot; folder.&lt;/p&gt;
&lt;p&gt;I can flash the pca10059_mbr.hex using NRF Connect Programmer software. However, I cannot flash blink_pca10056.hex which was built by compiling the project in pca10056.&lt;/p&gt;
&lt;p&gt;If both DK and Dongle are using the same nrf52840 chip, why I cannot download the blink_pca10056.hex using the NRF Connect Programmer?&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Thank you!!&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Programming nRF52840 Dongle in nRF Connect Programmer</title><link>https://devzone.nordicsemi.com/thread/267585?ContentTypeID=1</link><pubDate>Wed, 02 Sep 2020 10:05:53 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:b3ab570f-3abe-4e3d-ab77-d5dfe4687bbf</guid><dc:creator>Radio</dc:creator><description>&lt;p&gt;Ok, so when I build using Segger Embedded Studio, it combines Bootloader + Application + Softdevice to create the &amp;quot;hex&amp;quot; file?&lt;/p&gt;
&lt;p&gt;Thanks!&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Programming nRF52840 Dongle in nRF Connect Programmer</title><link>https://devzone.nordicsemi.com/thread/267583?ContentTypeID=1</link><pubDate>Wed, 02 Sep 2020 10:03:56 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:53b72ca0-aa3e-4c37-8ad9-203377c4dd91</guid><dc:creator>Kenneth</dc:creator><description>&lt;p&gt;During development I assume you have compiled a project with one or several hex files. Then power your board, connect the SWD interface, run one or several times:&lt;/p&gt;
&lt;p&gt;nrfjprog --program your_hex_file_1 --sectorerase&lt;/p&gt;
&lt;p&gt;Best regards,&lt;br /&gt;Kenneth&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Programming nRF52840 Dongle in nRF Connect Programmer</title><link>https://devzone.nordicsemi.com/thread/267580?ContentTypeID=1</link><pubDate>Wed, 02 Sep 2020 09:50:59 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:0d572472-f477-4920-a4f1-953180d6efa4</guid><dc:creator>Radio</dc:creator><description>&lt;p&gt;Hi Kenneth,&lt;/p&gt;
&lt;p&gt;Many thanks for the reply. I mean not hardware. If I am going to use Segger Embedded Studio and the nRF52840DK, what sort of settings/configurations I should do in software development?&lt;/p&gt;
&lt;p&gt;Should I do any configurations on Bootloader+Application+Softdevice? (e.g. Bootloader starting address etc..)&lt;/p&gt;
&lt;p&gt;Basically, I want to know if I have my own hardware board, fresh from the factory, what are the steps I need to perform in software configurations?&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Thanks!&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Programming nRF52840 Dongle in nRF Connect Programmer</title><link>https://devzone.nordicsemi.com/thread/267578?ContentTypeID=1</link><pubDate>Wed, 02 Sep 2020 09:41:28 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:4caa5445-86bb-4437-b0bf-7a6d734c3674</guid><dc:creator>Kenneth</dc:creator><description>&lt;p&gt;You need to expose the SWD interface (2 pins), and VDD and GND. You can program your own module from the nRF52840-DK during development,&amp;nbsp;but for production programming you should look at a proper production programmer&amp;nbsp;from for instance SEGGER. Also check out:&lt;/p&gt;
&lt;p&gt;&lt;a href="https://infocenter.nordicsemi.com/topic/ug_getting_started/UG/gs/prod_test_prog.html"&gt;https://infocenter.nordicsemi.com/topic/ug_getting_started/UG/gs/prod_test_prog.html&lt;/a&gt;&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Programming nRF52840 Dongle in nRF Connect Programmer</title><link>https://devzone.nordicsemi.com/thread/267567?ContentTypeID=1</link><pubDate>Wed, 02 Sep 2020 09:03:09 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:54231a9c-d306-4fde-aa32-29e86ffbaa1c</guid><dc:creator>Radio</dc:creator><description>&lt;p&gt;Hi PaulGui,&lt;/p&gt;
&lt;p&gt;Thanks for the reply.&amp;nbsp; Any ideas from where I can check these definitions?&lt;/p&gt;
&lt;p&gt;Thanks!&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Programming nRF52840 Dongle in nRF Connect Programmer</title><link>https://devzone.nordicsemi.com/thread/267565?ContentTypeID=1</link><pubDate>Wed, 02 Sep 2020 08:57:27 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:72afeccb-5703-4196-b350-77bb20cef5ff</guid><dc:creator>Radio</dc:creator><description>&lt;p&gt;Hi Kenneth,&lt;/p&gt;
&lt;p&gt;After development, If I am going to flash it to my own design board, what steps should do in terms of software?&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Thanks!&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Programming nRF52840 Dongle in nRF Connect Programmer</title><link>https://devzone.nordicsemi.com/thread/267563?ContentTypeID=1</link><pubDate>Wed, 02 Sep 2020 08:55:53 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:8633dfcb-3066-4ad4-8de4-fe6fa858efcc</guid><dc:creator>Kenneth</dc:creator><description>&lt;p&gt;For development I recommend an nRF52840-DK (pca10056), since it contain debugger/programmer on the board. If you want to develop using nRF52840 usb dongle (pca10059), then check out:&lt;br /&gt;&lt;a href="https://devzone.nordicsemi.com/nordic/short-range-guides/b/getting-started/posts/nrf52840-dongle-programming-tutorial"&gt;https://devzone.nordicsemi.com/nordic/short-range-guides/b/getting-started/posts/nrf52840-dongle-programming-tutorial&lt;/a&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Programming nRF52840 Dongle in nRF Connect Programmer</title><link>https://devzone.nordicsemi.com/thread/267558?ContentTypeID=1</link><pubDate>Wed, 02 Sep 2020 08:47:51 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:8d34c35f-c050-4434-a74f-9add9ac8eb3b</guid><dc:creator>PaulGui</dc:creator><description>&lt;p&gt;Hi !&lt;br /&gt;I&amp;#39;m not a expert with nRF board but dongle are using PCA10059 and not PCA10056 that&amp;#39;s maybe why you can&amp;#39;t program with PCA10056 linked code.&lt;br /&gt;When you are programming with segger, there is a memory gesture and preprocessor definition which will be different between boards. &lt;br /&gt;Sincerely PG&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>