<?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>5340 jlink firmware error</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/107292/5340-jlink-firmware-error</link><description>My nRF52832DK jlink is out of order. I can identify jlink, but I can&amp;#39;t download ,recover and erase. 
 Can you provide me with a jlink firmware?</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Mon, 29 Jan 2024 08:44:44 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/107292/5340-jlink-firmware-error" /><item><title>RE: 5340 jlink firmware error</title><link>https://devzone.nordicsemi.com/thread/466411?ContentTypeID=1</link><pubDate>Mon, 29 Jan 2024 08:44:44 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:6085f304-7b25-4cfa-a8ec-1ebbbc8a6dda</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="kenlove"]&lt;p&gt;&lt;span&gt;I tried. The device is not locked, I am going to send DK to FAE.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;If there is any other way, I will synchronize it.&lt;/span&gt;&lt;/p&gt;[/quote]
&lt;p&gt;As we have tried all other ways of recovering the device, this was going to be my next suggestion as well, ie. to replace the DK.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;I&amp;#39;m glad to hear that you have gotten a new DK for development. Let us know if you run into any issues!&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: 5340 jlink firmware error</title><link>https://devzone.nordicsemi.com/thread/466397?ContentTypeID=1</link><pubDate>Mon, 29 Jan 2024 08:10:57 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:14d7af90-85c7-4a4a-a4e0-d6ead0ace989</guid><dc:creator>kenlove</dc:creator><description>&lt;p&gt;&lt;span&gt;HI&amp;nbsp;H&amp;aring;kon ,&lt;br /&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;I tried. The device is not locked, I am going to send DK to FAE.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;If there is any other way, I will synchronize it.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&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/pastedimage1706515561763v1.png" alt=" " /&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;During this time, I have got a new DK for development.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Thank you for your support.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Best regards,&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Kenlove&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: 5340 jlink firmware error</title><link>https://devzone.nordicsemi.com/thread/464575?ContentTypeID=1</link><pubDate>Wed, 17 Jan 2024 11:39:22 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:e090d18c-a757-4b9d-aa9f-e83b345c4e26</guid><dc:creator>H&amp;#229;kon Alseth</dc:creator><description>&lt;p&gt;Hi Kenlove,&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
[quote user="kenlove"]Sorry for my late reply because of my vacation earlier.[/quote]
&lt;p&gt;No worries. Hope you had a good vacation!&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
[quote user="kenlove"]Tried. bat ,But still can&amp;#39;t use jlink.[/quote]
&lt;p&gt;Can we try one more thing?&lt;/p&gt;
&lt;p&gt;If you open J-Link Commander (from your start-menu), are you able to successfully connect to the device then?&lt;/p&gt;
&lt;p&gt;Here&amp;#39;s a way to connect using that program:&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="text"&gt;device nrf52
speed 1000
si 1
connect&lt;/pre&gt;&lt;/p&gt;
&lt;p&gt;This will set the correct device, nrf52 in this case, use 1 MHz speed, select SWD, and lastly: connect.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;You can get a pop-up stating that the device is protected, similar to this:&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/pastedimage1705491530213v1.png" alt=" " /&gt;&lt;/p&gt;
&lt;p&gt;If that happens, please &amp;quot;Yes&amp;quot; to unlock/unsecure the device.&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: 5340 jlink firmware error</title><link>https://devzone.nordicsemi.com/thread/464491?ContentTypeID=1</link><pubDate>Wed, 17 Jan 2024 01:22:16 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:8a234852-fcab-45e6-bd44-80f5b030a6c1</guid><dc:creator>kenlove</dc:creator><description>&lt;p&gt;&lt;span&gt;HI&amp;nbsp;H&amp;aring;kon ,&lt;br /&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Sorry for my late reply because of my vacation earlier.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Tried. bat ,But still can&amp;#39;t use jlink.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&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/pastedimage1705454484092v1.png" alt=" " /&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Best regards,&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Kenlove&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: 5340 jlink firmware error</title><link>https://devzone.nordicsemi.com/thread/463991?ContentTypeID=1</link><pubDate>Fri, 12 Jan 2024 13:54:28 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:67a6c08a-5ec2-430d-8390-3d4750f64a78</guid><dc:creator>H&amp;#229;kon Alseth</dc:creator><description>&lt;p&gt;Hi Kenlove,&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;The jlink is running as expected.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Could you try to run this recover in a loop using the .bat script that I linked to?&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="text"&gt;:loop
nrfjprog --recover -f nrf52
goto loop&lt;/pre&gt;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;When the above is running, you should continue to connect/disconnect the&amp;nbsp;&lt;strong&gt;jumper&lt;/strong&gt; connected to&amp;nbsp;&lt;strong&gt;nRF current measurement&lt;/strong&gt; header near the USB connector. This will power on/off the nRF while the debugger tries to recover the chip.&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: 5340 jlink firmware error</title><link>https://devzone.nordicsemi.com/thread/463897?ContentTypeID=1</link><pubDate>Fri, 12 Jan 2024 05:27:46 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:53ea4f00-0acd-4267-82bd-3e14184449dc</guid><dc:creator>kenlove</dc:creator><description>&lt;p&gt;&lt;span&gt;HI&amp;nbsp;&lt;/span&gt;&lt;span&gt;H&amp;aring;kon ,&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Jlink is still not recognized after shorting AIN0 pin.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;The code I use is the nRF5SDK saadc, it&amp;nbsp;runs very well.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;But I can&amp;#39;t download ,recover and erase.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;If nrfjprog is used,an example of error reporting is as follows.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&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/pastedimage1705036936236v1.png" alt=" " /&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Of course, I have also tried nrf connect for desktop.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="color:#ff0000;"&gt;08:43:04.085&lt;br /&gt;Reading readback protection status for Application core 0%&lt;br /&gt;08:43:04.101&lt;br /&gt;Reading readback protection status for Application core 100%&lt;br /&gt;08:43:04.101&lt;br /&gt;Application core protection status &amp;#39;NRFDL_PROTECTION_STATUS_ALL&amp;#39;&lt;br /&gt;08:43:04.102&lt;br /&gt;Reading readback protection status for Application core completed&lt;br /&gt;08:43:27.436&lt;br /&gt;Recovering Application core&lt;br /&gt;08:43:27.437&lt;br /&gt;Recovering Application core 0%&lt;br /&gt;08:44:27.887&lt;br /&gt;Failed to recovering application core core. Error: [object Object], message: Batch task recover failed, [jlink] RECOVER_FAILED&lt;br /&gt;08:44:28.115&lt;br /&gt;Error: Failed with exit code 1. One or more batch tasks failed: - [jlink] RECOVER_FAILED, code: Nrfjlink. Message: Batch task recover failed, [jlink] RECOVER_FAILED.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="color:#000000;"&gt;&lt;span&gt;There may be something wrong with jlink(5340) firmware.&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="color:#000000;"&gt;&lt;span&gt;What do I need to do to repair jlink firmware?&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Best regards,&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Kenlove&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: 5340 jlink firmware error</title><link>https://devzone.nordicsemi.com/thread/463879?ContentTypeID=1</link><pubDate>Fri, 12 Jan 2024 00:27:40 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:003aff19-7f8f-45f6-b262-31f4af210773</guid><dc:creator>kenlove</dc:creator><description>&lt;p&gt;&lt;span class="trans-sentence" data-index="0"&gt;HI &lt;span&gt;H&amp;aring;kon&amp;nbsp;&lt;/span&gt;，&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span class="trans-sentence" data-index="0"&gt;Thank you &lt;span&gt;H&amp;aring;kon&amp;nbsp;&lt;/span&gt;. &lt;/span&gt;&lt;span class="trans-sentence" data-index="1"&gt;Yes, I&amp;#39;m measuring the current.&lt;span&gt;I will try jumper as soon as possible.&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span class="trans-sentence" data-index="1"&gt;&lt;span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Best regards,&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Kenlove&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: 5340 jlink firmware error</title><link>https://devzone.nordicsemi.com/thread/463761?ContentTypeID=1</link><pubDate>Thu, 11 Jan 2024 13:28:31 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:be86a01c-b89b-41e6-a5dc-3710b0f376d3</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;If the JLINK is enumerating, the issue is highly likely with the nRF52832.&lt;/p&gt;
&lt;p&gt;Q1: Have you ever done any current measurements? If yes, could you add a jumper to the &amp;quot;nRF current measurement&amp;quot; header?&lt;/p&gt;
&lt;p&gt;Q2: If the nRF52 device is continuously resetting due to an assert occurring early in the boot-process, it can be hard to recover. What you can do is to run the script mentioned here:&amp;nbsp;&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;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Kind regards,&lt;/p&gt;
&lt;p&gt;Håkon&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>