<?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>Problem to upload to nRF52-DK</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/91363/problem-to-upload-to-nrf52-dk</link><description>Hello, 
 I just got in these days a nRF52-DK and just today I started to try stuff with it, I want to use PlatformIO and Zephyr. 
 First I try this: https://docs.platformio.org/en/latest/tutorials/nordicnrf52/zephyr_debugging_unit_testing_inspect.html#tutorial</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Tue, 30 Aug 2022 11:06:52 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/91363/problem-to-upload-to-nrf52-dk" /><item><title>RE: Problem to upload to nRF52-DK</title><link>https://devzone.nordicsemi.com/thread/383875?ContentTypeID=1</link><pubDate>Tue, 30 Aug 2022 11:06:52 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:b5666571-de2a-4e25-ab85-14daf8cc44a1</guid><dc:creator>Hung Bui</dc:creator><description>&lt;p&gt;Hi Pedro,&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;br /&gt;Could you send us the hex file that generated from the example ? Especially if you still have the hex that you used to flash on the board ?&amp;nbsp;&lt;/p&gt;
&lt;p&gt;We are suspecting that the example may trigger manual system reset too early or enable WDT that can trigger a reset too early.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Here is a quote from our R&amp;amp;D team:&amp;nbsp;&lt;/p&gt;
&lt;div&gt;
&lt;div&gt;&lt;em&gt;It seems that the recover hardware mechanism does not work as intended.&lt;/em&gt;&lt;/div&gt;
&lt;div&gt;&lt;em&gt;nrfjprog writes the device CTRL-AP.ERASEALL register, but the CTRL-AP.ERASEALLSTATUS flag never indicates that the operation has been completed.&lt;/em&gt;&lt;/div&gt;
&lt;div&gt;&lt;em&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;/em&gt;&lt;/div&gt;
&lt;/div&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Problem to upload to nRF52-DK</title><link>https://devzone.nordicsemi.com/thread/383686?ContentTypeID=1</link><pubDate>Mon, 29 Aug 2022 12:31:24 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:a64074f7-3ea7-4b6c-b9e5-39daddcd50c4</guid><dc:creator>PedroMF</dc:creator><description>&lt;p&gt;No nothing special&amp;nbsp;&lt;a href="https://docs.platformio.org/en/latest/tutorials/nordicnrf52/zephyr_debugging_unit_testing_inspect.html#tutorial-nordicnrf52-zephyr-debugging-unit-testing-analysis"&gt;https://docs.platformio.org/en/latest/tutorials/nordicnrf52/zephyr_debugging_unit_testing_inspect.html#tutorial-nordicnrf52-zephyr-debugging-unit-testing-analysis&lt;/a&gt;&lt;span&gt;&amp;nbsp;&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Problem to upload to nRF52-DK</title><link>https://devzone.nordicsemi.com/thread/383659?ContentTypeID=1</link><pubDate>Mon, 29 Aug 2022 11:43:01 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:743768cb-00f1-44c6-bce8-c613dbdf26e2</guid><dc:creator>Hung Bui</dc:creator><description>&lt;p&gt;Hi Pedro,&amp;nbsp;&lt;/p&gt;
&lt;p&gt;I did a test here and I had the same&amp;nbsp;NRF51xxx_xxAA_REV1&amp;nbsp; return if I do --deviceversion after the nRF52 chip is protected (a power reset after programming). I assume this is normal because the chip is protected.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;br /&gt;However, I can do --recover without any problem on my DK.&lt;/p&gt;
&lt;p&gt;So there must be something wrong that wouldn&amp;#39;t allow nrfjprog to recover&amp;nbsp;your DK.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Is there anything special about the PlatformIO firmware that you flashed on the board ?&amp;nbsp;&lt;br /&gt;Prior to the firmware you flashed, did you flash any firmware from our NCS SDK or nRF5 SDK?&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Problem to upload to nRF52-DK</title><link>https://devzone.nordicsemi.com/thread/383531?ContentTypeID=1</link><pubDate>Fri, 26 Aug 2022 18:12:21 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:271de91d-96d0-4b4f-9cca-e9fe39fb1a58</guid><dc:creator>PedroMF</dc:creator><description>&lt;p&gt;output from nrfjprog:&lt;br /&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/3617.output.jpg" alt=" " /&gt;&lt;/p&gt;
&lt;p&gt;This are also the logs from nrfjprog and from&amp;nbsp;&lt;span&gt;nRF Connect for Desktop programer:&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;a href="https://devzone.nordicsemi.com/cfs-file/__key/communityserver-discussions-components-files/4/programer_2D00_log.txt"&gt;devzone.nordicsemi.com/.../programer_2D00_log.txt&lt;/a&gt;&lt;br /&gt;&lt;a href="https://devzone.nordicsemi.com/cfs-file/__key/communityserver-discussions-components-files/4/0068.log.log"&gt;devzone.nordicsemi.com/.../0068.log.log&lt;/a&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Problem to upload to nRF52-DK</title><link>https://devzone.nordicsemi.com/thread/383489?ContentTypeID=1</link><pubDate>Fri, 26 Aug 2022 13:03:58 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:c8a476fa-0ac3-453a-901d-524410ce36d4</guid><dc:creator>Hung Bui</dc:creator><description>&lt;p&gt;Thanks for the info. Seems that the board is still alive.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;br /&gt;Please send us the log/screenshot you have when you call nrfjprog --recover -f NRF52&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;br /&gt;Also please try installing the nRF Connect for Desktop and then open the Programmer app inside.&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Problem to upload to nRF52-DK</title><link>https://devzone.nordicsemi.com/thread/383478?ContentTypeID=1</link><pubDate>Fri, 26 Aug 2022 12:39:40 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:f6bbef37-466c-4c92-89cf-eb3c30e31013</guid><dc:creator>PedroMF</dc:creator><description>&lt;p&gt;This is the board:&lt;/p&gt;
&lt;p&gt;&lt;img height="195" src="https://devzone.nordicsemi.com/resized-image/__size/270x390/__key/communityserver-discussions-components-files/4/0574.DK.jpg" width="135" alt=" " /&gt;&lt;/p&gt;
&lt;p&gt;Yes I can see the DK in the Device Manager and I can see the led on next to the programmer chip:&lt;/p&gt;
&lt;p&gt;&lt;img height="249" src="https://devzone.nordicsemi.com/resized-image/__size/684x498/__key/communityserver-discussions-components-files/4/DM.jpg" width="342" alt=" " /&gt;&lt;/p&gt;
&lt;p&gt;This is the output from &amp;quot;&lt;span&gt;nrfjprog --version&amp;quot;:&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;nrfjprog version: 10.17.3 external&lt;br /&gt;JLinkARM.dll version: 7.70c&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Problem to upload to nRF52-DK</title><link>https://devzone.nordicsemi.com/thread/383466?ContentTypeID=1</link><pubDate>Fri, 26 Aug 2022 12:23:42 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:6f1e351d-0365-4881-9190-fa2de6bb5b6d</guid><dc:creator>Hung Bui</dc:creator><description>&lt;p&gt;Hi Pedro,&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Please let us know which nRF52-DK board you have. Please take a picture.&lt;/p&gt;
&lt;p&gt;Secondly, please check the nrfjprog version you have. Please do nrfjprog --version&lt;/p&gt;
&lt;p&gt;The current version is 10.17.3&amp;nbsp;&lt;/p&gt;
&lt;p&gt;If you don&amp;#39;t have the latest version, please try to download it &lt;a href="https://www.nordicsemi.com/Products/Development-tools/nRF-Command-Line-Tools/Download?lang=en#infotabs"&gt;here&lt;/a&gt;.&lt;/p&gt;
&lt;p&gt;Also please let us know the JlinkARM version that reported with the same command.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;When you plug the DK into the PC do you see it in the Device Manager, would the LED next to the programmer chip turned on ?&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>