<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="https://test-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>SWD to recover bricked chip</title><link>https://test-devzone.nordicsemi.com/f/nordic-q-a/87507/swd-to-recover-bricked-chip</link><description>Hi! I was wondering if I could use an SWD connection to recover a bricked chip. This chip is on a custom PCB that has pins allocated for SWD. 
 The chip itself is stuck at a point where it can&amp;#39;t initialise BLE advertising so we have not been able to put</description><dc:language>en-US</dc:language><generator>Telligent Community 13 Non-Production</generator><lastBuildDate>Wed, 18 May 2022 06:51:49 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://test-devzone.nordicsemi.com/f/nordic-q-a/87507/swd-to-recover-bricked-chip" /><item><title>RE: SWD to recover bricked chip</title><link>https://test-devzone.nordicsemi.com/thread/368196?ContentTypeID=1</link><pubDate>Wed, 18 May 2022 06:51:49 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:9b26b03d-f044-4372-9114-554328d4ec36</guid><dc:creator>user77782</dc:creator><description>&lt;p&gt;Hi,&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Yes, you can perform &amp;quot;&lt;span&gt;nrfjprog --eraseall&amp;quot; command to erase all and &amp;quot;nrfjprog --program new.hex --verify&amp;quot; to program a new image with&amp;nbsp;the&amp;nbsp;&lt;a href="https://www.nordicsemi.com/Products/Development-tools/nRF-Command-Line-Tools"&gt;nRF Command Line tool&lt;/a&gt;.&amp;nbsp;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;-Amanda&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: SWD to recover bricked chip</title><link>https://test-devzone.nordicsemi.com/thread/368179?ContentTypeID=1</link><pubDate>Wed, 18 May 2022 02:41:53 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:ce194a0f-2ec5-479a-a373-2ebbe939fa7b</guid><dc:creator>user114391</dc:creator><description>&lt;p&gt;Hey Amanda,&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;We are currently working on a test version of our device. I would be happy to erase everything on the device and install new firmware. Is that possible via SWD?&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: SWD to recover bricked chip</title><link>https://test-devzone.nordicsemi.com/thread/365911?ContentTypeID=1</link><pubDate>Tue, 03 May 2022 09:00:45 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:d7faeeeb-20a7-469f-b6fc-58515467aa70</guid><dc:creator>user77782</dc:creator><description>&lt;p&gt;Hi,&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Do you mean to perform the&amp;nbsp;&lt;span&gt;nrfjprog --recover command over SWD? It needs to install the &lt;a href="https://www.nordicsemi.com/Products/Development-tools/nRF-Command-Line-Tools"&gt;nRF Command Line tool&lt;/a&gt;. However, the recover command is used to&amp;nbsp;Erases all user available non-volatile memory and&amp;nbsp;disables the read back protection mechanism if enabled. It would not work as you expect to put the device into bootloader mode.&amp;nbsp;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Are you working on DFU? With nRF5 or NCS?&amp;nbsp;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Regards,&lt;br /&gt;Amanda&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>