<?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>Custom boards bricked after erasing and uploading Soft Device hex using nRFgo Studio</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/54477/custom-boards-bricked-after-erasing-and-uploading-soft-device-hex-using-nrfgo-studio</link><description>We have a set of custom boards I am working on debugging. I was able to get our software onto the device via nrf jprog tool by uploading a merged hex file (with SD + bootloader + application). The GPIO appeared to be working normally but I was unable</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Tue, 05 May 2020 14:29:43 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/54477/custom-boards-bricked-after-erasing-and-uploading-soft-device-hex-using-nrfgo-studio" /><item><title>RE: Custom boards bricked after erasing and uploading Soft Device hex using nRFgo Studio</title><link>https://devzone.nordicsemi.com/thread/248236?ContentTypeID=1</link><pubDate>Tue, 05 May 2020 14:29:43 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:0696d235-edb2-487f-a68c-de31a65a685a</guid><dc:creator>matomback</dc:creator><description>&lt;p&gt;Hi Hakon,&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Sorry dropped the ball on this one. We eventually discovered that a hardware issue was the culprit. A mistake in assembly (incorrect passive component placed) caused the problem. Though the tip to discontinue our use&amp;nbsp;of the deprecated nRFgo studio was helpful and appreciated.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Best,&lt;br /&gt;Matthew&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Custom boards bricked after erasing and uploading Soft Device hex using nRFgo Studio</title><link>https://devzone.nordicsemi.com/thread/222417?ContentTypeID=1</link><pubDate>Wed, 27 Nov 2019 15:07:54 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:17648cf2-3e18-40cf-9f6e-25846771050e</guid><dc:creator>H&amp;#229;kon Alseth</dc:creator><description>&lt;p&gt;Hi Matt,&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Sorry for the late reply.&lt;/p&gt;
&lt;p&gt;I&amp;#39;ve checked around with my colleagues, and we have not gotten any reports that boards programmed through nrfgo studio is not working. We have this one, where &amp;quot;erase all&amp;quot; had to be issued prior to programming (which is recommended anyway) :&lt;/p&gt;
&lt;p&gt;&lt;a href="https://devzone.nordicsemi.com/f/nordic-q-a/54806/issue-with-nrf52832-firmware-installation"&gt;https://devzone.nordicsemi.com/f/nordic-q-a/54806/issue-with-nrf52832-firmware-installation&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Could you try to connect via J-Link Commander, and see if it is able to detect the nRF52832 (cortex m4 core) on the non-working boards?&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Kind regards,&lt;/p&gt;
&lt;p&gt;Håkon&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Custom boards bricked after erasing and uploading Soft Device hex using nRFgo Studio</title><link>https://devzone.nordicsemi.com/thread/221912?ContentTypeID=1</link><pubDate>Mon, 25 Nov 2019 15:23:35 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:a7a3c6a8-f4e4-4794-ac55-aa2baf7f05a1</guid><dc:creator>matomback</dc:creator><description>&lt;p&gt;Hi H&amp;aring;kon,&lt;/p&gt;
&lt;p&gt;I did. I was continuously removing and inserting the battery, and tried to do so at different intervals/timing but was unable to recover the device. I also did upgrade nrfjprog which did not seem to have any effect.&lt;/p&gt;
&lt;p&gt;Yes I was thinking the same. I will stay away from nRFgo Studio from now on but I&amp;#39;m surprised the boards could have been bricked like this while using it. I had not enabled any specific programming options and just used the default settings after opening the nRFgo Studio application.&lt;/p&gt;
&lt;p&gt;Any other thoughts or ways I can try to debug/troubleshoot the issue?&lt;/p&gt;
&lt;p&gt;Thanks,&lt;/p&gt;
&lt;p&gt;Matt&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Custom boards bricked after erasing and uploading Soft Device hex using nRFgo Studio</title><link>https://devzone.nordicsemi.com/thread/221372?ContentTypeID=1</link><pubDate>Thu, 21 Nov 2019 15:05:21 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:3a37a45f-8c17-4ec1-ad29-4cac7e65b666</guid><dc:creator>H&amp;#229;kon Alseth</dc:creator><description>&lt;p&gt;Hi Matt,&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
[quote user="matomback"]Thanks for your support. Unfortunately the looping batch script did not seem to work. I tried for a while with both &amp;quot;nrfjprog -e&amp;quot; and &amp;quot;nrfjprog --recover&amp;quot;. Still getting the same error messages and unable to see or access the external nRF board. Is there any other command I should try? Or another way to detect or recover the device if it&amp;#39;s asserting the way you describe?[/quote]
&lt;p&gt;When this script is running, did you try toggling the power to the custom board simultaneously (ie: removing and inserting the battery) and see if it then was able to successfully recover it?&lt;/p&gt;
&lt;p&gt;Did you also upgrade nrfjprog?&lt;/p&gt;
[quote user="matomback"]With this information in mind, is there anything specific that nRFgo studio could have done to cause the issues with the boards? Anything else I can try in order to recover them? I am still unable to see or program via any of the tools (nrfjprog, nRF connect, nRFgo studio).[/quote]
&lt;p&gt;nRFgo studio is deprecated, and is not recommended to use with the nRF5-series devices, but it shouldn&amp;#39;t have this effect on the boards.&lt;/p&gt;
&lt;p&gt;Did you&amp;nbsp;enable any specific programming options in nRFgo Studio?&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Kind regards,&lt;/p&gt;
&lt;p&gt;Håkon&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Custom boards bricked after erasing and uploading Soft Device hex using nRFgo Studio</title><link>https://devzone.nordicsemi.com/thread/220953?ContentTypeID=1</link><pubDate>Tue, 19 Nov 2019 23:06:47 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:bff0ae6d-f712-40fc-8509-0143bc8e09a7</guid><dc:creator>matomback</dc:creator><description>&lt;p&gt;&lt;span&gt;Hi&amp;nbsp;&lt;/span&gt;&lt;span&gt;H&amp;aring;kon,&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;It seems the problem was using nRFgo Studio specifically. I was able to get another of the prototype boards to work correctly after programming our merged hex application and clearing and then loading the soft device using the command &amp;quot;nrfjprog -f nrf52 --program s132_nrf52_6.1.1_softdevice.hex --chiperase&amp;quot;.&amp;nbsp;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;I was aware that nRFgo studio was deprecated and can cause issues when using with the a DFU bootloader application. However I thought that this would be a run-time error rather than something that could brick the device just by clearing the application and programming the soft device hex.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;With this information in mind, is there anything specific that nRFgo studio could have done to cause the issues with the boards? Anything else I can try in order to recover them? I am still unable to see or program via any of the tools (nrfjprog, nRF connect, nRFgo studio).&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Thanks&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Custom boards bricked after erasing and uploading Soft Device hex using nRFgo Studio</title><link>https://devzone.nordicsemi.com/thread/220932?ContentTypeID=1</link><pubDate>Tue, 19 Nov 2019 17:26:24 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:03f3fbfc-6293-4755-a413-adcbcd9a2352</guid><dc:creator>matomback</dc:creator><description>&lt;p&gt;Hi&amp;nbsp;&lt;span&gt;H&amp;aring;kon,&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Thanks for your support. Unfortunately the looping batch script did not seem to work. I tried for a while with both &amp;quot;nrfjprog -e&amp;quot; and &amp;quot;nrfjprog --recover&amp;quot;. Still getting the same error messages and unable to see or access the external nRF board. Is there any other command I should try? Or another way to detect or recover the device if it&amp;#39;s asserting the way you describe? &lt;/span&gt;&lt;/p&gt;
&lt;p&gt;Or could the issue be something else? I had performed an &amp;quot;erase-all&amp;quot; within nRFgo to remove the code on the board before I loaded the soft device, which bricked the board. Could this have left some element of the DFU bootloader or bootloader settings or other aspect of the application on the device? Or would the external nRF have been clear at this point?&lt;/p&gt;
&lt;p&gt;I could try to use nrfjprog to program the soft device alone onto a blank board that hasn&amp;#39;t been programmed yet... if that works it would seem the issue was caused via nRFgo or by erasing the merged application before loading the soft device. But we only have 10 prototype boards and until I can recover the bricked boards I would like to be somewhat careful in programming the others!&lt;/p&gt;
&lt;p&gt;Looking forward to your thoughts. Any additional feedback or guidance is appreciated.&lt;/p&gt;
&lt;p&gt;Thanks!&lt;/p&gt;
&lt;p&gt;Matt&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Custom boards bricked after erasing and uploading Soft Device hex using nRFgo Studio</title><link>https://devzone.nordicsemi.com/thread/220846?ContentTypeID=1</link><pubDate>Tue, 19 Nov 2019 12:54:11 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:b1b30881-869e-49b0-8d4a-24f6c6772125</guid><dc:creator>H&amp;#229;kon Alseth</dc:creator><description>&lt;p&gt;Hi Matt,&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
[quote user="matomback"]The remaining blank, unprogrammed prototype boards are functioning normally with the same setup.[/quote]
&lt;p&gt;This indicates that the physical setup is OK.&lt;/p&gt;
&lt;p&gt;Could it be that the firmware you loaded into the devices are asserting early on in the process? The default assertion behavior is to issue a soft-reset, which lowers the timing window for the debugger to access the device. If this has happened with your devices, you can try to loop &amp;quot;nrfjprog -e&amp;quot; while you cycle the power to the custom board (plug in and out the battery). A batch script for this can be found here:&lt;/p&gt;
&lt;p&gt;&lt;a href="https://devzone.nordicsemi.com/f/nordic-q-a/45078/nrf52832-not-connected-anymore-after-first-trying-to-debug-keil/177579#177579"&gt;https://devzone.nordicsemi.com/f/nordic-q-a/45078/nrf52832-not-connected-anymore-after-first-trying-to-debug-keil/177579#177579&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Kind regards,&lt;/p&gt;
&lt;p&gt;Håkon&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Custom boards bricked after erasing and uploading Soft Device hex using nRFgo Studio</title><link>https://devzone.nordicsemi.com/thread/220663?ContentTypeID=1</link><pubDate>Mon, 18 Nov 2019 16:14:47 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:db1097cb-ac4d-4416-8f89-c14a7114d654</guid><dc:creator>matomback</dc:creator><description>&lt;p&gt;Hi&amp;nbsp;H&amp;aring;kon,&lt;/p&gt;
&lt;p&gt;Thanks for your response. Yes, the external board is being powered with 3.3V, and i have tried multiple batteries. The remaining blank, unprogrammed prototype boards are functioning normally with the same setup. They are visible in nRFgo upon connecting and I am able to upload the merged hex file (with DFU bootloader + Soft Device + Application) to these boards. It&amp;#39;s only the two that I had erased and then uploaded the softdevice hex alone that are no longer visible after connecting the battery and the nRF52-DK for programming.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Will update nrfjprog - thanks for catching that.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Regards,&lt;br /&gt;Matt&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Custom boards bricked after erasing and uploading Soft Device hex using nRFgo Studio</title><link>https://devzone.nordicsemi.com/thread/220592?ContentTypeID=1</link><pubDate>Mon, 18 Nov 2019 13:26:40 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:19df5058-f69e-4497-be69-b2ee9f819763</guid><dc:creator>H&amp;#229;kon Alseth</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Based on the serial number, it seems that you are using a nRF52-DK to program external devices.&lt;/p&gt;
&lt;p&gt;In this setup, where the nRF52-DK is acting as the programmer to an external board, it is very important that the external board is powered with the same voltage as the nRF52-DK (3.0V)&lt;/p&gt;
&lt;p&gt;Are you powering your custom board from the DK itself, or is it battery powered? If battery powered, try replacing the battery to see if you now can communicate with the board.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;PS: your nrfjprog installation is quite old. You should consider updating it:&amp;nbsp;&lt;a href="https://www.nordicsemi.com/Software-and-Tools/Development-Tools/nRF-Command-Line-Tools/Download"&gt;https://www.nordicsemi.com/Software-and-Tools/Development-Tools/nRF-Command-Line-Tools/Download&lt;/a&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Kind regards,&lt;/p&gt;
&lt;p&gt;Håkon&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>