<?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 load HEX to nrf52840 dongle (makerdiary) via nRF Connect Programmer</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/62373/not-able-to-load-hex-to-nrf52840-dongle-makerdiary-via-nrf-connect-programmer</link><description>Hello, 
 I&amp;#39;m trying to program the Makerdiary nRF52840-MDK USB Dongle with the Bluetooth sample project central_uart but when I load the built HEX file to Programmer file memory layout, it appears as an orange block with region name MBR or Application</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Wed, 01 Jul 2020 22:00:27 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/62373/not-able-to-load-hex-to-nrf52840-dongle-makerdiary-via-nrf-connect-programmer" /><item><title>RE: Not able to load HEX to nrf52840 dongle (makerdiary) via nRF Connect Programmer</title><link>https://devzone.nordicsemi.com/thread/257948?ContentTypeID=1</link><pubDate>Wed, 01 Jul 2020 22:00:27 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:45eb1f16-eb64-4887-ab36-c93bfdd1176f</guid><dc:creator>Simon</dc:creator><description>&lt;p&gt;Okay. Hopefully, you are able to make it work. Please tell me if that approach doesn&amp;#39;t work either.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Not able to load HEX to nrf52840 dongle (makerdiary) via nRF Connect Programmer</title><link>https://devzone.nordicsemi.com/thread/256729?ContentTypeID=1</link><pubDate>Wed, 24 Jun 2020 14:02:49 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:02f58ba9-1207-4a54-9df9-7bd82d354ad7</guid><dc:creator>crasspm</dc:creator><description>&lt;p&gt;Hi Simon,&lt;/p&gt;
