<?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>recovering NRF52DK with bootloader</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/89052/recovering-nrf52dk-with-bootloader</link><description>I have a DK board with nRF52832 that I&amp;#39;ve been using several months with no problems. 
 
 Today I wanted to try an experiment and did some modifications to the startup ASM file, and since then I am unable to reprogram. Initially, the jLink wa sno longer</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Wed, 03 Aug 2022 09:16:34 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/89052/recovering-nrf52dk-with-bootloader" /><item><title>RE: recovering NRF52DK with bootloader</title><link>https://devzone.nordicsemi.com/thread/379838?ContentTypeID=1</link><pubDate>Wed, 03 Aug 2022 09:16:34 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:99a9ed1c-f047-43f0-aa64-1eae67a7e55d</guid><dc:creator>Vidar Berg</dc:creator><description>&lt;p&gt;Thanks for the update!&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: recovering NRF52DK with bootloader</title><link>https://devzone.nordicsemi.com/thread/379835?ContentTypeID=1</link><pubDate>Wed, 03 Aug 2022 09:14:05 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:1238e3a1-ac90-4f88-ab50-8ca03841e7f9</guid><dc:creator>danmcb</dc:creator><description>&lt;p&gt;seemed to be some kind of hardware/wiring issue. The problem went away of its own accord. You may close this ticket, sorry for wasting your time with it.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: recovering NRF52DK with bootloader</title><link>https://devzone.nordicsemi.com/thread/373014?ContentTypeID=1</link><pubDate>Fri, 17 Jun 2022 12:10:07 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:b83f8573-99cf-4649-99b9-417e3116d9ce</guid><dc:creator>Vidar Berg</dc:creator><description>&lt;p&gt;Hello,&lt;/p&gt;
&lt;p&gt;You should not be able to brick the device even if you are playing around with the startup files. The only known configuration/condition that can cause the chip to become in an unrecoverable state is the one described in the errata here: &lt;span&gt;&lt;a href="https://infocenter.nordicsemi.com/topic/errata_nRF52832_Rev3/ERR/nRF52832/Rev3/latest/anomaly_832_176.html?cp=4_2_1_0_1_44"&gt;[176] System: Flash erase through CTRL-AP fails due to watchdog time-out&lt;/a&gt;.&lt;/span&gt;&lt;/p&gt;
[quote user=""]Initially, the jLink wa sno longer visible from my host system.[/quote]
&lt;p&gt;Sounds like it could have been a temporary bad USB connection? The FW running on the nRF should definitely not affect how the Jlink FW runs on the interface MCU.&lt;/p&gt;
[quote user="danmcb"]the code was playing with SWO interface somehow, which mine does not).[/quote]
&lt;p&gt;&lt;span&gt;The SWD interface is always available regardless of SWO/trace settings.&lt;/span&gt;&lt;/p&gt;
[quote user="danmcb"]I&amp;#39;ve seen a number of these tickets where people could not recover and most have not had a reply from Nordic. It would be great to get, at least, some explanation of why this has happened and perhaps how to avoid it.[/quote]
&lt;p&gt;It&amp;#39;s usually a bad connection somewhere or wrong logic levels (i.e. mismatch between programmer and target). But there seems to seems to be some communication between the Jlink and nrf in your case at least.&lt;/p&gt;
[quote user="danmcb"]I also tried with a Segger JLink unit, still no success.[/quote]
&lt;p&gt;Could you try with the latest version of nrfjprog as well?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: recovering NRF52DK with bootloader</title><link>https://devzone.nordicsemi.com/thread/372946?ContentTypeID=1</link><pubDate>Fri, 17 Jun 2022 08:07:40 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:9b0d7d27-13ea-4c2c-b70d-dc5c8352d04a</guid><dc:creator>danmcb</dc:creator><description>&lt;p&gt;I also tried with a Segger JLink unit, still no success.&lt;/p&gt;
&lt;p&gt;Trashing a single dev board is not that big of a deal for us, but what is annoying is not knowing why. I understand that modifying asm startup code is a delicate matter, but it should not brick the board so that FLASH cannot be erased any more (unless maybe the code was playing with SWO interface somehow, which mine does not).&lt;/p&gt;
&lt;p&gt;I&amp;#39;ve seen a number of these tickets where people could not recover and most have not had a reply from Nordic. It would be great to get, at least, some explanation of why this has happened and perhaps how to avoid it.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>