<?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>nrfjprog failed to erase nRF52832 device</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/90510/nrfjprog-failed-to-erase-nrf52832-device</link><description>I would like to use nrfjprog to erase nRF52832 device. But it failed with &amp;quot;An unknown error&amp;quot;. The nRF52832 device connect to laptop through J-Link USB interface. 
 D:\Nordic&amp;gt;nrfjprog --log --family nRF52 --eraseall [error]: [SeggerBackend] - JLinkARM</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Wed, 03 Aug 2022 08:50:40 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/90510/nrfjprog-failed-to-erase-nrf52832-device" /><item><title>RE: nrfjprog failed to erase nRF52832 device</title><link>https://devzone.nordicsemi.com/thread/379824?ContentTypeID=1</link><pubDate>Wed, 03 Aug 2022 08:50:40 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:bddd1123-3ee1-45c7-84c4-edc8b6a5cb4f</guid><dc:creator>snowuyl</dc:creator><description>&lt;p&gt;Thanks for your reply!&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nrfjprog failed to erase nRF52832 device</title><link>https://devzone.nordicsemi.com/thread/379804?ContentTypeID=1</link><pubDate>Wed, 03 Aug 2022 07:25:39 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:9d49dda6-95e7-4125-8cf1-7908dc5c8f47</guid><dc:creator>Amanda Hsieh</dc:creator><description>&lt;p&gt;Hi,&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Have a look at the following posts:&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;a href="https://devzone.nordicsemi.com/f/nordic-q-a/49715/how-to-see-log-in-bootloader-if-app-moves-into-bootloader"&gt;How to see LOG in Bootloader if app moves into bootloader ?&lt;/a&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;a href="https://devzone.nordicsemi.com/f/nordic-q-a/30310/easy-way-to-merge-bootloader-and-application-rtt-output"&gt;Easy way to merge bootloader and application RTT output&lt;/a&gt;&amp;nbsp;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;a href="https://devzone.nordicsemi.com/f/nordic-q-a/63595/logs-in-bootloader-and-main-application/259590"&gt;RE: Logs in Bootloader and Main Application&lt;/a&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Regards,&lt;br /&gt;Amanda&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nrfjprog failed to erase nRF52832 device</title><link>https://devzone.nordicsemi.com/thread/379743?ContentTypeID=1</link><pubDate>Tue, 02 Aug 2022 13:57:21 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:1dff2553-cc98-47ca-98de-f4b855c227ea</guid><dc:creator>snowuyl</dc:creator><description>&lt;p&gt;&lt;span&gt;SD+BL+APP&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nrfjprog failed to erase nRF52832 device</title><link>https://devzone.nordicsemi.com/thread/379740?ContentTypeID=1</link><pubDate>Tue, 02 Aug 2022 13:47:15 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:7136eb89-e94d-42dd-915f-610a5e2c182d</guid><dc:creator>Amanda Hsieh</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
