<?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>Boards getting bricked</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/109310/boards-getting-bricked</link><description>Hello, 
 I am trying to develop using a custom pcb. And after some time my boards stop connecting to the debugger. How do I unbrick the boards? I have read multiple solutions like connecting pin 18 to vdd which did not work. When I run nrfjrog --reset</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Wed, 03 Apr 2024 09:43:32 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/109310/boards-getting-bricked" /><item><title>RE: Boards getting bricked</title><link>https://devzone.nordicsemi.com/thread/476807?ContentTypeID=1</link><pubDate>Wed, 03 Apr 2024 09:43:32 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:2285bdaf-55ac-4937-ac73-2fc8b1015483</guid><dc:creator>mathiaso</dc:creator><description>&lt;p&gt;Hi, Niels.&lt;/p&gt;
&lt;p&gt;Thank you for the log files.&lt;/p&gt;
&lt;p&gt;It appears like you are using a DK as a debugger now. Do you power your custom board from the DK or externally? Could you try to power your custom board from the DK, as described &lt;a href="https://infocenter.nordicsemi.com/topic/ug_nrf52840_dk/UG/dk/hw_debug_out.html?cp=5_0_4_7_9"&gt;here&lt;/a&gt;, if you haven&amp;#39;t yet?&lt;/p&gt;
&lt;p&gt;You can also try to run &amp;quot;nrfjprog --recover --clockspeed 10&amp;quot; to lower the frequency of SWDCLK in case there is an issue with long cables, etc.&lt;/p&gt;
&lt;p&gt;Lastly, could you please upload the &lt;em&gt;build/zephyr/.config &lt;/em&gt;folder? Then I&amp;#39;ll be able to confirm if the DC/DC is enabled or not.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Boards getting bricked</title><link>https://devzone.nordicsemi.com/thread/476204?ContentTypeID=1</link><pubDate>Wed, 27 Mar 2024 15:31:27 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:9be377d2-9ba2-4642-a242-e94fd24272f3</guid><dc:creator>Niels Redegeld</dc:creator><description>&lt;p&gt;I ended up getting a log file after a while, Ill add it below.&lt;a href="https://devzone.nordicsemi.com/cfs-file/__key/communityserver-discussions-components-files/4/8267.log.log"&gt;devzone.nordicsemi.com/.../8267.log.log&lt;/a&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Boards getting bricked</title><link>https://devzone.nordicsemi.com/thread/476196?ContentTypeID=1</link><pubDate>Wed, 27 Mar 2024 15:12:54 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:46c8a10e-f63a-4e54-8bd0-9888463b0a2d</guid><dc:creator>Niels Redegeld</dc:creator><description>&lt;p&gt;No it didn&amp;acute;t make any difference,&lt;/p&gt;
&lt;p&gt;I don&amp;#39;t think it was, cause for the custom board file it gave an error when i setted dc/dc to n in the config file.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Boards getting bricked</title><link>https://devzone.nordicsemi.com/thread/476166?ContentTypeID=1</link><pubDate>Wed, 27 Mar 2024 13:36:54 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:cfab4d60-c80c-492a-bf3f-bbe6e3beda55</guid><dc:creator>mathiaso</dc:creator><description>[quote user="Niels Redegeld"]&lt;p&gt;If I run nrfjprog --recover --log I get the following error:&lt;/p&gt;
&lt;p&gt;PS C:\Program Files\Nordic Semiconductor\nrf-command-line-tools\bin&amp;gt; nrfjprog --recover --log&lt;br /&gt;WARNING: Logging is unavailable. nrfjprog.exe does not have write&lt;br /&gt;WARNING: permission for the log file&lt;br /&gt;ERROR: Unable to connect to a debugger.&lt;br /&gt;ERROR: JLinkARM DLL reported an error. Try again. If error condition&lt;br /&gt;ERROR: persists, run the same command again with argument --log, contact Nordic&lt;br /&gt;ERROR: Semiconductor and provide the generated log.log file to them.&lt;br /&gt;PS C:\Program Files\Nordic Semiconductor\nrf-command-line-tools\bin&amp;gt;&lt;/p&gt;[/quote]
&lt;p&gt;So I didn&amp;#39;t make a difference running it from an admin window?&lt;/p&gt;
[quote user="Niels Redegeld"]I can&amp;#39;t upload to my boards so currently the DC/DC is not Disabled[/quote]
&lt;p&gt;What I tried to ask was if it was enabled when you were able to flash them?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Boards getting bricked</title><link>https://devzone.nordicsemi.com/thread/476050?ContentTypeID=1</link><pubDate>Wed, 27 Mar 2024 07:39:41 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:d11c21e5-93ec-442d-ad7b-268a7934dee3</guid><dc:creator>Niels Redegeld</dc:creator><description>&lt;p&gt;If I run nrfjprog --recover --log I get the following error:&lt;/p&gt;
&lt;p&gt;PS C:\Program Files\Nordic Semiconductor\nrf-command-line-tools\bin&amp;gt; nrfjprog --recover --log&lt;br /&gt;WARNING: Logging is unavailable. nrfjprog.exe does not have write&lt;br /&gt;WARNING: permission for the log file&lt;br /&gt;ERROR: Unable to connect to a debugger.&lt;br /&gt;ERROR: JLinkARM DLL reported an error. Try again. If error condition&lt;br /&gt;ERROR: persists, run the same command again with argument --log, contact Nordic&lt;br /&gt;ERROR: Semiconductor and provide the generated log.log file to them.&lt;br /&gt;PS C:\Program Files\Nordic Semiconductor\nrf-command-line-tools\bin&amp;gt;&lt;br /&gt;&lt;br /&gt;I can&amp;#39;t upload to my boards so currently the DC/DC is not Disabled&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Boards getting bricked</title><link>https://devzone.nordicsemi.com/thread/475719?ContentTypeID=1</link><pubDate>Mon, 25 Mar 2024 15:05:46 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:d2480886-0e33-44c9-869c-df9dac4980d6</guid><dc:creator>mathiaso</dc:creator><description>[quote user="Niels Redegeld"]PS C:\Program Files\Nordic Semiconductor\nrf-command-line-tools\bin&amp;gt; nrfjprog --recover --log&lt;br /&gt;WARNING: Logging is unavailable. nrfjprog.exe does not have write&lt;br /&gt;WARNING: permission for the log file&lt;br /&gt;ERROR: Unable to connect to a debugger.&lt;br /&gt;ERROR: JLinkARM DLL reported an error. Try again. If error condition&lt;br /&gt;ERROR: persists, run the same command again with argument --log, contact Nordic&lt;br /&gt;ERROR: Semiconductor and provide the generated log.log file to them.&lt;br /&gt;PS C:\Program Files\Nordic Semiconductor\nrf-command-line-tools\bin&amp;gt;[/quote]
&lt;p&gt;Could you try running &amp;quot;nrfjprog --recover --log&amp;quot; from an admin window to see if this will let you provide some logs?&lt;/p&gt;
[quote user="Niels Redegeld"]The DC/DC was set automatically to yes in the config file, so I turned it off:&amp;nbsp;&lt;span&gt;CONFIG_BOARD_ENABLE_DCDC=n&lt;/span&gt;&lt;br /&gt;The periods I could flash the chip was about a week to two weeks per chip,[/quote]
&lt;p&gt;And in these periods the DC/DC was enabled?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Boards getting bricked</title><link>https://devzone.nordicsemi.com/thread/475400?ContentTypeID=1</link><pubDate>Fri, 22 Mar 2024 13:09:39 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:b1d6f7e0-8816-461f-b085-835b42e6b3c7</guid><dc:creator>Niels Redegeld</dc:creator><description>&lt;p&gt;It did not make a difference no, I&amp;#39;ll have to look in getting a shunt capacitor, but I dont think the problem relies here. I want to know how to unbrick the boards, before I can even test the solutions.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Boards getting bricked</title><link>https://devzone.nordicsemi.com/thread/475298?ContentTypeID=1</link><pubDate>Fri, 22 Mar 2024 08:00:33 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:ccdfcf51-b8d4-41fc-a0a4-fd4ae5c4437f</guid><dc:creator>mathiaso</dc:creator><description>[quote user="Niels Redegeld"]The DC/DC was set automatically to yes in the config file, so I turned it off:&amp;nbsp;&lt;span&gt;CONFIG_BOARD_ENABLE_DCDC=n&lt;/span&gt;[/quote]
&lt;p&gt;But it didn&amp;#39;t make any difference disabling it?&lt;/p&gt;
&lt;p&gt;Do you know if you have the internal pull-up on the reset pin active? I can see you have added an external one. It could also be an idea to add a shunt capacitor to the pin. There isn&amp;#39;t a problem with the switch there?&lt;br /&gt;&lt;img style="max-height:240px;max-width:320px;" src="https://devzone.nordicsemi.com/resized-image/__size/640x480/__key/communityserver-discussions-components-files/4/pastedimage1711094213394v1.png" alt=" " /&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Boards getting bricked</title><link>https://devzone.nordicsemi.com/thread/475288?ContentTypeID=1</link><pubDate>Fri, 22 Mar 2024 07:24:51 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:4d6c6113-da3e-439d-b556-10bdd54e7306</guid><dc:creator>Niels Redegeld</dc:creator><description>&lt;p&gt;The DC/DC was set automatically to yes in the config file, so I turned it off:&amp;nbsp;&lt;span&gt;CONFIG_BOARD_ENABLE_DCDC=n&lt;/span&gt;&lt;br /&gt;The periods I could flash the chip was about a week to two weeks per chip,&lt;/p&gt;
&lt;p&gt;I know that its not the debugger, it works fine when I connect it to a DK.&lt;/p&gt;
&lt;p&gt;They didn&amp;#39;t work, I wouldn&amp;#39;t know why cause I hadn&amp;#39;t even flashed something to it yet.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Boards getting bricked</title><link>https://devzone.nordicsemi.com/thread/475021?ContentTypeID=1</link><pubDate>Thu, 21 Mar 2024 08:59:01 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:2d15e9a4-33f3-43b8-94db-e500e5ed7317</guid><dc:creator>mathiaso</dc:creator><description>&lt;p&gt;Could you check that the DC/DC hasn&amp;#39;t been set automatically?&lt;/p&gt;
&lt;p&gt;For how long were you able to flash your boards before you lost communication with them?&lt;/p&gt;
&lt;p&gt;Have you tried using a different cable? Or a different debugger?&lt;/p&gt;
&lt;p&gt;Would you be able to see if you can communicate with the two remaining boards?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Boards getting bricked</title><link>https://devzone.nordicsemi.com/thread/474916?ContentTypeID=1</link><pubDate>Wed, 20 Mar 2024 13:48:12 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:9fb3e65d-9d3b-4830-b50f-a161f167a55a</guid><dc:creator>Niels Redegeld</dc:creator><description>&lt;p&gt;I use the nRF Connect SDK, version 2.5.2.&lt;br /&gt;Well the firmware is changing continuesly but when it stopped working I had not changed anything.&lt;br /&gt;currently 3/5 units are bricked, but I haven&amp;#39;t tried the other two yet.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Boards getting bricked</title><link>https://devzone.nordicsemi.com/thread/474911?ContentTypeID=1</link><pubDate>Wed, 20 Mar 2024 13:43:17 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:03d1a275-214e-41c2-b4c2-0b85c12fa917</guid><dc:creator>mathiaso</dc:creator><description>&lt;p&gt;Ok. Are you using nRF5 or nRF Connect SDK? &lt;/p&gt;
&lt;p&gt;Has anything in the firmware changed since you were able to flash the boards? And how many boards have stopped being able to connect vs. still being able to connect to the debugger?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Boards getting bricked</title><link>https://devzone.nordicsemi.com/thread/474827?ContentTypeID=1</link><pubDate>Wed, 20 Mar 2024 09:59:12 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:8f8b1e85-4041-4223-9975-9cee69b24219</guid><dc:creator>Niels Redegeld</dc:creator><description>&lt;p&gt;I did not manually enable the DC/DC regulator in the firmware.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Boards getting bricked</title><link>https://devzone.nordicsemi.com/thread/474822?ContentTypeID=1</link><pubDate>Wed, 20 Mar 2024 09:49:26 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:b7f6afe2-03b3-4df9-a121-a8c91990e07b</guid><dc:creator>mathiaso</dc:creator><description>&lt;p&gt;Thank you, Niels.&lt;/p&gt;
&lt;p&gt;Do you know if you have enabled the DC/DC regulator in the firmware? If this is done without having included the necessary inductors in the schematic, the regulator may become unstable and not be able to deliver sufficient voltage to the SoC.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Boards getting bricked</title><link>https://devzone.nordicsemi.com/thread/474774?ContentTypeID=1</link><pubDate>Wed, 20 Mar 2024 07:27:58 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:dc341aad-fd67-4285-87a3-fdbc437ed075</guid><dc:creator>Niels Redegeld</dc:creator><description>&lt;p&gt;I use version 10.24.0&lt;br /&gt;The debugger I use is the J-link edu mini&lt;br /&gt;I think it already has the latest firmware&lt;/p&gt;
&lt;p&gt;The schematics are added as a pdf file.&lt;br /&gt;&lt;br /&gt;PS C:\Program Files\Nordic Semiconductor\nrf-command-line-tools\bin&amp;gt; nrfjprog --recover --log&lt;br /&gt;WARNING: Logging is unavailable. nrfjprog.exe does not have write&lt;br /&gt;WARNING: permission for the log file&lt;br /&gt;ERROR: Unable to connect to a debugger.&lt;br /&gt;ERROR: JLinkARM DLL reported an error. Try again. If error condition&lt;br /&gt;ERROR: persists, run the same command again with argument --log, contact Nordic&lt;br /&gt;ERROR: Semiconductor and provide the generated log.log file to them.&lt;br /&gt;PS C:\Program Files\Nordic Semiconductor\nrf-command-line-tools\bin&amp;gt;&lt;br /&gt;&lt;br /&gt;I dont think this helps much.&lt;img style="max-height:240px;max-width:320px;" alt=" " src="https://devzone.nordicsemi.com/resized-image/__size/640x480/__key/communityserver-discussions-components-files/4/20240320_5F00_082632.jpg" /&gt;&lt;br /&gt;&lt;br /&gt;&lt;/p&gt;
&lt;p&gt;&lt;a href="https://devzone.nordicsemi.com/cfs-file/__key/communityserver-discussions-components-files/4/BLE_5F00_BreadBoard_5F00_Schematic-_2800_2_2900_.pdf"&gt;devzone.nordicsemi.com/.../BLE_5F00_BreadBoard_5F00_Schematic-_2800_2_2900_.pdf&lt;/a&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Boards getting bricked</title><link>https://devzone.nordicsemi.com/thread/474519?ContentTypeID=1</link><pubDate>Tue, 19 Mar 2024 08:53:23 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:d1a814f7-5b10-4f87-adb0-ab6828936f79</guid><dc:creator>mathiaso</dc:creator><description>&lt;p&gt;Ok. Could you please provide some details on the following?&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;Version of nRF command line tools&lt;/li&gt;
&lt;li&gt;What kind of debugger you are using
&lt;ul&gt;
&lt;li&gt;It may be an idea to update the firmware version of your debugger.&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;li&gt;Schematic of your custom board and the connection between your debugger and custom board&lt;/li&gt;
&lt;li&gt;Output log (add --log at the end of the command)&lt;/li&gt;
&lt;/ul&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Boards getting bricked</title><link>https://devzone.nordicsemi.com/thread/474347?ContentTypeID=1</link><pubDate>Mon, 18 Mar 2024 13:35:56 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:8caa4e36-2d10-4cf2-8dfb-ca5deabd1a6f</guid><dc:creator>Niels Redegeld</dc:creator><description>&lt;p&gt;Hi&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;I have tried running that as well. It gave the same error unfortunatly.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Kind regards,&lt;br /&gt;&lt;br /&gt;Niels.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Boards getting bricked</title><link>https://devzone.nordicsemi.com/thread/474036?ContentTypeID=1</link><pubDate>Fri, 15 Mar 2024 09:30:47 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:72282381-d98a-438a-9148-866a4bcac4a3</guid><dc:creator>mathiaso</dc:creator><description>&lt;p&gt;Hi, Niels.&lt;/p&gt;
&lt;p&gt;Have you tried running &amp;quot;nrfjprog --recover&amp;quot; instead of &amp;quot;nrfjprog --reset&amp;quot;?&lt;/p&gt;
&lt;p&gt;Best regards,&lt;br /&gt;Mathias&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>