<?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 nRF52832 module can&amp;#39;t connect J-Link anymore after flashing Zephyr program</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/105046/custom-nrf52832-module-can-t-connect-j-link-anymore-after-flashing-zephyr-program</link><description>I have a custom PCB with the Fanstel BC832 module. I don&amp;#39;t have the inductors for DCDC converter added to my board. I had my entire project written and working with PlatformIO, and everything had been working perfectly, except for the power consumption</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Thu, 26 Oct 2023 08:14:41 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/105046/custom-nrf52832-module-can-t-connect-j-link-anymore-after-flashing-zephyr-program" /><item><title>RE: Custom nRF52832 module can't connect J-Link anymore after flashing Zephyr program</title><link>https://devzone.nordicsemi.com/thread/452444?ContentTypeID=1</link><pubDate>Thu, 26 Oct 2023 08:14:41 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:2a1ab01d-f0b2-493f-982e-b1861f7f47da</guid><dc:creator>PaKa</dc:creator><description>&lt;p&gt;Did you try to run recover with the reset line pulled low? It needs to be kept low from before applying VDD until the recover command has been executed. Letting it go high before that will allow the regulator to change to DCDC mode and this will disable the programming interface.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Custom nRF52832 module can't connect J-Link anymore after flashing Zephyr program</title><link>https://devzone.nordicsemi.com/thread/452353?ContentTypeID=1</link><pubDate>Wed, 25 Oct 2023 17:35:38 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:6ad45d4a-8cd4-4718-ac0e-b1fb9b2c5b31</guid><dc:creator>nerdybee</dc:creator><description>&lt;p&gt;Thanks for your answer. Checking our project configuration, it seems like there&amp;#39;s a variable &lt;span&gt;CONFIG_GPIO_AS_PINRESET set to &amp;#39;y&amp;#39; by default. Wouldn&amp;#39;t this effectively make my P21 act as the RESET pin, rather than GPIO?&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Custom nRF52832 module can't connect J-Link anymore after flashing Zephyr program</title><link>https://devzone.nordicsemi.com/thread/452318?ContentTypeID=1</link><pubDate>Wed, 25 Oct 2023 14:24:48 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:7dfda825-16d1-4bc2-97b3-c7500bf164bc</guid><dc:creator>PaKa</dc:creator><description>&lt;p&gt;Default function for the reset pin is a a GPIO. This will be the case unless you have specifically set it up to be the reset pin, &lt;a href="https://infocenter.nordicsemi.com/topic/com.nordic.infocenter.nrf52832.ps.v1.1/uicr.html?cp=5_2_0_13_0_59#register.PSELRESET-0"&gt;https://infocenter.nordicsemi.com/topic/com.nordic.infocenter.nrf52832.ps.v1.1/uicr.html?cp=5_2_0_13_0_59#register.PSELRESET-0&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;You can try to run the recover feature without cycling the power then. If you have a SEGGER jlink and not the DK then the power supplies are independent and you can change the VDD level on the fly, this as the SEGGER devices have level shifters (our DKs do not have these).&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Custom nRF52832 module can't connect J-Link anymore after flashing Zephyr program</title><link>https://devzone.nordicsemi.com/thread/452310?ContentTypeID=1</link><pubDate>Wed, 25 Oct 2023 14:10:20 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:1aed6e46-6faa-434a-9efd-83673df8752c</guid><dc:creator>nerdybee</dc:creator><description>&lt;p&gt;Also, just to confirm, for the second option, you mean running&amp;nbsp;&lt;span&gt;nrfjprog --recover in the terminal over and over while turning the module on and off repeatedly? Would this not be damaging since the JLINK connector would remain connected to the DK, while the module would be powered off for some fraction of time?&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Custom nRF52832 module can't connect J-Link anymore after flashing Zephyr program</title><link>https://devzone.nordicsemi.com/thread/452305?ContentTypeID=1</link><pubDate>Wed, 25 Oct 2023 14:04:54 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:8fb8ef45-d088-455e-829e-eaf706557e94</guid><dc:creator>nerdybee</dc:creator><description>&lt;p&gt;Thank you so much for confirming my suspicions - this is very helpful! Can you explain in a bit more detail what you mean about the RESET being activated as RESET vs GPIO? Our code doesn&amp;#39;t address P21 (the reset pin in the Fanstel BC832) at all, but it is routed in the PCB to the reset line from the DK. Putting a scope probe to it shows the RESET line being HIGH all the time, except for then the RESET button on the DK is pressed while the module is connected to the DK, in which case it transiently goes low and then back up high.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Custom nRF52832 module can't connect J-Link anymore after flashing Zephyr program</title><link>https://devzone.nordicsemi.com/thread/452299?ContentTypeID=1</link><pubDate>Wed, 25 Oct 2023 13:55:55 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:a66b99ce-668c-4707-a849-b1b58a41a151</guid><dc:creator>PaKa</dc:creator><description>&lt;p&gt;1: this is a very likely cause of the problem. If you enable the DCDC and don&amp;#39;t have the inductor mounted then the devices should be bricked.&lt;/p&gt;
&lt;p&gt;2: If the reset line has been activated as a reset (and not as an GPIO) then keeping the device in reset when applying power will stop the device from enabling the DCDC. You can then perform a chip erase and device is back to normal. If reset is set up as GPIO then your best bet is to try to run the recover function multiple times while preferably cycling the power supply. If you are &lt;strong&gt;very lucky&lt;/strong&gt; you may get the parts erased and then you are good.&lt;/p&gt;
&lt;p&gt;Make sure the target voltage on VTref is the same as on the DK, 3.0V, as any other voltage will fail.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>