<?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>Initialization problem and bricked nrf52833  with nrf connect sdk</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/90115/initialization-problem-and-bricked-nrf52833-with-nrf-connect-sdk</link><description>Hi, 
 
 I&amp;#39;m working on a custom board based on PCA10100, nrf52833 but it seems to be stuck at the function &amp;quot;lfclk_spinwait&amp;quot;. 
 my custom board does not have an external LFCLK. 
 The crazy thing is, after exiting debug mode my nrf52833 is bricked, I cannot</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Tue, 19 Jul 2022 13:56:39 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/90115/initialization-problem-and-bricked-nrf52833-with-nrf-connect-sdk" /><item><title>RE: Initialization problem and bricked nrf52833  with nrf connect sdk</title><link>https://devzone.nordicsemi.com/thread/377674?ContentTypeID=1</link><pubDate>Tue, 19 Jul 2022 13:56:39 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:1fcf8644-a731-46b2-85a6-1ab47000de1c</guid><dc:creator>Kenneth</dc:creator><description>[quote user="Dan_Y"]&lt;p&gt;and if these register were by mistake enabled, and pin 0.18 is configured to nRESET function.&lt;/p&gt;
&lt;p&gt;I still don&amp;#39;t understand what does that have to do with not being able to recover and flash?&lt;/p&gt;[/quote]
&lt;p&gt;If pin reset is enabled, and the pin is low, e.g. due to shorted/connected to ground and/or set low by the application, then the chip will enter reset state, when in reset state the&amp;nbsp;chip is not in any valid operation that allow any code to execute or any debugger to be connected through the SWD interface.&lt;/p&gt;
&lt;p&gt;Best regards,&lt;br /&gt;Kenneth&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Initialization problem and bricked nrf52833  with nrf connect sdk</title><link>https://devzone.nordicsemi.com/thread/377668?ContentTypeID=1</link><pubDate>Tue, 19 Jul 2022 13:50:35 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:c9626a91-e7c6-4192-9052-3d66d28d4286</guid><dc:creator>Dan_Y</dc:creator><description>&lt;p&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/pastedimage1658238377504v1.png" alt=" " /&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;1)&lt;/p&gt;
&lt;p&gt;By default these registers are configured to be disconnected..&lt;/p&gt;
&lt;p&gt;when we erase or recover with nrfjprog before a program, (that&amp;#39;s what west/ncs does) doesn&amp;#39;t the UICR get erased too?&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;2)&lt;/p&gt;
&lt;p&gt;and if these register were by mistake enabled, and pin 0.18 is configured to nRESET function.&lt;/p&gt;
&lt;p&gt;I still don&amp;#39;t understand what does that have to do with not being able to recover and flash?&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;thanks&lt;/p&gt;
&lt;p&gt;Dan&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Initialization problem and bricked nrf52833  with nrf connect sdk</title><link>https://devzone.nordicsemi.com/thread/377655?ContentTypeID=1</link><pubDate>Tue, 19 Jul 2022 13:31:58 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:f5321094-b2cf-4f13-8da8-a38f22ed29c1</guid><dc:creator>Kenneth</dc:creator><description>&lt;p&gt;Okey, the only reason I am aware of is that you have by accident program some project that had the pin reset enabled. I have seen multiple of these cases, and they have all been related to pin reset. In such case there is no way to recover the boards without access to the pin reset pin, so for future I suggest to route out the reset pin to a test point so you can test for it/recover. I don&amp;#39;t see any way for us to help you with this issue unfortunately.&lt;/p&gt;
&lt;p&gt;Best regards,&lt;br /&gt;Kenneth&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Initialization problem and bricked nrf52833  with nrf connect sdk</title><link>https://devzone.nordicsemi.com/thread/377651?ContentTypeID=1</link><pubDate>Tue, 19 Jul 2022 13:27:31 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:6fb20458-a588-4a12-81a9-20aa972a1d5e</guid><dc:creator>Dan_Y</dc:creator><description>&lt;p&gt;yep, no way to recover...&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Initialization problem and bricked nrf52833  with nrf connect sdk</title><link>https://devzone.nordicsemi.com/thread/377650?ContentTypeID=1</link><pubDate>Tue, 19 Jul 2022 13:26:02 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:2cce0e72-d475-46fb-8515-488b5bc0a8c8</guid><dc:creator>Kenneth</dc:creator><description>&lt;p&gt;Do I understand it correctly that the &amp;quot;bricked&amp;quot; boards are still &amp;quot;bricked&amp;quot;, meaning you have found no way to recover them? Not even using &amp;quot;nrfjprog --recover&amp;quot; from command line?&lt;/p&gt;
&lt;p&gt;Kenneth&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Initialization problem and bricked nrf52833  with nrf connect sdk</title><link>https://devzone.nordicsemi.com/thread/377620?ContentTypeID=1</link><pubDate>Tue, 19 Jul 2022 12:24:37 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:e40e6c30-3097-4bf5-942a-62311b148971</guid><dc:creator>Dan_Y</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;I am using the nrf52833 overlay / I also tried a new board&lt;/p&gt;
&lt;p&gt;1. HW: p.0.18 is not connected to anything. see design below.&lt;/p&gt;
&lt;p&gt;2. i did not add defines in prj.conf like CONFIG_GPIO_AS_PINRESET&lt;/p&gt;
&lt;p&gt;3. I did not touch PSELRESET[n] registers that are in default set to p0.18&lt;/p&gt;
&lt;p&gt;4. this is all done on a clean blinky example, the only thing i had to add to the prj.conff is the CONFIG_CLOCK_CONTROL_NRF_K32SRC_RC=y&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;here is a similar schematics from nrf52833 product specification document:&lt;/p&gt;
&lt;p&gt;you can see that design does not have external pull up / down resistor.&lt;/p&gt;
&lt;p&gt;our design is the same.&lt;/p&gt;
&lt;p&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/pastedimage1658233267809v1.png" /&gt;&lt;/p&gt;
&lt;p&gt;VDD is 3v connected directly to SoC as suppose to be, there is nothing much to see here.&lt;/p&gt;
&lt;p&gt;reset pin we have no access, no test point. on this 0,3mm pitch BGA so that&amp;#39;s not an option either.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;never had issues on nrf5 SDK.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Thanks&lt;/p&gt;
&lt;p&gt;Dan&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Initialization problem and bricked nrf52833  with nrf connect sdk</title><link>https://devzone.nordicsemi.com/thread/377603?ContentTypeID=1</link><pubDate>Tue, 19 Jul 2022 11:48:21 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:2a51d7ba-17bb-4c28-b1e2-c226f8613db8</guid><dc:creator>Kenneth</dc:creator><description>&lt;p&gt;You need to set the correct lfclk source (that is available for the design) in the project, else the code will freeze/hang during initialization (waiting for a lfclk source to start), however this does not explain the below issue:&lt;/p&gt;
[quote user=""]The crazy thing is, after exiting debug mode my nrf52833 is bricked, I cannot recover, erase or flash anything on device.[/quote]
&lt;p&gt;Are you sure you have not enabled pin reset by some mean, and that the pin reset is pulled low? This could explain this issue. Try to connect the pin reset pin to VDD to see if the boards can allow reprogramming then. If that didn&amp;#39;t help, it could be interesting to measure VDD on the board, to check the voltage.&lt;/p&gt;
&lt;p&gt;Best regards&lt;br /&gt;Kenneth&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>