&lt;p&gt;Unfortunately it seems like I can&amp;#39;t get either of my dongles back into DFU mode...&amp;nbsp; Not sure what I did, my next step is to re-flash them with the JTAG interface and start over.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Not able to load HEX to nrf52840 dongle (makerdiary) via nRF Connect Programmer</title><link>https://devzone.nordicsemi.com/thread/255663?ContentTypeID=1</link><pubDate>Thu, 18 Jun 2020 06:10:03 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:fe2e61cc-c722-460b-9473-6f10d81938d2</guid><dc:creator>Simon</dc:creator><description>[quote user="crasspm"]When I do, it writes and then the dongle disconnects.&amp;nbsp;[/quote]
&lt;p&gt;After you&amp;#39;ve programmed the dongle, it should disconnect, since it&amp;#39;s not in DFU-mode. After I program the peripheral_uart sample I see the following:&lt;/p&gt;
&lt;p&gt;&lt;img src="https://devzone.nordicsemi.com/resized-image/__size/640x480/__key/support-attachments/beef5d1b77644c448dabff31668f3a47-58cc274f53444e6ebc8dd7f4d788b895/pastedimage1592460303065v2.png" alt=" " /&gt;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
[quote user="crasspm"] I can no loner get the dongle to enumerate.[/quote]
&lt;p&gt;Try pressing the RESET button, as shown in the image again. Then the device should pop up under &amp;quot;Select device&amp;quot; in the Programmer app&lt;/p&gt;
&lt;p&gt;&lt;img src="https://devzone.nordicsemi.com/resized-image/__size/640x480/__key/support-attachments/beef5d1b77644c448dabff31668f3a47-58cc274f53444e6ebc8dd7f4d788b895/pastedimage1592460280718v1.png" alt=" " /&gt;&lt;/p&gt;
[quote user="crasspm"] It also appears the sample isn&amp;#39;t running as there is no TTY device created and I see no BLE advertisements...[/quote]
&lt;p&gt;The reason you can&amp;#39;t see any BLE advertisements is&amp;nbsp;because the device isn&amp;#39;t advertising. The peripheral_uart sample is advertising indeed. Could you try to put the dongle in DFU mode and program that sample, then see if you can see it advertising (with the name &amp;quot;Nordic_UART_Service&amp;quot;).&lt;/p&gt;
&lt;p&gt;&lt;a href="https://devzone.nordicsemi.com/nordic/short-range-guides/b/getting-started/posts/nrf52840-dongle-programming-tutorial"&gt;This tutorial&lt;/a&gt;&amp;nbsp;might be worth taking a look at (even though it&amp;#39;s written for the nRF5 SDK and not 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: Not able to load HEX to nrf52840 dongle (makerdiary) via nRF Connect Programmer</title><link>https://devzone.nordicsemi.com/thread/255657?ContentTypeID=1</link><pubDate>Thu, 18 Jun 2020 05:09:40 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:ca0287c5-439a-409f-96d9-bb616deda9af</guid><dc:creator>crasspm</dc:creator><description>&lt;p&gt;Hi Simon,&lt;/p&gt;
&lt;p&gt;I updated the SDK to master and then built&amp;nbsp;&lt;strong&gt;central_uart&lt;/strong&gt; again.&amp;nbsp; When loaded to Programmer I am presented with an option to Write.&amp;nbsp; When I do, it writes and then the dongle disconnects.&amp;nbsp; I think this overwrites the bootloader because I can no loner get the dongle to enumerate.&amp;nbsp; It also appears the sample isn&amp;#39;t running as there is no TTY device created and I see no BLE advertisements...&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Not able to load HEX to nrf52840 dongle (makerdiary) via nRF Connect Programmer</title><link>https://devzone.nordicsemi.com/thread/254638?ContentTypeID=1</link><pubDate>Fri, 12 Jun 2020 09:08:38 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:ce1e7d74-7e1f-449b-9edc-b8414ce0748f</guid><dc:creator>Simon</dc:creator><description>&lt;p&gt;I don&amp;#39;t think so, assuming it is shipped with the same software as the &lt;a href="https://www.nordicsemi.com/Software-and-tools/Development-Kits/nRF52840-Dongle/Download#infotabs"&gt;nRF52840 dongle&lt;/a&gt;. I don&amp;#39;t have an overview of the hardware differences between the boards, and if a new board folder needs to be made in &lt;em&gt;zephyr/boards/arm&lt;/em&gt;, but the BLE examples shouldn&amp;#39;t be affected by this.&lt;/p&gt;
&lt;p&gt;Could you test the example&amp;nbsp;&lt;em&gt;ncs\nrf\samples\bluetooth\peripheral_uart &lt;/em&gt;on your device&amp;nbsp;and see if it is advertising?&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: Not able to load HEX to nrf52840 dongle (makerdiary) via nRF Connect Programmer</title><link>https://devzone.nordicsemi.com/thread/254572?ContentTypeID=1</link><pubDate>Thu, 11 Jun 2020 20:04:58 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:7b6c958f-0299-4dce-8807-45e1ab6c6a4b</guid><dc:creator>crasspm</dc:creator><description>&lt;p&gt;Thanks!&amp;nbsp; Does it make any difference that this is a Makerdiary model dongle?&amp;nbsp;&amp;nbsp;&lt;a href="https://wiki.makerdiary.com/nrf52840-mdk-usb-dongle/"&gt;https://wiki.makerdiary.com/nrf52840-mdk-usb-dongle/&lt;/a&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Not able to load HEX to nrf52840 dongle (makerdiary) via nRF Connect Programmer</title><link>https://devzone.nordicsemi.com/thread/254560?ContentTypeID=1</link><pubDate>Thu, 11 Jun 2020 16:17:08 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:3885a5c2-36eb-4f56-974e-1e91e1fb7e91</guid><dc:creator>Simon</dc:creator><description>&lt;p&gt;This problem should be fixed by &lt;a href="https://github.com/nrfconnect/sdk-nrf/pull/2374"&gt;this pull request&lt;/a&gt;, which should add an offset for the MBR when building examples for &lt;span&gt;nrf52840dongle_nrf52840&lt;/span&gt;. Implement that, or check out NCS master and try again. I was able to make it work with the master branch (commit e40135dd9b892e5cde733f24 when writing this).&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: Not able to load HEX to nrf52840 dongle (makerdiary) via nRF Connect Programmer</title><link>https://devzone.nordicsemi.com/thread/254344?ContentTypeID=1</link><pubDate>Wed, 10 Jun 2020 23:22:34 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:80650871-7a59-4a41-9f6a-16cfef464260</guid><dc:creator>Simon</dc:creator><description>&lt;p&gt;I&amp;#39;ve seen this issue before, I think the start address is wrong, which causes this issue. There might be something wrong with the nrf52840 dongle board file. I will try to get to the bottom of it before the weekend.&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></channel></rss>