<?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>52832DK can&amp;#39;t be unsecured</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/114585/52832dk-can-t-be-unsecured</link><description>Hello: 
 I have a problem here: 
 Connecting ... - Connecting via USB to probe/ programmer device 0 - Probe/ Programmer firmware: J-Link OB-nRF5340-NordicSemi compiled Apr 11 2024 17:44:26 - Probe/ Programmer S/N: 1050397561 - Device &amp;quot;NRF52832_XXAA&amp;quot; selected</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Wed, 11 Sep 2024 11:59:24 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/114585/52832dk-can-t-be-unsecured" /><item><title>RE: 52832DK can't be unsecured</title><link>https://devzone.nordicsemi.com/thread/502107?ContentTypeID=1</link><pubDate>Wed, 11 Sep 2024 11:59:24 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:a9c4eac2-0c14-44d5-b44d-de4b96c5962d</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;It could be that the firmware running on the device is in a assert loop (default behavior is then to do a soft-reset), which again can cause connection issues, because it is continuously resetting when trying to connect with the debugger.&lt;/p&gt;
&lt;p&gt;I am glad to hear that you were able to re-program your kit!&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: 52832DK can't be unsecured</title><link>https://devzone.nordicsemi.com/thread/502039?ContentTypeID=1</link><pubDate>Wed, 11 Sep 2024 07:27:53 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:6f8068e6-ecbf-493f-b371-4d71fc7d9742</guid><dc:creator>sniper15</dc:creator><description>&lt;p&gt;Oh, thanks, I forgot to check the programming function again after the cmd-line. It is now programmable, but I tried the recover command more than once before and failed every time. I don&amp;#39;t know what the hell happened.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: 52832DK can't be unsecured</title><link>https://devzone.nordicsemi.com/thread/501846?ContentTypeID=1</link><pubDate>Tue, 10 Sep 2024 07:46:48 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:d0fd961b-c01b-487b-907c-6fc4e33433c2</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;Are you sure that is the correct log file?&lt;/p&gt;
&lt;p&gt;Because this log file shows a successful recover, based on the file itself:&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="text"&gt;*snip*
[2024-Sept-10 08:39:05] [trace] [  JLink] - - 0.002ms returns 0x00  
[2024-Sept-10 08:39:05] [trace] [  JLink] - JLINK_HasError()  
[2024-Sept-10 08:39:05] [trace] [  JLink] - JLINK_ReadMemU32(0x4001E400, 0x1 Items)  
[2024-Sept-10 08:39:05] [trace] [  JLink] - CPU_ReadMem(4 bytes @ 0x4001E400)
[2024-Sept-10 08:39:05] [trace] [  JLink] - Data:  01 00 00 00
[2024-Sept-10 08:39:05] [trace] [  JLink] - - 0.583ms returns 1 (0x1)  
[2024-Sept-10 08:39:05] [trace] [  JLink] - JLINK_HasError()  
[2024-Sept-10 08:39:05] [trace] [  JLink] - JLINK_WriteMem(0x00000000, 0xDE4 Bytes, ...)  
[2024-Sept-10 08:39:05] [trace] [  JLink] - Data:  00 00 01 20 7D 05 00 00 A5 05 00 00 A7 05 00 00 ...
[2024-Sept-10 08:39:05] [trace] [  JLink] - CPU_WriteMem(3556 bytes @ 0x00000000)
[2024-Sept-10 08:39:05] [trace] [ Client] - Command write executed for 76 milliseconds with result 0
[2024-Sept-10 08:39:05] [trace] [  JLink] - - 64.251ms returns 0xDE4  
[2024-Sept-10 08:39:05] [trace] [  JLink] - JLINK_HasError()  
[2024-Sept-10 08:39:05] [debug] [  nRF52] - Just_nvmc_wait_for_ready
[2024-Sept-10 08:39:05] [debug] [SeggerBackend] - read_u32
[2024-Sept-10 08:39:05] [debug] [SeggerBackend] - ---just_connect_to_device
[2024-Sept-10 08:39:05] [debug] [SeggerBackend] - is_connected_to_device
[2024-Sept-10 08:39:05] [debug] [SeggerBackend] - ---just_read_u32
[2024-Sept-10 08:39:05] [debug] [SeggerBackend] - ---just_invalidate_cache
[2024-Sept-10 08:39:05] [trace] [  JLink] - JLINK_ExecCommand(&amp;quot;InvalidateCache&amp;quot;, ...).   
[2024-Sept-10 08:39:05] [trace] [  JLink] - - 0.004ms returns 0x00  
[2024-Sept-10 08:39:05] [trace] [  JLink] - JLINK_HasError()  
[2024-Sept-10 08:39:05] [trace] [  JLink] - JLINK_ReadMemU32(0x4001E400, 0x1 Items)  
[2024-Sept-10 08:39:05] [trace] [  JLink] - CPU_ReadMem(4 bytes @ 0x4001E400)
[2024-Sept-10 08:39:05] [trace] [  JLink] - Data:  01 00 00 00
[2024-Sept-10 08:39:05] [trace] [  JLink] - - 0.621ms returns 1 (0x1)  
[2024-Sept-10 08:39:05] [trace] [  JLink] - JLINK_HasError()  
[2024-Sept-10 08:39:05] [debug] [  nRF52] - Just_nvmc_config_control
[2024-Sept-10 08:39:05] [debug] [SeggerBackend] - write_u32
[2024-Sept-10 08:39:05] [debug] [SeggerBackend] - ---just_connect_to_device
[2024-Sept-10 08:39:05] [debug] [SeggerBackend] - is_connected_to_device
[2024-Sept-10 08:39:05] [debug] [SeggerBackend] - ---just_write_u32
[2024-Sept-10 08:39:05] [debug] [SeggerBackend] - ---just_write_debug_port_register
[2024-Sept-10 08:39:05] [debug] [SeggerBackend] - ---just_select_debug_port_register
[2024-Sept-10 08:39:05] [debug] [SeggerBackend] - Select AP 255, DP Bank 0, AP Bank 255
[2024-Sept-10 08:39:05] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x02, 0x00000000)  
[2024-Sept-10 08:39:05] [trace] [  JLink] - - 0.426ms returns 0  
[2024-Sept-10 08:39:05] [trace] [  JLink] - JLINK_HasError()  
[2024-Sept-10 08:39:05] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x02, 0x00000000)  
[2024-Sept-10 08:39:05] [trace] [  JLink] - - 0.481ms returns 0  
[2024-Sept-10 08:39:05] [trace] [  JLink] - JLINK_HasError()  
[2024-Sept-10 08:39:05] [trace] [  JLink] - JLINK_WriteU32_64(0x4001E504, 0x00000000)  
[2024-Sept-10 08:39:05] [trace] [  JLink] - CPU_WriteMem(4 bytes @ 0x4001E504)
[2024-Sept-10 08:39:05] [trace] [  JLink] - - 0.601ms returns 0 (0x00000000)  
[2024-Sept-10 08:39:05] [trace] [  JLink] - JLINK_HasError()  
[2024-Sept-10 08:39:05] [debug] [  nRF52] - Just_nvmc_wait_for_ready
[2024-Sept-10 08:39:05] [debug] [SeggerBackend] - read_u32
[2024-Sept-10 08:39:05] [debug] [SeggerBackend] - ---just_connect_to_device
[2024-Sept-10 08:39:05] [debug] [SeggerBackend] - is_connected_to_device
[2024-Sept-10 08:39:05] [debug] [SeggerBackend] - ---just_read_u32
[2024-Sept-10 08:39:05] [debug] [SeggerBackend] - ---just_invalidate_cache
[2024-Sept-10 08:39:05] [trace] [  JLink] - JLINK_ExecCommand(&amp;quot;InvalidateCache&amp;quot;, ...).   
[2024-Sept-10 08:39:05] [trace] [  JLink] - - 0.001ms returns 0x00  
[2024-Sept-10 08:39:05] [trace] [  JLink] - JLINK_HasError()  
[2024-Sept-10 08:39:05] [trace] [  JLink] - JLINK_ReadMemU32(0x4001E400, 0x1 Items)  
[2024-Sept-10 08:39:05] [trace] [  JLink] - CPU_ReadMem(4 bytes @ 0x4001E400)
[2024-Sept-10 08:39:05] [trace] [  JLink] - Data:  01 00 00 00
[2024-Sept-10 08:39:05] [trace] [  JLink] - - 0.549ms returns 1 (0x1)  
[2024-Sept-10 08:39:05] [trace] [  JLink] - JLINK_HasError()  
[2024-Sept-10 08:39:05] [trace] [  JLink] - - 0.004ms  
[2024-Sept-10 08:39:05] [trace] [ Worker] - Command write executed for 70 milliseconds with result 0
[2024-Sept-10 08:39:06] [debug] [  nRF52] - close
[2024-Sept-10 08:39:06] [debug] [SeggerBackend] - is_connected_to_emu
[2024-Sept-10 08:39:06] [trace] [  JLink] - JLINK_IsOpen()  
[2024-Sept-10 08:39:06] [trace] [  JLink] - - 0.006ms returns 0x01  
[2024-Sept-10 08:39:06] [trace] [  JLink] - JLINK_HasError()  
[2024-Sept-10 08:39:06] [trace] [  JLink] - JLINK_Lock()  
[2024-Sept-10 08:39:06] [debug] [SeggerBackend] - close
[2024-Sept-10 08:39:06] [debug] [SeggerBackend] - disconnect_from_emu
[2024-Sept-10 08:39:06] [debug] [SeggerBackend] - ---just_disconnect_from_emu
[2024-Sept-10 08:39:06] [debug] [SeggerBackend] - is_connected_to_device
[2024-Sept-10 08:39:06] [trace] [  JLink] - JLINK_IsConnected()  
[2024-Sept-10 08:39:06] [trace] [  JLink] - - 0.002ms returns TRUE  
[2024-Sept-10 08:39:06] [trace] [  JLink] - JLINK_HasError()  
[2024-Sept-10 08:39:06] [debug] [SeggerBackend] - ---just_is_debug_region_powered
[2024-Sept-10 08:39:06] [debug] [SeggerBackend] - ---just_read_debug_port_register
[2024-Sept-10 08:39:06] [debug] [SeggerBackend] - ---just_select_debug_port_register
[2024-Sept-10 08:39:06] [debug] [SeggerBackend] - Select AP 255, DP Bank 0, AP Bank 255
[2024-Sept-10 08:39:06] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x02, 0x00000000)  
[2024-Sept-10 08:39:06] [trace] [  JLink] - - 0.449ms returns 0  
[2024-Sept-10 08:39:06] [trace] [  JLink] - JLINK_HasError()  
[2024-Sept-10 08:39:06] [trace] [  JLink] - JLINK_CORESIGHT_ReadAPDPReg(DP reg 0x01)  
[2024-Sept-10 08:39:06] [trace] [  JLink] - Value=0xF0000040
[2024-Sept-10 08:39:06] [trace] [  JLink] - - 0.477ms returns 0  
[2024-Sept-10 08:39:06] [trace] [  JLink] - JLINK_HasError()  
[2024-Sept-10 08:39:06] [debug] [SeggerBackend] - Disable trace before closing connection.
[2024-Sept-10 08:39:06] [debug] [SeggerBackend] - ---just_write_u32
[2024-Sept-10 08:39:06] [debug] [SeggerBackend] - ---just_write_debug_port_register
[2024-Sept-10 08:39:06] [debug] [SeggerBackend] - ---just_select_debug_port_register
[2024-Sept-10 08:39:06] [debug] [SeggerBackend] - Select AP 255, DP Bank 0, AP Bank 255
[2024-Sept-10 08:39:06] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x02, 0x00000000)  
[2024-Sept-10 08:39:06] [trace] [  JLink] - - 0.433ms returns 0  
[2024-Sept-10 08:39:06] [trace] [  JLink] - JLINK_HasError()  
[2024-Sept-10 08:39:06] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x02, 0x00000000)  
[2024-Sept-10 08:39:06] [trace] [  JLink] - - 0.472ms returns 0  
[2024-Sept-10 08:39:06] [trace] [  JLink] - JLINK_HasError()  
[2024-Sept-10 08:39:06] [trace] [  JLink] - JLINK_WriteU32_64(0xE000EDFC, 0x00000000)  
[2024-Sept-10 08:39:06] [trace] [  JLink] - Debug reg: DEMCR
[2024-Sept-10 08:39:06] [trace] [  JLink] - CPU_WriteMem(4 bytes @ 0xE000EDFC)
[2024-Sept-10 08:39:06] [trace] [  JLink] - - 0.800ms returns 0 (0x00000000)  
[2024-Sept-10 08:39:06] [trace] [  JLink] - JLINK_HasError()  
[2024-Sept-10 08:39:06] [debug] [SeggerBackend] - ---just_is_debug_region_powered
[2024-Sept-10 08:39:06] [debug] [SeggerBackend] - Shortcut, lock is on and debug region is powered.
[2024-Sept-10 08:39:06] [debug] [SeggerBackend] - unpower_debug_and_system_regions
[2024-Sept-10 08:39:06] [debug] [SeggerBackend] - ---just_write_debug_port_register
[2024-Sept-10 08:39:06] [debug] [SeggerBackend] - ---just_select_debug_port_register
[2024-Sept-10 08:39:06] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x01, 0x00000000)  
[2024-Sept-10 08:39:06] [trace] [  JLink] - - 0.435ms returns 0  
[2024-Sept-10 08:39:06] [trace] [  JLink] - JLINK_HasError()  
[2024-Sept-10 08:39:06] [debug] [SeggerBackend] - ---just_is_debug_region_powered
[2024-Sept-10 08:39:06] [debug] [SeggerBackend] - ---just_read_debug_port_register
[2024-Sept-10 08:39:06] [debug] [SeggerBackend] - ---just_select_debug_port_register
[2024-Sept-10 08:39:06] [trace] [  JLink] - JLINK_CORESIGHT_ReadAPDPReg(DP reg 0x01)  
[2024-Sept-10 08:39:06] [trace] [  JLink] - Value=0x00000040
[2024-Sept-10 08:39:06] [trace] [  JLink] - - 0.460ms returns 0  
[2024-Sept-10 08:39:06] [trace] [  JLink] - JLINK_HasError()  
[2024-Sept-10 08:39:06] [trace] [  JLink] - - 0.003ms  
[2024-Sept-10 08:39:06] [trace] [  JLink] - JLINK_Close()  
[2024-Sept-10 08:39:06] [debug] [SeggerBackend] - Segger Backend closed.
[2024-Sept-10 08:39:06] [debug] [  nRF52] - nRF family DLL closed
[2024-Sept-10 08:39:06] [trace] [ Worker] - Command close executed for 44 milliseconds with result 0
[2024-Sept-10 08:39:06] [trace] [ Client] - Command close executed for 61 milliseconds with result 0
[2024-Sept-10 08:39:06] [debug] [ Client] - terminate
[2024-Sept-10 08:39:06] [trace] [ Client] - Command terminate executed for 0 milliseconds with result 0
[2024-Sept-10 08:39:06] [trace] [ Worker] - Command terminate executed for 0 milliseconds with result 0
[2024-Sept-10 08:39:06] [trace] [ Worker] - Executed 10 commands for 1360 milliseconds
[2024-Sept-10 08:39:06] [debug] [ Client] - Worker process exited with code: 0
[2024-Sept-10 08:39:06] [debug] [ Client] - Worker process exited with code: 0
[2024-Sept-10 08:39:06] [debug] [ Client] - Child process terminated with result 0
[2024-Sept-10 08:39:06] [trace] [ Client] - Executed 10 commands for 1475 milliseconds
[2024-Sept-10 08:39:06] [debug] [ Client] - terminate&lt;/pre&gt;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;What happens if you try to program a .hex file using nrfjprog?&lt;/p&gt;
&lt;p&gt;nrfjprog --program &amp;lt;hexfile&amp;gt; --sectorerase --verify -f nrf52&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&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: 52832DK can't be unsecured</title><link>https://devzone.nordicsemi.com/thread/501814?ContentTypeID=1</link><pubDate>Tue, 10 Sep 2024 00:58:11 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:f297c34b-c2c6-4696-bf47-11d3805cf50a</guid><dc:creator>sniper15</dc:creator><description>&lt;p&gt;thaks,i try this cmd-line and still failed&lt;/p&gt;
&lt;p&gt;&lt;a href="https://github.com/juneofive/52832dk-fail/blob/master/log.log"&gt;this is log file&lt;/a&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: 52832DK can't be unsecured</title><link>https://devzone.nordicsemi.com/thread/501758?ContentTypeID=1</link><pubDate>Mon, 09 Sep 2024 13:20:26 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:57f515ac-7b37-4596-996d-0466ba3d16e8</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;Could you try to run &amp;quot;nrfjprog --recover -f nrf52 --log&amp;quot; ? And if it still fails, can you attach the outputted &amp;quot;log.log&amp;quot; file?&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></channel></rss>