<?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>nRF52840-DK - Can´t program</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/91253/nrf52840-dk---can-t-program</link><description>I have a nRF52840-DK that stopped programing. 
 As a starting point to get it back to work, I reflashed the Interface MCU Firmware. 
 It is correctly detected by J-Link Configurator as follows: 
 
 It is also detected by VSCode Plugin: 
 
 
 But, any</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Tue, 23 Aug 2022 12:35:04 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/91253/nrf52840-dk---can-t-program" /><item><title>RE: nRF52840-DK - Can´t program</title><link>https://devzone.nordicsemi.com/thread/382925?ContentTypeID=1</link><pubDate>Tue, 23 Aug 2022 12:35:04 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:c4ce2a00-42ef-48a8-a720-39de853128ba</guid><dc:creator>Joao Dullius</dc:creator><description>&lt;p&gt;Thanks, will try that!&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF52840-DK - Can´t program</title><link>https://devzone.nordicsemi.com/thread/382924?ContentTypeID=1</link><pubDate>Mon, 22 Aug 2022 14:48:26 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:a46866b9-e754-42a0-a07d-36aa3336f8ae</guid><dc:creator>Kenneth</dc:creator><description>&lt;p&gt;It sounds to me that you by accident or intentionally enable pin reset, and that you somewhere in your project try to set P0.18 to low output. A combination of these two will make the chip unusable unless P0.18 is forced high (e.g. to VDD).&lt;/p&gt;
&lt;p&gt;You can for instance disable pin reset by setting&amp;nbsp;CONFIG_GPIO_AS_PINRESET=n in prj.conf&lt;/p&gt;
&lt;p&gt;Kenneth&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF52840-DK - Can´t program</title><link>https://devzone.nordicsemi.com/thread/382923?ContentTypeID=1</link><pubDate>Mon, 22 Aug 2022 12:11:32 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:96c8573c-3947-443b-a09b-c41c5d433fa2</guid><dc:creator>Joao Dullius</dc:creator><description>&lt;p&gt;Hi Kenneth,&lt;/p&gt;
&lt;p&gt;By connecting P0.18 to VDD, I was able to run the recover and program the board, but I always need to send a reset command after programing. It is not auto-reseting after programing and the BOOT/RESET button in the board is not running.&lt;/p&gt;
&lt;p&gt;If I disconnect P0.18 from VDD, I can no longer program the board.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF52840-DK - Can´t program</title><link>https://devzone.nordicsemi.com/thread/382922?ContentTypeID=1</link><pubDate>Mon, 22 Aug 2022 07:49:39 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:15f721bb-b93e-4c90-8007-d98b23ab3fbf</guid><dc:creator>Kenneth</dc:creator><description>&lt;p&gt;Hello,&lt;/p&gt;
&lt;p&gt;A few debug steps you can try,&lt;/p&gt;
&lt;p&gt;1. Download and install latest nrf command line tools, run &amp;quot;nrfjprog --recover&amp;quot;:&lt;br /&gt;&lt;a href="https://www.nordicsemi.com/Products/Development-tools/nrf-command-line-tools/download"&gt;https://www.nordicsemi.com/Products/Development-tools/nrf-command-line-tools/download&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;2. Try to connect P0.18 directly to VDD in case you have by accident enabled pin reset, then&amp;nbsp;&lt;span&gt;run &amp;quot;nrfjprog --recover&amp;quot;.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;3. Check that you have not by accident cut solder bridges to measure current consumption, in that case you need to place some jumpers on P22 and P23.&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>