<?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 flashing issue</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/106552/nrf52840-flashing-issue</link><description>I have flashed the nrf52840 (Custom board) multiple time and suddenly it is showing me the below error. 
 Does anyone have the idea how to solve this error. 
 
 For flashing I am using the Jlink devkit that has the n52832.</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Tue, 19 Dec 2023 09:17:18 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/106552/nrf52840-flashing-issue" /><item><title>RE: nRF52840 flashing issue</title><link>https://devzone.nordicsemi.com/thread/460991?ContentTypeID=1</link><pubDate>Tue, 19 Dec 2023 09:17:18 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:40516b03-47c0-4762-89fc-63743550dc79</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;The nRF itself should draw current in the low mA-area, depending on the firmware running on the device.&lt;/p&gt;
&lt;p&gt;Could you measure the current consumption used by your custom board and share your results?&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: nRF52840 flashing issue</title><link>https://devzone.nordicsemi.com/thread/460948?ContentTypeID=1</link><pubDate>Tue, 19 Dec 2023 05:36:10 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:eb861aa7-d574-478f-aa03-7bafd86367af</guid><dc:creator>AnkitVT</dc:creator><description>&lt;p&gt;Hi H&amp;aring;kon,&lt;/p&gt;
&lt;p&gt;Apologies for the delay in response.&lt;/p&gt;
&lt;p&gt;I have connected the power adapter which has a capacity higher than my board consumption and I also checked the voltage level on MDO and it is perfect no deep on the voltage line. It is not issue related to power because my other boards are working fine.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF52840 flashing issue</title><link>https://devzone.nordicsemi.com/thread/460576?ContentTypeID=1</link><pubDate>Fri, 15 Dec 2023 14:06:56 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:ef744d62-31e1-4900-b4b4-48998c9630c9</guid><dc:creator>H&amp;#229;kon Alseth</dc:creator><description>&lt;p&gt;Have you checked the current consumption of your custom board? how much current does it draw?&lt;/p&gt;
&lt;p&gt;Do you have more than one board?&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: nRF52840 flashing issue</title><link>https://devzone.nordicsemi.com/thread/460459?ContentTypeID=1</link><pubDate>Fri, 15 Dec 2023 04:49:48 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:81cca4df-b44d-491c-bd17-98c18c5135f6</guid><dc:creator>AnkitVT</dc:creator><description>&lt;p&gt;Yes, H&amp;aring;kon multiple times I turned ON/OFF my custom board supply and It does not work for me.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF52840 flashing issue</title><link>https://devzone.nordicsemi.com/thread/460319?ContentTypeID=1</link><pubDate>Thu, 14 Dec 2023 10:02:50 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:aed998e6-c5d0-4e7a-9162-5a80c6795502</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;You should manually power your custom board on/off while the loop is running.&lt;/p&gt;
&lt;p&gt;Did you do this?&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: nRF52840 flashing issue</title><link>https://devzone.nordicsemi.com/thread/460300?ContentTypeID=1</link><pubDate>Thu, 14 Dec 2023 09:00:46 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:b85e665d-b24d-454b-baaa-66ffd025bfd9</guid><dc:creator>AnkitVT</dc:creator><description>&lt;p&gt;Hi H&amp;aring;kon,&lt;/p&gt;
&lt;p&gt;I tried with your suggestion. As per your suggested case, someone tried at least 100 times and got their device recovered. I have put my device ON for 2.5 hours with this script, and the issue is still not resolved in my case.&lt;/p&gt;
&lt;p&gt;Attached the batch file text and logs picture for your reference.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&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/pastedimage1702544202957v3.png" alt=" " /&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&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/pastedimage1702543596671v1.png" alt=" " /&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF52840 flashing issue</title><link>https://devzone.nordicsemi.com/thread/460155?ContentTypeID=1</link><pubDate>Wed, 13 Dec 2023 13:34:58 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:66a8d6df-038f-407b-9c17-e62fed45eec5</guid><dc:creator>H&amp;#229;kon Alseth</dc:creator><description>&lt;p&gt;If the firmware running on the nRF device is continuously resetting (assertion or fault occurring), it can be hard to recover the device.&lt;/p&gt;
&lt;p&gt;In that case, you can try to run a simple batch script that runs recover:&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;a href="https://devzone.nordicsemi.com/f/nordic-q-a/45078/nrf52832-not-connected-anymore-after-first-trying-to-debug-keil/177579"&gt;RE: nRF52832 not connected anymore after first trying to debug (Keil)&lt;/a&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;While manually removing the power to the custom board.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Could you try this and see if that works?&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: nRF52840 flashing issue</title><link>https://devzone.nordicsemi.com/thread/460046?ContentTypeID=1</link><pubDate>Wed, 13 Dec 2023 05:15:53 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:18fa1094-9112-49ec-a657-8334de1e2b5d</guid><dc:creator>AnkitVT</dc:creator><description>&lt;p&gt;Yes, I checked the all connections it is proper also my target is generating 3.3V.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF52840 flashing issue</title><link>https://devzone.nordicsemi.com/thread/459925?ContentTypeID=1</link><pubDate>Tue, 12 Dec 2023 12:53:42 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:a123cd18-c68a-49f5-9820-e1a82527d205</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;
[quote user=""]I have flashed the nrf52840 (Custom board) multiple time and suddenly it is showing me the[/quote]
&lt;p&gt;This specific board has previously been working as expected, and now it has stopped working. Have you checked the physical connection between the nRF52-DK and your custom board to ensure there&amp;#39;s no faulty wiring or similar?&lt;/p&gt;
&lt;p&gt;The errors you&amp;#39;re seeing indicates that the debugger isn&amp;#39;t able to connect over SWD. Have you checked that the voltages match? An external target must be powered with 3.0V, ie. the same voltage as the nRF52-DK is running on.&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: nRF52840 flashing issue</title><link>https://devzone.nordicsemi.com/thread/459879?ContentTypeID=1</link><pubDate>Tue, 12 Dec 2023 09:36:39 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:229d39e9-02a4-4045-844a-1d2e72625398</guid><dc:creator>AnkitVT</dc:creator><description>&lt;p&gt;Result with the &amp;quot;nrfjprog --recover&amp;quot;&lt;/p&gt;
&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/pastedimage1702373636937v2.png" alt=" " /&gt;&lt;/p&gt;
&lt;p&gt;Result with the nRF connect Desktop.&lt;/p&gt;
&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/pastedimage1702373672971v3.png" alt=" " /&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Let me know if is there any other way to flash or erase the device.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF52840 flashing issue</title><link>https://devzone.nordicsemi.com/thread/459878?ContentTypeID=1</link><pubDate>Tue, 12 Dec 2023 09:32:10 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:2eacaa25-bdaf-4ba9-8e10-37b22256ef38</guid><dc:creator>Shahin97</dc:creator><description>&lt;p&gt;I personally use the windows application, nRF Connect Desktop -&amp;gt; Programmer -&amp;gt; Has a UI to interact with it to flash/erase etc .&amp;nbsp;&lt;/p&gt;
&lt;p&gt;The terminal&amp;nbsp; &amp;quot;nrfjprog --recover&amp;quot; might help the erase&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF52840 flashing issue</title><link>https://devzone.nordicsemi.com/thread/459873?ContentTypeID=1</link><pubDate>Tue, 12 Dec 2023 09:22:30 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:6cef02c1-db38-470d-b00a-5cbae321a9f5</guid><dc:creator>AnkitVT</dc:creator><description>&lt;p&gt;Hi shahin,&lt;/p&gt;
&lt;p&gt;Yes, i am using the nrf52dk_nrf52832.&lt;/p&gt;
&lt;p&gt;i will try with the J link_V7.88j. But could you please tell me how to fully erase the chip because i have try with the &amp;quot;nrfjprog --eraseall&amp;quot; and it is showing me the ERROR.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&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/pastedimage1702372930495v2.png" alt=" " /&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF52840 flashing issue</title><link>https://devzone.nordicsemi.com/thread/459870?ContentTypeID=1</link><pubDate>Tue, 12 Dec 2023 09:12:53 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:019ab0a9-e157-49c3-b43d-c5342b4137bf</guid><dc:creator>Shahin97</dc:creator><description>&lt;p&gt;Correct me if I am wrong but,&amp;nbsp;&lt;br /&gt;&lt;br /&gt;What do you mean by Jlink devkit, Do you mean the nrf52dk_nrf52832 &lt;br /&gt;(&lt;a href="https://www.nordicsemi.com/Products/Development-hardware/nrf52-dk)"&gt;https://www.nordicsemi.com/Products/Development-hardware/nrf52-dk)? &lt;/a&gt;&lt;br /&gt;&lt;br /&gt;I was under the impression that the dev kit can only program others with the same MCU.&amp;nbsp;&lt;br /&gt;&lt;br /&gt;So&amp;nbsp;&lt;span&gt;nrf52840&amp;nbsp;dev-kit can program other&amp;nbsp;nrf52840s.&amp;nbsp;&lt;br /&gt;&lt;br /&gt;I did notice -&amp;nbsp;2023-12-12T08:50:29.330Z WARN Installed JLink version does not match the expected version (JLink_V7.88j)&lt;br /&gt;Could be worth trying to update this,&amp;nbsp;&lt;br /&gt;&lt;br /&gt;Also, 2023-12-12T08:50:52.220Z ERROR Failed to reading readback protection status for application core core. Error: [object Object], message: Batch task protection-get failed, [jlink] JLINKARM_DLL_ERROR&lt;br /&gt;&lt;br /&gt;It may be worth using nrf connect programmer to fully erase the chip (will erase protected areas)&amp;nbsp;&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>