<?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 debugging with DK was working now isn&amp;#39;t.</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/76647/nrf52840-dongle-debugging-with-dk-was-working-now-isn-t</link><description>Hi all, 
 apologies i know there are a lot of posts about this but i cant find the exact answer. I&amp;#39;m using the nrf52840 dongle, with a DK connected to the programming header. 
 i have followed the nrf52840-dongle-programming-tutorial and was able to debug</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Fri, 25 Jun 2021 09:30:47 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/76647/nrf52840-dongle-debugging-with-dk-was-working-now-isn-t" /><item><title>RE: nrf52840 dongle debugging with DK was working now isn't.</title><link>https://devzone.nordicsemi.com/thread/317165?ContentTypeID=1</link><pubDate>Fri, 25 Jun 2021 09:30:47 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:4f931ef4-515a-45b2-8cb4-693b648d1393</guid><dc:creator>michaelmac</dc:creator><description>&lt;p&gt;thank you :)&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nrf52840 dongle debugging with DK was working now isn't.</title><link>https://devzone.nordicsemi.com/thread/316761?ContentTypeID=1</link><pubDate>Wed, 23 Jun 2021 13:33:39 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:b99eb29c-6323-4e40-a286-774d2aab1006</guid><dc:creator>Hung Bui</dc:creator><description>&lt;p&gt;Hi again Michael,&amp;nbsp;&lt;br /&gt;No you don&amp;#39;t need the MBR if you don&amp;#39;t plan to use the bootloader in the end product.&amp;nbsp;&lt;br /&gt;For now you can just erase the whole chip and just flash the application.&amp;nbsp;&lt;br /&gt;If you want the bootloader then you need to change the start address of the application to 0x1000 and flash the MBR and the bootloader back in.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nrf52840 dongle debugging with DK was working now isn't.</title><link>https://devzone.nordicsemi.com/thread/316752?ContentTypeID=1</link><pubDate>Wed, 23 Jun 2021 13:15:59 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:8cfb76c4-c1d3-4659-a130-d25cf5831eca</guid><dc:creator>michaelmac</dc:creator><description>&lt;p&gt;Hi thanks for the reply.&amp;nbsp; i was programming them by selecting debug-&amp;gt;go.&amp;nbsp; can see the details in the output window in the picture i attached.&amp;nbsp;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;i think i understand what you mean, so the bootloader was not deleted when i programmed my application (and mbr) via debug, therefore it probably fails CRC check?&amp;nbsp;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;I erased the whole chip, then programmed my application (no MBR or bootloader)&amp;nbsp;which worked fine. Now seeing your message i retried with mbr + application and it still works with debugging :)&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Do i still need the mbr if not using the bootloader, and how does it know where my application resides?&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nrf52840 dongle debugging with DK was working now isn't.</title><link>https://devzone.nordicsemi.com/thread/316684?ContentTypeID=1</link><pubDate>Wed, 23 Jun 2021 11:05:38 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:f19500c6-a340-43de-a3a0-7b97958d55d0</guid><dc:creator>Hung Bui</dc:creator><description>&lt;p&gt;Hi Michael,&amp;nbsp;&lt;br /&gt;Could you let me know how you program the blinky example and the uart example to the dongle ?&amp;nbsp;&lt;br /&gt;Note that if you have the bootloader still remain on the dongle, the bootloader would expect that all application on the dongle is updated via the bootloader not directly flashed (CRC check or hash check, depends on how you configure the bootloader).&amp;nbsp;&lt;/p&gt;
&lt;p&gt;So my suggestion, if you are doing development and you have soldered the header on P1, you can just erase the bootloader and keep only the MBR on the board.&amp;nbsp;&lt;br /&gt;When you have the final image ready you can flash the bootloader back and use the bootloader to flash your application to the dongle.&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>