<?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>How to erase a protected firmware program (knowing the protected password)</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/74775/how-to-erase-a-protected-firmware-program-knowing-the-protected-password</link><description>I&amp;#39;m trying to deploy a new firmware to my hardware device but I get the following error in the nrf Connect 3.6.1 programmer (v1.4.8): 
 
 
 
 
 16:47:36.937 
 Error when getting device info: Error: Error: Error occured when get device info. Errorcode</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Fri, 07 May 2021 11:10:30 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/74775/how-to-erase-a-protected-firmware-program-knowing-the-protected-password" /><item><title>RE: How to erase a protected firmware program (knowing the protected password)</title><link>https://devzone.nordicsemi.com/thread/308710?ContentTypeID=1</link><pubDate>Fri, 07 May 2021 11:10:30 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:acdc88f9-4eeb-4628-adfe-23ef4527acfa</guid><dc:creator>Amanda Hsieh</dc:creator><description>&lt;p&gt;Do you refer to &lt;a href="https://devzone.nordicsemi.com/f/nordic-q-a/32661/external-programming-with-nrf5-dk-p20"&gt;this thread&lt;/a&gt;&amp;nbsp;to modify the connection?&lt;/p&gt;
&lt;p&gt;-Amanda H.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to erase a protected firmware program (knowing the protected password)</title><link>https://devzone.nordicsemi.com/thread/308704?ContentTypeID=1</link><pubDate>Fri, 07 May 2021 11:03:58 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:a364c758-7e40-45a3-99da-262fd9d1e739</guid><dc:creator>JamesD</dc:creator><description>&lt;p&gt;&lt;a href="https://devzone.nordicsemi.com/members/amanda"&gt;Amanda Hsieh&lt;/a&gt; Is there a way to erase the memory of my custom device from the J-Link commander perhaps?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to erase a protected firmware program (knowing the protected password)</title><link>https://devzone.nordicsemi.com/thread/308678?ContentTypeID=1</link><pubDate>Fri, 07 May 2021 09:17:37 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:a6fdf698-44fd-4277-b614-da3c8fa2c393</guid><dc:creator>JamesD</dc:creator><description>&lt;p&gt;VTref is at 3.3v according to J-Link commander.&lt;/p&gt;
&lt;p&gt;Checking out the post you&amp;#39;ve sent now&lt;/p&gt;
&lt;p&gt;&lt;img alt=" " src="https://devzone.nordicsemi.com/resized-image/__size/320x240/__key/communityserver-discussions-components-files/4/5353.commander.png" /&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to erase a protected firmware program (knowing the protected password)</title><link>https://devzone.nordicsemi.com/thread/308675?ContentTypeID=1</link><pubDate>Fri, 07 May 2021 09:07:29 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:8fe2a42d-ea34-459d-9d66-4a93ab198abd</guid><dc:creator>Amanda Hsieh</dc:creator><description>&lt;p&gt;Hi,&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Have a look at&amp;nbsp;the connection in&amp;nbsp;&lt;/span&gt;&lt;a href="https://devzone.nordicsemi.com/f/nordic-q-a/32661/external-programming-with-nrf5-dk-p20"&gt;this thread&lt;/a&gt;&lt;span&gt;.&lt;/span&gt;&lt;/p&gt;
[quote user="JamesD"]I&amp;#39;m connecting the device via USB, so I&amp;#39;m not familiar with how to check the voltage to the SDK?[/quote]
&lt;p&gt;&amp;nbsp;Open&amp;nbsp;&lt;span&gt;J-Link Commander, and check the&amp;nbsp;VTref as the figure I replied in the previous.&amp;nbsp;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;-Amanda H.&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to erase a protected firmware program (knowing the protected password)</title><link>https://devzone.nordicsemi.com/thread/308667?ContentTypeID=1</link><pubDate>Fri, 07 May 2021 08:36:00 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:07e4e923-7a60-46e4-83d2-65c311f93547</guid><dc:creator>JamesD</dc:creator><description>&lt;p&gt;Hi again Amanda,&lt;/p&gt;
&lt;p&gt;thanks for taking the time to respond so far,&lt;/p&gt;
&lt;p&gt;Wiring now is as followed:&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&lt;img alt=" " src="https://devzone.nordicsemi.com/resized-image/__size/200x240/__key/communityserver-discussions-components-files/4/78052.png" /&gt;&lt;/p&gt;
&lt;p&gt;So I&amp;#39;m currently not using the debug output to connect with the device&lt;/p&gt;
&lt;p&gt;I&amp;#39;ve provided power to the custom device by batteries now, no change in the result.&lt;br /&gt;&lt;br /&gt;I&amp;#39;m connecting the device via USB, so I&amp;#39;m not familiar with how to check the voltage to the SDK?&lt;/p&gt;
&lt;p&gt;log via commandline command:&lt;br /&gt;&amp;nbsp;&lt;span&gt;nrfjprog.exe -f NRF52 --recover --log:&lt;br /&gt;&lt;a href="https://devzone.nordicsemi.com/cfs-file/__key/communityserver-discussions-components-files/4/0250.log.log"&gt;devzone.nordicsemi.com/.../0250.log.log&lt;/a&gt;&lt;br /&gt;&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to erase a protected firmware program (knowing the protected password)</title><link>https://devzone.nordicsemi.com/thread/308662?ContentTypeID=1</link><pubDate>Fri, 07 May 2021 08:03:21 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:84db9a0a-0e65-4573-9bcb-eb823fc0213b</guid><dc:creator>Amanda Hsieh</dc:creator><description>&lt;p&gt;Hi James,&amp;nbsp;&lt;/p&gt;
[quote user="JamesD"]I can put batteries to the unit if that would be better?[/quote]
&lt;p&gt;&amp;nbsp;No, just give power by J2.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Here is the&amp;nbsp;&lt;a href="https://www.nordicsemi.com/Software-and-tools/Development-Tools/nRF-Command-Line-Tools"&gt;https://www.nordicsemi.com/Software-and-tools/Development-Tools/nRF-Command-Line-Tools&lt;/a&gt;.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;How do you connect your hardware device with nRF52DK? Could you provide the picture? Do you use DK&amp;#39;s&amp;nbsp;&lt;/span&gt;&lt;a title="Debug output" href="https://infocenter.nordicsemi.com/topic/ug_nrf52832_dk/UG/nrf52_DK/hw_debug_out.html?cp=4_2_4_5_9"&gt;Debug output&lt;/a&gt;&lt;span&gt;&amp;nbsp;to connect with your custom device? Please also provide the power to the&amp;nbsp;custom device separately.&amp;nbsp;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;What voltage of VTref does the J-Link Commander get?&amp;nbsp;Please check by the J-Link Commander and make sure it detects&amp;nbsp;VTref&amp;nbsp;as 3.3v.&amp;nbsp;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;img alt=" " src="https://devzone.nordicsemi.com/resized-image/__size/320x240/__key/communityserver-discussions-components-files/4/269380.PNG" /&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;-Amanda H.&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to erase a protected firmware program (knowing the protected password)</title><link>https://devzone.nordicsemi.com/thread/308573?ContentTypeID=1</link><pubDate>Thu, 06 May 2021 14:03:26 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:e986037d-3fcc-4e8d-971c-89fb01f6175b</guid><dc:creator>JamesD</dc:creator><description>&lt;p&gt;Hi,&lt;br /&gt;&lt;br /&gt;2.93V is the output on the VDD to my device&amp;nbsp;of the SDK. (I can put batteries to the unit if that would be better?)&lt;br /&gt;The password I use only to get inside the firmware of the device when I connect with Bluetooth, ensuring no external people can read it out. &lt;br /&gt;It has no further purpose&lt;br /&gt;&lt;br /&gt;I don&amp;#39;t have a command line tool, which would you recommend?&lt;br /&gt;&lt;br /&gt;here&amp;#39;s a pick of the sdk voltage readout:&lt;br /&gt;&lt;br /&gt;&lt;img alt=" " src="https://devzone.nordicsemi.com/resized-image/__size/640x480/__key/communityserver-discussions-components-files/4/devkit.jpg" /&gt;&lt;br /&gt;&lt;br /&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to erase a protected firmware program (knowing the protected password)</title><link>https://devzone.nordicsemi.com/thread/308536?ContentTypeID=1</link><pubDate>Thu, 06 May 2021 11:38:43 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:fb9b4cd6-84ce-4766-b6ba-5fa206fa386f</guid><dc:creator>Amanda Hsieh</dc:creator><description>&lt;p&gt;Hi,&amp;nbsp;&lt;/p&gt;
[quote user=""]I assume this is because the device is password protected. I know this password[/quote]
&lt;p&gt;What is the password used for? Why don&amp;#39;t you use the password if you know that?&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;What is your command-line tool version? You can check by typing&amp;nbsp;&lt;code&gt;nrfjprog -v&lt;/code&gt;, and provide the log.&amp;nbsp;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Do you use DK&amp;#39;s&amp;nbsp;&lt;a title="Debug output" href="https://infocenter.nordicsemi.com/topic/ug_nrf52832_dk/UG/nrf52_DK/hw_debug_out.html?cp=4_2_4_5_9"&gt;Debug output&lt;/a&gt;&amp;nbsp;to connect with your custom device? If so, please also provide the power to the&amp;nbsp;&lt;span&gt;custom device.&amp;nbsp;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;What voltage of VTref does the J-Link Commander get?&amp;nbsp;Please make sure it detects&amp;nbsp;VTref&amp;nbsp;as 3.3v.&amp;nbsp;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;-Amanda H.&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>