<?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>CTRL-AP secured /unsecured problem when trying to view log with J-Link RTT view from nRF52840DK with loaded  bsp pca10056.hex that comes with nRF5 SDK 17.1.0</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/114056/ctrl-ap-secured-unsecured-problem-when-trying-to-view-log-with-j-link-rtt-view-from-nrf52840dk-with-loaded-bsp-pca10056-hex-that-comes-with-nrf5-sdk-17-1-0</link><description>Can’t RTT view even provided precompiled code that comes with nRF5 SDK v17.1.0. Tried also the .hex versions that came with older SDK back to 15.3 – same story . Tried even the Blinky example (despite it doesn’t have any logging inside) – still same CTRL</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Wed, 28 Aug 2024 14:59:19 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/114056/ctrl-ap-secured-unsecured-problem-when-trying-to-view-log-with-j-link-rtt-view-from-nrf52840dk-with-loaded-bsp-pca10056-hex-that-comes-with-nrf5-sdk-17-1-0" /><item><title>RE: CTRL-AP secured /unsecured problem when trying to view log with J-Link RTT view from nRF52840DK with loaded  bsp pca10056.hex that comes with nRF5 SDK 17.1.0</title><link>https://devzone.nordicsemi.com/thread/500251?ContentTypeID=1</link><pubDate>Wed, 28 Aug 2024 14:59:19 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:d64a898e-f7fa-47e9-a0e9-2440b7f41ac9</guid><dc:creator>Vidar Berg</dc:creator><description>&lt;p&gt;Hi,&amp;nbsp;&lt;/p&gt;
&lt;p&gt;It is supposed to work with other J-link debug probes as well, but we do not test for all J-link models. Does the serial number of this debug probe appear in VS code when it is connected?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: CTRL-AP secured /unsecured problem when trying to view log with J-Link RTT view from nRF52840DK with loaded  bsp pca10056.hex that comes with nRF5 SDK 17.1.0</title><link>https://devzone.nordicsemi.com/thread/500241?ContentTypeID=1</link><pubDate>Wed, 28 Aug 2024 14:24:16 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:91f1eb24-5a34-4c1a-86a3-1131444fcfd1</guid><dc:creator>samsam</dc:creator><description>&lt;p&gt;Hi Vidar,&lt;/p&gt;
&lt;p&gt;One last question on this problem -Does&amp;nbsp;nrfjprog suppose to work only with Nordic DKs or as well with any J-Link hardware?&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Because I can run with my 2 nrf52* DKs but cant run it through my J-Link:&lt;/p&gt;
&lt;p&gt;&lt;img style="max-height:240px;max-width:320px;" alt=" " src="https://devzone.nordicsemi.com/resized-image/__size/640x480/__key/communityserver-discussions-components-files/4/nrfjprogFromDKandJLink.png" /&gt;&lt;/p&gt;
&lt;p&gt;Thanks&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: CTRL-AP secured /unsecured problem when trying to view log with J-Link RTT view from nRF52840DK with loaded  bsp pca10056.hex that comes with nRF5 SDK 17.1.0</title><link>https://devzone.nordicsemi.com/thread/499658?ContentTypeID=1</link><pubDate>Mon, 26 Aug 2024 06:09:51 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:62b43030-d059-41a1-8c2f-aa6865b3050d</guid><dc:creator>Vidar Berg</dc:creator><description>&lt;p&gt;Thank you for taking the time to report this. I have added the issue to our internal bug tracker.&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Vidar&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: CTRL-AP secured /unsecured problem when trying to view log with J-Link RTT view from nRF52840DK with loaded  bsp pca10056.hex that comes with nRF5 SDK 17.1.0</title><link>https://devzone.nordicsemi.com/thread/499571?ContentTypeID=1</link><pubDate>Fri, 23 Aug 2024 12:55:56 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:ed1e2a19-bf32-48ce-b544-57948dad945c</guid><dc:creator>samsam</dc:creator><description>&lt;p&gt;Bug report&amp;nbsp; - nrf-command-line-tools-10.24.2-x64.exe&amp;nbsp;&amp;nbsp; doesn&amp;rsquo;t installs properly when there is existing older version of command-line tools:&lt;/p&gt;
&lt;p&gt;I had already installed nRF-Command-Line-Tools_10_9_0_Installer_64.exe&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;from before.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;img style="max-height:240px;max-width:320px;" alt=" " src="https://devzone.nordicsemi.com/resized-image/__size/640x480/__key/communityserver-discussions-components-files/4/7875.ctrl_2D00_ap3.png" /&gt;&lt;/p&gt;
&lt;p&gt;When tried to&amp;nbsp; run for first time&amp;nbsp; nrf-command-line-tools-10.24.2-x64.exe &amp;nbsp;&amp;nbsp;&amp;nbsp;with all defaults: When command line tolls finished installation without reporting any problems, installer ask me to install and newer version of J-Link which I also accepted as well some VC++ redistributal files after which I also accepted.&lt;/p&gt;
&lt;p&gt;After this installation finished, nrfjprog was not&amp;nbsp; working/recognized. When I looked at the installation folder : - in bin subfolder there was only 2 files&amp;nbsp; - one&amp;nbsp; .dll and one .exe (but was not nrfjprog.exe). When I looked in the Windows PATH system variable &amp;ndash; the pointer to&amp;nbsp;&amp;nbsp;&amp;nbsp; C:\Program Files\Nordic Semiconductor\nrf-command-line-tools\bin &amp;nbsp;&amp;nbsp;&amp;nbsp;was also gone/not available anymore.&lt;/p&gt;
&lt;p&gt;Restarted Windows &amp;ndash; no any change in content and behavior as before restart&lt;/p&gt;
&lt;p&gt;Run&amp;nbsp; nrf-command-line-tools-10.24.2-x64.exe&amp;nbsp; for second time&amp;nbsp; &amp;nbsp;&amp;nbsp;- selected option &amp;ldquo;Repair&amp;rdquo;. Finished normal, but &amp;nbsp;nrfjprog still was not working, the \bin folder content was same and still there was no pointer&amp;nbsp; to \bin in my PATH&lt;/p&gt;
&lt;p&gt;Restarted Windows &amp;ndash; no any change in content and behavior as before restart&lt;/p&gt;
&lt;p&gt;Run&amp;nbsp; nrf-command-line-tools-10.24.2-x64.exe&amp;nbsp; for third time&amp;nbsp; &amp;nbsp;&amp;nbsp;- selected option &amp;ldquo;Uninstall&amp;rdquo;&lt;/p&gt;
&lt;p&gt;Checked to&amp;nbsp;&amp;nbsp;&amp;nbsp; C:\Program Files\ - uninstaller have wiped completely former Nordic Semiconductor &amp;nbsp;folder.&lt;/p&gt;
&lt;p&gt;Run&amp;nbsp; nrf-command-line-tools-10.24.2-x64.exe&amp;nbsp; for fourth time&amp;nbsp; &amp;nbsp;&amp;nbsp;- this time installer installed nrf-command-line-tools, but didn&amp;rsquo;t ask me for installing JLink or any adittional files. Now finally the installation and PATH were Ok.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;P.S. Let me know if this installer makes log file somewhere, so to send it /attach it as well.&lt;/p&gt;
&lt;p&gt;Thanks&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: CTRL-AP secured /unsecured problem when trying to view log with J-Link RTT view from nRF52840DK with loaded  bsp pca10056.hex that comes with nRF5 SDK 17.1.0</title><link>https://devzone.nordicsemi.com/thread/499503?ContentTypeID=1</link><pubDate>Fri, 23 Aug 2024 10:00:36 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:9d500807-d439-4401-a756-67e7c5094e6c</guid><dc:creator>Vidar Berg</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;I should have also mentioned that nrfjprog must be up-to-date to support the new silicon. Regarding the bug you encountered during installation, please post the details here or in a new ticket, and I will create an internal bug report.&lt;/p&gt;
&lt;p&gt;Thanks,&lt;/p&gt;
&lt;p&gt;Vidar&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: CTRL-AP secured /unsecured problem when trying to view log with J-Link RTT view from nRF52840DK with loaded  bsp pca10056.hex that comes with nRF5 SDK 17.1.0</title><link>https://devzone.nordicsemi.com/thread/499462?ContentTypeID=1</link><pubDate>Fri, 23 Aug 2024 04:32:35 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:60533be7-fe74-482b-a171-9b0b141c77a2</guid><dc:creator>samsam</dc:creator><description>&lt;p&gt;Hi Vidar,&lt;/p&gt;
&lt;p&gt;Will try it ASAP.&lt;/p&gt;
&lt;p&gt;BTW while I was trying &amp;nbsp;nrfjprog commands that you gave as well the ones posted in the Nordic blog I realized that my command line tools (ver 6.88a) might be too old as I didn&amp;rsquo;t get expected results, but when I tried to install the latest version downloaded from the Nordic website nrf-command-line-tools-10.24.2-x64.exe, found bugs in the installer, which took me extra time until find workaround&amp;nbsp;&lt;span class="emoticon" data-url="https://devzone.nordicsemi.com/cfs-file/__key/system/emoji/2639.svg" title="Frowning2"&gt;&amp;#x2639;&lt;/span&gt;&amp;nbsp;Do you have bug report page where could report this when have some extra time?&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;img style="max-height:240px;max-width:320px;" alt=" " src="https://devzone.nordicsemi.com/resized-image/__size/640x480/__key/communityserver-discussions-components-files/4/ctrl_2D00_ap3.png" /&gt;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Thank you and best regards&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: CTRL-AP secured /unsecured problem when trying to view log with J-Link RTT view from nRF52840DK with loaded  bsp pca10056.hex that comes with nRF5 SDK 17.1.0</title><link>https://devzone.nordicsemi.com/thread/499296?ContentTypeID=1</link><pubDate>Thu, 22 Aug 2024 06:13:59 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:7074f5d5-8e11-43ef-8fd7-dddadc4d2186</guid><dc:creator>Vidar Berg</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;I think the easiest way to update the MDK in the nRF5 SDK is to copy the MDK files from the nrfx repo at&amp;nbsp;&lt;a href="https://github.com/NordicSemiconductor/nrfx/tree/v3.6.0/mdk"&gt;https://github.com/NordicSemiconductor/nrfx/tree/v3.6.0/mdk&lt;/a&gt;&amp;nbsp;to your SDK&amp;nbsp; (/nRF5_SDK_x.y.z/modules/nrfx/mdk). The other alternative is to download and install the MDK empackage, then copy the files installed by the package to the MDK folder in your SDK.&lt;/p&gt;
&lt;p&gt;Note: the MDK version is defined in the nrf.h header:&amp;nbsp;&lt;a href="https://github.com/NordicSemiconductor/nrfx/blob/075e9e711383bb3babfae4249fd59c8c8d882f72/mdk/nrf.h#L39"&gt;https://github.com/NordicSemiconductor/nrfx/blob/075e9e711383bb3babfae4249fd59c8c8d882f72/mdk/nrf.h#L39&lt;/a&gt;&lt;/p&gt;
[quote user="samsam"]&lt;strong&gt;NOTE:&lt;/strong&gt;&amp;nbsp;If using the nRF5 SDK then ensure that it has been updated to MDK version 8.&lt;strong&gt;45.0&lt;/strong&gt; or newer.”[/quote]
&lt;p&gt;There was a bug in the errata check for the nRF52833 that was addressed in version 8.45.0, but the nRF52840 was not affected.&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Vidar&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: CTRL-AP secured /unsecured problem when trying to view log with J-Link RTT view from nRF52840DK with loaded  bsp pca10056.hex that comes with nRF5 SDK 17.1.0</title><link>https://devzone.nordicsemi.com/thread/499133?ContentTypeID=1</link><pubDate>Wed, 21 Aug 2024 02:51:20 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:326cbbd0-5011-4209-af6e-3b5d27e22fdc</guid><dc:creator>samsam</dc:creator><description>&lt;p&gt;Hi Vidor,&lt;/p&gt;
&lt;p&gt;I currently work with 17.1.0, but will &amp;nbsp;use some my old works that were initially made with 17 , 17.0.2 and may be some that were even with 16.&lt;/p&gt;
&lt;p&gt;As you mentioned that the MDK module provided with SDK17.1.0 is version 8.&lt;strong&gt;40.3&lt;/strong&gt;, but I found this Nordic publication &lt;a href="https://devzone.nordicsemi.com/nordic/nordic-blog/b/blog/posts/working-with-the-nrf52-series-improved-approtect"&gt;Working with the nRF52 Series&amp;#39; improved APPROTECT&lt;/a&gt; &amp;nbsp;that states:&lt;/p&gt;
&lt;p&gt;&amp;ldquo;Using the latest version of the MDK is recommended because the MDK also implements workarounds for errata.&lt;strong&gt; &lt;br /&gt; NOTE:&lt;/strong&gt;&amp;nbsp;If using the nRF5 SDK then ensure that it has been updated to MDK version 8.&lt;strong&gt;45.0&lt;/strong&gt; or newer.&amp;rdquo;&lt;/p&gt;
&lt;p&gt;Didn&amp;rsquo;t find yet info how to update the SDK 17.1.0 MDK module with the latest &lt;strong&gt;8.63.1?&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;Thank you and best regards&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: CTRL-AP secured /unsecured problem when trying to view log with J-Link RTT view from nRF52840DK with loaded  bsp pca10056.hex that comes with nRF5 SDK 17.1.0</title><link>https://devzone.nordicsemi.com/thread/499104?ContentTypeID=1</link><pubDate>Tue, 20 Aug 2024 16:13:30 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:bf34e437-75d8-48d0-bdab-e1d80fb74f50</guid><dc:creator>Vidar Berg</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;The SDK project are including the MDK files which are included with the SDK (/nRF5_SDK_17.1.0_ddde560/modules/nrfx/mdk - version 8.40.3) and not the ones installed with the emPackage. Are you currently working on SDK v17.1.0, or do you work with an older SDK that requires you to update the MDK files to be compatible with the new silicon revision?&lt;/p&gt;
&lt;p&gt;The RISCV variant is probably including startup and device files for the RISCV cores on our nRF54 devices.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: CTRL-AP secured /unsecured problem when trying to view log with J-Link RTT view from nRF52840DK with loaded  bsp pca10056.hex that comes with nRF5 SDK 17.1.0</title><link>https://devzone.nordicsemi.com/thread/499088?ContentTypeID=1</link><pubDate>Tue, 20 Aug 2024 14:44:59 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:0abcfc4c-34e7-47cf-aa31-9e436b3c033e</guid><dc:creator>samsam</dc:creator><description>&lt;p&gt;Hi Vidor,&lt;/p&gt;
&lt;p&gt;Thank you for quick response. Researching your answer (especially &amp;nbsp;&lt;a href="https://docs.nordicsemi.com/bundle/IN/resource/in_141_v1.1.pdf"&gt;IN 141&lt;/a&gt;) rise 2 more questions:&lt;/p&gt;
&lt;p&gt;- In &amp;nbsp;&lt;a href="https://docs.nordicsemi.com/bundle/IN/resource/in_141_v1.1.pdf"&gt;IN 141&lt;/a&gt; is mentioned MDK 8.40.2 or later which I never used so far (just bare SES as it comes). Now I found the downloads for MDK for SES, but cant find any documents how to install it and how to work/use it inside SES?&lt;/p&gt;
&lt;p&gt;-Also, the MDK downloads come in few flavors (beside licensing) :&lt;/p&gt;
&lt;p&gt;nrf_mdk_8_63_1_ses_bsdlicense.empackage&lt;/p&gt;
&lt;p&gt;nrf_mdk_8_63_1_ses_riscv_bsdlicense.empackage&lt;/p&gt;
&lt;p&gt;My wild guess is that the first one is applicable for nRF52840, 52832 etc. ARM based devices?&lt;/p&gt;
&lt;p&gt;Thank you and best regards&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: CTRL-AP secured /unsecured problem when trying to view log with J-Link RTT view from nRF52840DK with loaded  bsp pca10056.hex that comes with nRF5 SDK 17.1.0</title><link>https://devzone.nordicsemi.com/thread/499032?ContentTypeID=1</link><pubDate>Tue, 20 Aug 2024 12:00:12 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:66887210-b29c-4c36-8676-4c425653b97d</guid><dc:creator>Vidar Berg</dc:creator><description>&lt;p&gt;Hello,&lt;/p&gt;
&lt;p&gt;In order to keep APPROTECT disabled across resets, it is necessary to store the &amp;#39;&lt;span&gt;HwDisabled&amp;#39; value in the non-volatile&amp;nbsp;&lt;a href="https://docs.nordicsemi.com/bundle/ps_nrf52840/page/uicr.html#register.APPROTECT"&gt;UICR.APPROTECT&lt;/a&gt;&amp;nbsp;register. This is easiest&amp;nbsp;accomplished&amp;nbsp;with the &amp;#39;nrfjprog --recover&amp;#39; command.&amp;nbsp;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;E.g.,&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;pre class="ui-code" data-mode="text"&gt;$ nrfjprog --program ble_app_uart_pca10056_s140.hex --recover --verify -r&lt;/pre&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;You can also verify if the APPROTECT register is written with the &amp;#39;HWDisabled&amp;#39; with the following command:&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;pre class="ui-code" data-mode="text"&gt;$ nrfjprog --memrd 0x10001208 // Should return 0x0000005A&lt;/pre&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Note: the new approtect mechanism is not supported in SDK 15.3.0. Please refer to&amp;nbsp;&lt;a href="https://docs.nordicsemi.com/bundle/IN/resource/in_141_v1.1.pdf"&gt;IN 141&lt;/a&gt;&amp;nbsp;for more details.&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;Vidar&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>