[quote user="snowuyl"]I didn&amp;#39;t chnage any thing. I just change using&amp;nbsp;&lt;span&gt;pca10040_s132_ble_debug instead&amp;nbsp;pca10040_s132_ble. RTT can&amp;#39;t connect to nRF52832 device occur when&amp;nbsp;nRF52832 device is running bootloader code.&lt;/span&gt;[/quote]
&lt;p&gt;You would not get the RTT log if loading&amp;nbsp;&lt;span&gt;pca10040_s132_ble. Please make sure you are using pca10040_s132_ble_debug.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;What image is running on the board?&amp;nbsp;&lt;span&gt;&amp;nbsp;Only the SD and pca10040_s132_ble_debug?&lt;/span&gt;&amp;nbsp;Or SD+BL+APP?&lt;/p&gt;
&lt;p&gt;-Amanda&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nrfjprog failed to erase nRF52832 device</title><link>https://devzone.nordicsemi.com/thread/379730?ContentTypeID=1</link><pubDate>Tue, 02 Aug 2022 13:28:52 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:7bcb2553-af95-479e-bdf1-c3dd83d1ba71</guid><dc:creator>snowuyl</dc:creator><description>&lt;p&gt;I didn&amp;#39;t chnage any thing. I just change using&amp;nbsp;&lt;span&gt;pca10040_s132_ble_debug instead&amp;nbsp;pca10040_s132_ble. RTT can&amp;#39;t connect to nRF52832 device occur when&amp;nbsp;nRF52832 device is running bootloader code. But&amp;nbsp;RTT can connect to nRF52832 device occur when&amp;nbsp;nRF52832 device is running application code.&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nrfjprog failed to erase nRF52832 device</title><link>https://devzone.nordicsemi.com/thread/379607?ContentTypeID=1</link><pubDate>Tue, 02 Aug 2022 05:37:54 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:ae14248c-cc7a-41ea-94cc-381395e2d8ec</guid><dc:creator>Amanda Hsieh</dc:creator><description>&lt;p&gt;In that case, you said&lt;/p&gt;
&lt;p&gt;&amp;quot;&lt;span&gt;I can see RTT log messages if I use nRF5_SDK_16.0.0\examples\dfu\secure_bootloader\pca10040_s132_ble_debug.&lt;/span&gt;&amp;quot;&lt;/p&gt;
&lt;p&gt;What did you change this time?&amp;nbsp;&lt;/p&gt;
&lt;p&gt;-Amanda&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nrfjprog failed to erase nRF52832 device</title><link>https://devzone.nordicsemi.com/thread/379564?ContentTypeID=1</link><pubDate>Mon, 01 Aug 2022 13:51:21 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:ddb43b01-0608-4d2c-b13c-cd797a8c536b</guid><dc:creator>snowuyl</dc:creator><description>&lt;p&gt;RTT can connect to nRF52832 device after running application code but can&amp;#39;t connect to nRF52832 device when running bootloader code.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nrfjprog failed to erase nRF52832 device</title><link>https://devzone.nordicsemi.com/thread/379503?ContentTypeID=1</link><pubDate>Mon, 01 Aug 2022 11:19:28 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:b635cfc0-f223-4d3a-ac70-fffc73bc7591</guid><dc:creator>Amanda Hsieh</dc:creator><description>&lt;p&gt;How do you get the RTT log in &lt;a href="https://devzone.nordicsemi.com/support-private/support/293110"&gt;your other case&lt;/a&gt;?&lt;/p&gt;
&lt;p&gt;-Amanda&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nrfjprog failed to erase nRF52832 device</title><link>https://devzone.nordicsemi.com/thread/379471?ContentTypeID=1</link><pubDate>Mon, 01 Aug 2022 08:56:37 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:b016b4e0-d402-4a5d-9725-6d3713fa1605</guid><dc:creator>snowuyl</dc:creator><description>&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/RTT_5F00_V7.66a_5F00_could_5F00_not_5F00_connect_5F00_to_5F00_target_5F00_II.png" alt=" " /&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/RTT_5F00_V7.66a_5F00_could_5F00_not_5F00_connect_5F00_to_5F00_target.png" alt=" " /&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nrfjprog failed to erase nRF52832 device</title><link>https://devzone.nordicsemi.com/thread/379470?ContentTypeID=1</link><pubDate>Mon, 01 Aug 2022 08:56:07 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:fef0494c-710b-4136-9b7d-4ed66e3bda5d</guid><dc:creator>snowuyl</dc:creator><description>&lt;p&gt;Thanks for your suggestion! I use nRF5_SDK_16.0.0\examples\dfu\secure_bootloader\pca10040_s132_ble_debug to capture log messages. But RTT V7.66a could not connect to nRF52832 device.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nrfjprog failed to erase nRF52832 device</title><link>https://devzone.nordicsemi.com/thread/379456?ContentTypeID=1</link><pubDate>Mon, 01 Aug 2022 08:14:09 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:afb674f2-d9ca-4c37-ac24-4430d634b7fe</guid><dc:creator>Amanda Hsieh</dc:creator><description>&lt;p&gt;&lt;span&gt;Please use the&amp;nbsp;&lt;/span&gt;&lt;span&gt;secure_bootloader example with&amp;nbsp;&lt;/span&gt;&lt;span&gt;_debug version to get debug log.&amp;nbsp;&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nrfjprog failed to erase nRF52832 device</title><link>https://devzone.nordicsemi.com/thread/379419?ContentTypeID=1</link><pubDate>Mon, 01 Aug 2022 03:58:59 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:675cdb40-8b38-4a6f-8a5a-9e7d76e19c77</guid><dc:creator>snowuyl</dc:creator><description>&lt;p&gt;After changing board.h, I can use nrfjprog to program bootloader, softdevice, and application hex file. But I still can&amp;#39;t see log messages of bootloader.&lt;/p&gt;
&lt;p&gt;D:\nrfjprog&amp;gt;nrfjprog_nrf52832_hex.bat&lt;br /&gt;&lt;br /&gt;D:\nrfjprog&amp;gt;nrfjprog --family nRF52 --eraseall&lt;br /&gt;Erasing user available code and UICR flash areas.&lt;br /&gt;Applying system reset.&lt;br /&gt;&lt;br /&gt;D:\nrfjprog&amp;gt;nrfjprog --family nRF52 --program&amp;nbsp; D:\nrfjprog\bootloader.hex&lt;br /&gt;Parsing image file.&lt;br /&gt;WARNING: A programming operation has been performed without --verify.&lt;br /&gt;WARNING: Programming can fail without error.&lt;br /&gt;&lt;br /&gt;D:\nrfjprog&amp;gt;nrfjprog --family nRF52 --program&amp;nbsp; D:\nrfjprog\softdevice_s132.hex&lt;br /&gt;Parsing image file.&lt;br /&gt;WARNING: A programming operation has been performed without --verify.&lt;br /&gt;WARNING: Programming can fail without error.&lt;br /&gt;&lt;br /&gt;D:\nrfjprog&amp;gt;nrfjprog --family nRF52 --program&amp;nbsp; D:\nrfjprog\nrf52832_xxaa.hex&lt;br /&gt;Parsing image file.&lt;br /&gt;WARNING: A programming operation has been performed without --verify.&lt;br /&gt;WARNING: Programming can fail without error.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nrfjprog failed to erase nRF52832 device</title><link>https://devzone.nordicsemi.com/thread/379416?ContentTypeID=1</link><pubDate>Mon, 01 Aug 2022 03:09:22 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:fd2daca5-547d-43e9-a971-0661d1df579c</guid><dc:creator>snowuyl</dc:creator><description>&lt;p&gt;&lt;a href="https://devzone.nordicsemi.com/cfs-file/__key/communityserver-discussions-components-files/4/7433.secure_5F00_bootloader.rar"&gt;devzone.nordicsemi.com/.../7433.secure_5F00_bootloader.rar&lt;/a&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nrfjprog failed to erase nRF52832 device</title><link>https://devzone.nordicsemi.com/thread/379415?ContentTypeID=1</link><pubDate>Mon, 01 Aug 2022 03:07:02 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:b15f30ef-3b11-41cb-a2ab-fce4deada757</guid><dc:creator>snowuyl</dc:creator><description>&lt;p&gt;&lt;a href="https://devzone.nordicsemi.com/cfs-file/__key/communityserver-discussions-components-files/4/4024.nrfjprog.rar"&gt;devzone.nordicsemi.com/.../4024.nrfjprog.rar&lt;/a&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nrfjprog failed to erase nRF52832 device</title><link>https://devzone.nordicsemi.com/thread/379412?ContentTypeID=1</link><pubDate>Mon, 01 Aug 2022 02:59:08 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:e9cef79f-6b0e-4e7f-8722-b191e815aa65</guid><dc:creator>snowuyl</dc:creator><description>&lt;p&gt;I encounter another problem. I can&amp;#39;t program softdevice if I program bootloader before program softdevice. But I can program softdevice if I don&amp;#39;t program bootloader before program softdevice. Does it mean bootloader has problem?&lt;/p&gt;
&lt;p&gt;D:\nrfjprog&amp;gt;nrfjprog_nrf52832_hex.bat&lt;br /&gt;&lt;br /&gt;D:\nrfjprog&amp;gt;nrfjprog --family nRF52 --eraseall&lt;br /&gt;Erasing user available code and UICR flash areas.&lt;br /&gt;Applying system reset.&lt;br /&gt;&lt;br /&gt;D:\nrfjprog&amp;gt;nrfjprog --family nRF52 --program&amp;nbsp; D:\nrfjprog\bootloader.hex&lt;br /&gt;Parsing image file.&lt;br /&gt;WARNING: A programming operation has been performed without --verify.&lt;br /&gt;WARNING: Programming can fail without error.&lt;br /&gt;&lt;br /&gt;D:\nrfjprog&amp;gt;nrfjprog --family nRF52 --program&amp;nbsp; D:\nrfjprog\softdevice_s132.hex&lt;br /&gt;Parsing image file.&lt;br /&gt;ERROR: The JLinkARM DLL timed out while communicating to the J-Link probe.&lt;br /&gt;ERROR: If the error condition persists, run the same command again with&lt;br /&gt;ERROR: argument -- log, contact Nordic Semiconductor and provide the generated&lt;br /&gt;ERROR: log.log file to them.&lt;br /&gt;NOTE: For additional output, try running again with logging enabled (--log).&lt;br /&gt;NOTE: Any generated log error messages will be displayed.&lt;br /&gt;&lt;br /&gt;D:\nrfjprog&amp;gt;nrfjprog --family nRF52 --program&amp;nbsp; D:\nrfjprog\nrf52832_xxaa.hex&lt;br /&gt;Parsing image file.&lt;br /&gt;WARNING: A programming operation has been performed without --verify.&lt;br /&gt;WARNING: Programming can fail without error.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;D:\nrfjprog&amp;gt;nrfjprog_nrf52832_hex_without_bootloader.bat&lt;br /&gt;&lt;br /&gt;D:\nrfjprog&amp;gt;nrfjprog --family nRF52 --eraseall&lt;br /&gt;Erasing user available code and UICR flash areas.&lt;br /&gt;Applying system reset.&lt;br /&gt;&lt;br /&gt;D:\nrfjprog&amp;gt;nrfjprog --family nRF52 --program&amp;nbsp; D:\nrfjprog\softdevice_s132.hex&lt;br /&gt;Parsing image file.&lt;br /&gt;WARNING: A programming operation has been performed without --verify.&lt;br /&gt;WARNING: Programming can fail without error.&lt;br /&gt;&lt;br /&gt;D:\nrfjprog&amp;gt;nrfjprog --family nRF52 --program&amp;nbsp; D:\nrfjprog\nrf52832_xxaa.hex&lt;br /&gt;Parsing image file.&lt;br /&gt;WARNING: A programming operation has been performed without --verify.&lt;br /&gt;WARNING: Programming can fail without error.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nrfjprog failed to erase nRF52832 device</title><link>https://devzone.nordicsemi.com/thread/379305?ContentTypeID=1</link><pubDate>Fri, 29 Jul 2022 11:57:57 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:b2d31d0d-1f09-41e2-9386-9774616a55d8</guid><dc:creator>Amanda Hsieh</dc:creator><description>&lt;p&gt;Good to know it works. Thanks for the update.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;-Amanda&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nrfjprog failed to erase nRF52832 device</title><link>https://devzone.nordicsemi.com/thread/379267?ContentTypeID=1</link><pubDate>Fri, 29 Jul 2022 09:17:14 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:35a12a15-478c-4d9c-807c-37884f733048</guid><dc:creator>snowuyl</dc:creator><description>&lt;p&gt;Yes, I am using &lt;span&gt;&amp;nbsp;j-link debugger to connect the custom board&lt;/span&gt;. After I change &lt;span&gt;j-link debugger&lt;/span&gt; whose chip made by SEGGER, nrfjprog command works.&lt;/p&gt;
&lt;p&gt;nrfjprog --family nRF52 --eraseall&lt;br /&gt;Erasing user available code and UICR flash areas.&lt;br /&gt;Applying system reset.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nrfjprog failed to erase nRF52832 device</title><link>https://devzone.nordicsemi.com/thread/379260?ContentTypeID=1</link><pubDate>Fri, 29 Jul 2022 08:40:45 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:499c5a04-b9e7-4b4b-92a2-7ca942b0c5a5</guid><dc:creator>Amanda Hsieh</dc:creator><description>&lt;p&gt;Hi,&amp;nbsp;&lt;/p&gt;
&lt;p&gt;I think you use a&amp;nbsp;&lt;span&gt;&amp;nbsp;j-link debugger to connect the custom board. If so,&amp;nbsp;&lt;/span&gt;&lt;span&gt;What j-link debugger are you using?&amp;nbsp;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;-Amanda&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>