<?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>Issues flashing nrf52833 device with v1.8.0 bricking device</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/118975/issues-flashing-nrf52833-device-with-v1-8-0-bricking-device</link><description>Hi, I have encountered issues flashing a NRF52833 board which is on a custom PCB. I have picked the project up from another developer so it is somewhat developed already. The project is using the v1.8.0 sdk. I have the SDK installed and worked, I am able</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Fri, 11 Apr 2025 06:44:04 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/118975/issues-flashing-nrf52833-device-with-v1-8-0-bricking-device" /><item><title>RE: Issues flashing nrf52833 device with v1.8.0 bricking device</title><link>https://devzone.nordicsemi.com/thread/531465?ContentTypeID=1</link><pubDate>Fri, 11 Apr 2025 06:44:04 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:b4e4c60d-dbe3-479a-8e89-258a5551447a</guid><dc:creator>Einar Thorsrud</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;Perhaps &lt;a href="https://devzone.nordicsemi.com/members/squid"&gt;squid&lt;/a&gt;&amp;nbsp; can share an update?&lt;/p&gt;
&lt;p&gt;Other than that, please make a new thread where you describe the issue you are seeing in more detail (including details about your design and firmware). If you see the device &amp;quot;bricked&amp;quot; after programming, the first things that come to mind is enabling DCDC while lacking the DCDC inductors, or that some signals are somehow connected to the SWD pins and firmware changes makes this surface now, or lastly, that pin reset is enabled and the reset pin is asserted (dependign on configuration, west also when run from VS Code can enable pin reset as that is the default behaviour, which sometimes causes issues).&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Issues flashing nrf52833 device with v1.8.0 bricking device</title><link>https://devzone.nordicsemi.com/thread/531448?ContentTypeID=1</link><pubDate>Fri, 11 Apr 2025 00:10:16 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:ffce212a-0bc2-4bd5-be02-7f5349500747</guid><dc:creator>Merrill Wettasinghe</dc:creator><description>&lt;p&gt;I am having the same problem using the lastest VS code and nRF tools. 2 production board bricked but the dev board is working.&amp;nbsp; I had no trouble with earlier vscode and nrf tools. I am still using 2.5.2 sdk as before.&amp;nbsp;&lt;br /&gt;&lt;br /&gt;Can you please share your findings. and if you have made any progress.&amp;nbsp;&lt;br /&gt;&lt;br /&gt;I am also using the module from Fanstel with the nRF52833.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Issues flashing nrf52833 device with v1.8.0 bricking device</title><link>https://devzone.nordicsemi.com/thread/524828?ContentTypeID=1</link><pubDate>Wed, 26 Feb 2025 13:56:24 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:bc8aa7cf-5978-4a0e-93be-1e52a606d5ca</guid><dc:creator>Einar Thorsrud</dc:creator><description>&lt;p&gt;Hi Ben,&lt;/p&gt;
&lt;p&gt;Thank you. Let us continue in the private ticket for now&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Issues flashing nrf52833 device with v1.8.0 bricking device</title><link>https://devzone.nordicsemi.com/thread/524033?ContentTypeID=1</link><pubDate>Fri, 21 Feb 2025 09:21:04 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:7588fa4d-29f2-4b95-b1a9-336c6e15fe77</guid><dc:creator>squid</dc:creator><description>&lt;p&gt;Hi,&lt;br /&gt;&lt;br /&gt;Thanks for the reply. My apologies if it wasnt clear in the previous posts, but once bricked I have not been able to recover. I have followed the instructions elsewhere on the forum to create a script to try to brute force a recovery, but it did not work. I will follow up with a private ticket referring back to this one which includes the mentioned information.&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Issues flashing nrf52833 device with v1.8.0 bricking device</title><link>https://devzone.nordicsemi.com/thread/524016?ContentTypeID=1</link><pubDate>Fri, 21 Feb 2025 08:33:11 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:ac901c81-13ce-4ba8-8898-e20b7060ccd0</guid><dc:creator>Einar Thorsrud</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;I see from the parts of the schematic you shared that VDDH is not used, and that the DCDC inductors are included, so enabling the DCDC should not cause any problems.&lt;/p&gt;
&lt;p&gt;The observations that the boards become more or less unrecoverable, but that you sometimes are able to recover by a recover operation in a loop while power cycling is also a bit ambigious. The fact that it sometimes works indicate that firmware plays a part (and that haldting and erasing before a certain step helps, but then I would expect it to always work i the end given enough attempts).&lt;/p&gt;
&lt;p&gt;I am also wondering wha tthe difference is bretween what you have build (failign) and your colleague have build before (working). Can you share the zephyr.dts and .config from the build folder for both the working and non-working build? Those will hold the compiled confiugration an ddevicetree that are being used in the end (after all overlays etc are taken into account). Are there any differences there? Also, can you share the full schematic? (You can do that in a private case where you refer to this). Are there any other observations or differences you have seen?&lt;/p&gt;
&lt;p&gt;Lastly, can you check if there are any local changes in the code repositories your colleague has compared to what you have? Both for your specific project, but also in the nRF Connect SDK components? (No theck the SDK componnets, I recomen dusing &amp;quot;west status&amp;quot;, as that will check the status of all git repositories in the SDK).&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Issues flashing nrf52833 device with v1.8.0 bricking device</title><link>https://devzone.nordicsemi.com/thread/523564?ContentTypeID=1</link><pubDate>Tue, 18 Feb 2025 15:21:41 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:33c6ba75-585e-43cc-a6f0-35eb3ea2247f</guid><dc:creator>squid</dc:creator><description>&lt;p&gt;Hi, thanks for the feedback and taking the time to look into the issue. I will try to answer in order;&lt;br /&gt;- The only difference currently between working and not working is performing a release or debug build inline with .conf files attached in the original post. Flashing the release build with j-flash&amp;nbsp;was working okay, then using the debug build tool in vs code/nrf connect failed/&lt;/p&gt;
&lt;p&gt;- Yes &amp;#39;bricked&amp;#39; ... the device appears to not boot. Not activity can be seen and no attempts to flash/erase/recover is successful. The two config files attached only have two lines diiferent:&lt;br /&gt;&lt;br /&gt;CONFIG_OPAL_RELEASE_BUILD=y/n (contextual to build)&lt;br /&gt;&lt;span&gt;CONFIG_BOOTLOADER_MCUBOOT=y/n (contextual to build).&amp;nbsp;&lt;br /&gt;&lt;br /&gt;We have meticulously gone through local SDKs for potential differences and have not been able to find anything different from when things worked for the previous developer. Changes to the local sdk are adding the attached defconfig and dts files to \ncs\v1.8.0\zephyr\boards\arm\nrf52833dk_nrf52833\, overwriting prjMCUBoot.conf to \ncs\v1.8.0\bootloader\mcuboot\boot\zephyr\prj.conf and updating \ncs\v1.8.0\bootloader\mcu\boot\zephyr\Kconfig to point to a local .pem key file.&amp;nbsp;&lt;br /&gt;&lt;br /&gt;&lt;a href="https://devzone.nordicsemi.com/cfs-file/__key/communityserver-discussions-components-files/4/nrf52833dk_5F00_nrf52833.dts"&gt;devzone.nordicsemi.com/.../nrf52833dk_5F00_nrf52833.dts&lt;/a&gt;&lt;a href="https://devzone.nordicsemi.com/cfs-file/__key/communityserver-discussions-components-files/4/prjMCUBOOT.conf"&gt;devzone.nordicsemi.com/.../prjMCUBOOT.conf&lt;/a&gt;&lt;a href="https://devzone.nordicsemi.com/cfs-file/__key/communityserver-discussions-components-files/4/nrf52833dk_5F00_nrf52833_5F00_defconfig.txt"&gt;devzone.nordicsemi.com/.../nrf52833dk_5F00_nrf52833_5F00_defconfig.txt&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;I did not design the board, but I understand that 3.3v (2.5-5.5v) to the VDDH pin should enable the high voltage regulator. I did spot another thread along the lines of the DCDC and used a script to repeatedly try to recover the device whilst power cycling. It worked for somebody after ~100 attempts, but unfortunately did not for me.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&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/Dec.jpg" /&gt;&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/VDDH.jpg" /&gt;&lt;br /&gt;&lt;br /&gt;In neither .conf files is there a reference to DCDC, however I can see in the project build directories it is referenced in a few places for example build\mcuboot\zephyr\.config &amp;amp;build\mcuboot\zephyr\include\generated:&lt;br /&gt;&lt;br /&gt;CONFIG_BOARD_ENABLE_DCDC=y&lt;br /&gt;CONFIG_SOC_DCDC_NRF52X=y&lt;br /&gt;&lt;br /&gt;Noted on the warnings/errors; as the project was inherited I have not wanted to change things yet as to risk introducing further unknown issues, but I will take a look at tackling the warnings now. The main issue is getting to a point that I can test flashing a device without bricking it.&lt;br /&gt;&lt;br /&gt;I think this addresses everything in your reply. Please let me know if you need any further details/info and if you can suggest any changes or tests I can run to prevent further bricked devices.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Issues flashing nrf52833 device with v1.8.0 bricking device</title><link>https://devzone.nordicsemi.com/thread/523541?ContentTypeID=1</link><pubDate>Tue, 18 Feb 2025 14:29:28 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:32f86c18-df6e-46bb-8d0f-bc5c5b92d717</guid><dc:creator>Einar Thorsrud</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
[quote user=""]The&amp;nbsp;first couple of attempts were successful and then the board became unresponsive.[/quote]
&lt;p&gt;Is there any difference between when it worked and when it stopped workign? Did you flash with different firmware, or in a different way, using different tools, or similar?&lt;/p&gt;
[quote user=""]where any command line recovery tools timeout with:[/quote]
&lt;p&gt;By being bricked, you are refering tro the unability to recover the device? Could it be that somehow you are usign different board or config files or that there are local changes in one of the SDKs you have checked out?&lt;/p&gt;
&lt;p&gt;The reason I ask is that there are two typical issues for seemingly bricking custom boards:&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;Firwmare that enables the DCDC but the hardware does not have the inductors needed for the DCDC. If that is the case, the device will become unresponsive and impossible to debug after enabling the DCDC.&lt;/li&gt;
&lt;li&gt;If using the high voltage regulator, the defult volage after an erase all operation will be set back to 1.8 V unless the UICR is properly programmed with settings for a different voltage.&lt;/li&gt;
&lt;/ol&gt;
&lt;p&gt;Of this 1 is probably most likely, so I wonder if you have the DCDC inductors, and if not, if you have configured the project to not enable it? If the DCDC is enabled, you can recover by halding with a debugger imediately after a power cycle, before firmware has time to enable the DCDC (a simple way to do this is to write a small script or similar that calls &amp;quot;nrfjprog --recover&amp;quot; in a loop, while you power-cycle the device until it succeeds (at some point execution should be halted before the DCDC is enabled).&lt;/p&gt;
[quote user=""]Debug session build output:[/quote]
&lt;p&gt;This is more of a generic comment, but there is a high number of wearnings in this build, so many that trivial warnings can easily mask imortant ones. I woudl suggest that you work through them and make the code build without warnings.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>