<?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>RTT Viewer / nrfjprog Issue</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/38843/rtt-viewer-nrfjprog-issue</link><description>If I have the J-Link RTT Viewer open and connected to my PCA10056 (viewing RTT output from an external board connected to P19) and then reprogram the board using nrfjprog this will result in both nrfjprog and RTT Viewer locking up until I unplug and plug</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Wed, 31 Oct 2018 15:01:44 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/38843/rtt-viewer-nrfjprog-issue" /><item><title>RE: RTT Viewer / nrfjprog Issue</title><link>https://devzone.nordicsemi.com/thread/155381?ContentTypeID=1</link><pubDate>Wed, 31 Oct 2018 15:01:44 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:9b553087-6226-4fdc-8778-8f199d12ef04</guid><dc:creator>jsample</dc:creator><description>&lt;p&gt;Hi Jeff,&lt;/p&gt;
&lt;p&gt;By default the script file box was populated with the text &amp;quot;undefined&amp;quot;, but I&amp;#39;ve found if I clear that then I don&amp;#39;t get the popup I mentioned.&amp;nbsp; It was &amp;quot;undefined&amp;quot; on the older version as well, but didn&amp;#39;t cause the popup so it must just be a change Segger made.&amp;nbsp; This doesn&amp;#39;t seem to change the behavior in any way though.&lt;/p&gt;
&lt;p&gt;The device I am programming is a custom nRF52840 board connected to the PCA10056 through the P19 Debug out connector.&amp;nbsp; I just tried disconnecting my board and programming the PCA10056 itself and see the same issues though.&amp;nbsp;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;One more thing I&amp;#39;ve noticed is that when the issue occurs and nrfjprog and RTT Viewer both lock up, if I wait awhile instead of resetting the dev board Windows will eventually give me a &amp;quot;USB Device not recognized popup&amp;quot;.&amp;nbsp; If I go into Device Manger the PCA10056 no longer shows up under ports and is instead listed as an &amp;quot;Unknown USB Device (Device Descriptor Request Failed&amp;quot;.&lt;/p&gt;
&lt;p&gt;So maybe the problem is with the PCA10056?&lt;/p&gt;
&lt;p&gt;John&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: RTT Viewer / nrfjprog Issue</title><link>https://devzone.nordicsemi.com/thread/155246?ContentTypeID=1</link><pubDate>Wed, 31 Oct 2018 02:54:49 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:288c5d97-a61b-475d-89cf-c0da53c05076</guid><dc:creator>Jeff4BLE</dc:creator><description>&lt;p&gt;John,&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&lt;a href="https://devzone.nordicsemi.com/cfs-file/__key/communityserver-discussions-components-files/4/CLT-and-RTT.mp4"&gt;devzone.nordicsemi.com/.../CLT-and-RTT.mp4&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;This video shows CLT and RTT working together as desired. I am investigating why it&amp;#39;s taking RTT so long to flush it&amp;#39;s buffers.&lt;/p&gt;
&lt;p&gt;The programs are the same. I only change the output string.&lt;/p&gt;
&lt;p&gt;Cheers,&lt;/p&gt;
&lt;p&gt;Jeff&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: RTT Viewer / nrfjprog Issue</title><link>https://devzone.nordicsemi.com/thread/155230?ContentTypeID=1</link><pubDate>Tue, 30 Oct 2018 21:21:24 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:4bced898-f33f-4ba7-87a3-5a1c4e9c8563</guid><dc:creator>Jeff4BLE</dc:creator><description>&lt;p&gt;I have used PCA10056 V1.0.0 and PCA10040 V1.0.1.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: RTT Viewer / nrfjprog Issue</title><link>https://devzone.nordicsemi.com/thread/155229?ContentTypeID=1</link><pubDate>Tue, 30 Oct 2018 21:14:01 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:8270375c-fcde-43da-883b-a56092ec2886</guid><dc:creator>jsample</dc:creator><description>&lt;p&gt;I&amp;#39;m using a PCA10056 V1.0.0 my coworker&amp;nbsp;is using a PCA10040 V1.0.0.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: RTT Viewer / nrfjprog Issue</title><link>https://devzone.nordicsemi.com/thread/155228?ContentTypeID=1</link><pubDate>Tue, 30 Oct 2018 21:10:17 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:b1f360af-475f-414e-9865-b64a5d86ee7d</guid><dc:creator>Jeff4BLE</dc:creator><description>&lt;p&gt;What version of the PCA10056 board are you using?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: RTT Viewer / nrfjprog Issue</title><link>https://devzone.nordicsemi.com/thread/155227?ContentTypeID=1</link><pubDate>Tue, 30 Oct 2018 21:07:38 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:038bf1ae-2b3b-4f01-85c3-b2e414240737</guid><dc:creator>Jeff4BLE</dc:creator><description>&lt;p&gt;Hi John,&lt;/p&gt;
&lt;p&gt;I just learned of the 64 bit version yesterday. I sent a note to the web team that this needs to be easier to find.&lt;/p&gt;
&lt;p&gt;BTW- I just switched from using the PCA10040 to PCA10056. No changes in behavior.&lt;/p&gt;
&lt;p&gt;Cheers,&lt;/p&gt;
&lt;p&gt;Jeff&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: RTT Viewer / nrfjprog Issue</title><link>https://devzone.nordicsemi.com/thread/155226?ContentTypeID=1</link><pubDate>Tue, 30 Oct 2018 21:01:59 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:bffe70a5-2dbc-41ca-8195-a9d8937a57f4</guid><dc:creator>jsample</dc:creator><description>&lt;p&gt;Tried installing the latest on my coworkers Win10 computer as well and see the same behavior as my system.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: RTT Viewer / nrfjprog Issue</title><link>https://devzone.nordicsemi.com/thread/155225?ContentTypeID=1</link><pubDate>Tue, 30 Oct 2018 20:55:18 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:a8211fcf-63c8-4e4c-9597-8a6cbc6a4574</guid><dc:creator>Jeff4BLE</dc:creator><description>&lt;p&gt;Hi John,&lt;/p&gt;
&lt;p&gt;As indicated in&amp;nbsp;my early message today. I have been able to get nRFjprog 9.8.1 and RTT Viewer V6.40 to&amp;nbsp;operate concurrently in&amp;nbsp;the way you expect. I was even able to use SES to program and debug and maintain the RTT connection.&lt;/p&gt;
&lt;p&gt;I do not recall seeing the specific popup you are describing. But until I selected the initial &amp;quot;Specify Target Device&amp;quot; I repeatedly received a popup directing me to pick a device to connect with.&lt;/p&gt;
&lt;p&gt;Do you have anything in the &amp;quot;Script fie (optional)&amp;quot; dialog box?&lt;/p&gt;
&lt;p&gt;Though unlikely, it&amp;#39;s may be possible the issue you are seeing is device dependent. What device are your working with? More likely, you are experiencing an system environment issue.&lt;/p&gt;
&lt;p&gt;I have not tried 9.7.3. But I did notices that depending on the amount of log data and the BLE traffic, there was a very noticeable lag from the time an event occurred before is was logged to the RTT window.&lt;/p&gt;
&lt;p&gt;I may look into that a bit more later.&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Jeff&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: RTT Viewer / nrfjprog Issue</title><link>https://devzone.nordicsemi.com/thread/155224?ContentTypeID=1</link><pubDate>Tue, 30 Oct 2018 20:48:45 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:f94e6a69-8030-447c-9419-d4fdb559dd86</guid><dc:creator>jsample</dc:creator><description>&lt;p&gt;Jeff,&lt;/p&gt;
&lt;p&gt;I didn&amp;#39;t even know there was a 64 bit version of the command line tools.&amp;nbsp; Unfortunately I see the same issues as when I was using the 32 bit version though.&amp;nbsp; I don&amp;#39;t know what it is with my system - I&amp;#39;m running Win 10 as well.&lt;/p&gt;
&lt;p&gt;John&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: RTT Viewer / nrfjprog Issue</title><link>https://devzone.nordicsemi.com/thread/155220?ContentTypeID=1</link><pubDate>Tue, 30 Oct 2018 20:16:28 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:5b196319-728d-4a70-8bdc-70b3188e9caf</guid><dc:creator>Jeff4BLE</dc:creator><description>&lt;p&gt;John and Turbo J,&lt;/p&gt;
&lt;p&gt;One of my colleagues informed me that there was an older combination of older RTT and nrfjprog programs that do not like a shared connection. Apparently this was some time ago and I never picked up on that change. &amp;nbsp;&lt;/p&gt;
&lt;p&gt;Today, using a slightly modified ble_app_uart application, nrfjprog 9.8.1, RTT Viewer V6.40, and Tera Term V4.1, did a little experimenting. All three&amp;nbsp; maintained the desired connection through erasing, reprogramming, and uart interaction. I was even able to use Segger Embedded Studio to make changes and program the DK without losing the RTT and Tera Term connections.&lt;/p&gt;
&lt;p&gt;As I suspect there may be some platform dependencies, I should note I am running Win 10 and I used the new &lt;a href="https://www.nordicsemi.com/eng/nordic/Products/nRF52840/nRF5x-Command-Line-Tools-Win64/70507"&gt;nrf_command_line tools for Win 64&lt;/a&gt;.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Best Regards,&lt;/p&gt;
&lt;p&gt;Jeff&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: RTT Viewer / nrfjprog Issue</title><link>https://devzone.nordicsemi.com/thread/155216?ContentTypeID=1</link><pubDate>Tue, 30 Oct 2018 18:28:54 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:b1fa850f-3733-4e55-b737-434c3b11f0f7</guid><dc:creator>jsample</dc:creator><description>&lt;p&gt;&lt;span&gt;Hi&amp;nbsp;H&amp;aring;vard,&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;I&amp;#39;m still seeing the same issues with 9.8.1 and 6.40.&amp;nbsp; One other thing I&amp;#39;m noticing with the 6.40 RTT Viewer is that every time I try to connect I get a popup titled: &amp;quot;J-Link V6.40 Script file not found&amp;quot;.&amp;nbsp; The text reads: &amp;quot;Could not find script file referenced by debugger: unspecified Proper functionality cannot be guaranteed&amp;quot;.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;John&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: RTT Viewer / nrfjprog Issue</title><link>https://devzone.nordicsemi.com/thread/155212?ContentTypeID=1</link><pubDate>Tue, 30 Oct 2018 17:10:17 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:fe745e97-08a4-4ad0-a02e-dad5804e2252</guid><dc:creator>H&amp;#229;vard</dc:creator><description>&lt;p&gt;Good news jsample!&lt;/p&gt;
&lt;p&gt;Looks like&amp;nbsp;&amp;nbsp;nRF5x-Command-Line-Tools v9.8.1 has just been released.&lt;/p&gt;
&lt;p&gt;It uses the newes&amp;nbsp;J-Link V6.40&lt;/p&gt;
&lt;p&gt;Could you try it and let us know if you have any luck?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: RTT Viewer / nrfjprog Issue</title><link>https://devzone.nordicsemi.com/thread/154967?ContentTypeID=1</link><pubDate>Mon, 29 Oct 2018 21:12:20 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:99b12d78-1343-4bbb-b73f-b7e546957ba0</guid><dc:creator>jsample</dc:creator><description>&lt;p&gt;&lt;span&gt;Hi&amp;nbsp;H&amp;aring;vard,&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;One more thing I wanted to mention I noticed when using 9.8.0 is that the data shows up in the RTT Viewer very slowly compared to when using 9.7.3.&amp;nbsp; When I do a reset on my project about 80 lines of RTT debug spit out as everything initializes and with 9.7.3 they all show up together pretty immediately, but with 9.8.0 the lines show up slowly in chunks and it takes several seconds for everything to appear.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;John&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: RTT Viewer / nrfjprog Issue</title><link>https://devzone.nordicsemi.com/thread/154964?ContentTypeID=1</link><pubDate>Mon, 29 Oct 2018 20:48:48 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:f490f6b3-7ca9-4ced-9a74-7f51e4c2a5bd</guid><dc:creator>jsample</dc:creator><description>&lt;p&gt;Hi Jeff,&lt;/p&gt;
&lt;p&gt;From my experience on Windows when things are working I can have RTT Viewer open and logging, flash a new build via nrfjprog and then RTT Viewer will pick up the RTT output after the chip resets without issue.&lt;/p&gt;
&lt;p&gt;When things aren&amp;#39;t working I&amp;#39;ll have to disconnect RTT, then flash via nrfjprog, then reconnect.&lt;/p&gt;
&lt;p&gt;John&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: RTT Viewer / nrfjprog Issue</title><link>https://devzone.nordicsemi.com/thread/154962?ContentTypeID=1</link><pubDate>Mon, 29 Oct 2018 20:45:29 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:982d6667-5190-4b39-8108-748670b5824e</guid><dc:creator>jsample</dc:creator><description>&lt;p&gt;Hi&amp;nbsp;H&amp;aring;vard,&lt;/p&gt;
&lt;p&gt;A clean 9.7.3 install works consistently without issue and a clean 9.8.0 doesn&amp;#39;t.&amp;nbsp; As for the &amp;quot;newer Segger software&amp;quot; looking back at my downloads folder I had 6.34e downloaded in September so it was most likely that version.&amp;nbsp; I haven&amp;#39;t tried 6.40.&lt;/p&gt;
&lt;p&gt;There is no important reason to use 9.8.0 so I&amp;#39;ll stick with 9.7.3 for now.&lt;/p&gt;
&lt;p&gt;John&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: RTT Viewer / nrfjprog Issue</title><link>https://devzone.nordicsemi.com/thread/154961?ContentTypeID=1</link><pubDate>Mon, 29 Oct 2018 20:22:53 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:0a2fdd9d-7f5e-4ea9-92d7-a80202a8c757</guid><dc:creator>Turbo J</dc:creator><description>&lt;p&gt;There is a workaround for the RTT problem: The Segger GDB server.&lt;/p&gt;
&lt;p&gt;It will not only allow you to flash the chip via (arm-none-eabi-)gdb, but you can use any telnet client (I use putty) to connect to the RTT port (localhost:19021 for the first RTT terminal).&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: RTT Viewer / nrfjprog Issue</title><link>https://devzone.nordicsemi.com/thread/154950?ContentTypeID=1</link><pubDate>Mon, 29 Oct 2018 19:12:01 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:8d44afd5-b9f8-4487-971f-987cb8738b26</guid><dc:creator>Jeff4BLE</dc:creator><description>&lt;p&gt;Hi John,&lt;/p&gt;
&lt;p&gt;It is not possible to run nrfjprog while connected to the RTT viewer. The tools use the same virtual com port and only one can be connected at a time.&lt;/p&gt;
&lt;p&gt;In my experience with Windows systems, this has always been the case. I would not think that this would be OS dependent issue. But I wanted to add this just in case.&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Jeff&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: RTT Viewer / nrfjprog Issue</title><link>https://devzone.nordicsemi.com/thread/154941?ContentTypeID=1</link><pubDate>Mon, 29 Oct 2018 18:27:46 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:efec25c2-7971-4c50-847a-61d0d40a6891</guid><dc:creator>H&amp;#229;vard</dc:creator><description>&lt;p&gt;Hi&amp;nbsp;jsample,&lt;/p&gt;
&lt;p&gt;I&amp;#39;m pretty sure a clean install of Command&amp;nbsp;Line Tools 9.8.0 should work fine.&lt;/p&gt;
&lt;p&gt;I&amp;#39;m a bit confused about what you actually have installed. (What is working what is not, what was installed when.)&lt;/p&gt;
&lt;p&gt;Could you remove all traces of J-Link and other segger software, then install Command Line tools 9.8.0, and let me know how things are working?&lt;/p&gt;
&lt;p&gt;When you say &amp;quot;newer Segger software&amp;quot; here, what are you referring to? Did you install J-Link V6.40 after installing the Command Line Tools?&lt;/p&gt;
&lt;p&gt;You should be able to use the RTT viewer in J-Link V6.34g (The one used in 9.8.0)&lt;/p&gt;
&lt;p&gt;Lastly, is there an important reason for you to use 9.8.0? If the solution remains elusive, you might just want to stick with 9.7.3 for your work environment. &lt;span class="emoticon" data-url="https://devzone.nordicsemi.com/cfs-file/__key/system/emoji/1f642.svg" title="Slight smile"&gt;&amp;#x1f642;&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: RTT Viewer / nrfjprog Issue</title><link>https://devzone.nordicsemi.com/thread/154931?ContentTypeID=1</link><pubDate>Mon, 29 Oct 2018 16:45:41 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:911057ba-cc29-4ffd-8879-577a47602a03</guid><dc:creator>jsample</dc:creator><description>&lt;p&gt;Hi Kenneth,&lt;/p&gt;
&lt;p&gt;So at the time I initially posted about this issue i was using version 9.7.3 of the command line tools and I&amp;#39;m pretty sure I had updated the Segger software to a newer version that didn&amp;#39;t come with 9.7.3 but I can&amp;#39;t remember what version it was.&amp;nbsp; I uninstalled the command line tools and all of the Segger software and did a clean install of 9.7.3 and everything was back to working normally.&lt;/p&gt;
&lt;p&gt;Recently I updated to version 9.8.0 of the command line tools and started having the same issues again.&amp;nbsp; Uninstalling that and reinstalling 9.7.3 has it working again.&amp;nbsp; So maybe its a compatibility issue between the command line tools and the newer Segger software?&lt;/p&gt;
&lt;p&gt;John&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: RTT Viewer / nrfjprog Issue</title><link>https://devzone.nordicsemi.com/thread/150157?ContentTypeID=1</link><pubDate>Tue, 25 Sep 2018 06:49:18 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:de0fede0-52c8-42c3-859a-cc998b443dd4</guid><dc:creator>Kenneth</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;Not sure if I have any good idea other than try to download the latest and greatest, e.g.:&lt;br /&gt;&lt;a href="https://www.nordicsemi.com/eng/nordic/Products/nRF52-DK/nRF5x-Command-Line-Tools-Win32/51499"&gt;https://www.nordicsemi.com/eng/nordic/Products/nRF52-DK/nRF5x-Command-Line-Tools-Win32/51499&lt;/a&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;If still not luck try directly:&lt;br /&gt;&lt;a href="https://www.segger.com/downloads/jlink/#J-LinkSoftwareAndDocumentationPack"&gt;https://www.segger.com/downloads/jlink/#J-LinkSoftwareAndDocumentationPack&lt;/a&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;If still not luck try not to use USB hub or change USB port.&lt;/p&gt;
&lt;p&gt;Best regards,&lt;br /&gt;Kenneth&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>